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

Merge pull request #653 from InsanusMokrassar/3.2.3

3.2.3
This commit is contained in:
InsanusMokrassar 2022-09-15 15:28:54 +06:00 committed by GitHub
commit 96f40e55bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 10 additions and 3 deletions

View File

@ -1,5 +1,10 @@
# TelegramBotAPI changelog # TelegramBotAPI changelog
## 3.2.3
* `Core`:
* Fixes in `DeleteMyCommands`
## 3.2.2 ## 3.2.2
* `Versions`: * `Versions`:

View File

@ -6,4 +6,4 @@ kotlin.incremental=true
kotlin.incremental.js=true kotlin.incremental.js=true
library_group=dev.inmo library_group=dev.inmo
library_version=3.2.2 library_version=3.2.3

View File

@ -18,8 +18,10 @@ data class DeleteMyCommands(
override val ietfLanguageCode: IetfLanguageCode? = null override val ietfLanguageCode: IetfLanguageCode? = null
) : MyCommandsRequest<Boolean> { ) : MyCommandsRequest<Boolean> {
override fun method(): String = "deleteMyCommands" override fun method(): String = "deleteMyCommands"
override val requestSerializer: SerializationStrategy<DeleteMyCommands> = serializer() override val requestSerializer: SerializationStrategy<DeleteMyCommands>
override val resultDeserializer: DeserializationStrategy<Boolean> = Boolean.serializer() get() = serializer()
override val resultDeserializer: DeserializationStrategy<Boolean>
get() = Boolean.serializer()
constructor( constructor(
scope: BotCommandScope = BotCommandScopeDefault, scope: BotCommandScope = BotCommandScopeDefault,