- Enclosing class:
- TdApi
Changes order of active usernames of
a bot. Can be called only if
userTypeBot.canBeEdited == true.
Returns
Ok
-
Field Summary
Modifier and TypeFieldDescriptionlong
Identifier of the target bot.static final int
String[]
The new order of active usernames. -
Constructor Summary
ConstructorDescriptionChanges order of active usernames of a bot.ReorderActiveBotUsernames
(long botUserId, String[] usernames) Changes order of active usernames of a bot.Changes order of active usernames of a bot. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
botUserId
public long botUserIdIdentifier of the target bot. -
usernames
The new order of active usernames. All currently active usernames must be specified. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
ReorderActiveBotUsernames
public ReorderActiveBotUsernames()Changes order of active usernames of a bot. Can be called only if userTypeBot.canBeEdited == true. ReturnsOk
-
ReorderActiveBotUsernames
Changes order of active usernames of a bot. Can be called only if userTypeBot.canBeEdited == true. ReturnsOk
- Parameters:
botUserId
- long Identifier of the target bot.usernames
- String[] The new order of active usernames. All currently active usernames must be specified.
-
ReorderActiveBotUsernames
Changes order of active usernames of a bot. Can be called only if userTypeBot.canBeEdited == 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()
-