M
M
Maxim Valerievich2017-11-09 13:14:26
Python
Maxim Valerievich, 2017-11-09 13:14:26

How to implement telegram bot response only after watching video?

Hello. I saw in some bots such an implementation. For example, the bot sends a video, and only after you have fully watched it, you can continue to work with the bot further. For example, ask him to send the next video. How can this be implemented?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
S
Sasha2dx, 2017-11-11
@Sasha2dx

Sending video as a file? It seems to me that this is impossible. But there is an option how you can "get out". Send a video not as a file, but on your site and listen to the player's events.

N
nllm, 2017-11-09
@nllm

Most likely, they just hold a pause equal to the duration of the video + a few seconds.
Show the bots in which you saw the implementation.

A
Alexander Solovyov, 2017-11-10
@s0l0wey

I don't see how it can be done automatically.
But the need for inventions is cunning. Ask a question regarding video content:
1. Choose from 4 options as shown at 1:43 in the video.
2. What did Sergey Sergeevich talk about at the presentation?
And if the user answers correctly, continue the conversation...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question