diff --git a/src/web/Shared/Chat/Commands/SendMessage.cs b/src/web/Shared/Chat/Commands/SendMessage.cs index f2351a14..5da3c3a8 100644 --- a/src/web/Shared/Chat/Commands/SendMessage.cs +++ b/src/web/Shared/Chat/Commands/SendMessage.cs @@ -1,16 +1,16 @@ -namespace Jordnaer.Shared; - -public class SendMessage -{ - public required Guid Id { get; init; } - +namespace Jordnaer.Shared; + +public class SendMessage +{ + public required Guid Id { get; init; } + public required Guid ChatId { get; init; } - public required string SenderId { get; init; } - - public required string Text { get; init; } - - public DateTime SentUtc { get; init; } = DateTime.UtcNow; - - public string? AttachmentUrl { get; init; } -} + public required string SenderId { get; init; } + + public required string Text { get; init; } + + public DateTime SentUtc { get; init; } = DateTime.UtcNow; + + public string? AttachmentUrl { get; init; } +}