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
210
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
31
Modelos de concorrência e paralelismo em Python
drgarcia1986
0
85
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
390
Testes de carga com Locust
drgarcia1986
1
410
Other Decks in Programming
See All in Programming
イベント駆動で成長して委員会
happymana
1
320
Duckdb-Wasmでローカルダッシュボードを作ってみた
nkforwork
0
130
Realtime API 入門
riofujimon
0
150
C++でシェーダを書く
fadis
6
4.1k
TypeScriptでライブラリとの依存を限定的にする方法
tutinoko
2
670
as(型アサーション)を書く前にできること
marokanatani
10
2.7k
A Journey of Contribution and Collaboration in Open Source
ivargrimstad
0
930
型付き API リクエストを実現するいくつかの手法とその選択 / Typed API Request
euxn23
8
2.2k
「今のプロジェクトいろいろ大変なんですよ、app/services とかもあって……」/After Kaigi on Rails 2024 LT Night
junk0612
5
2.2k
Enabling DevOps and Team Topologies Through Architecture: Architecting for Fast Flow
cer
PRO
0
330
CSC509 Lecture 13
javiergs
PRO
0
110
聞き手から登壇者へ: RubyKaigi2024 LTでの初挑戦が 教えてくれた、可能性の星
mikik0
1
130
Featured
See All Featured
Building a Scalable Design System with Sketch
lauravandoore
459
33k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
506
140k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
27
4.3k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
25
1.8k
Rails Girls Zürich Keynote
gr2m
94
13k
Visualization
eitanlees
145
15k
How GitHub (no longer) Works
holman
310
140k
Music & Morning Musume
bryan
46
6.2k
4 Signs Your Business is Dying
shpigford
180
21k
The Cost Of JavaScript in 2023
addyosmani
45
6.8k
Teambox: Starting and Learning
jrom
133
8.8k
GraphQLの誤解/rethinking-graphql
sonatard
67
10k
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