UNPKG

tgsnake

Version:

Telegram MTProto framework for nodejs.

36 lines (35 loc) 1.23 kB
import { TLObject } from '../../TL.js'; import { Raw } from '../../../platform.node.js'; import type { Snake } from '../../../Client/index.js'; import { type sendVideoParams } from '../../../Methods/Messages/SendVideo.js'; import { PhotoSize } from './PhotoSize.js'; export declare class Video extends TLObject { 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; constructor({ fileId, fileUniqueId, width, height, duration, thumb, date, dcId, filename, supportStreaming, 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): Video; resend(chatId: bigint | string, more: sendVideoParams): Promise<import("../Message.js").Message>; }