GET
/
api
/
v3
/
network-settings
/
chat
Get chat network setting configuration.
curl --request GET \
  --url https://apix.us.amity.co/api/v3/network-settings/chat \
  --header 'Authorization: Bearer <token>'
{
  "enabled": true,
  "mention": {
    "isAllowMentionedChannelEnabled": true
  },
  "messagePreview": {
    "enabled": false,
    "isIncludeDeleted": false
  },
  "isAllowAdminViewConversationMessage": true,
  "isAllowAdminManageConversationMessage": true,
  "allowMemberToUpdateConversationChannel": false
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

Chat configuration

enabled
boolean
mention
object
messagePreview
object
isAllowAdminViewConversationMessage
boolean
default:true
isAllowAdminManageConversationMessage
boolean
default:true
allowMemberToUpdateConversationChannel
boolean
default:false

true - When conversation channel have more than 2 members, all members can edit the channel.<br> false - When conversation channel have more than 2 members, Only people that has permission can edit the conversation channel.