Answer the question
In order to leave comments, you need to log in
How to check which message was sent before Node.js?
How can I check which message was sent before, for example, the user clicked on the "Top up balance" button, after which he entered the amount, for example, 200. How can I determine if the user really clicked on the top up button before or just wrote 200?
Answer the question
In order to leave comments, you need to log in
in short, I figured it out, when the command to replenish the balance, a global variable is set, that the previous command was to replenish the balance, well, everything is already clear and understandable there)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question