대니 다인턴 (Danny Dainton)은 다른 사람이 아니라 자신의 계정에 대한 고유 ID를 포함한 데이터를 얻을 수있는 방법에 관한 문서를 언급했습니다.
사용자가 공개 계정을 구독하는 경우 사용자 고유 ID가 포함 된 콜백이 웹 훅에 전송되며 해당 사용자에게만 메시지를 보낼 수 있습니다.
viber 워드 프로세서 당으로 :
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 .
주 코드 – WhatsThePoint