Q&A

Same Action but different function on Rich menu

I designed a Rich menu, which consists of two functions that require users to send their location to me, and I will respond differently based on the given function on the Rich menu pointed by the user. Here is the problem, both function will send location message object to me, however, there's no parameter in the location message object that I can use to distinguish which one belongs to the function A or function B. Is there a way to combine Action object with Rich menu or I missed something in the Documentation.

  • 0
  • 1
  • 290
  • twitter facebook

I checked documentation https://developers.line.biz/en/reference/messaging-api/#location-message , but I think you can't judge which function a user used.

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