import type { Api } from "@yaebal/core"; import type * as t from "@yaebal/types"; export interface ChosenInlineResultContext extends t.ChosenInlineResult { } export declare class ChosenInlineResultContext { readonly api: Api; readonly update: t.Update; constructor(api: Api, update: t.Update); /** id of the user this update is from. */ get senderId(): number; /** first name of the user this update is from. */ get firstName(): string | undefined; /** Use this method to get a list of profile pictures for a user. Returns a [UserProfilePhotos](https://core.telegram.org/bots/api/#userprofilephotos) object. */ getUserProfilePhotos(params: Omit): Promise; /** Use this method to get a list of profile audios for a user. Returns a [UserProfileAudios](https://core.telegram.org/bots/api/#userprofileaudios) object. */ getUserProfileAudios(params: Omit): Promise; /** Changes the emoji status for a given user that previously allowed the bot to manage their emoji status via the Mini App method [requestEmojiStatusAccess](/bots/webapps#initializing-mini-apps). Returns *True* on success. */ setUserEmojiStatus(params: Omit): Promise; /** Use this method to get the last messages from the personal chat (i.e., the chat currently added to their profile) of a given user. On success, an Array of [Message](https://core.telegram.org/bots/api/#message) objects is returned. */ getUserPersonalChatMessages(params: Omit): Promise; /** Use this method to get the token of a managed bot. Returns the token as *String* on success. */ getManagedBotToken(params?: Omit): Promise; /** Use this method to revoke the current token of a managed bot and generate a new one. Returns the new token as *String* on success. */ replaceManagedBotToken(params?: Omit): Promise; /** Use this method to get the access settings of a managed bot. Returns a [BotAccessSettings](https://core.telegram.org/bots/api/#botaccesssettings) object on success. */ getManagedBotAccessSettings(params?: Omit): Promise; /** Use this method to change the access settings of a managed bot. Returns *True* on success. */ setManagedBotAccessSettings(params: Omit): Promise; /** Sends a gift to the given user or channel chat. The gift can't be converted to Telegram Stars by the receiver. Returns *True* on success. */ sendGift(params: Omit): Promise; /** Gifts a Telegram Premium subscription to the given user. Returns *True* on success. */ giftPremiumSubscription(params: Omit): Promise; /** Verifies a user [on behalf of the organization](https://telegram.org/verify#third-party-verification) which is represented by the bot. Returns *True* on success. */ verifyUser(params: Omit): Promise; /** Removes verification from a user who is currently verified [on behalf of the organization](https://telegram.org/verify#third-party-verification) represented by the bot. Returns *True* on success. */ removeUserVerification(params?: Omit): Promise; /** Returns the gifts owned and hosted by a user. Returns [OwnedGifts](https://core.telegram.org/bots/api/#ownedgifts) on success. */ getUserGifts(params: Omit): Promise; /** Stores a message that can be sent by a user of a Mini App. Returns a [PreparedInlineMessage](https://core.telegram.org/bots/api/#preparedinlinemessage) object. */ savePreparedInlineMessage(params: Omit): Promise; /** Stores a keyboard button that can be used by a user within a Mini App. Returns a [PreparedKeyboardButton](https://core.telegram.org/bots/api/#preparedkeyboardbutton) object. */ savePreparedKeyboardButton(params: Omit): Promise; /** Use this method to upload a file with a sticker for later use in the [createNewStickerSet](https://core.telegram.org/bots/api/#createnewstickerset), [addStickerToSet](https://core.telegram.org/bots/api/#addstickertoset), or [replaceStickerInSet](https://core.telegram.org/bots/api/#replacestickerinset) methods (the file can be used multiple times). Returns the uploaded [File](https://core.telegram.org/bots/api/#file) on success. */ uploadStickerFile(params: Omit): Promise; /** Use this method to create a new sticker set owned by a user. The bot will be able to edit the sticker set thus created. Returns *True* on success. */ createNewStickerSet(params: Omit): Promise; /** Use this method to add a new sticker to a set created by the bot. Emoji sticker sets can have up to 200 stickers. Other sticker sets can have up to 120 stickers. Returns *True* on success. */ addStickerToSet(params: Omit): Promise; /** Use this method to replace an existing sticker in a sticker set with a new one. The method is equivalent to calling [deleteStickerFromSet](https://core.telegram.org/bots/api/#deletestickerfromset), then [addStickerToSet](https://core.telegram.org/bots/api/#addstickertoset), then [setStickerPositionInSet](https://core.telegram.org/bots/api/#setstickerpositioninset). Returns *True* on success. */ replaceStickerInSet(params: Omit): Promise; /** Use this method to set the thumbnail of a regular or mask sticker set. The format of the thumbnail file must match the format of the stickers in the set. Returns *True* on success. */ setStickerSetThumbnail(params: Omit): Promise; /** Refunds a successful payment in [Telegram Stars](https://t.me/BotNews/90). Returns *True* on success. */ refundStarPayment(params: Omit): Promise; /** Allows the bot to cancel or re-enable extension of a subscription paid in Telegram Stars. Returns *True* on success. */ editUserStarSubscription(params: Omit): Promise; /** Informs a user that some of the Telegram Passport elements they provided contains errors. The user will not be able to re-submit their Passport to you until the errors are fixed (the contents of the field for which you returned the error must change). Returns *True* on success. Use this if the data submitted by the user doesn't satisfy the standards your service requires for any reason. For example, if a birthday date seems invalid, a submitted document is blurry, a scan shows evidence of tampering, etc. Supply some details in the error message to make sure the user knows how to correct the issues. */ setPassportDataErrors(params: Omit): Promise; /** Use this method to set the score of the specified user in a game message. On success, if the message is not an inline message, the [Message](https://core.telegram.org/bots/api/#message) is returned, otherwise *True* is returned. Returns an error, if the new score is not greater than the user's current score in the chat and *force* is *False*. */ setGameScore(params: Omit): Promise; /** Use this method to get data for high score tables. Will return the score of the specified user and several of their neighbors in a game. Returns an Array of [GameHighScore](https://core.telegram.org/bots/api/#gamehighscore) objects. This method will currently return scores for the target user, plus two of their closest neighbors on each side. Will also return the top three users if the user and their neighbors are not among them. Please note that this behavior is subject to change. */ getGameHighScores(params: Omit): Promise; } //# sourceMappingURL=chosen-inline-result.d.ts.map