added telegram bot
This commit is contained in:
parent
ff064d06f4
commit
705792db86
2 changed files with 13 additions and 0 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
telegram/bottoken.txt
|
12
telegram/getgroupmessages.py
Normal file
12
telegram/getgroupmessages.py
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
|
||||||
|
|
||||||
|
import telepot
|
||||||
|
|
||||||
|
|
||||||
|
bot = telepot.Bot('botfather given token')
|
||||||
|
|
||||||
|
response = bot.getUpdates()
|
||||||
|
|
||||||
|
print(response)
|
||||||
|
|
||||||
|
print(bot.getMe())
|
Loading…
Reference in a new issue