UNPKG

tgsnake

Version:

Telegram MTProto framework for nodejs.

22 lines (21 loc) 888 B
import { type Entities, Raw } from '../../platform.node.js'; import * as ReplyMarkup from '../../TL/Messages/ReplyMarkup.js'; import type { Snake } from '../../Client/index.js'; import { Message } from '../../TL/Messages/index.js'; import { ReplyParameters } from '../../Utilities.js'; export interface sendMediaParams { disableNotification?: boolean; replyToMessageId?: number; replyToStoryId?: number; replyParameters?: ReplyParameters; messageThreadId?: number; scheduleDate?: Date; sendAsChannel?: bigint | string; protectContent?: boolean; replyMarkup?: ReplyMarkup.TypeReplyMarkup; entities?: Array<Entities>; parseMode?: 'html' | 'markdown'; caption?: string; invertMedia?: boolean; } export declare function sendMedia(client: Snake, chatId: bigint | string, media: Raw.TypeInputMedia, more?: sendMediaParams): Promise<Message>;