line-liff-starter
line-liff-starter copied to clipboard
Is it possible to push LIFF message to user ?
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 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!