import { ITelegramClient } from '../../client.types.js'; import { InputMediaLike, InputText, ReplyMarkup } from '../../types/index.js'; import { tl } from '../../../tl/index.js'; /** * Edit sent inline message text, media and reply markup. * * @param messageId * Inline message ID, either as a TL object, or as a * TDLib and Bot API compatible string * @param params */ export declare function editInlineMessage(client: ITelegramClient, params: { /** * Inline message ID, either as a TL object, or as a * TDLib and Bot API compatible string */ messageId: tl.TypeInputBotInlineMessageID | string; /** * New message text * * When `media` is passed, `media.caption` is used instead */ text?: InputText; /** * New message media */ media?: InputMediaLike; /** * Whether to disable links preview in this message */ disableWebPreview?: boolean; /** * Whether to invert media position. * * Currently only supported for web previews and makes the * client render the preview above the caption and not below. */ invertMedia?: boolean; /** * For bots: new reply markup. * If omitted, existing markup will be removed. */ replyMarkup?: ReplyMarkup; /** * For media, upload progress callback. * * @param uploaded Number of bytes uploaded * @param total Total file size in bytes */ progressCallback?: (uploaded: number, total: number) => void; }): Promise;