Class TdApi.BotInfo

java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.BotInfo
Enclosing class:
TdApi

public static class TdApi.BotInfo
extends TdApi.Object
Provides information about a bot and its supported commands.
  • Field Details

    • description

      public String description
      Long description shown on the user info page.
    • commands

      public TdApi.BotCommand[] commands
      A list of commands supported by the bot.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      See Also:
      Constant Field Values
  • Constructor Details

    • BotInfo

      public BotInfo()
      Provides information about a bot and its supported commands.
    • BotInfo

      public BotInfo​(String description, TdApi.BotCommand[] commands)
      Provides information about a bot and its supported commands.
      Parameters:
      description - String Long description shown on the user info page.
      commands - BotCommand[] A list of commands supported by the bot.
    • BotInfo

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