- Enclosing class:
- TdApi
Toggles whether all users directly
joining the supergroup need to be
approved by supergroup administrators;
requires canRestrictMembers administrator right.
Returns
Ok-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intbooleanNew value of joinByRequest.longIdentifier of the channel. -
Constructor Summary
ConstructorsConstructorDescriptionToggles whether all users directly joining the supergroup need to be approved by supergroup administrators; requires canRestrictMembers administrator right.ToggleSupergroupJoinByRequest(long supergroupId, boolean joinByRequest) Toggles whether all users directly joining the supergroup need to be approved by supergroup administrators; requires canRestrictMembers administrator right.Toggles whether all users directly joining the supergroup need to be approved by supergroup administrators; requires canRestrictMembers administrator right. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Function
toStringMethods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
supergroupId
public long supergroupIdIdentifier of the channel. -
joinByRequest
public boolean joinByRequestNew value of joinByRequest. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
ToggleSupergroupJoinByRequest
public ToggleSupergroupJoinByRequest()Toggles whether all users directly joining the supergroup need to be approved by supergroup administrators; requires canRestrictMembers administrator right. ReturnsOk -
ToggleSupergroupJoinByRequest
public ToggleSupergroupJoinByRequest(long supergroupId, boolean joinByRequest) Toggles whether all users directly joining the supergroup need to be approved by supergroup administrators; requires canRestrictMembers administrator right. ReturnsOk- Parameters:
supergroupId- long Identifier of the channel.joinByRequest- boolean New value of joinByRequest.
-
ToggleSupergroupJoinByRequest
Toggles whether all users directly joining the supergroup need to be approved by supergroup administrators; requires canRestrictMembers administrator right. ReturnsOk- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructorin classTdApi.Object
-
serialize
- Specified by:
serializein classTdApi.Object- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-