tdlib-obf API
Reference documentation for the public tdlib-obf API, generated from TDLib schemas and public headers
Loading...
Searching...
No Matches
td::td_api::call Class Referencefinal

#include </home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h>

Inheritance diagram for td::td_api::call:
td::td_api::Object td::TlObject

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

Public Attributes

int32 id_
 Call identifier, not persistent.
 
int64 unique_id_
 Persistent unique call identifier; 0 if isn&#x27;t assigned yet by the server.
 
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.
 

Static Public Attributes

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

Detailed Description

Describes a call.

Definition at line 6797 of file td_api.h.

Constructor & Destructor Documentation

◆ call() [1/2]

td::td_api::call::call ( )

Describes a call.

◆ call() [2/2]

td::td_api::call::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&#x27;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 td::td_api::call::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 td::TlObject.

Member Data Documentation

◆ ID

const std::int32_t td::td_api::call::ID = 837356336
static

Identifier uniquely determining a type of the object.

Definition at line 6838 of file td_api.h.

◆ id_

int32 td::td_api::call::id_

Call identifier, not persistent.

Definition at line 6808 of file td_api.h.

◆ is_outgoing_

bool td::td_api::call::is_outgoing_

True, if the call is outgoing.

Definition at line 6814 of file td_api.h.

◆ is_video_

bool td::td_api::call::is_video_

True, if the call is a video call.

Definition at line 6816 of file td_api.h.

◆ state_

object_ptr<CallState> td::td_api::call::state_

Call state.

Definition at line 6818 of file td_api.h.

◆ unique_id_

int64 td::td_api::call::unique_id_

Persistent unique call identifier; 0 if isn&#x27;t assigned yet by the server.

Definition at line 6810 of file td_api.h.

◆ user_id_

int53 td::td_api::call::user_id_

User identifier of the other call participant.

Definition at line 6812 of file td_api.h.


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