Skip to content

AddChatRequestDto ​

← Chat DTO

Backend-источник: features.chatservice/Features.ChatService/Nuget.ChatApiClient/Dto/Requests/AddChatRequestDto.cs (features.chatservice).

Поля ​

ПолеТип (TS)ОбязательноеОписаниеТип (C#)
chatUsersnumber[]да—List<int>
chatTypeChatTypeDtoда—ChatTypeDto
workerIdnumberда—int
chatNamestring | nullнет—string?
chatAvatarstring | nullнет—string?

Пример ​

json
{
  "chatUsers": [],
  "chatType": "<ChatTypeDto>",
  "workerId": 0,
  "chatName": "string",
  "chatAvatar": "string"
}