Class TdApi.KeyboardButton

java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.KeyboardButton
Enclosing class:
TdApi

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

  • Constructor Details

    • 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.
  • Method Details

    • getConstructor

      public int getConstructor()
      Description copied from class: TdApi.Object
      Returns an identifier uniquely determining type of the object.
      Specified by:
      getConstructor in class TdApi.Object
      Returns:
      this.CONSTRUCTOR