- Enclosing class:
- TdApi
Changes order of active usernames of
a bot. Can be called only if
userTypeBot.canBeEdited == true.
Returns
Ok-
Field Summary
FieldsModifier and TypeFieldDescriptionlongIdentifier of the target bot.static final intString[]The new order of active usernames. -
Constructor Summary
ConstructorsConstructorDescriptionChanges 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
toStringMethods 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:
getConstructorin classTdApi.Object
-
serialize
- Specified by:
serializein classTdApi.Object- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-