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
canBeManaged
True, if the current user can manage the group call.boolean
canChangeMuteNewParticipants
True, if the current user can enable or disable muteNewParticipants setting.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.int
recordDuration
Duration of the ongoing group call recording, in seconds; 0 if none.String
title
Group call title. -
Constructor Summary
Constructors Constructor Description GroupCall()
Describes a group call.GroupCall(int id, String title, boolean isActive, boolean isJoined, boolean needRejoin, boolean canUnmuteSelf, boolean canBeManaged, int participantCount, boolean loadedAllParticipants, TdApi.GroupCallRecentSpeaker[] recentSpeakers, boolean muteNewParticipants, boolean canChangeMuteNewParticipants, int recordDuration, 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(DataOutput output)
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
id
public int idGroup call identifier. -
title
Group call title. -
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. -
canChangeMuteNewParticipants
public boolean canChangeMuteNewParticipantsTrue, if the current user can enable or disable muteNewParticipants setting. -
recordDuration
public int recordDurationDuration of the ongoing group call recording, in seconds; 0 if none. An updateGroupCall update is not triggered when value of this field changes, but the same recording goes on. -
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, String title, boolean isActive, boolean isJoined, boolean needRejoin, boolean canUnmuteSelf, boolean canBeManaged, int participantCount, boolean loadedAllParticipants, TdApi.GroupCallRecentSpeaker[] recentSpeakers, boolean muteNewParticipants, boolean canChangeMuteNewParticipants, int recordDuration, int duration)Describes a group call.- Parameters:
id
- int Group call identifier.title
- String Group call title.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.canChangeMuteNewParticipants
- boolean True, if the current user can enable or disable muteNewParticipants setting.recordDuration
- int Duration of the ongoing group call recording, in seconds; 0 if none. An updateGroupCall update is not triggered when value of this field changes, but the same recording goes on.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()
-