import { tl } from '../../../tl/index.js'; import { ITelegramClient } from '../../client.types.js'; import { InputInlineResult } from '../../types/bots/inline-result/types.js'; import { InputPeerLike } from '../../types/index.js'; /** * Prepare an inline message result to be sent later via the * `shareMessage` [mini-app api method](https://core.telegram.org/bots/webapps#initializing-mini-apps). */ export declare function prepareInlineMessage(client: ITelegramClient, params: { userId: InputPeerLike; result: InputInlineResult; /** * Filters for the client to use when prompting the user for the * chat to send the inline message to. * * Note that this is just a hint for the client, and the client is free to ignore it. */ filter?: tl.TypeInlineQueryPeerType[] | { /** private chat with the bot itself */ botSelf?: boolean; /** private chats */ private?: boolean; /** private chats with other bots */ bots?: boolean; /** "basic" chats */ chats?: boolean; /** supergroups */ supergroups?: boolean; /** broadcast channels */ channels?: boolean; }; }): Promise;