friends! There is a code: elif 'all_record' in call.data: status = call.data.split(':')[1] if status == 'show ...
friends! There is a code: elif 'all_record' in call.data: status = call.data.split(':')[1] if status == 'show ...
I am writing a telegram bot using a calendar. There is such a construction: When calling the create_time() function, the bot adds data from the li ...
This is the part of the code where I tried to use scheduler I tried different suggestions from here but it still doesn't work ...
I'm working in telethon on data scraping from telegram. Most of the times, server takes too much time and it keeps giving errors and sometimes returns ...
if you're facing this problem while you try to create your Telegram Bots. problem: @my_bot.message_handler(content_types="text") AttributeError: ...
I want to share my friend's telegram contact via bot. But my friend does not have a telegram username. I know his id number. How can I share it? I us ...
MY code... I am using Python language in VS Code with Telethon library. below is the result/error I used to get. I am trying to scrape data from ...
I am using this code: Result of above code: Traceback (most recent call last): File "/home/khan/Desktop/hello.py", line 23, in <module> ...
what needs to be done to make it work? I expected the webhook to work normally, maybe it's a certificate, if so, how to get it for the pythonanywhe ...
I am trying to build a telegram bot, I have just reproduce the code: The error this code shows is: I am using python-telegram-bot api v20.x I kn ...
so I'm trying to send a .txt file using pyTelegramBotAPI but it won't work Error : code : @bot.message_handler(commands=["CAPTURED"]) def sendcap ...
Well I'm doing a telebot but the problem is i want my buttons like this: | button | | button 2 | | button 3 | | button 4 | but it shows like this: ...
I've created a bot to gather information in which users will forward messages to the bot from any other telegram chat/channel/group. The forwarded me ...
I am using 'python-telegram-bot' when trying to delete the previous message send by the Bot above got raised! my code: I am new to Telegram bot. W ...
On telegram the bot is showing me the "reply keyboard" but nothing further happens as the below error gets raised I am new to Telegram bot and have ...
I am working on a inline telegram bot. The bot should be invoked through any chat so I am using the inline method, however the bot now uses a convers ...
so the problem here is I want to enter data into the database via a bot, and I'm trying to retrieve word for word with arrays or indexing, but what if ...
I have a ChatBot in Telegram that forwards message from others to me and I can reply their messages by replying messages in bot. When I reply a messag ...
i want to make a script, that get the user_id from new joined members in a target group, and send to new member a direct message, how i can do that? ...
I want my telegram bot written on Python using pyTelegramBotAPI to send a picture on command /photo If i try this code I will recive photo just once, ...