diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..01420da --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +telegram/bottoken.txt diff --git a/telegram/getgroupmessages.py b/telegram/getgroupmessages.py new file mode 100644 index 0000000..d546661 --- /dev/null +++ b/telegram/getgroupmessages.py @@ -0,0 +1,12 @@ + + +import telepot + + +bot = telepot.Bot('botfather given token') + +response = bot.getUpdates() + +print(response) + +print(bot.getMe())