Answer the question
In order to leave comments, you need to log in
How to find out file_id for video_note file type?
Hello, you need to find out the file_id of the so-called "circle" in the telegram,
if I use this code nothing comes out
@bot.message_handler(content_types=["video"])
def handle_video(message):
video_id=message.video.file_id
print(video_id)
bot.send_message(message.chat.id, video_id)
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