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

hotfix for ExtendedUser

This commit is contained in:
InsanusMokrassar 2020-03-22 22:57:01 +06:00
parent 909a7fd26a
commit a4fae36b22

View File

@ -1,7 +1,7 @@
package com.github.insanusmokrassar.TelegramBotAPI.types
import com.github.insanusmokrassar.TelegramBotAPI.types.chat.abstracts.PrivateChat
import com.github.insanusmokrassar.TelegramBotAPI.types.chat.abstracts.extended.ExtendedPrivateChat
import com.github.insanusmokrassar.TelegramBotAPI.types.chat.extended.ExtendedPrivateChatImpl
import com.github.insanusmokrassar.TelegramBotAPI.utils.PreviewFeature
import com.github.insanusmokrassar.TelegramBotAPI.utils.nonstrictJsonFormat
import kotlinx.serialization.*
@ -24,7 +24,7 @@ data class CommonUser(
) : User()
@PreviewFeature
typealias ExtendedUser = ExtendedPrivateChat
typealias ExtendedUser = ExtendedPrivateChatImpl
@Serializable(UserSerializer::class)
sealed class Bot : User() {