User Busy Status
Overview#
User can set their busy status upon his preference. When busy status is enabled if any message is received to the user, the busy message is sent automatically to the sender of the message.
Enable/Disable User Busy status#
User can enable and disable their busy status using the below method.
| Argument | Type | Description |
|---|---|---|
| ENABLE_BUSY_STATUS | bool | true enables busy status and false disables busy status |
Set User Busy status#
User can set the busy status message for their one to one chat conversation using the below method.
| Argument | Type | Description |
|---|---|---|
| BUSY_STATUS_TEXT | String | busy status text cannot be longer than 140 characters |
Get User Busy settings status#
User can get their busy settings status by calling the below method.
Get current user busy status#
User can get their current user busy status using the below method.
- Dart
- Response
Refer this doc to know more about BusyStatus Class
Check user busy status is enabled#
User can check whether their busy status is enabled or disabled.
Get the list of user saved busy statuses#
User can get their list of previously saved user busy statuses by calling the below method.
- Dart
- Response
info
This list also contains some pre defined values.
Delete User Busy status#
User can delete their busy status by calling the below method.
| Argument | Type | Description |
|---|---|---|
| BUSY_STATUS_TEXT | String | Status text |
| BUSY_STATUS_ID | String | id of the Status |
| IS_CURRENT_STATUS | bool | is the status currently set |
caution
User cannot delete a busy status which is currently selected.