mirror of
https://github.com/opengram-server/opengram.git
synced 2026-07-20 20:50:16 +03:00
Initial commit
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
namespace MyTelegram.MTProto.Tests;
|
||||
|
||||
public class ClientData : IClientData
|
||||
{
|
||||
public ProtocolType MtProtoType { get; set; }
|
||||
public bool IsFirstPacketParsed { get; set; }
|
||||
public byte[] SendKey { get; set; } = [];
|
||||
public byte[] ReceiveKey { get; set; } = [];
|
||||
public long AuthKeyId { get; set; }
|
||||
public string ConnectionId { get; set; } = null!;
|
||||
public bool ObfuscationEnabled { get; set; }
|
||||
public int CurrentPacketLength { get; set; }
|
||||
public int SkipCount { get; set; }
|
||||
public byte[] SendIv { get; set; } = [];
|
||||
public byte[] ReceiveIv { get; set; } = [];
|
||||
public ulong ReceiveCount { get; set; }
|
||||
public ulong SendCount { get; set; }
|
||||
public ArrayPool<byte> ArrayPool { get; set; } = ArrayPool<byte>.Shared;
|
||||
}
|
||||
Reference in New Issue
Block a user