Adding the typing... indicator, loading older messages, and managing members/admins after creation.

This commit is contained in:
2026-09-30 11:53:04 +03:30
parent b978708487
commit e1d456ad11
9 changed files with 992 additions and 28 deletions
+47
View File
@@ -115,3 +115,50 @@ export class PinConversationRoomDto {
@IsBoolean()
pinned!: boolean;
}
export class ConversationRoomMembersQueryDto {
@IsString()
@MinLength(1)
@MaxLength(200)
externalRoomId!: string;
}
export class AddConversationRoomMemberDto {
@IsString()
@MinLength(1)
@MaxLength(200)
externalRoomId!: string;
@IsString()
@MinLength(1)
userId!: string;
@IsOptional()
@IsString()
role?: 'admin' | 'member';
}
export class RemoveConversationRoomMemberDto {
@IsString()
@MinLength(1)
@MaxLength(200)
externalRoomId!: string;
@IsString()
@MinLength(1)
userId!: string;
}
export class UpdateConversationRoomMemberRoleDto {
@IsString()
@MinLength(1)
@MaxLength(200)
externalRoomId!: string;
@IsString()
@MinLength(1)
userId!: string;
@IsString()
role!: 'admin' | 'member';
}