TDLib
Loading...
Searching...
No Matches
call Class Referencefinal

Inherits Object.

Description

Describes a call.

Public Member Functions

 call ()
 call (int32 id_, int64 unique_id_, int53 user_id_, bool is_outgoing_, bool is_video_, object_ptr< CallState > &&state_)
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

int32 id_
 Call identifier, not persistent.
bool is_outgoing_
 True, if the call is outgoing.
bool is_video_
 True, if the call is a video call.
object_ptr< CallState > state_
 Call state.
int64 unique_id_
 Persistent unique call identifier; 0 if isn't assigned yet by the server.
int53 user_id_
 User identifier of the other call participant.

Static Public Attributes

static const std::int32_t ID = 837356336
 Identifier uniquely determining a type of the object.

Constructor & Destructor Documentation

◆ call() [1/2]

call ( )

Describes a call.

◆ call() [2/2]

call ( int32 id_,
int64 unique_id_,
int53 user_id_,
bool is_outgoing_,
bool is_video_,
object_ptr< CallState > && state_ )

Describes a call.

Parameters
[in]id_Call identifier, not persistent.
[in]unique_id_Persistent unique call identifier; 0 if isn't assigned yet by the server.
[in]user_id_User identifier of the other call participant.
[in]is_outgoing_True, if the call is outgoing.
[in]is_video_True, if the call is a video call.
[in]state_Call state.

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: