XMPP bot status message on GAE
GAE XMPP documentation states that is not possible to开发者_如何学Python 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")
精彩评论