mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2024-11-22 16:23:48 +00:00
hotfix for setMyCommands request
This commit is contained in:
parent
ec70813e49
commit
53257ff131
@ -11,7 +11,7 @@ class SetMyCommands(
|
|||||||
@SerialName(botCommandsField)
|
@SerialName(botCommandsField)
|
||||||
val commands: List<BotCommand>
|
val commands: List<BotCommand>
|
||||||
) : SimpleRequest<Boolean> {
|
) : SimpleRequest<Boolean> {
|
||||||
override fun method(): String = "getMyCommands"
|
override fun method(): String = "setMyCommands"
|
||||||
override val resultDeserializer: DeserializationStrategy<Boolean>
|
override val resultDeserializer: DeserializationStrategy<Boolean>
|
||||||
get() = Boolean.serializer()
|
get() = Boolean.serializer()
|
||||||
override val requestSerializer: SerializationStrategy<*>
|
override val requestSerializer: SerializationStrategy<*>
|
||||||
|
Loading…
Reference in New Issue
Block a user