Question Details

Answered
I want to close browser with action button.

i generate some links on LINE chat to customer. and after they do something on that page. i want to send user back to LINE chat.

how can i?

PS. window.close() like this not work.

0
Edited: 2 years ago
Profile picture
Nyx Archon

Answers

2
Profile picture
Kosuke
Posted: 1 years ago

The URL scheme ( line://oaMessage or line://ti/p/ ) may help you. Please refer https://developers.line.me/en/docs/messaging-api/using-line-url-scheme for detail.

Profile picture
Nilpo [-TBT-] Ⓜ️��️✝️
Posted: 1 years ago

The webpage can't interact with Line, but Kosuke has offered the best solution. If you redirect the user to the chat URL, it should re-open the chat in Line.

Are you sure? question.vm