using System.Buffers;

namespace MyTelegram.Core;

public record FileDataResultResponseReceivedEvent(
    long ReqMsgId,
    ReadOnlyMemory<byte> Data
    //byte[] Data
) : ISessionMessage
{
    public IMemoryOwner<byte>? MemoryOwner { get; set; }
}