1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2024-12-22 16:47:13 +00:00

CallbackGameInlineKeyboardButton now have only one income parameter

This commit is contained in:
InsanusMokrassar 2020-04-22 14:11:46 +06:00
parent eda3003b7d
commit 914a0662a9
2 changed files with 5 additions and 3 deletions

View File

@ -45,6 +45,7 @@
`SerializationException` or `NotImplemented` error
* `CallbackGame` currently is an object
* It is possible to use `CallbackGame` for now
* `CallbackGameInlineKeyboardButton` now will not accept `callbackGame` as income object
* Now it is possible to pass exception handler in webhook
### 0.26.3

View File

@ -36,10 +36,11 @@ data class CallbackDataInlineKeyboardButton(
@Serializable
data class CallbackGameInlineKeyboardButton(
@SerialName(textField)
override val text: String,
override val text: String
) : InlineKeyboardButton() {
@SerialName(callbackGameField)
val callbackGame: CallbackGame
) : InlineKeyboardButton()
private val callbackGame = CallbackGame
}
@Serializable
data class LoginURLInlineKeyboardButton(