toggle menu
ktgbotapi
common
switch theme
search in API
tgbotapi.core
/
dev.inmo.tgbotapi.types.buttons
/
ReplyKeyboardMarkup
Reply
Keyboard
Markup
@
Serializable
data
class
ReplyKeyboardMarkup
(
val
keyboard
:
Matrix
<
KeyboardButton
>
,
val
resizeKeyboard
:
Boolean
?
=
null
,
val
oneTimeKeyboard
:
Boolean
?
=
null
,
val
inputFieldPlaceholder
:
String
?
=
null
,
val
selective
:
Boolean
?
=
null
,
val
persistent
:
Boolean
?
=
null
)
:
KeyboardMarkup
Members
Constructors
Reply
Keyboard
Markup
Link copied to clipboard
constructor
(
keyboard
:
Matrix
<
KeyboardButton
>
,
resizeKeyboard
:
Boolean
?
=
null
,
oneTimeKeyboard
:
Boolean
?
=
null
,
inputFieldPlaceholder
:
String
?
=
null
,
selective
:
Boolean
?
=
null
,
persistent
:
Boolean
?
=
null
)
Properties
input
Field
Placeholder
Link copied to clipboard
@
SerialName
(
value
=
"input_field_placeholder"
)
val
inputFieldPlaceholder
:
String
?
=
null
keyboard
Link copied to clipboard
val
keyboard
:
Matrix
<
KeyboardButton
>
one
Time
Keyboard
Link copied to clipboard
@
SerialName
(
value
=
"one_time_keyboard"
)
val
oneTimeKeyboard
:
Boolean
?
=
null
persistent
Link copied to clipboard
@
SerialName
(
value
=
"is_persistent"
)
val
persistent
:
Boolean
?
=
null
resize
Keyboard
Link copied to clipboard
@
SerialName
(
value
=
"resize_keyboard"
)
val
resizeKeyboard
:
Boolean
?
=
null
selective
Link copied to clipboard
val
selective
:
Boolean
?
=
null
Functions
add
Link copied to clipboard
fun
add
(
other
:
ReplyKeyboardMarkup
,
placeholderDelimiter
:
String
=
""
)
:
ReplyKeyboardMarkup
minus
Link copied to clipboard
operator
fun
minus
(
other
:
ReplyKeyboardMarkup
)
:
ReplyKeyboardMarkup
plus
Link copied to clipboard
operator
fun
plus
(
other
:
ReplyKeyboardMarkup
)
:
ReplyKeyboardMarkup