Class TdApi.SetCommands

Enclosing class:
TdApi

public static class TdApi.SetCommands
extends TdApi.Function
Sets the list of commands supported by the bot; for bots only.

Returns Ok

  • Field Details

  • Constructor Details

    • SetCommands

      public SetCommands()
      Sets the list of commands supported by the bot; for bots only.

      Returns Ok

    • SetCommands

      public SetCommands​(TdApi.BotCommand[] commands)
      Sets the list of commands supported by the bot; for bots only.

      Returns Ok

      Parameters:
      commands - BotCommand[] List of the bot's commands.
    • SetCommands

      public SetCommands​(DataInput input) throws IOException
      Throws:
      IOException
  • Method Details