toggle menu
ktgbotapi
common
switch theme
search in API
tgbotapi.core
/
dev.inmo.tgbotapi.utils
/
MatrixBuilder
Matrix
Builder
open
class
MatrixBuilder
<
T
>
Members
Members & Extensions
Constructors
Matrix
Builder
Link copied to clipboard
constructor
(
)
Properties
matrix
Link copied to clipboard
val
matrix
:
Matrix
<
T
>
Functions
add
Link copied to clipboard
fun
add
(
t
:
List
<
T
>
)
:
Boolean
modify
Row
Link copied to clipboard
fun
modifyRow
(
i
:
Int
,
block
:
RowBuilder
<
T
>
.
(
)
->
Unit
)
fun
modifyRow
(
row
:
List
<
T
>
,
block
:
RowBuilder
<
T
>
.
(
)
->
Unit
)
:
Boolean
plus
Link copied to clipboard
operator
fun
plus
(
t
:
List
<
T
>
)
:
Boolean
remove
Link copied to clipboard
fun
remove
(
i
:
Int
)
:
List
<
T
>
row
Link copied to clipboard
inline
fun
<
T
>
MatrixBuilder
<
T
>
.
row
(
vararg
elements
:
T
)
inline
fun
<
T
>
MatrixBuilder
<
T
>
.
row
(
block
:
RowBuilder
<
T
>
.
(
)
->
Unit
)
unary
Plus
Link copied to clipboard
operator
fun
T
.
unaryPlus
(
)
:
Boolean