fix: Added mimetype field when sending media

This commit is contained in:
Davidson Gomes
2023-10-25 10:29:24 -03:00
parent bc70ec8b07
commit 783c00a1d9
6 changed files with 12 additions and 7 deletions

View File

@@ -61,6 +61,7 @@ export class SendPollDto extends Metadata {
export type MediaType = 'image' | 'document' | 'video' | 'audio';
export class MediaMessage {
mediatype: MediaType;
mimetype?: string;
caption?: string;
// for document
fileName?: string;