import { Bot, IInputMediaAnimation, IInputMediaAudio, IInputMediaDocument, IInputMediaPhoto, IInputMediaVideo, InputFile, InputMediaAnimation, InputMediaAudio, InputMediaDocument, InputMediaPhoto, InputMediaVideo } from "./_internals.js"; /** * This object represents the content of a media message to be sent. It should be one of * * [InputMediaAnimation](https://core.telegram.org/bots/api#inputmediaanimation) * * [InputMediaDocument](https://core.telegram.org/bots/api#inputmediadocument) * * [InputMediaAudio](https://core.telegram.org/bots/api#inputmediaaudio) * * [InputMediaPhoto](https://core.telegram.org/bots/api#inputmediaphoto) * * [InputMediaVideo](https://core.telegram.org/bots/api#inputmediavideo) */ export declare class InputMedia extends Bot implements IInputMedia { constructor(data: IInputMedia, token?: string | Bot); type: string; media: InputFile | string; caption?: string; parse_mode?: string; } /** * This object represents the content of a media message to be sent. It should be one of * * [InputMediaAnimation](https://core.telegram.org/bots/api#inputmediaanimation) * * [InputMediaDocument](https://core.telegram.org/bots/api#inputmediadocument) * * [InputMediaAudio](https://core.telegram.org/bots/api#inputmediaaudio) * * [InputMediaPhoto](https://core.telegram.org/bots/api#inputmediaphoto) * * [InputMediaVideo](https://core.telegram.org/bots/api#inputmediavideo) */ export interface IInputMedia { /** Type of the result */ type: string; /** File to send. Pass a file_id to send a file that exists on the Telegram servers (recommended), pass an HTTP URL for Telegram to get a file from the Internet, or pass “attach://” to upload a new one using multipart/form-data under name. [More info on Sending Files »](https://core.telegram.org/bots/api#sending-files) */ media: string | InputFile; /** Caption of the media to be sent, 0-1024 characters */ caption?: string; /** Send [*Markdown*](https://core.telegram.org/bots/api#markdown-style) or [*HTML*](https://core.telegram.org/bots/api#html-style), if you want Telegram apps to show [bold, italic, fixed-width text or inline URLs](https://core.telegram.org/bots/api#formatting-options) in the media caption. */ parse_mode?: string; } export declare type IInputMediaTuple = IInputMediaPhoto | IInputMediaVideo | IInputMediaAnimation | IInputMediaAudio | IInputMediaDocument; export declare type InputMediaTuple = InputMediaPhoto | InputMediaVideo | InputMediaAnimation | InputMediaAudio | InputMediaDocument;