how can i ask question and wait for replay
See original GitHub issuehello, is it possible to wait for a replay for a single question if so can you give example on how to do this
example
ctx.reply('Send me your name')
ctx.waitForAnswer().then(ctx.replay("i will call you " + ctx.message+" from now on");
so the bot will send a message and the bot will accept the users response what ever he types like the
bot.on('message'.....)
but only for one time until he replays then it will not
Thanks,
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
How to ask someone, very politely, to reply to my email - Quora
There are a ton of ways to ask, but it depends on the context. Here are two common situations that may apply to...
Read more >Send & Wait For Reply Widget - Twilio Studio
Use this Widget to collect replies to your messages, such as a YES to confirm an appointment or answering survey questions. You can...
Read more >25 "I Will Get Back To You" Quick Response And Email ...
If the customer asks a question that you can't answer right away, you can simply reply, “I will get back to you.” This...
Read more >How Long Should You Wait to Reply to a Text ... - wikiHow
1. That way, you won't leave them hanging or forget to respond. It can be easy to forget about a message until later...
Read more >A word for "waiting for a reply" - English StackExchange
+1 Thanks for asking this. Came here today to ask the same question, for basically the same reason. (Too bad there isn't a...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
There can be many ways to resolve it. For example you can add some variables and conditions. It is JavaScript.
@Piterden Thanks a lot i got how the session works now you were really helpful