wxc_sdk.me.call_waiting package
- class wxc_sdk.me.call_waiting.MeCallWaitingApi(*, session: RestSession, base: str | None = None)[source]
Bases:
ApiChild- get() bool[source]
Get Call Waiting Settings for User
Get Call Waiting Settings for the authenticated user.
Call Waiting allows a user to receive multiple calls simultaneously. When the user is on an active call, they can receive an incoming call and switch between the two calls.
This API requires a user auth token with a scope of spark:telephony_config_read.
- Return type:
bool
- update(enabled: bool)[source]
Modify Call Waiting Settings for User
Update Call Waiting Settings for the authenticated user.
Call Waiting allows a user to receive multiple calls simultaneously. When the user is on an active call, they can receive an incoming call and switch between the two calls.
This API requires a user auth token with a scope of spark:telephony_config_write.
- Parameters:
enabled (bool) – Enable or disable Call Waiting for the user.
- Return type:
None
- base = 'telephony/config/people/me'