1#ifndef TGBOT_BUSINESSCONNECTION_H
2#define TGBOT_BUSINESSCONNECTION_H
20 typedef std::shared_ptr<BusinessConnection>
Ptr;
Describes the connection of the bot with a business account.
std::int64_t userChatId
Identifier of a private chat with the user who created the business connection.
std::uint32_t date
Date the connection was established in Unix time.
bool isEnabled
True, if the connection is active.
std::shared_ptr< BusinessConnection > Ptr
std::string id
Unique identifier of the business connection.
User::Ptr user
Business account user that created the business connection.
bool canReply
True, if the bot can act on behalf of the business account in chats that were active in the last 24 h...
std::shared_ptr< User > Ptr