Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/modules/message/dto/bulk-message.dto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,19 @@ class BulkMessageContentDto {
text?: string;

@ApiPropertyOptional({ description: 'Image URL or base64' })
@IsOptional()
image?: { url?: string; base64?: string; mimetype?: string };

@ApiPropertyOptional({ description: 'Video URL or base64' })
@IsOptional()
video?: { url?: string; base64?: string; mimetype?: string };

@ApiPropertyOptional({ description: 'Audio URL or base64' })
@IsOptional()
audio?: { url?: string; base64?: string; mimetype?: string };

@ApiPropertyOptional({ description: 'Document URL or base64' })
@IsOptional()
document?: { url?: string; base64?: string; mimetype?: string; filename?: string };

@ApiPropertyOptional({ description: 'Caption for media messages' })
Expand Down