Fixed message deletion error and layout changes for the message input box.
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import {
|
||||
IsArray,
|
||||
IsBoolean,
|
||||
IsOptional,
|
||||
IsString,
|
||||
MaxLength,
|
||||
@@ -61,4 +62,9 @@ export class HideConversationMessagesDto {
|
||||
@ArrayMaxSize(100)
|
||||
@IsString({ each: true })
|
||||
messageIds!: string[];
|
||||
|
||||
/** true = حذف برای همه؛ false = فقط برای کاربر جاری */
|
||||
@IsOptional()
|
||||
@IsBoolean()
|
||||
forEveryone?: boolean;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user