mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2025-09-03 23:29:33 +00:00
CallbackGameInlineKeyboardButton now have only one income parameter
This commit is contained in:
@@ -45,6 +45,7 @@
|
|||||||
`SerializationException` or `NotImplemented` error
|
`SerializationException` or `NotImplemented` error
|
||||||
* `CallbackGame` currently is an object
|
* `CallbackGame` currently is an object
|
||||||
* It is possible to use `CallbackGame` for now
|
* 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
|
* Now it is possible to pass exception handler in webhook
|
||||||
|
|
||||||
### 0.26.3
|
### 0.26.3
|
||||||
|
@@ -36,10 +36,11 @@ data class CallbackDataInlineKeyboardButton(
|
|||||||
@Serializable
|
@Serializable
|
||||||
data class CallbackGameInlineKeyboardButton(
|
data class CallbackGameInlineKeyboardButton(
|
||||||
@SerialName(textField)
|
@SerialName(textField)
|
||||||
override val text: String,
|
override val text: String
|
||||||
|
) : InlineKeyboardButton() {
|
||||||
@SerialName(callbackGameField)
|
@SerialName(callbackGameField)
|
||||||
val callbackGame: CallbackGame
|
private val callbackGame = CallbackGame
|
||||||
) : InlineKeyboardButton()
|
}
|
||||||
|
|
||||||
@Serializable
|
@Serializable
|
||||||
data class LoginURLInlineKeyboardButton(
|
data class LoginURLInlineKeyboardButton(
|
||||||
|
Reference in New Issue
Block a user