Open hosseinalipour opened 4 years ago
how do I pass data(variable) from event to event? I'm asking for contact. then in the contact event, I ask for a name. now, how do I have contact information and name in the same context to use it?
Just use plugin "askUser", you can see the sample code here :
https://github.com/mullwar/telebot/blob/master/examples/plugin-askUser.js
how do I pass data(variable) from event to event? I'm asking for contact. then in the contact event, I ask for a name. now, how do I have contact information and name in the same context to use it?