Package it.tdlight.jni
Class TdApi.GroupCallParticipant
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.GroupCallParticipant
- Enclosing class:
- TdApi
public static class TdApi.GroupCallParticipant extends TdApi.Object
Represents a group call participant.
-
Field Summary
Fields Modifier and Type Field Description boolean
canBeMuted
True, if the current user can mute the participant.boolean
canBeUnmuted
True, if the current user can allow the participant to unmute themself or unmute the participant (only for self).boolean
canUnmuteSelf
True, if the participant can unmute themself.static int
CONSTRUCTOR
boolean
isMuted
True, if the participant is muted.boolean
isSpeaking
True, if the participant is speaking as set by setGroupCallParticipantIsSpeaking.long
order
User's order in the group call participant list.int
source
User's synchronization source.int
userId
Identifier of the user. -
Constructor Summary
Constructors Constructor Description GroupCallParticipant()
Represents a group call participant.GroupCallParticipant(int userId, int source, boolean isSpeaking, boolean canBeMuted, boolean canBeUnmuted, boolean isMuted, boolean canUnmuteSelf, long order)
Represents a group call participant.GroupCallParticipant(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
-
userId
public int userIdIdentifier of the user. -
source
public int sourceUser's synchronization source. -
isSpeaking
public boolean isSpeakingTrue, if the participant is speaking as set by setGroupCallParticipantIsSpeaking. -
canBeMuted
public boolean canBeMutedTrue, if the current user can mute the participant. -
canBeUnmuted
public boolean canBeUnmutedTrue, if the current user can allow the participant to unmute themself or unmute the participant (only for self). -
isMuted
public boolean isMutedTrue, if the participant is muted. -
canUnmuteSelf
public boolean canUnmuteSelfTrue, if the participant can unmute themself. -
order
public long orderUser's order in the group call participant list. The bigger is order, the higher is user in the list. If order is 0, the user must be removed from the participant list. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
- Constant Field Values
-
-
Constructor Details
-
GroupCallParticipant
public GroupCallParticipant()Represents a group call participant. -
GroupCallParticipant
public GroupCallParticipant(int userId, int source, boolean isSpeaking, boolean canBeMuted, boolean canBeUnmuted, boolean isMuted, boolean canUnmuteSelf, long order)Represents a group call participant.- Parameters:
userId
- int Identifier of the user.source
- int User's synchronization source.isSpeaking
- boolean True, if the participant is speaking as set by setGroupCallParticipantIsSpeaking.canBeMuted
- boolean True, if the current user can mute the participant.canBeUnmuted
- boolean True, if the current user can allow the participant to unmute themself or unmute the participant (only for self).isMuted
- boolean True, if the participant is muted.canUnmuteSelf
- boolean True, if the participant can unmute themself.order
- long User's order in the group call participant list. The bigger is order, the higher is user in the list. If order is 0, the user must be removed from the participant list.
-
GroupCallParticipant
- 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()
-