T
T
tiger_132018-03-04 00:11:32
Python
tiger_13, 2018-03-04 00:11:32

How to write a python server for telegram bot for multiple users?

I am writing a telegram bot. Using the bot, you can place orders, which consists of three fields (delivery address, quantity, etc.). All data is sent in messages (not a callback). In the case when several users order at the same time, how can I distinguish between them, and know which order the information came from, and which field the information came from? The callback doesn't fit. Is it possible to create a table in sql, and enter the user ID there, and fill it?

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