A callback query originating from a message sent by the bot via a business connection

Hierarchy

  • BaseCallbackQuery
    • BusinessCallbackQuery

    Constructors

    Properties

    _peers: PeersIndex

    Accessors

    • get data(): null | Uint8Array
    • Data that was contained in the callback button, if any

      Note that this field is defined by the client, and a bad client can send arbitrary data in this field.

      Returns null | Uint8Array

    • get dataStr(): null | string
    • Data that was contained in the callback button, if any, parsed as a UTF8 string

      Note that this field is defined by the client, and a bad client can send arbitrary data in this field.

      Returns null | string