feat: send ptv message

This commit is contained in:
Davidson Gomes
2024-10-28 18:02:17 -03:00
parent 0fdc47e8f0
commit a4e7baa41c
6 changed files with 106 additions and 14 deletions

View File

@@ -70,7 +70,7 @@ export class SendPollDto extends Metadata {
messageSecret?: Uint8Array;
}
export type MediaType = 'image' | 'document' | 'video' | 'audio';
export type MediaType = 'image' | 'document' | 'video' | 'audio' | 'ptv';
export class SendMediaDto extends Metadata {
mediatype: MediaType;
@@ -82,6 +82,10 @@ export class SendMediaDto extends Metadata {
media: string;
}
export class SendPtvDto extends Metadata {
video: string;
}
export class SendStickerDto extends Metadata {
sticker: string;
}