BusinessConnection

class pyrogram.types.BusinessConnection

Represents a business bot connection.

Parameters:
  • id (str) – Unique identifier of the connection.

  • user (User) – The business account user.

  • dc_id (int) – Data center ID of the user.

  • date (datetime) – When the connection was established.

  • can_reply (bool, optional) – Whether the bot can reply to messages.

  • disabled (bool, optional) – Whether the connection is disabled.