curl --request PUT \
--url https://apix.us.amity.co/api/v3/network-settings/chat \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"isAllowMentionedChannelEnabled": false,
"messagePreviewSetting": {
"enabled": false,
"isIncludeDeleted": false
},
"isAllowAdminViewConversationMessage": true,
"isAllowAdminManageConversationMessage": true,
"allowMemberToUpdateConversationChannel": false
}'
{
"enabled": true,
"mention": {
"isAllowMentionedChannelEnabled": true
},
"messagePreview": {
"enabled": false,
"isIncludeDeleted": false
},
"isAllowAdminViewConversationMessage": true,
"isAllowAdminManageConversationMessage": true,
"allowMemberToUpdateConversationChannel": false
}
Update chat network setting configuration.
curl --request PUT \
--url https://apix.us.amity.co/api/v3/network-settings/chat \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"isAllowMentionedChannelEnabled": false,
"messagePreviewSetting": {
"enabled": false,
"isIncludeDeleted": false
},
"isAllowAdminViewConversationMessage": true,
"isAllowAdminManageConversationMessage": true,
"allowMemberToUpdateConversationChannel": false
}'
{
"enabled": true,
"mention": {
"isAllowMentionedChannelEnabled": true
},
"messagePreview": {
"enabled": false,
"isIncludeDeleted": false
},
"isAllowAdminViewConversationMessage": true,
"isAllowAdminManageConversationMessage": true,
"allowMemberToUpdateConversationChannel": false
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
information for a network setting
The body is of type object
.
Chat configuration
The response is of type object
.