namespace Messenger.Api.Models; public sealed record Attachment( Guid Id, Guid ChatId, Guid OwnerId, string Filename, string ContentType, long SizeBytes, string Sha256, string Status, AttachmentVariant[] Variants, string? ErrorCode, DateTimeOffset CreatedAt, DateTimeOffset UpdatedAt); public sealed record AttachmentVariant(string Name, string ContentType, long SizeBytes, int Width, int Height, string Sha256);