Answer the question
In order to leave comments, you need to log in
How to find out the caption of a video that a user replied to?
Let's say the bot sent a video, how to find out its caption through reply?
For text, something like this would work:
@bot.message_handler(content_types=["text"])
def messages(message):
if(message.reply_to_message != None):
bot.send_message(id, message.text)
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