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. | |
| object_ptr< businessBotRights > | rights_ |
| Rights of the bot; may be null if the connection was disabled. | |
| 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_, object_ptr< businessBotRights > &&rights_, 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 = -995703933 |
| 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_, | ||
| object_ptr< businessBotRights > && | rights_, | ||
| 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] | rights_ | Rights of the bot; may be null if the connection was disabled. |
| [in] | is_enabled_ | True, if the connection is enabled; false otherwise. |
|
finalvirtual |