Category : telegram

I wrote a code where the survey is sent to all users, but after clicking one of the answers, the survey is not updated for all users. That is, it is not visible that another participant clicked. How do I make sure that when the answer is clicked, the survey is updated? @bot.message_handler(commands=[‘poll’]) def poll(message): ..

Read more

I’m currently developing a Telegram bot using python/Pytelegrambotapi. In my local machine, if the bot is started and left for sometime without any request, It terminates and throws the error requests.exceptions.ReadTimeout: HTTPSConnectionPool(host=’api.telegram.org’, port=443): Read timed out. (read timeout=25) Can someone help me handling this error. Thanks in advance Source: Python..

Read more

I need help with following problem. Im trying to code a script that sends advertisement to multiple Telegram groups I’m part of. These groups are made for advertisement and Im able to send messages into these groups. Everytime I run the script I get following error: <class ‘telethon.errors.rpcerrorlist.ChatWriteForbiddenError’> Thats my Code: import sys from telethon ..

Read more