java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.GroupCallParticipant
- Enclosing class:
- TdApi
Represents a group call participant.
-
Field Summary
Modifier and TypeFieldDescriptionint
User's audio channel synchronization source identifier.The participant user's bio or the participant chat's description.boolean
True, if the current user can mute the participant for all other group call participants.boolean
True, if the current user can mute the participant only for self.boolean
True, if the current user can allow the participant to unmute themselves or unmute the participant (if the participant is the current user).boolean
True, if the current user can unmute the participant for self.boolean
True, if the participant is muted for all users, but can unmute themselves.static final int
Identifier uniquely determining type of the object.boolean
True, if the participant is the current user.boolean
True, if the participant hand is raised.boolean
True, if the participant is muted for all users.boolean
True, if the participant is muted for the current user.boolean
True, if the participant is speaking as set by setGroupCallParticipantIsSpeaking.User's order in the group call participant list.Identifier of the group call participant.int
User's screen sharing audio channel synchronization source identifier.Information about user's screen sharing video channel; may be null if there is no active screen sharing video.Information about user's video channel; may be null if there is no active video.int
Participant's volume level; 1-20000 in hundreds of percents. -
Constructor Summary
ConstructorDescriptionRepresents a group call participant.GroupCallParticipant
(TdApi.MessageSender participantId, int audioSourceId, int screenSharingAudioSourceId, TdApi.GroupCallParticipantVideoInfo videoInfo, TdApi.GroupCallParticipantVideoInfo screenSharingVideoInfo, String bio, boolean isCurrentUser, boolean isSpeaking, boolean isHandRaised, boolean canBeMutedForAllUsers, boolean canBeUnmutedForAllUsers, boolean canBeMutedForCurrentUser, boolean canBeUnmutedForCurrentUser, boolean isMutedForAllUsers, boolean isMutedForCurrentUser, boolean canUnmuteSelf, int volumeLevel, String order) Represents a group call participant.GroupCallParticipant
(DataInput input) Represents a group call participant. -
Method Summary
Modifier and TypeMethodDescriptionboolean
int
Returns an identifier uniquely determining type of the object.int
hashCode()
void
serialize
(DataOutput output) Serialize the TDLib classMethods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
participantId
Identifier of the group call participant. -
audioSourceId
public int audioSourceIdUser's audio channel synchronization source identifier. -
screenSharingAudioSourceId
public int screenSharingAudioSourceIdUser's screen sharing audio channel synchronization source identifier. -
videoInfo
Information about user's video channel; may be null if there is no active video. -
screenSharingVideoInfo
Information about user's screen sharing video channel; may be null if there is no active screen sharing video. -
bio
The participant user's bio or the participant chat's description. -
isCurrentUser
public boolean isCurrentUserTrue, if the participant is the current user. -
isSpeaking
public boolean isSpeakingTrue, if the participant is speaking as set by setGroupCallParticipantIsSpeaking. -
isHandRaised
public boolean isHandRaisedTrue, if the participant hand is raised. -
canBeMutedForAllUsers
public boolean canBeMutedForAllUsersTrue, if the current user can mute the participant for all other group call participants. -
canBeUnmutedForAllUsers
public boolean canBeUnmutedForAllUsersTrue, if the current user can allow the participant to unmute themselves or unmute the participant (if the participant is the current user). -
canBeMutedForCurrentUser
public boolean canBeMutedForCurrentUserTrue, if the current user can mute the participant only for self. -
canBeUnmutedForCurrentUser
public boolean canBeUnmutedForCurrentUserTrue, if the current user can unmute the participant for self. -
isMutedForAllUsers
public boolean isMutedForAllUsersTrue, if the participant is muted for all users. -
isMutedForCurrentUser
public boolean isMutedForCurrentUserTrue, if the participant is muted for the current user. -
canUnmuteSelf
public boolean canUnmuteSelfTrue, if the participant is muted for all users, but can unmute themselves. -
volumeLevel
public int volumeLevelParticipant's volume level; 1-20000 in hundreds of percents. -
order
User's order in the group call participant list. Orders must be compared lexicographically. The bigger is order, the higher is user in the list. If order is empty, the user must be removed from the participant list. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
GroupCallParticipant
public GroupCallParticipant()Represents a group call participant. -
GroupCallParticipant
public GroupCallParticipant(TdApi.MessageSender participantId, int audioSourceId, int screenSharingAudioSourceId, TdApi.GroupCallParticipantVideoInfo videoInfo, TdApi.GroupCallParticipantVideoInfo screenSharingVideoInfo, String bio, boolean isCurrentUser, boolean isSpeaking, boolean isHandRaised, boolean canBeMutedForAllUsers, boolean canBeUnmutedForAllUsers, boolean canBeMutedForCurrentUser, boolean canBeUnmutedForCurrentUser, boolean isMutedForAllUsers, boolean isMutedForCurrentUser, boolean canUnmuteSelf, int volumeLevel, String order) Represents a group call participant.- Parameters:
participantId
- Identifier of the group call participant.audioSourceId
- User's audio channel synchronization source identifier.screenSharingAudioSourceId
- User's screen sharing audio channel synchronization source identifier.videoInfo
- Information about user's video channel; may be null if there is no active video.screenSharingVideoInfo
- Information about user's screen sharing video channel; may be null if there is no active screen sharing video.bio
- The participant user's bio or the participant chat's description.isCurrentUser
- True, if the participant is the current user.isSpeaking
- True, if the participant is speaking as set by setGroupCallParticipantIsSpeaking.isHandRaised
- True, if the participant hand is raised.canBeMutedForAllUsers
- True, if the current user can mute the participant for all other group call participants.canBeUnmutedForAllUsers
- True, if the current user can allow the participant to unmute themselves or unmute the participant (if the participant is the current user).canBeMutedForCurrentUser
- True, if the current user can mute the participant only for self.canBeUnmutedForCurrentUser
- True, if the current user can unmute the participant for self.isMutedForAllUsers
- True, if the participant is muted for all users.isMutedForCurrentUser
- True, if the participant is muted for the current user.canUnmuteSelf
- True, if the participant is muted for all users, but can unmute themselves.volumeLevel
- Participant's volume level; 1-20000 in hundreds of percents.order
- User's order in the group call participant list. Orders must be compared lexicographically. The bigger is order, the higher is user in the list. If order is empty, the user must be removed from the participant list.
-
GroupCallParticipant
Represents a group call participant.- Parameters:
input
- Serialized input- Throws:
IOException
- the deserialization failed
-
-
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
-
serialize
Serialize the TDLib class- Specified by:
serialize
in classTdApi.Object
- Parameters:
output
- output data stream- Throws:
IOException
- the serialization failed
-
equals
-
hashCode
public int hashCode()
-