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