WebexPythonSDK
WebexPythonSDK copied to clipboard
"Busy" status is missing (returns "unknown")
In recent versions of WebEx teams, there is an option for a user to set a "busy" status, which does not mute notifications but does show "busy" as the presence status.
It seems this status is not returned when polling a user's status (output below from my Raspberry Pi running a Webex Teams status bot that I'm working on):
>>> api.people.get(personId=mywebexid).status
'inactive'
>>>
>>> print ("Changing my status to DND")
Changing my status to DND
>>>
>>> api.people.get(personId=mywebexid).status
'DoNotDisturb'
>>>
>>> print ("Changing my status to Busy")
Changing my status to Busy
>>>
>>> api.people.get(personId=mywebexid).status
'unknown'
>>>
>>> print ("Status returns unknown instead of busy")
Status returns unknown instead of busy
I don't actually see in the official API documentation where the "busy" status can even be retrieved, so is this maybe something that needs to go to the upstream API team?