Using Google+ Hangouts API

后端 未结 1 1869
广开言路
广开言路 2021-02-18 22:44

If someone adds bot@mydomain.com to his Google Hangout contacts and sends it a Google+ Hangout Chat message, I want to set up an automatic reply to his chat from my server. Is t

1条回答
  •  暖寄归人
    2021-02-18 22:59

    Here's what you're looking: https://developers.google.com/+/hangouts/api/gapi.hangout.data

    Here's the event for message recieved: (callback) https://developers.google.com/+/hangouts/api/gapi.hangout.data#gapi.hangout.data.onMessageReceived

    And here's the event for sending the message: https://developers.google.com/+/hangouts/api/gapi.hangout.data#gapi.hangout.data.sendMessage

    0 讨论(0)
提交回复
热议问题