mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2025-09-02 22:59:48 +00:00
Update InlineKeyboardMarkup.kt
This commit is contained in:
@@ -21,7 +21,7 @@ data class InlineKeyboardMarkup(
|
||||
// first button is not PayInlineKeyboardButton
|
||||
val firstIsPaymentButton = keyboard.first().firstOrNull() is PayInlineKeyboardButton
|
||||
if (!firstIsPaymentButton) {
|
||||
error("In case if PayInlineKeyboardButton included in keyboard - it must ")
|
||||
error("In case if PayInlineKeyboardButton included in keyboard - it must be the first one")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user