Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Bot do Telegram
Search
Diego Garcia
July 25, 2015
Programming
230
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Bot do Telegram
LT para o TDc 2015 - trilha de python
Diego Garcia
July 25, 2015
More Decks by Diego Garcia
See All by Diego Garcia
Um overview sobre GIT
drgarcia1986
0
53
Modelos de concorrência e paralelismo em Python
drgarcia1986
0
120
Modelos de concorrência em Python.
drgarcia1986
0
190
Programe para uma interface, não para uma implementação
drgarcia1986
0
200
Boas práticas em REST APIs
drgarcia1986
1
1.5k
Conteinerizando aplicações Python
drgarcia1986
0
470
Testes de carga com Locust
drgarcia1986
1
470
Other Decks in Programming
See All in Programming
When benchmarks go bad - what I learned from measuring performance wrong
hollycummins
0
240
No More NoSuchMethodError
exoego
1
120
[JA] Domain Modeling with Vanilla Rails: 「操作」から再考するRailsの設計論
yasaichi
4
1k
あなたの await、OS まで届いてる? strace で覗く JavaScript の非同期
hasutosasaki
1
1.5k
自サークルのIdPからログアウトできるようになるまで
taiseiue
1
150
AIがコードを書いてくれる時代、我々は何を確かめるのか
yosuke_furukawa
PRO
12
4.7k
Lambda durable functionsでHuman in the Loopを楽に…楽に……
har1101
2
200
PumaからFalconに移行したRailsアプリケーションでの実践
falcon8823
0
250
自作Discord音声botをLambda MicroVMsに移行した話 / Migrating My Discord Voice Bot to Lambda MicroVMs
akihisaikeda
0
160
APNsからLive Activityを開始する話
yumnumm
0
180
AmebaブログはKMPから卒業します
kmars0605
0
250
コーディング自動化の次へ。人の介入をゼロにするファクトリーとサポートAIによる実践
timakin
5
4.7k
Featured
See All Featured
A Soul's Torment
seathinner
8
3.8k
ラッコキーワード サービス紹介資料
rakko
4
5.5M
Intergalactic Javascript Robots from Outer Space
tanoku
273
28k
The SEO Collaboration Effect
kristinabergwall1
1
600
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
370
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
56
3.5k
Taking LLMs out of the black box: A practical guide to human-in-the-loop distillation
inesmontani
PRO
3
2.5k
Fashionably flexible responsive web design (full day workshop)
malarkey
409
67k
Being A Developer After 40
akosma
PRO
92
590k
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
450
Balancing Empowerment & Direction
lara
6
1.3k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1.6k
Transcript
BOTs do BOTs do Telegram Telegram
Diego Garcia Diego Garcia /author/diego-garcia.html http://codeforcloud.info/ drgarcia1986 @drgarcia1986 /drgarcia1986
Produtor e Consumidor Produtor e Consumidor • Produtor: Produz uma
informação. • Consumidor: Consome a informação.
• Produtor: Busca mensagens (long polling). • Consumidor: Processa mensagens.
Fluxo do Telegram Fluxo do Telegram
Buscar mensagens Buscar mensagens
get_updates = partialmethod(api_call, 'getUpdates') Buscar mensagens Buscar mensagens
Processar mensagem Processar mensagem
Processar mensagem Processar mensagem
Muito Muito obrigado! obrigado!
[email protected]
https//twitter.com/drgarcia1986 https://github.com/drgarcia1986/quotation_telegram_bot