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
Message preview setting
Show child attributes
Allow conversation channel that has more than 2 member wide edit rights
Chat configuration
Show child attributes
Show child attributes
true - When conversation channel have more than 2 members, all members can edit the channel.
false - When conversation channel have more than 2 members, Only people that has permission can edit the conversation channel.