1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2025-12-21 21:55:41 +00:00

add support of input_field_placeholder

This commit is contained in:
2021-06-26 01:48:41 +06:00
parent 7f69052dea
commit 656bb68739
4 changed files with 28 additions and 2 deletions

View File

@@ -8,10 +8,12 @@ fun ReplyKeyboardMarkup(
vararg buttons: KeyboardButton,
resizeKeyboard: Boolean? = null,
oneTimeKeyboard: Boolean? = null,
inputFieldPlaceholder: String? = null,
selective: Boolean? = null
): ReplyKeyboardMarkup = ReplyKeyboardMarkup(
flatMatrix { buttons.forEach { +it } },
resizeKeyboard,
oneTimeKeyboard,
inputFieldPlaceholder,
selective
)