Describes the connection of the bot with a business account.

Constructors

Properties

Accessors

Constructors

Properties

_peers: PeersIndex

Accessors

  • get canReply(): boolean
  • Whether the bot can reply on behalf of the user

    Returns boolean

  • get date(): Date
  • Date when the connection was created

    Returns Date

  • get dcId(): number
  • Datacenter ID of the connected user

    Returns number

  • get id(): string
  • ID of the connection

    Returns string

  • get isRemoved(): boolean
  • Whether the connection was removed by the user

    Returns boolean

  • get user(): User
  • Business account user that created the business connection

    Returns User