- 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
Modifier and TypeFieldDescriptionstatic final int
boolean
New value of joinByRequest.long
Identifier of the channel. -
Constructor Summary
ConstructorDescriptionToggles 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
toString
Methods 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:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-