Add channel to conversation
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user