TDLib
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
businessConnectedBotInfo Class Referencefinal

Inherits Object.

Description

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.
 

Constructor & Destructor Documentation

◆ businessConnectedBotInfo() [1/2]

Describes a connection of a bot to an account.

◆ businessConnectedBotInfo() [2/2]

businessConnectedBotInfo ( object_ptr< businessConnectedBot > &&  bot_,
int32  connection_date_,
string const &  device_model_,
string const &  location_ 
)

Describes a connection of a bot to an account.

Parameters
[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.

Member Function Documentation

◆ store()

void store ( TlStorerToString &  s,
const char *  field_name 
) const
finalvirtual

Helper function for to_string method. Appends string representation of the object to the storer.

Parameters
[in]sStorer to which object string representation will be appended.
[in]field_nameObject field_name if applicable.

Implements TlObject.


The documentation for this class was generated from the following file: