Module tdlight.api

Class TdApi.ReorderActiveBotUsernames

Enclosing class:
TdApi

public static final class TdApi.ReorderActiveBotUsernames extends TdApi.Function<TdApi.Ok>
Changes order of active usernames of a bot. Can be called only if userTypeBot.canBeEdited == true. Returns Ok
  • Field Details

    • botUserId

      public long botUserId
      Identifier of the target bot.
    • usernames

      public String[] 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. Returns Ok
    • ReorderActiveBotUsernames

      public ReorderActiveBotUsernames(long botUserId, String[] usernames)
      Changes order of active usernames of a bot. Can be called only if userTypeBot.canBeEdited == true. Returns Ok
      Parameters:
      botUserId - long Identifier of the target bot.
      usernames - String[] The new order of active usernames. All currently active usernames must be specified.
    • ReorderActiveBotUsernames

      public ReorderActiveBotUsernames(DataInput input) throws IOException
      Changes order of active usernames of a bot. Can be called only if userTypeBot.canBeEdited == true. Returns Ok
      Throws:
      IOException
  • Method Details