Skip to main content

CreateChatRoomDto

namestring

Display name for the room

typestringrequired

Kind of chat room to create

Possible values: [direct, group, channel]

descriptionstring
avatarUrlstring

URL of the room avatar image

isPrivateboolean

Whether the room is private

participantIdsstring[]

User IDs to add as participants on creation

settingsobject

Arbitrary room-level settings

CreateChatRoomDto
{
"name": "string",
"type": "direct",
"description": "string",
"avatarUrl": "string",
"isPrivate": true,
"participantIds": [
"string"
],
"settings": {}
}