import { TelegramClient } from '@mtcute/core/client.js'; import { UpdateContext } from './base.js'; import { ChosenInlineResult } from '@mtcute/core'; /** * Context of a chosen inline result update. * * This is a subclass of {@link ChosenInlineResult}, so all its fields are also available. * * > **Note**: To receive these updates, you must enable * > Inline feedback in [@BotFather](//t.me/botfather) */ export declare class ChosenInlineResultContext extends ChosenInlineResult implements UpdateContext { readonly client: TelegramClient; readonly _name: "chosen_inline_result"; constructor(client: TelegramClient, result: ChosenInlineResult); /** * Edit the message that was sent when this inline result that was chosen. * * > **Note**: This method can only be used if the message contained a reply markup */ editMessage(params: Parameters[0]): Promise; }