mirror of
https://github.com/MrSedan/neuro-reply-website.git
synced 2026-01-15 04:59:42 +03:00
Added image module
This commit is contained in:
8
backend/src/modules/image/image.dto.ts
Normal file
8
backend/src/modules/image/image.dto.ts
Normal file
@@ -0,0 +1,8 @@
|
||||
import { ApiProperty } from '@nestjs/swagger';
|
||||
|
||||
export class IAddImage {
|
||||
@ApiProperty({ description: 'A post that contains this photo', example: '1212-4324-asdf-23432' }) readonly post_id!: string;
|
||||
@ApiProperty({ description: 'A telegram file id of photo', example: '1214244' }) readonly file_id!: string;
|
||||
@ApiProperty({ description: 'Has image the spoiler?', example: false }) readonly has_spoiler!: boolean;
|
||||
@ApiProperty({ description: 'A photo message id', example: '123124' }) readonly message_id!: number;
|
||||
}
|
||||
Reference in New Issue
Block a user