hotfix for ExtendedUser

This commit is contained in:
InsanusMokrassar committed 2020-03-22 22:57:01 +06:00
1 parent 909a7fd26a
commit a4fae36b22
1 file changed
+2 -2
@@ -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() {