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::messageGroupCall Class Referencefinal

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

Inheritance diagram for td::td_api::messageGroupCall:
td::td_api::MessageContent td::td_api::Object td::TlObject

Public Member Functions

 messageGroupCall ()
 
 messageGroupCall (int64 unique_id_, bool is_active_, bool was_missed_, bool is_video_, int32 duration_, array< object_ptr< MessageSender > > &&other_participant_ids_)
 
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

int64 unique_id_
 Persistent unique group call identifier.
 
bool is_active_
 True, if the call is active, i.e. the called user joined the call.
 
bool was_missed_
 True, if the called user missed or declined the call.
 
bool is_video_
 True, if the call is a video call.
 
int32 duration_
 Call duration, in seconds; for left calls only.
 
array< object_ptr< MessageSender > > other_participant_ids_
 Identifiers of some other call participants.
 

Static Public Attributes

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

Detailed Description

A message with information about a group call not bound to a chat. If the message is incoming, the call isn&#x27;t active, isn&#x27;t missed, and has no duration, and getOption("can_accept_calls") is true, then incoming call screen must be shown to the user. Use getGroupCallParticipants to show current group call participants on the screen. Use joinGroupCall to accept the call or declineGroupCallInvitation to decline it. If the call become active or missed, then the call screen must be hidden.

Definition at line 40042 of file td_api.h.

Constructor & Destructor Documentation

◆ messageGroupCall() [1/2]

td::td_api::messageGroupCall::messageGroupCall ( )

A message with information about a group call not bound to a chat. If the message is incoming, the call isn&#x27;t active, isn&#x27;t missed, and has no duration, and getOption("can_accept_calls") is true, then incoming call screen must be shown to the user. Use getGroupCallParticipants to show current group call participants on the screen. Use joinGroupCall to accept the call or declineGroupCallInvitation to decline it. If the call become active or missed, then the call screen must be hidden.

◆ messageGroupCall() [2/2]

td::td_api::messageGroupCall::messageGroupCall ( int64  unique_id_,
bool  is_active_,
bool  was_missed_,
bool  is_video_,
int32  duration_,
array< object_ptr< MessageSender > > &&  other_participant_ids_ 
)

A message with information about a group call not bound to a chat. If the message is incoming, the call isn&#x27;t active, isn&#x27;t missed, and has no duration, and getOption("can_accept_calls") is true, then incoming call screen must be shown to the user. Use getGroupCallParticipants to show current group call participants on the screen. Use joinGroupCall to accept the call or declineGroupCallInvitation to decline it. If the call become active or missed, then the call screen must be hidden.

Parameters
[in]unique_id_Persistent unique group call identifier.
[in]is_active_True, if the call is active, i.e. the called user joined the call.
[in]was_missed_True, if the called user missed or declined the call.
[in]is_video_True, if the call is a video call.
[in]duration_Call duration, in seconds; for left calls only.
[in]other_participant_ids_Identifiers of some other call participants.

Member Function Documentation

◆ store()

void td::td_api::messageGroupCall::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

◆ duration_

int32 td::td_api::messageGroupCall::duration_

Call duration, in seconds; for left calls only.

Definition at line 40061 of file td_api.h.

◆ ID

const std::int32_t td::td_api::messageGroupCall::ID = 1735752741
static

Identifier uniquely determining a type of the object.

Definition at line 40083 of file td_api.h.

◆ is_active_

bool td::td_api::messageGroupCall::is_active_

True, if the call is active, i.e. the called user joined the call.

Definition at line 40055 of file td_api.h.

◆ is_video_

bool td::td_api::messageGroupCall::is_video_

True, if the call is a video call.

Definition at line 40059 of file td_api.h.

◆ other_participant_ids_

array<object_ptr<MessageSender> > td::td_api::messageGroupCall::other_participant_ids_

Identifiers of some other call participants.

Definition at line 40063 of file td_api.h.

◆ unique_id_

int64 td::td_api::messageGroupCall::unique_id_

Persistent unique group call identifier.

Definition at line 40053 of file td_api.h.

◆ was_missed_

bool td::td_api::messageGroupCall::was_missed_

True, if the called user missed or declined the call.

Definition at line 40057 of file td_api.h.


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