Answer the question
In order to leave comments, you need to log in
How to forward user messages?
Hello.
Help a newbie. It is necessary that exactly after the notification bot.answer_callback_query(callback_query_id=call.id, show_alert=True,
text="Before entering the nickname, make sure it is correct.") the
nickname that the user writes was redirected to the telegram group.
if call.data == "1":
keyboard = types.InlineKeyboardMarkup()
backbutton = types.InlineKeyboardButton(text="back", callback_data="a")
keyboard.add(backbutton)
bot.edit_message_text(chat_id=call.message .chat.id, message_id=call.message.message_id,
text="Enter nickname",
bot.answer_callback_query(callback_query_id=call.id, show_alert=True,
text="Please make sure your nickname is correct before entering it.")
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question