Package org.drinkless.tdlib
Class TdApi.MessageGroupCall
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.MessageContent
org.drinkless.tdlib.TdApi.MessageGroupCall
- Enclosing class:
- TdApi
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.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.int
Call duration, in seconds; for left calls only.boolean
True, if the call is active, i.e. the called user joined the call.boolean
True, if the call is a video call.Identifiers of some other call participants.boolean
True, if the called user missed or declined the call. -
Constructor Summary
ConstructorsConstructorDescriptionA message with information about a group call not bound to a chat.MessageGroupCall
(boolean isActive, boolean wasMissed, boolean isVideo, int duration, TdApi.MessageSender[] otherParticipantIds) A message with information about a group call not bound to a chat. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
Field Details
-
isActive
public boolean isActiveTrue, if the call is active, i.e. the called user joined the call. -
wasMissed
public boolean wasMissedTrue, if the called user missed or declined the call. -
isVideo
public boolean isVideoTrue, if the call is a video call. -
duration
public int durationCall duration, in seconds; for left calls only. -
otherParticipantIds
Identifiers of some other call participants. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
MessageGroupCall
public 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
public MessageGroupCall(boolean isActive, boolean wasMissed, boolean isVideo, int duration, TdApi.MessageSender[] otherParticipantIds) 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.- Parameters:
isActive
- True, if the call is active, i.e. the called user joined the call.wasMissed
- True, if the called user missed or declined the call.isVideo
- True, if the call is a video call.duration
- Call duration, in seconds; for left calls only.otherParticipantIds
- Identifiers of some other call participants.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.Object
Returns an identifier uniquely determining type of the object.- Specified by:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-