@bot.message_handler(commands=['start_scraping'])
def sender(message):
bot.send_message(
message.chat.id,
"Начал парсинг"
)
while True:
bot_message = sent_to_user
bot.send_message(message.chat.id, bot_message())