An inline result was chosen by the user and sent to some chat

Note: To receive these updates, you must enable Inline feedback in @BotFather

Constructors

Properties

Accessors

Constructors

Properties

_peers: PeersIndex

Accessors

  • get id(): string
  • Unique identifier of the chosen result, as set in InputInlineResult.id

    Returns string

  • get location(): null | Location
  • Sender location, only applicable to bots that requested user location

    Returns null | Location

  • get messageId(): null | TypeInputBotInlineMessageID
  • Identifier of the sent inline message, which can be used in TelegramClient.editInlineMessage

    Note: this is only available in case the InputInlineMessage contained a reply keyboard markup.

    Returns null | TypeInputBotInlineMessageID

  • get messageIdStr(): null | string
  • Identifier of the sent inline message as a TDLib and Bot API compatible string. Can be used instead of messageId in case you want to store it in some storage.

    Note: this is only available in case the InputInlineMessage contained a reply keyboard markup.

    Returns null | string

  • get query(): string
  • The query that was previously sent by the user, which was used to obtain this result

    Returns string

  • get user(): User
  • User who has chosen the query

    Returns User