BotBusinessConnection#
- class pyrogram.raw.types.BotBusinessConnection#
Contains info about a bot business connection.
Constructor of
BotBusinessConnection
.- Details:
Layer:
198
ID:
896433B4
- 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.can_reply (
bool
, optional) – Whether the bot can reply on behalf of the user to messages it receives through the business connectiondisabled (
bool
, optional) – Whether this business connection is currently disabled