Configure auto event message settings
Determines whether to automatically send event messages to group channels when events take place in an application. You can choose which auto event message to receive on the Sendbird Dashboard.
Note: As for the
USER_LEAVE
event, a set of new options are available on Sendbird Dashboard in case you want more detailed information on why a user left a channel. You can find it under Settings > Chat > Channels > Auto message and select one of the options from the New version category.
HTTP request
Request body
The following table lists the properties of an HTTP request that this action supports.
Properties
Optional | Type | Description |
---|---|---|
user_leave | object | A list of key-value items which describes different situations where a user leaves a channel and determines whether to send an auto event message for each case. |
user_leave.left_by_own_choice | boolean | Determines whether to send an auto event message when a user leaves a channel by choice. (Default: |
user_leave.channel_operator_removed | boolean | Determines whether to send an auto event message when a channel operator bans a user through the Chat API or when a channel is deleted. (Default: |
user_leave.admin_removed | boolean | Determines whether to send an auto event message when a user is banned and thus kicked out of a channel. (Default: |
user_leave.admin_deleted | boolean | Determines whether to send an auto event message when a user is deleted through the Chat API. (Default: |
user_leave.admin_deactivated | boolean | Determines whether to send an auto event message when a user is deactivated by setting |
user_join | object | An object containing a key-value item of |
channel_create | object | A list of key-value items that describes different types of a channel and determines whether to send an auto event message for each case. (Default: |
channel_create.public_channel | boolean | Determines whether to send an auto event message when a public group channel is created. (Default: |
channel_create.private_channel | boolean | Determines whether to send an auto event message when a private group channel is created. (Default: |
channel_change | object | An object containing a key-value item of |
include_last_message | boolean | Determines whether to update the |
| boolean | (Deprecated) Determines whether to send an auto event message when a user is banned and kicked out from a channel or their account was deleted. (Default: |
| boolean | (Deprecated) whether to send an auto event message when the value of |
| boolean | (Deprecated) Determines whether to send an auto event message when a user leaves a channel by choice. (Default: |
Response
If successful, this action returns a list of auto event messages that the specified application will receive in the response body.