A user has stopped or restarted the bot.

This update is not sent the first time user interacts with the bot.

Constructors

Properties

Accessors

Constructors

Properties

_peers: PeersIndex

Accessors

  • get stopped(): boolean
  • Whether the bot is currently stopped.

    If true, then the user has stopped the bot. If false, then the user has re-started the bot.

    Returns boolean

  • get user(): User
  • User who stopped or restarted the bot

    Returns User

  • get userId(): number
  • ID of the user who stopped or restarted the bot

    Returns number