diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/chat/member/LeftChatMemberImpl.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/chat/member/LeftChatMemberImpl.kt index 5ba2171d32..1676372c04 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/chat/member/LeftChatMemberImpl.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/chat/member/LeftChatMemberImpl.kt @@ -5,7 +5,10 @@ import dev.inmo.tgbotapi.types.chat.User import kotlinx.serialization.* @Serializable -data class LeftChatMemberImpl(@SerialName(userField) override val user: User) : LeftChatMember { +data class LeftChatMemberImpl( + @SerialName(userField) + override val user: User +) : LeftChatMember { @SerialName(statusField) @Required override val status: ChatMember.Status diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/chat/member/MemberChatMemberImpl.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/chat/member/MemberChatMemberImpl.kt index 8233cc2800..b2cc64be59 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/chat/member/MemberChatMemberImpl.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/chat/member/MemberChatMemberImpl.kt @@ -5,7 +5,10 @@ import dev.inmo.tgbotapi.types.chat.User import kotlinx.serialization.* @Serializable -data class MemberChatMemberImpl(@SerialName(userField) override val user: User) : MemberChatMember { +data class MemberChatMemberImpl( + @SerialName(userField) + override val user: User +) : MemberChatMember { @SerialName(statusField) @Required override val status: ChatMember.Status