BusinessConnection¶
- class pyrogram.types.BusinessConnection¶
Business information of a user.
- Parameters:
id (
str) – Unique identifier of the business connection that belongs to the user.user (
User) – Business account user that created the business connection.dc_id (
int) – Datacenter identifier of the user.date (
datetime) – Date the connection was established in Unix time.is_enabled (
bool, optional) – True, if the connection is active.permissions (
BusinessBotPermissions, optional) – Permissions for the business bot.