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

Fix the requestSerializer for SetChatAdministratorCustomTitle

This commit is contained in:
madhead 2023-01-14 00:26:49 +01:00
parent ba53d0c75d
commit 5445fdbfa5
No known key found for this signature in database
GPG Key ID: ACED25F067D0F238

View File

@ -18,7 +18,7 @@ data class SetChatAdministratorCustomTitle(
override val resultDeserializer: DeserializationStrategy<Boolean>
get() = Boolean.serializer()
override val requestSerializer: SerializationStrategy<*>
get() = RestrictChatMember.serializer()
get() = serializer()
init {
if (customTitle.length !in customTitleLength) {