K
K
Kir Mozor2020-11-29 11:33:40
Bots
Kir Mozor, 2020-11-29 11:33:40

How to implement data transfer between players in a Telegram bot?

Need help. I create a Telegram bot, I need to make sure that the values ​​​​of variables are transferred between the players of the bot. For example, 2 players started playing with each other and one dropped out, for example, 8, and the other 9, you need 1 player to know that the enemy has dropped 9, and the enemy has learned that the player has dropped 8. To create a bot, I use TeleBot.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
SKEPTIC, 2020-11-29
@150_Kirill_150

Do you need to save this data somewhere? And then pass it on to another player.
And where to store it is up to you.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question