Добавьте файлы проекта.
This commit is contained in:
12
BotPages.Core/Context/FileDescriptor.cs
Normal file
12
BotPages.Core/Context/FileDescriptor.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
namespace BotPages.Core
|
||||
{
|
||||
/// <summary>
|
||||
/// Универсальный дескриптор файла для операций загрузки/отправки.
|
||||
/// </summary>
|
||||
public sealed record FileDescriptor(
|
||||
string Id,
|
||||
string Name,
|
||||
string MimeType,
|
||||
Stream? Content = null
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user