Skip to content

Latest commit

 

History

History
28 lines (16 loc) · 1.13 KB

File metadata and controls

28 lines (16 loc) · 1.13 KB

LeaveAChannelRequest

Properties

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]

Enum: ReasonEnum

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"