line-liff-starter icon indicating copy to clipboard operation
line-liff-starter copied to clipboard

Is it possible to push LIFF message to user ?

Open c0ze opened this issue 6 years ago • 1 comments

Hello there, thanks for the great kit !

Wondering something, all examples I've seen involve a user clicking on a liff link on chat.

I was wondering if it is possible to push a LIFF view to a user ? without the user pushing a liff link ?

Like, if I have a button, with action as uri and the link as the liff link, would it open the liff page when button pushed ?

thanks !

c0ze avatar Dec 19 '18 10:12 c0ze

@c0ze Thank you for your interest in LIFF, and I am very sorry for the lack of response. If I understand correctly, you would like to set a LIFF URL as a uri parameter of an action object. This is possible. For example, you can create a Flex Message or Rich Menu and include the following action object:

"action": {
      "type": "uri",
      "uri": "line://app/1{liffId}"
  }

I hope this helps!

smwilk avatar Nov 15 '19 06:11 smwilk