python (65.2k questions)
javascript (44.3k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (13k questions)
Repeat action on button click in telebot module
I'm implementing a simple function in Python, but it doesn't work
Function:
# Рандомное число с кнопкой
@bot.message_handler(content_types=['text'], commands=['get_number'])
def get_number(message):
...
Artem Shevlyakov
Votes: 0
Answers: 1
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
How can I change "display: flex" to "display: none" when parsing (scraping) a web-page? | Python (telegram-bot) | Selenium
Good afternoon. I'm working on a telegram bot that parses (scrapes) information from public sources. Language: Python
In this particular case you need to make a simple screenshot of the site and send ...
Sergey Marano
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