Danny Daintonは、自分のアカウントに関する一意のIDを含むデータをどのように取得できるかについて、他の誰かについては言及していませんでした。
ユーザーがパブリックアカウントに加入している場合は、ユーザー固有のIDを含むコールバックをWebhookに送信し、そのユーザーにメッセージを送信できるようになります。
The send_message API allows accounts to send messages to Viber users who subscribe to the account. Sending a message to a user will be possible only after the user has subscribed to the Public Account by pressing the subscribe button or by sending a message, or by sending a message to a bot (see subscribed callback for additional information).
と非常に重要
Before an account can send messages to a user, the user will need to subscribe to the account. Subscribing can take place in one of two ways:
User sends message to the account (both Public Accounts and bots)
when a user sends its first message to a account the user will be automatically subscribed to the account. Sending the first message will not trigger a subscribe callback, only a message callback (see receive message from user section). Subscribed event is sent to the Public Account (Public Accounts only)
user clicks a subscribe button which triggers the subscribe callback as described below .
があなたのコードを共有:Viberのドキュメントを1として
– WhatsThePoint