code: public List<InlineKeyboardButton> toButtons() {
          return buttons.stream()
                  .map(InlineMenuButton::toKeyboardButton)
                  .collect(Collectors.toList());
      }
docs: Returns row as List&lt;InlineKeyboardButtons&gt;
  @return list of keyboard buttons
  @see InlineMenuButton#toKeyboardButton()