Package it.tdlight.jni
Class TdApi.GroupCall
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.GroupCall
- Enclosing class:
- TdApi
public static class TdApi.GroupCall extends TdApi.Object
Describes a group call.
-
Field Summary
Fields Modifier and Type Field Description boolean
allowedChangeMuteNewParticipants
True, if group call administrators can enable or disable muteNewParticipants setting.boolean
canBeManaged
True, if the current user can manage the group call.boolean
canUnmuteSelf
True, if the current user can unmute themself.static int
CONSTRUCTOR
int
duration
Call duration; for ended calls only.int
id
Group call identifier.boolean
isActive
True, if the call is active.boolean
isJoined
True, if the call is joined.boolean
loadedAllParticipants
True, if all group call participants are loaded.boolean
muteNewParticipants
True, if only group call administrators can unmute new participants.boolean
needRejoin
True, if user was kicked from the call because of network loss and the call needs to be rejoined.int
participantCount
Number of participants in the group call.TdApi.GroupCallRecentSpeaker[]
recentSpeakers
Recently speaking users in the group call. -
Constructor Summary
Constructors Constructor Description GroupCall()
Describes a group call.GroupCall(int id, boolean isActive, boolean isJoined, boolean needRejoin, boolean canUnmuteSelf, boolean canBeManaged, int participantCount, boolean loadedAllParticipants, TdApi.GroupCallRecentSpeaker[] recentSpeakers, boolean muteNewParticipants, boolean allowedChangeMuteNewParticipants, int duration)
Describes a group call.GroupCall(DataInput input)
-
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
getConstructor()
int
hashCode()
void
serialize(DataOutputStream output)
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
id
public int idGroup call identifier. -
isActive
public boolean isActiveTrue, if the call is active. -
isJoined
public boolean isJoinedTrue, if the call is joined. -
needRejoin
public boolean needRejoinTrue, if user was kicked from the call because of network loss and the call needs to be rejoined. -
canUnmuteSelf
public boolean canUnmuteSelfTrue, if the current user can unmute themself. -
canBeManaged
public boolean canBeManagedTrue, if the current user can manage the group call. -
participantCount
public int participantCountNumber of participants in the group call. -
loadedAllParticipants
public boolean loadedAllParticipantsTrue, if all group call participants are loaded. -
recentSpeakers
Recently speaking users in the group call. -
muteNewParticipants
public boolean muteNewParticipantsTrue, if only group call administrators can unmute new participants. -
allowedChangeMuteNewParticipants
public boolean allowedChangeMuteNewParticipantsTrue, if group call administrators can enable or disable muteNewParticipants setting. -
duration
public int durationCall duration; for ended calls only. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
- Constant Field Values
-
-
Constructor Details
-
GroupCall
public GroupCall()Describes a group call. -
GroupCall
public GroupCall(int id, boolean isActive, boolean isJoined, boolean needRejoin, boolean canUnmuteSelf, boolean canBeManaged, int participantCount, boolean loadedAllParticipants, TdApi.GroupCallRecentSpeaker[] recentSpeakers, boolean muteNewParticipants, boolean allowedChangeMuteNewParticipants, int duration)Describes a group call.- Parameters:
id
- int Group call identifier.isActive
- boolean True, if the call is active.isJoined
- boolean True, if the call is joined.needRejoin
- boolean True, if user was kicked from the call because of network loss and the call needs to be rejoined.canUnmuteSelf
- boolean True, if the current user can unmute themself.canBeManaged
- boolean True, if the current user can manage the group call.participantCount
- int Number of participants in the group call.loadedAllParticipants
- boolean True, if all group call participants are loaded.recentSpeakers
- GroupCallRecentSpeaker[] Recently speaking users in the group call.muteNewParticipants
- boolean True, if only group call administrators can unmute new participants.allowedChangeMuteNewParticipants
- boolean True, if group call administrators can enable or disable muteNewParticipants setting.duration
- int Call duration; for ended calls only.
-
GroupCall
- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-