public override int GetHashCode()
        {
            int hashCode = 1405233358;

            hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(Status);

            hashCode = hashCode * -1521134295 + EqualityComparer <User> .Default.GetHashCode(User);

            hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(Status);

            hashCode = hashCode * -1521134295 + EqualityComparer <User> .Default.GetHashCode(User);

            hashCode = hashCode * -1521134295 + CanBeEdited.GetHashCode();
            hashCode = hashCode * -1521134295 + IsAnonymous.GetHashCode();
            hashCode = hashCode * -1521134295 + CanManageChat.GetHashCode();
            hashCode = hashCode * -1521134295 + CanDeleteMessages.GetHashCode();
            hashCode = hashCode * -1521134295 + CanManageVideoChats.GetHashCode();
            hashCode = hashCode * -1521134295 + CanRestrictMembers.GetHashCode();
            hashCode = hashCode * -1521134295 + CanPromoteMembers.GetHashCode();
            hashCode = hashCode * -1521134295 + CanChangeInfo.GetHashCode();
            hashCode = hashCode * -1521134295 + CanInviteUsers.GetHashCode();
            hashCode = hashCode * -1521134295 + CanPostMessages.GetHashCode();
            hashCode = hashCode * -1521134295 + CanEditMessages.GetHashCode();
            hashCode = hashCode * -1521134295 + CanPinMessages.GetHashCode();
            hashCode = hashCode * -1521134295 + EqualityComparer <string?> .Default.GetHashCode(CustomTitle);

            return(hashCode);
        }
        public override int GetHashCode()
        {
            int hashCode = 1477798765;

            hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(Status);

            hashCode = hashCode * -1521134295 + EqualityComparer <User> .Default.GetHashCode(User);

            hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(Status);

            hashCode = hashCode * -1521134295 + IsMember.GetHashCode();
            hashCode = hashCode * -1521134295 + CanChangeInfo.GetHashCode();
            hashCode = hashCode * -1521134295 + CanInviteUsers.GetHashCode();
            hashCode = hashCode * -1521134295 + CanPinMessages.GetHashCode();
            hashCode = hashCode * -1521134295 + CanSendMessages.GetHashCode();
            hashCode = hashCode * -1521134295 + CanSendMediaMessages.GetHashCode();
            hashCode = hashCode * -1521134295 + CanSendPolls.GetHashCode();
            hashCode = hashCode * -1521134295 + CanSendOtherMessages.GetHashCode();
            hashCode = hashCode * -1521134295 + CanAddWebPagePreviews.GetHashCode();
            hashCode = hashCode * -1521134295 + UntilDate.GetHashCode();
            return(hashCode);
        }