tgsnake
Version:
Telegram MTProto framework for nodejs.
15 lines (14 loc) • 792 B
TypeScript
import { type Readable, type Files, type Entities, Buffer } from '../../platform.node.js';
import type { Snake } from '../../Client/index.js';
import type { TypeReplyMarkup } from '../../TL/Messages/ReplyMarkup.js';
import type { sendDocumentParams } from './SendDocument.js';
export type sendStickerParams = Omit<sendDocumentParams, keyof {
replyMarkup?: TypeReplyMarkup;
entities?: Array<Entities>;
parseMode?: 'html' | 'markdown';
caption?: string;
invertMedia?: boolean;
thumbnail?: string | Buffer | Readable | Files.File;
forceDocument?: boolean;
}>;
export declare function sendSticker(client: Snake, chatId: bigint | string, file: string | Buffer | Readable | Files.File, more?: sendStickerParams): Promise<import("../../TL/Messages/Message.js").Message>;