K
K
kr_ilya2019-02-16 17:56:55
PHP
kr_ilya, 2019-02-16 17:56:55

How to make "reactions" under posts in Telegram?

I want to make rating buttons under the posts similar to those that ControllerBot does.
5c6822f94d33d873160149.png
Implemented using telegram bot api. I made the buttons myself, but how to handle them in pure php + api (without various libraries, only direct requests)? That is, now I can publish a post with buttons, but if you click on them, nothing will happen. Are there ready-made examples? Or what methods should be used for all this mess? I found examples with libraries, but I don't want to understand their structure.
UPD: where to store the number of likes/dislikes for each post?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question