flatMatrix

inline fun <T> flatMatrix(block: RowBuilder<T>.() -> Unit): Matrix<T>
inline fun <T> flatMatrix(vararg elements: T): Matrix<T>

See also

dev.inmo.tgbotapi.extensions.utils.types.buttons.InlineKeyboardBuilder
dev.inmo.tgbotapi.extensions.utils.types.buttons.ReplyKeyboardBuilder