BotBusinessConnection¶
- class pyrogram.types.BotBusinessConnection¶
A bot business connection Information.
- Parameters:¶
bot_connection_id (
str
) – The business connection identifier.user (
User
) – The user that connected to the bot.dc_id (
int
) – The user datacenter.date (
datetime
) – Date the connection was established in Unix time.can_reply (
bool
, optional) – Whether the bot can reply.is_disabled (
bool
, optional) – Whether the connection is disabled.