diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/chat/member/ChatMemberUpdated.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/chat/member/ChatMemberUpdated.kt index c4f7027d6e..8539a0c76e 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/chat/member/ChatMemberUpdated.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/chat/member/ChatMemberUpdated.kt @@ -23,5 +23,5 @@ data class ChatMemberUpdated( @SerialName(inviteLinkField) val inviteLink: ChatInviteLink? = null, @SerialName(viaChatFolderInviteLinkField) - val viaChatFolderInviteLink: Boolean? = inviteLink is ChatFolderInviteLink + val viaChatFolderInviteLink: Boolean? = false ) : WithChat, WithUser