Sending a chat message from a Google script application

I have already developed a google app script application that can send emails, but now I need to send a gtalk chat / xmpp message to the user from my script. my question is, is it possible for me to send a gtalk chat / xmpp message directly from a Google script application? if this is not possible, is there any work around this?

+6
source share
2 answers

There is no built-in support for sending Google Chat messages. You can submit a feature request to the problem tracker .

+1
source

If you can send HTTP requests to external services using the google script application, you can use the XMPP HTTP gateway, for example:

http://chatmongers.com/blog/introducing-the-chatmongershttp-to-xmpp-gateway/

There would be a few limitations that you still have to work with. The most common is that privacy extensions block all messages from users who are not on the target list of users, but this will be a problem no matter how you manage to send sent XMPP messages.

0
source

Source: https://habr.com/ru/post/919723/


All Articles