Inline mode

ChosenInlineResult

Represents a result of an inline query that was chosen by the user and sent to their chat partner.

fields

fieldtyperequireddescription
result_idstringrequiredThe unique identifier for the result that was chosen
fromUserrequiredThe user that chose the result
locationLocationoptionalOptional. Sender location, only for bots that require user location
inline_message_idstringoptionalOptional. Identifier of the sent inline message. Available only if there is an inline keyboard attached to the message. Will be also received in callback queries and can be used to edit the message.
querystringrequiredThe query that was used to obtain the result

import

types.ts
import type { ChosenInlineResult } from "@yaebal/types";

used by

types