• Public
  • Public/Protected
  • All

Interface ChooseInlineResultEvent

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


Check official reference.






  • EventObject<"postback", "choose_inline_result">
  • EventBase
  • ChosenInlineResult
    • ChooseInlineResultEvent



botId: number
category: "postback"
channel: null
chosenInlineResult: any

Inline result object.

inlineMessageId?: string

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.

location?: any

Sender location, only for bots that require user location

platform: "telegram"
query: string

The query that was used to obtain the result

resultId: string

The unique identifier for the result that was chosen

type: "choose_inline_result"
updateId: string

The update's unique identifier. Update identifiers start from a certain positive number and increase sequentially. This ID becomes especially handy if you're using Webhooks, since it allows you to ignore repeated updates or to restore the correct update sequence, should they get out of order. If there are no new updates for at least a week, then identifier of the next update will be chosen randomly instead of sequentially.

The user that chose the result

Generated using TypeDoc