mirror of
https://github.com/Govor-team/Govor.git
synced 2026-07-21 19:54:55 +00:00
hot fix for friends controller
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
namespace Govor.Application.Interfaces.Messages.Parameters;
|
||||
|
||||
public record Result(bool IsSuccess, Exception Exception);
|
||||
@@ -0,0 +1,8 @@
|
||||
using Govor.Core.Models;
|
||||
|
||||
namespace Govor.Application.Interfaces.Messages.Parameters;
|
||||
|
||||
public record SendMedia(Guid Id,
|
||||
string EncryptedKey,
|
||||
MediaType Type,
|
||||
string MimeType);
|
||||
@@ -0,0 +1,9 @@
|
||||
namespace Govor.Application.Interfaces.Messages.Parameters;
|
||||
|
||||
public record SendMessage(
|
||||
string EncryptContent,
|
||||
Guid? ReplyToMessageId,
|
||||
Guid RecipientId,
|
||||
Guid FromUserId,
|
||||
DateTime SendAt,
|
||||
IEnumerable<SendMedia> Media);
|
||||
Reference in New Issue
Block a user