Q&A

How To track reply message | How to identify if a message is reply for message which i sent from bot

Pre condition, Condition to reproduce

Hi Team,

In My Applcation(bot) I am using channel webhook to capture message sent to my channel. And from my application i am sending quick message to user by using send push api.

Issue/ Error Message details

So my question is if i am sending a message to line user from my application and if user reply on same message, then i am getting notificaton through webhook. So after parsing webhook input sent to my application i am not able to track if the sent message is reply for my quick reply message or any new message he sent to me.

Accompanying respective source code

Resolution Tried

Reference information (Version / Platform/ environment)

Reference used to send quick reply message is https://developers.line.biz/en/docs/messaging-api/using-quick-reply/#using-quick-reply-introduction Capturing webhook notification by following url - https://developers.line.biz/en/reference/messaging-api/#webhooks

  • 0
  • 1
  • 191
  • twitter facebook

You should use Postback action with displayText property. PostBack action with displayText are displayed to the user in the same way as message action.

  • 0
本当によろしいですか? question.vm