mirror of
https://github.com/Govor-team/Govor.git
synced 2026-07-21 11:44:56 +00:00
23 lines
498 B
C#
23 lines
498 B
C#
namespace Govor.Core.Models;
|
|
|
|
public class MediaAttachments
|
|
{
|
|
public Guid Id { get; set; }
|
|
public Guid MessageId { get; set; }
|
|
|
|
public MediaType Type { get; set; }
|
|
public string FilePath { get; set; } = string.Empty; // local path in filesystem
|
|
public string MimeType { get; set; } = string.Empty;
|
|
|
|
public string? EncryptedKey { get; set; }
|
|
public Message Message { get; set; } = null!;
|
|
}
|
|
|
|
public enum MediaType
|
|
{
|
|
Image,
|
|
Video,
|
|
Audio,
|
|
File,
|
|
Voice
|
|
} |