- Enclosing class:
- TdApi
Toggles whether non-administrators
can receive only administrators and
bots using getSupergroupMembers or
searchChatMembers. Can be called only
if supergroupFullInfo.canHideMembers == true.
Returns
Ok
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
boolean
New value of hasHiddenMembers.long
Identifier of the supergroup. -
Constructor Summary
ConstructorDescriptionToggles whether non-administrators can receive only administrators and bots using getSupergroupMembers or searchChatMembers.ToggleSupergroupHasHiddenMembers
(long supergroupId, boolean hasHiddenMembers) Toggles whether non-administrators can receive only administrators and bots using getSupergroupMembers or searchChatMembers.Toggles whether non-administrators can receive only administrators and bots using getSupergroupMembers or searchChatMembers. -
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 supergroup. -
hasHiddenMembers
public boolean hasHiddenMembersNew value of hasHiddenMembers. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
ToggleSupergroupHasHiddenMembers
public ToggleSupergroupHasHiddenMembers()Toggles whether non-administrators can receive only administrators and bots using getSupergroupMembers or searchChatMembers. Can be called only if supergroupFullInfo.canHideMembers == true. ReturnsOk
-
ToggleSupergroupHasHiddenMembers
public ToggleSupergroupHasHiddenMembers(long supergroupId, boolean hasHiddenMembers) Toggles whether non-administrators can receive only administrators and bots using getSupergroupMembers or searchChatMembers. Can be called only if supergroupFullInfo.canHideMembers == true. ReturnsOk
- Parameters:
supergroupId
- long Identifier of the supergroup.hasHiddenMembers
- boolean New value of hasHiddenMembers.
-
ToggleSupergroupHasHiddenMembers
Toggles whether non-administrators can receive only administrators and bots using getSupergroupMembers or searchChatMembers. Can be called only if supergroupFullInfo.canHideMembers == true. 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()
-