简体   繁体   中英

XMPP bot status message on GAE

GAE XMPP documentation states that is not possible to set status message for an app ( https://code.google.com/appengine/docs/python/xmpp/overview.html#Google_Talk_User_Status ).

On other hand, I've vark IM client has status message set. Obviously it is not hosted on GAE, but it is possible to set status message for app.

I have to dig under the hood, but wonder it there are any python references regarding this topic ?

Take a look at https://code.google.com/appengine/docs/python/xmpp/overview.html#Sending_Application_Status

You can set the status message through the send_presence method:

xmpp.send_presence(to_jid, status="My app's status")

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM