Inherits Object.
Describes a connection of the bot with a business account.
Public Fields | |
string | id_ |
Unique identifier of the connection. | |
int53 | user_id_ |
Identifier of the business user that created the connection. | |
int53 | user_chat_id_ |
Chat identifier of the private chat with the user. | |
int32 | date_ |
Point in time (Unix timestamp) when the connection was established. | |
bool | can_reply_ |
True, if the bot can send messages to the connected user; false otherwise. | |
bool | is_enabled_ |
True, if the connection is enabled; false otherwise. | |
Public Instance Methods | |
businessConnection () | |
businessConnection (string const &id_, int53 user_id_, int53 user_chat_id_, int32 date_, bool can_reply_, bool is_enabled_) | |
void | store (TlStorerToString &s, const char *field_name) const final |
Public Instance Methods inherited from TlObject | |
virtual void | store (TlStorerUnsafe &s) const |
virtual void | store (TlStorerCalcLength &s) const |
TlObject ()=default | |
TlObject (const TlObject &)=delete | |
TlObject & | operator= (const TlObject &)=delete |
TlObject (TlObject &&)=default | |
TlObject & | operator= (TlObject &&)=default |
virtual | ~TlObject ()=default |
Static Public Attributes | |
static const std::int32_t | ID = 1144447540 |
Identifier uniquely determining a type of the object. | |
Describes a connection of the bot with a business account.
businessConnection | ( | string const & | id_, |
int53 | user_id_, | ||
int53 | user_chat_id_, | ||
int32 | date_, | ||
bool | can_reply_, | ||
bool | is_enabled_ | ||
) |
Describes a connection of the bot with a business account.
[in] | id_ | Unique identifier of the connection. |
[in] | user_id_ | Identifier of the business user that created the connection. |
[in] | user_chat_id_ | Chat identifier of the private chat with the user. |
[in] | date_ | Point in time (Unix timestamp) when the connection was established. |
[in] | can_reply_ | True, if the bot can send messages to the connected user; false otherwise. |
[in] | is_enabled_ | True, if the connection is enabled; false otherwise. |
|
finalvirtual |