- Enclosing class:
- TdApi
public static final class TdApi.ToggleGroupCallParticipantIsHandRaised
extends TdApi.Function<TdApi.Ok>
Toggles whether a group call participant hand is rased.
Returns Ok
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.int
Group call identifier.boolean
Pass true if the user's hand needs to be raised.Participant identifier. -
Constructor Summary
ConstructorDescriptionToggles whether a group call participant hand is rased.ToggleGroupCallParticipantIsHandRaised
(int groupCallId, TdApi.MessageSender participantId, boolean isHandRaised) Toggles whether a group call participant hand is rased.Toggles whether a group call participant hand is rased. -
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.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
groupCallId
public int groupCallIdGroup call identifier. -
participantId
Participant identifier. -
isHandRaised
public boolean isHandRaisedPass true if the user's hand needs to be raised. Only self hand can be raised. Requires groupCall.canBeManaged group call flag to lower other's hand. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
ToggleGroupCallParticipantIsHandRaised
public ToggleGroupCallParticipantIsHandRaised()Toggles whether a group call participant hand is rased.Returns
Ok
-
ToggleGroupCallParticipantIsHandRaised
public ToggleGroupCallParticipantIsHandRaised(int groupCallId, TdApi.MessageSender participantId, boolean isHandRaised) Toggles whether a group call participant hand is rased.Returns
Ok
- Parameters:
groupCallId
- Group call identifier.participantId
- Participant identifier.isHandRaised
- Pass true if the user's hand needs to be raised. Only self hand can be raised. Requires groupCall.canBeManaged group call flag to lower other's hand.Returns
Ok
-
ToggleGroupCallParticipantIsHandRaised
Toggles whether a group call participant hand is rased.Returns
Ok
- 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()
-