global fix and update bot Api

This commit is contained in:
lendry
2026-06-26 13:01:52 +03:00
parent d3ea470d02
commit aa228d84eb
29 changed files with 980 additions and 221 deletions

View File

@@ -99,6 +99,11 @@ export class ToggleMessageReactionDto {
emoji!: string;
}
export class SetMessagePinnedDto {
@IsBoolean()
pinned!: boolean;
}
export class ForwardMessagesDto {
@IsArray()
@ArrayNotEmpty()

View File

@@ -154,9 +154,3 @@ export class RespondFamilyInviteDto {
accept!: boolean;
}
export class AddBotToFamilyDto {
@ApiProperty({ description: 'ID бота для добавления в семью' })
@IsString({ message: 'ID бота должен быть строкой' })
@IsNotEmpty({ message: 'Укажите ID бота' })
botId!: string;
}