Class TdApi.InlineKeyboardButton

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

public static class TdApi.InlineKeyboardButton extends TdApi.Object
Represents a single button in an inline keyboard.
  • Field Details

  • Constructor Details

    • InlineKeyboardButton

      public InlineKeyboardButton()
      Represents a single button in an inline keyboard.
    • InlineKeyboardButton

      public InlineKeyboardButton(String text, TdApi.InlineKeyboardButtonType type)
      Represents a single button in an inline 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