Is it possible to do some action when a chat request is sent by the user to the bot?
I know it gets authorized to communicate with the bot, but I want to store the JID of the user as soon as he adds the bot.
Is something like this possible?
Is it possible to do some action when a chat request is sent by
Share
Yes, it is possible.
The XMPP Service in GAE also allows you to enable the
xmpp_subscribeinbound service. By enabling that in your appengine-web.xml file, you will be able to get the following notifications at the endpoints given below:I have taken the above points from the official documentation. Please refer to the https://developers.google.com/appengine/docs/java/xmpp/overview#Handling_Subscriptions for more details.