M
M
MCPython09092020-06-15 17:09:03
Python
MCPython0909, 2020-06-15 17:09:03

How to create interactive buttons under a telegram post?

It is necessary to create buttons in the telegram (by the type of reactions under the post) under the publication, if you click on any of them, a small information window should appear (like answers in a quiz) with the text, where it will be indicated: “✅True / ❌False; response statistics and a brief description" . How can this be implemented?5ee78032ddcc1919402002.jpeg 5ee781cdf2e06636094329.jpeg

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
robprane, 2020-06-15
@robprane

I won’t tell you the implementation in python, but the sendPoll method may come in handy - https://core.telegram.org/bots/api#sendpoll
The method has an explanation parameter, just the text that will be shown after selecting the answer.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question