Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Bot do Telegram
Search
Diego Garcia
July 25, 2015
Programming
1
220
Bot do Telegram
LT para o TDc 2015 - trilha de python
Diego Garcia
July 25, 2015
Tweet
Share
More Decks by Diego Garcia
See All by Diego Garcia
Um overview sobre GIT
drgarcia1986
0
44
Modelos de concorrência e paralelismo em Python
drgarcia1986
0
110
Modelos de concorrência em Python.
drgarcia1986
0
180
Programe para uma interface, não para uma implementação
drgarcia1986
0
190
Boas práticas em REST APIs
drgarcia1986
1
1.4k
Conteinerizando aplicações Python
drgarcia1986
0
460
Testes de carga com Locust
drgarcia1986
1
450
Other Decks in Programming
See All in Programming
Python札幌 LT資料
t3tra
7
1.1k
Patterns of Patterns
denyspoltorak
0
460
HTTPプロトコル正しく理解していますか? 〜かわいい猫と共に学ぼう。ฅ^•ω•^ฅ ニャ〜
hekuchan
2
640
AIエージェント、”どう作るか”で差は出るか? / AI Agents: Does the "How" Make a Difference?
rkaga
3
1.4k
Context is King? 〜Verifiability時代とコンテキスト設計 / Beyond "Context is King"
rkaga
10
1.6k
16年目のピクシブ百科事典を支える最新の技術基盤 / The Modern Tech Stack Powering Pixiv Encyclopedia in its 16th Year
ahuglajbclajep
5
780
React 19でつくる「気持ちいいUI」- 楽観的UIのすすめ
himorishige
11
5.3k
Denoのセキュリティに関する仕組みの紹介 (toranoana.deno #23)
uki00a
0
230
例外処理とどう使い分ける?Result型を使ったエラー設計 #burikaigi
kajitack
16
5.4k
コマンドとリード間の連携に対する脅威分析フレームワーク
pandayumi
1
320
LLM Observabilityによる 対話型音声AIアプリケーションの安定運用
gekko0114
2
340
副作用をどこに置くか問題:オブジェクト指向で整理する設計判断ツリー
koxya
1
430
Featured
See All Featured
Raft: Consensus for Rubyists
vanstee
141
7.3k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
1k
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
99
Highjacked: Video Game Concept Design
rkendrick25
PRO
1
270
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
58
41k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.3k
The Cult of Friendly URLs
andyhume
79
6.8k
Building Adaptive Systems
keathley
44
2.9k
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
130
Side Projects
sachag
455
43k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
2.8k
Large-scale JavaScript Application Architecture
addyosmani
515
110k
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