Class TdApi.KeyboardButton

  • Enclosing class:
    TdApi

    public static class TdApi.KeyboardButton
    extends TdApi.Object
    Represents a single button in a bot keyboard.
    • Constructor Detail

      • KeyboardButton

        public KeyboardButton()
        Represents a single button in a bot keyboard.
      • KeyboardButton

        public KeyboardButton​(String text,
                              TdApi.KeyboardButtonType type)
        Represents a single button in a bot keyboard.
        Parameters:
        text - Text of the button.
        type - Type of the button.