added telegram bot

This commit is contained in:
corsaronero 2022-10-19 16:31:41 +00:00
parent ff064d06f4
commit 705792db86
2 changed files with 13 additions and 0 deletions

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
telegram/bottoken.txt

View file

@ -0,0 +1,12 @@
import telepot
bot = telepot.Bot('botfather given token')
response = bot.getUpdates()
print(response)
print(bot.getMe())