|
TDLib
|
Inherits Object.
Describes a connection of a bot to an account.
Public Member Functions | |
| businessConnectedBotInfo () | |
| businessConnectedBotInfo (object_ptr< businessConnectedBot > &&bot_, int32 connection_date_, string const &device_model_, string const &location_) | |
| void | store (TlStorerToString &s, const char *field_name) const final |
| Public Member Functions inherited from TlObject | |
| TlObject & | operator= (const TlObject &)=delete |
| TlObject & | operator= (TlObject &&)=default |
| virtual void | store (TlStorerCalcLength &s) const |
| virtual void | store (TlStorerUnsafe &s) const |
| TlObject ()=default | |
| TlObject (const TlObject &)=delete | |
| TlObject (TlObject &&)=default | |
| virtual | ~TlObject ()=default |
Public Attributes | |
| object_ptr< businessConnectedBot > | bot_ |
| Information about the bot. | |
| int32 | connection_date_ |
| Point in time (Unix timestamp) when the bot was added; may be 0 if unknown. | |
| string | device_model_ |
| Model of the device that was used for the bot connection, as provided by the application; may be empty if unknown. | |
| string | location_ |
| A human-readable description of the location from which the bot was connected, based on the IP address; may be empty if unknown. | |
Static Public Attributes | |
| static const std::int32_t | ID = 350476653 |
| Identifier uniquely determining a type of the object. | |
| businessConnectedBotInfo | ( | ) |
Describes a connection of a bot to an account.
| businessConnectedBotInfo | ( | object_ptr< businessConnectedBot > && | bot_, |
| int32 | connection_date_, | ||
| string const & | device_model_, | ||
| string const & | location_ ) |
Describes a connection of a bot to an account.
| [in] | bot_ | Information about the bot. |
| [in] | connection_date_ | Point in time (Unix timestamp) when the bot was added; may be 0 if unknown. |
| [in] | device_model_ | Model of the device that was used for the bot connection, as provided by the application; may be empty if unknown. |
| [in] | location_ | A human-readable description of the location from which the bot was connected, based on the IP address; may be empty if unknown. |
|
finalvirtual |