Hierarchy

  • InlineQuery

    Constructors

    Properties

    Accessors

    Constructors

    Properties

    _peers: PeersIndex

    Accessors

    • get peerType(): null | PeerType
    • Peer type from which this query was sent.

      Can be:

      • bot: Query was sent in this bot's PM
      • user: Query was sent in somebody's PM
      • group: Query was sent in a legacy group
      • supergroup: Query was sent in a supergroup
      • channel: Query was sent in a channel
      • null, in case this information is not available

      Returns null | PeerType