package me.palazzomichi.telegram.telejam.objects;

import com.google.gson.annotations.SerializedName;

import java.util.Objects;

/**
 * This object represents an inline keyboard that
 * appears right next to the message it belongs to.
 *
 * @author Michi Palazzo
 */
public class InlineKeyboardMarkup implements ReplyMarkup {

  static final String INLINE_KEYBOARD_FIELD = "inline_keyboard";

  /**
   * Array of button rows, each represented by an
   * Array of {@link InlineKeyboardButton} objects.
   */
  @SerializedName(INLINE_KEYBOARD_FIELD)
  private InlineKeyboardButton[][] inlineKeyboard;


  /**
   * Constructs an InlineKeyboardMarkup
   *
   * @param inlineKeyboard the keyboard
   */
  public InlineKeyboardMarkup(InlineKeyboardButton[][] inlineKeyboard) {
    this.inlineKeyboard = Objects.requireNonNull(inlineKeyboard);
  }


  /**
   * Getter for property {@link #inlineKeyboard}.
   *
   * @return value for property {@link #inlineKeyboard}
   */
  public InlineKeyboardButton[][] getInlineKeyboard() {
    return inlineKeyboard;
  }
  
}

@@ -835,16 +835,472 @@
 d);%0A  %7D%0A
+  %0A  /**%0A   * Constructs an InlineKeyboardMarkup%0A   *%0A   * @param inlineKeyboard the keyboard%0A   */%0A  public InlineKeyboardMarkup(InlineKeyboardButton%5B%5D inlineKeyboard) %7B%0A    this(new InlineKeyboardButton%5B%5D%5B%5D%7B inlineKeyboard %7D);%0A  %7D%0A  %0A  /**%0A   * Constructs an InlineKeyboardMarkup%0A   *%0A   * @param inlineButton the keyboard%0A   */%0A  public InlineKeyboardMarkup(InlineKeyboardButton inlineButton) %7B%0A    this(new InlineKeyboardButton%5B%5D%7B inlineButton %7D);%0A  %7D%0A
 %0A%0A  /**%0A

Add constructors to InlineKeyboardMarkup