Add channel to conversation

This commit is contained in:
2026-09-30 11:08:33 +03:30
parent f71e78f3a7
commit 4c8731122b
6 changed files with 291 additions and 35 deletions
+13
View File
@@ -51,6 +51,19 @@ export class CreateConversationGroupDto {
memberUserIds!: string[];
}
export class CreateConversationChannelDto {
@IsString()
@MinLength(2)
@MaxLength(120)
name!: string;
@IsArray()
@ArrayMinSize(1)
@ArrayMaxSize(100)
@IsString({ each: true })
memberUserIds!: string[];
}
export class HideConversationMessagesDto {
@IsString()
@MinLength(1)