Send message url Scheme
Hi,
I am using LINEWORKS url scheme to send message to LINE users that already contact with me.
The url that i used is
https://line.worksmobile.com/message/send?version=18&message=hogehoge&worksAtResourceIdList=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx.
When LINEWORKS app launched, i get an error "unable to enter since you are not participating".
How can i send message via LINEWORKS to LINE users?
Thanks in advanced,
Amiram
投稿に新しいコメントが追加されましたら通知を送信します。
コメント6
업데이트 된 답글입니다.
LINE WORKS 公式アカウント
You can talk by specifying the id of the LINE user who became a friend in worksAtResourceIdList.
For the id of the LINE user, specify the linkedExternalUser.id parameter to be acquired by GET / contacts.
https://developers.worksmobile.com/jp/reference/contact-list?lang=ja
AppLink URLはご認識の通りです。
worksAtResourceIdListに友達になったLINEユーザーのidを指定することでトークすることができます。
LINEユーザーのidは連絡先リストの取得 GET/contactsで取得するlinkedExternalUser.idパラメータを指定します。
https://developers.worksmobile.com/jp/reference/contact-list?lang=ja
2022.02.10
업데이트 된 답글입니다.
AmiramELZAM 投稿者
Thank you for your answer.
Is there a way to open chat box directly with the AppLink URL with the LINE id?
I have to do the GET /contacts call in order to open chat box with LINE user that already contact with me?
If no, which URL scheme should i used? which parameters? can you provide me some examples?
Because in the documentation its not so clear.
Thanks a lot for your answer.
Amiram
2022.02.10
업데이트 된 답글입니다.
AmiramELZAM 投稿者
I redirect to LINEWORKS app, but not to the specific Line user.
LINEWORKS app opened a modal to select Contact or message room instead the chat box with this specific user.
2022.02.10
업데이트 된 답글입니다.
AmiramELZAM 投稿者
https://line.worksmobile.com/message/send?version=18?worksAtResourceIdList=f5d81292-360d-4037-4417-0414db3d2f3
2022.02.10
업데이트 된 답글입니다.
LINE WORKS 公式アカウント
https://line.worksmobile.com/message/send?version=18&worksAtResourceIdList=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
If you know the LINE user's worksAtResourceId, you don't need to call GET / contacts.
If you see a screen where you can select a contact or talk room instead of a LINE user, your worksAtResourceId is incorrect or you don't have permission to talk to the user.
ご認識の形式でApp Linkを利用しLINEユーザーとのトークルームを開くことができます。
https://line.worksmobile.com/message/send?version=18&worksAtResourceIdList=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
LINEユーザーのworksAtResourceIdがわかっているのであればGET /contactsのCallは不要です。
LINEユーザーではなく連絡先またはトークルームを選択する画面が表示される場合は、worksAtResourceIdに誤りがあるか、userとトークする権限がない状態です。
2022.02.14
업데이트 된 답글입니다.
Ndong NgomoUl_aa7e9e
2024.01.16
まだ、解決できませんか?
今すぐ実際に使用しているLINE WORKSユーザーに質問してみましょう。