Class TdApi.ReplyMarkupShowKeyboard

Enclosing class:
TdApi

public static class TdApi.ReplyMarkupShowKeyboard
extends TdApi.ReplyMarkup
Contains a custom keyboard layout to quickly reply to bots.
  • Field Details

    • rows

      public TdApi.KeyboardButton[][] rows
      A list of rows of bot keyboard buttons.
    • resizeKeyboard

      public boolean resizeKeyboard
      True, if the application needs to resize the keyboard vertically.
    • oneTime

      public boolean oneTime
      True, if the application needs to hide the keyboard after use.
    • isPersonal

      public boolean isPersonal
      True, if the keyboard must automatically be shown to the current user. For outgoing messages, specify true to show the keyboard only for the mentioned users and for the target user of a reply.
    • CONSTRUCTOR

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

    • ReplyMarkupShowKeyboard

      public ReplyMarkupShowKeyboard()
      Contains a custom keyboard layout to quickly reply to bots.
    • ReplyMarkupShowKeyboard

      public ReplyMarkupShowKeyboard​(TdApi.KeyboardButton[][] rows, boolean resizeKeyboard, boolean oneTime, boolean isPersonal)
      Contains a custom keyboard layout to quickly reply to bots.
      Parameters:
      rows - KeyboardButton[][] A list of rows of bot keyboard buttons.
      resizeKeyboard - boolean True, if the application needs to resize the keyboard vertically.
      oneTime - boolean True, if the application needs to hide the keyboard after use.
      isPersonal - boolean True, if the keyboard must automatically be shown to the current user. For outgoing messages, specify true to show the keyboard only for the mentioned users and for the target user of a reply.
    • ReplyMarkupShowKeyboard

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