// <auto-generated/>
// ReSharper disable All

namespace MyTelegram.Schema.E2e;


[TlObject(0xFE0139CC)]
public sealed class TChangeSetValue : IChange
{
    public uint ConstructorId => 0xFE0139CC;
    public ReadOnlyMemory<byte> Key { get; set; }
    public ReadOnlyMemory<byte> Value { get; set; }

    public void ComputeFlag()
    {

    }

    public void Serialize(IBufferWriter<byte> writer)
    {
        ComputeFlag();
        writer.Write(ConstructorId);
        writer.Write(Key);
        writer.Write(Value);
    }

    public void Deserialize(ref ReadOnlyMemory<byte> buffer)
    {
        Key = buffer.ReadBytes();
        Value = buffer.ReadBytes();
    }
}