namespace MyTelegram.Abstractions;
///
///
///
///
/// int128,length=16
///
///
///
///
///
///
public record EncryptedMessage(long AuthKeyId,
ReadOnlyMemory MsgKey,
ReadOnlyMemory EncryptedData,
string ConnectionId,
ConnectionType ConnectionType,
string ClientIp,
Guid RequestId,
long Date
) : IMtpMessage
{
public string ConnectionId { get; set; } = ConnectionId;
public ConnectionType ConnectionType { get; set; } = ConnectionType;
public string ClientIp { get; set; } = ClientIp;
[JsonIgnore]public IMemoryOwner? MemoryOwner { get; set; }
}