|
TDLib
|
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 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.
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 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 | duration_ |
| Call duration, in seconds; for left calls only. | |
| bool | is_active_ |
| True, if the call is active, i.e. the called user joined the call. | |
| bool | is_video_ |
| True, if the call is a video call. | |
| array< object_ptr< MessageSender > > | other_participant_ids_ |
| Identifiers of some other call participants. | |
| int64 | unique_id_ |
| Persistent unique group call identifier. | |
| bool | was_missed_ |
| True, if the called user missed or declined the call. | |
Static Public Attributes | |
| static const std::int32_t | ID = 1735752741 |
| 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 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 | ( | 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'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 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.
| [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. |
|
finalvirtual |