BusinessConnection¶
Describes a connection of the bot with a business account
BusinessConnection(
id: string,
user_id: int53,
user_chat_id: int53,
date: int32,
rights: BusinessBotRights,
is_enabled: Bool
) → BusinessConnection
id¶
string
Unique identifier of the connection
user_id¶
int53
Identifier of the business user who created the connection
user_chat_id¶
int53
Chat identifier of the private chat with the user
date¶
int32
Point in time (Unix timestamp) when the connection was established
rights¶
Rights of the bot; may be null if the connection was disabled
is_enabled¶
Bool
True, if the connection is enabled; false otherwise