diff --git a/CHANGELOG.md b/CHANGELOG.md index f7bf4fce26..e1b950c92e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,9 @@ ## 3.2.3 +* `Core`: + * Fixes in `DeleteMyCommands` + ## 3.2.2 * `Versions`: 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..6ba3c2f8d7 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,7 +18,8 @@ data class DeleteMyCommands( override val ietfLanguageCode: IetfLanguageCode? = null ) : MyCommandsRequest { override fun method(): String = "deleteMyCommands" - override val requestSerializer: SerializationStrategy = serializer() + override val requestSerializer: SerializationStrategy + get() = serializer() override val resultDeserializer: DeserializationStrategy = Boolean.serializer() constructor(