| Name | Type | Description | Notes |
|---|---|---|---|
| userIds | List<String> | Specifies an array of one or more IDs of the users to leave the channel. | |
| shouldLeaveAll | Boolean | Determines whether to make all members leave the channel. (Default: false) | [optional] |
| shouldRemoveOperatorStatus | Boolean | Determines whether to remove a user from the channel's operator list if the user who is leaving the channel is an operator. (Default: false) | [optional] |
| reason | ReasonEnum | Specifies the reason for leaving a channel. Acceptable values are admin_removed, admin_deleted, admin_deactivated, left_by_own_choice, and channel_operator_removed. | [optional] |
| Name | Value |
|---|---|
| LEFT_BY_OWN_CHOICE | "LEFT_BY_OWN_CHOICE" |
| CHANNEL_OPERATOR_REMOVED | "CHANNEL_OPERATOR_REMOVED" |
| ADMIN_REMOVED | "ADMIN_REMOVED" |
| ADMIN_DELETED | "ADMIN_DELETED" |
| ADMIN_DEACTIVATED | "ADMIN_DEACTIVATED" |