Class TdApi.KeyboardButton

  • Enclosing class:
    TdApi

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

      • text

        public java.lang.String text
        Text of the button.
      • CONSTRUCTOR

        public static final int CONSTRUCTOR
        Identifier uniquely determining type of the object.
        See Also:
        Constant Field Values
    • Constructor Detail

      • KeyboardButton

        public KeyboardButton()
        Default constructor.
      • KeyboardButton

        public KeyboardButton​(java.lang.String text,
                              TdApi.KeyboardButtonType type)
        Constructor for initialization of all fields.
        Parameters:
        text - Text of the button.
        type - Type of the button.