tgsnake
Version:
Telegram MTProto framework for nodejs.
34 lines (33 loc) • 1.17 kB
TypeScript
import { TLObject } from '../../TL.js';
import { Raw } from '../../../platform.node.js';
import type { Snake } from '../../../Client/index.js';
import { type sendVideoNoteParams } from '../../../Methods/Messages/SendVideoNote.js';
import { PhotoSize } from './PhotoSize.js';
export declare class VideoNote extends TLObject {
fileId: string;
fileUniqueId: string;
width: number;
height: number;
duration: number;
thumb: Array<PhotoSize>;
date: Date;
dcId: number;
mimeType?: string;
fileSize?: bigint;
constructor({ fileId, fileUniqueId, width, height, duration, thumb, date, dcId, mimeType, fileSize, }: {
fileId: string;
fileUniqueId: string;
width: number;
height: number;
duration: number;
thumb: Array<PhotoSize>;
date: Date;
dcId: number;
filename?: string;
supportStreaming?: boolean;
mimeType?: string;
fileSize?: bigint;
}, client: Snake);
static parse(client: Snake, document: Raw.Document): VideoNote;
resend(chatId: bigint | string, more: sendVideoNoteParams): Promise<import("../Message.js").Message>;
}