diff --git a/CHANGELOG.md b/CHANGELOG.md index f55325d48f..e1b950c92e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # TelegramBotAPI changelog +## 3.2.3 + +* `Core`: + * Fixes in `DeleteMyCommands` + ## 3.2.2 * `Versions`: diff --git a/gradle.properties b/gradle.properties index 844ca6e213..83e700386c 100644 --- a/gradle.properties +++ b/gradle.properties @@ -6,4 +6,4 @@ kotlin.incremental=true kotlin.incremental.js=true library_group=dev.inmo -library_version=3.2.2 +library_version=3.2.3 diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/requests/bot/DeleteMyCommands.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/requests/bot/DeleteMyCommands.kt index 2b8c494dff..cdea8f87b8 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/requests/bot/DeleteMyCommands.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/requests/bot/DeleteMyCommands.kt @@ -18,8 +18,10 @@ data class DeleteMyCommands( override val ietfLanguageCode: IetfLanguageCode? = null ) : MyCommandsRequest { override fun method(): String = "deleteMyCommands" - override val requestSerializer: SerializationStrategy = serializer() - override val resultDeserializer: DeserializationStrategy = Boolean.serializer() + override val requestSerializer: SerializationStrategy + get() = serializer() + override val resultDeserializer: DeserializationStrategy + get() = Boolean.serializer() constructor( scope: BotCommandScope = BotCommandScopeDefault,