UNPKG

tgsnake

Version:

Telegram MTProto framework for nodejs.

10 lines (9 loc) 548 B
import { type Readable, type Files, Buffer } from '../../platform.node.js'; import type { Snake } from '../../Client/index.js'; import type { sendVideoParams } from './SendVideo.js'; export type sendAnimationParams = Omit<sendVideoParams, keyof { muted?: boolean; supportsStreaming?: boolean; preloadPrefixSize?: number; }>; export declare function sendAnimation(client: Snake, chatId: bigint | string, file: string | Buffer | Readable | Files.File, more?: sendAnimationParams): Promise<import("../../TL/Messages/Message.js").Message>;