P
P
p8080q2021-05-05 18:00:12
Telegram
p8080q, 2021-05-05 18:00:12

How to get chat_id in html5 game?

Good afternoon!
I can't figure out how to use BOT API in HTML5 game. I created a game, I sort of learned how to throw out a link with the game, and then trouble. ..

I don't understand:
1. How to identify a user?
2. Is it possible to receive and if so how chat_id?
3. How to assign user_id?

The answer to the second question, in principle, should solve everything.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
rPman, 2021-05-05
@p8080q

issue a personal link to each user, in which the required id is sewn

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question