Inherits MessageContent.
A message with information about a group call not bound to a chat. If the message is incoming, the call isn't active, isn't missed, and has no duration, and getOption("can_accept_calls") is true, then incoming call screen must be shown to the user. 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.
Public Fields | |
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. | |
Public Instance Methods | |
messageGroupCall () | |
messageGroupCall (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 |
![]() | |
virtual void | store (TlStorerUnsafe &s) const |
virtual void | store (TlStorerCalcLength &s) const |
TlObject ()=default | |
TlObject (const TlObject &)=delete | |
TlObject & | operator= (const TlObject &)=delete |
TlObject (TlObject &&)=default | |
TlObject & | operator= (TlObject &&)=default |
virtual | ~TlObject ()=default |
Static Public Attributes | |
static const std::int32_t | ID = 1370396295 |
Identifier uniquely determining a type of the object. | |
messageGroupCall | ( | ) |
A message with information about a group call not bound to a chat. If the message is incoming, the call isn't active, isn't missed, and has no duration, and getOption("can_accept_calls") is true, then incoming call screen must be shown to the user. 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 | ( | 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't active, isn't missed, and has no duration, and getOption("can_accept_calls") is true, then incoming call screen must be shown to the user. 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.
[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. |
|
finalvirtual |