- Enclosing class:
- TdApi
Changes order of active usernames of
a supergroup or channel, requires
owner privileges in the supergroup or channel.
Returns
Ok
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
long
Identifier of the supergroup or channel.String[]
The new order of active usernames. -
Constructor Summary
ConstructorDescriptionChanges order of active usernames of a supergroup or channel, requires owner privileges in the supergroup or channel.ReorderSupergroupActiveUsernames
(long supergroupId, String[] usernames) Changes order of active usernames of a supergroup or channel, requires owner privileges in the supergroup or channel.Changes order of active usernames of a supergroup or channel, requires owner privileges in the supergroup or channel. -
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 or channel. -
usernames
The new order of active usernames. All currently active usernames must be specified. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
ReorderSupergroupActiveUsernames
public ReorderSupergroupActiveUsernames()Changes order of active usernames of a supergroup or channel, requires owner privileges in the supergroup or channel. ReturnsOk
-
ReorderSupergroupActiveUsernames
Changes order of active usernames of a supergroup or channel, requires owner privileges in the supergroup or channel. ReturnsOk
- Parameters:
supergroupId
- long Identifier of the supergroup or channel.usernames
- String[] The new order of active usernames. All currently active usernames must be specified.
-
ReorderSupergroupActiveUsernames
Changes order of active usernames of a supergroup or channel, requires owner privileges in the supergroup or channel. 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()
-