Hi.
How can I make a “Make a Custom Request” to ask a question?
And after receiving the answer - get it and use it the flow.
If the answer “Take the quiz now” - run the first Flow (or send first message Text_1). And if the answer “Remind me in 30 minutes” is the second. And if “I do not have time for this” - then the third.
Now the “Custom Request” looks like:
{
"text": "Please, take a short quiz.",
"reply_markup": {
"resize_keyboard":true,
"keyboard": [
[{
"text": "Take the quiz now"
}
],
[{
"text": "Remind me in 30 minutes"
}
],
[{
"text": "I do not have time for this"
}
]
]
}
}
method —> sendMessage