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.
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.