python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
poll answer handler in telegrapm bot
I need to get poll answer from user.
I saw this post, but it doesn't work for me.
@bot.message_handler(commands=['test'])
def start(message):
bot.send_poll(message.chat.id, 'chose', ['a', 'b'])
...
vovakirdan
Votes: 0
Answers: 1
I want to make separated file for telegram bot every commands in python
pytelegrambotapii am making a telegram bot and i want to make every command in separated files i tried to do with this code
from run_start import *
@bot.message_handler(commands=['cmds'])
async def se...
Ani
Votes: 0
Answers: 1
How to get unread messages from telegram chat?
I can find functions in pyrogram GetUnreadMentions, GetUnreadReactions.
But how to filter unread messages from messages?
Or how to get count of unread messages?
Григорий Грачев
Votes: 0
Answers: 0
re.fullmatch sql python telegram
I need an exact comparison with records from a database. I have a string data from db:
print(str(db.get_nicknames2(message.from_user.id)))
//[('123',), ('lopr',), ('hello',), ('imfamous2',), ('guy',)]...
Eugene Kokorin
Votes: 0
Answers: 1