public static class TdApi.ReorderSupergroupActiveUsernames extends TdApi.Function<TdApi.Ok>
Returns Ok
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
long |
supergroupId
Identifier of the supergroup or channel.
|
java.lang.String[] |
usernames
The new order of active usernames.
|
| Constructor and Description |
|---|
ReorderSupergroupActiveUsernames()
Default constructor for a function, which changes order of active usernames of a supergroup or channel, requires owner privileges in the supergroup or channel.
|
ReorderSupergroupActiveUsernames(long supergroupId,
java.lang.String[] usernames)
Creates a function, which changes order of active usernames of a supergroup or channel, requires owner privileges in the supergroup or channel.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic long supergroupId
public java.lang.String[] usernames
public static final int CONSTRUCTOR
public ReorderSupergroupActiveUsernames()
Returns Ok
public ReorderSupergroupActiveUsernames(long supergroupId,
java.lang.String[] usernames)
Returns Ok
supergroupId - Identifier of the supergroup or channel.usernames - The new order of active usernames. All currently active usernames must be specified.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object