S
S
Sergey Minpaev2019-01-20 23:56:35
JavaScript
Sergey Minpaev, 2019-01-20 23:56:35

How to organize a count of all who clicked on a button in a telegram channel?

Hello!
I am writing an Echma Script 6 bot for telegrams.
The bot sends a message with a small description and a number to the channel, and a button below the message. It is necessary that everyone who clicks on the button adds one to the current numerical value, only once, that is, it is necessary to somehow organize the verification and storage of data about those who have already clicked (if I think in the right direction). But I can't figure out exactly how to do this.
I will be grateful for your help!)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Somewhere Intech, 2019-01-23
@john36allTa

As far as I remember, the button there is just a decorative element, and after clicking on it, a message is sent to the chat, which was specified in the button description. Let's say "/newone" is set -> read messages, see who sent "/newone". (getUpdates)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question