E
E
egoravdonin2019-11-08 17:20:05
In contact with
egoravdonin, 2019-11-08 17:20:05

How to attach "payload" to incoming message in VK bot?

Sometimes the bot, within the framework of some scenario, is forced to ask the user for additional information (by pressing a button) - for example, the user wants to know the status of the order, then the bot, having seen the payload button and determining what the user needs, asks him for the order number. Of course, the keyboard will not help here, the user should just send a message. How can I attach "payload" to this message, or teach the bot to understand what they want from him without using commands like "/info *order number*"?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Pigeon1235, 2019-11-14
@Pigeon1235

Payload cannot be attached to an incoming message , it can only be attached to an outgoing message or keyboard

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question