E
E
Edward2018-05-02 14:10:34
Images
Edward, 2018-05-02 14:10:34

How to make a picture slide in telegram bot?

Hello, please tell me who knows: I am writing a bot for telegrams in python. It is necessary to make something like a slide of pictures. There is an inline keyboard, a text message sent by the send_message method, there is a photo in the message. It is necessary when you click on the > and < buttons, the text of the message and the picture change. Tried using multiple if's, nothing shows up

Answer the question

In order to leave comments, you need to log in

2 answer(s)
E
Ernest Faizullin, 2018-05-02
@erniesto77

There is currently no such method in the API.
But you can make 2 buttons <- Left/Right -> and load image on click using edit message in API

E
Edward, 2018-05-02
@bur1992

Thanks for the hint, but how then to determine that exactly the key that needs to be processed in the code is pressed

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question