mirror of
https://github.com/Govor-team/Govor.git
synced 2026-07-21 19:54:55 +00:00
the basis for group and private messages
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
namespace Govor.Application.Interfaces.Messages.Parameters;
|
||||
|
||||
public record DeleteMessage(
|
||||
Guid DeleterId,
|
||||
Guid MessageId);
|
||||
@@ -0,0 +1,7 @@
|
||||
namespace Govor.Application.Interfaces.Messages.Parameters;
|
||||
|
||||
public record EditMessage(
|
||||
Guid EditorId,
|
||||
Guid MessageId,
|
||||
string NewContent,
|
||||
DateTime EditedAt);
|
||||
@@ -2,7 +2,4 @@ using Govor.Core.Models;
|
||||
|
||||
namespace Govor.Application.Interfaces.Messages.Parameters;
|
||||
|
||||
public record SendMedia(Guid Id,
|
||||
string EncryptedKey,
|
||||
MediaType Type,
|
||||
string MimeType);
|
||||
public record SendMedia(Guid MediaId, string EncryptedKey, MediaType Type, string MimeType);
|
||||
@@ -1,8 +1,11 @@
|
||||
using Govor.Core.Models;
|
||||
|
||||
namespace Govor.Application.Interfaces.Messages.Parameters;
|
||||
|
||||
public record SendMessage(
|
||||
string EncryptContent,
|
||||
Guid? ReplyToMessageId,
|
||||
RecipientType RecipientType,
|
||||
Guid RecipientId,
|
||||
Guid FromUserId,
|
||||
DateTime SendAt,
|
||||
|
||||
Reference in New Issue
Block a user