开发者

XMPP bot status message on GAE

开发者 https://www.devze.com 2023-01-13 09:46 出处:网络
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 ).

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")
0

精彩评论

暂无评论...
验证码 换一张
取 消