Get full message from user chat #239
Replies: 1 comment 6 replies
-
I think what you are looking for is search string method. You can't write if condition for each and every messages but you can write on the messages which contains the word Also if you can do menu based conversation where user is presented with menu whenever program doesn't understand user's message then it will be easy for the user to answer with just 1, 2 or what ever the menu items are. if you are looking for more conversation based architecture then I suggest you to go with https://botman.io/ this will handle lot of things for you. You just need to connect this with wbot. |
Beta Was this translation helpful? Give feedback.
-
Hello, following the php webhook example file, Is there any way to get the "complete" text of a message from a user?
for example: if($message == '/hi') will only read and set $message as /hi , how can i get everything on the chat if "if($message == '/hi') and user send /hi "I'm testsubject number one" , how can i get the text = "I'm testsubject number one" to use if on the response?
Thanks again for your time and work.
Beta Was this translation helpful? Give feedback.
All reactions