BotBusinessConnection#

class pyrogram.raw.types.BotBusinessConnection#

Contains info about a bot business connection.

Constructor of BotBusinessConnection.

Details:
  • Layer: 201

  • ID: 8F34B2F5

Parameters:
  • connection_id (str) – Business connection ID, used to identify messages coming from the connection and to reply to them as specified here ».

  • user_id (int 64-bit) – ID of the user that the bot is connected to via this connection.

  • dc_id (int 32-bit) – ID of the datacenter where to send queries wrapped in a invokeWithBusinessConnection as specified here ».

  • date (int 32-bit) – When was the connection created.

  • disabled (bool, optional) – Whether this business connection is currently disabled

  • rights (BusinessBotRights, optional) – N/A