List of all members | Public Fields | Public Instance Methods | Static Public Attributes
call Class Referencefinal

Inherits Object.

Description

Describes a call.

Public Fields

int32 id_
 Call identifier, not persistent.
 
int53 user_id_
 User identifier of the other call participant.
 
bool is_outgoing_
 True, if the call is outgoing.
 
bool is_video_
 True, if the call is a video call.
 
object_ptr< CallStatestate_
 Call state.
 

Public Instance Methods

 call ()
 
 call (int32 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 Instance Methods inherited from TlObject
virtual void store (TlStorerUnsafe &s) const
 
virtual void store (TlStorerCalcLength &s) const
 
 TlObject ()=default
 
 TlObject (const TlObject &)=delete
 
TlObjectoperator= (const TlObject &)=delete
 
 TlObject (TlObject &&)=default
 
TlObjectoperator= (TlObject &&)=default
 
virtual ~TlObject ()=default
 

Static Public Attributes

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

Constructor & Destructor Documentation

◆ call() [1/2]

call ( )

Describes a call.

◆ call() [2/2]

call ( int32  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]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.

Method 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: