Browse Source

added telegram bot

master
corsaronero 2 years ago
parent
commit
705792db86
2 changed files with 13 additions and 0 deletions
  1. +1
    -0
      .gitignore
  2. +12
    -0
      telegram/getgroupmessages.py

+ 1
- 0
.gitignore View File

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

+ 12
- 0
telegram/getgroupmessages.py View File

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

Loading…
Cancel
Save