Google Script : Sending Hangout Messages using Script

萝らか妹 提交于 2020-01-24 10:37:11

问题


Is it possible to send Hangout messages to someone using Google Scripts.

If there is, can you post an example script that shows the sending of Hangout Messages.


回答1:


Google Chat used to use XMPP which may have done but Hangouts uses its own proprietary protocol. https://www.eff.org/deeplinks/2013/05/google-abandons-open-standards-instant-messaging

There has recently been a 3rd party reverse engineering project for the protocol - a python library - which you could fork for GAS but like all such projects it is unsupported Google and therefore subject to any change in the protocol.

https://github.com/tdryer/hangups/



来源:https://stackoverflow.com/questions/34949317/google-script-sending-hangout-messages-using-script

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!