Package org.drinkless.tdlib
Class TdApi.ToggleGroupCallAreMessagesAllowed
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.Function<TdApi.Ok>
org.drinkless.tdlib.TdApi.ToggleGroupCallAreMessagesAllowed
- Enclosing class:
- TdApi
Toggles whether participants of a group call can send messages there. Requires groupCall.canToggleAreMessagesAllowed right.
Returns Ok
-
Field Summary
FieldsModifier and TypeFieldDescriptionbooleanNew value of the areMessagesAllowed setting.static final intIdentifier uniquely determining type of the object.intGroup call identifier. -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for a function, which toggles whether participants of a group call can send messages there.ToggleGroupCallAreMessagesAllowed(int groupCallId, boolean areMessagesAllowed) Creates a function, which toggles whether participants of a group call can send messages there. -
Method Summary
Modifier and TypeMethodDescriptionintReturns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Function
toString
-
Field Details
-
groupCallId
public int groupCallIdGroup call identifier. -
areMessagesAllowed
public boolean areMessagesAllowedNew value of the areMessagesAllowed setting. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
ToggleGroupCallAreMessagesAllowed
public ToggleGroupCallAreMessagesAllowed()Default constructor for a function, which toggles whether participants of a group call can send messages there. Requires groupCall.canToggleAreMessagesAllowed right.Returns
Ok -
ToggleGroupCallAreMessagesAllowed
public ToggleGroupCallAreMessagesAllowed(int groupCallId, boolean areMessagesAllowed) Creates a function, which toggles whether participants of a group call can send messages there. Requires groupCall.canToggleAreMessagesAllowed right.Returns
Ok- Parameters:
groupCallId- Group call identifier.areMessagesAllowed- New value of the areMessagesAllowed setting.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-