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

namespace MyTelegram.Schema.E2e;


[TlObject(0x6CA0713)]
public sealed class TValueContactByUserId : IValue
{
    public uint ConstructorId => 0x6CA0713;
    public TVector<ReadOnlyMemory<byte>> PublicKeys { get; set; }

    public void ComputeFlag()
    {

    }

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

    public void Deserialize(ref ReadOnlyMemory<byte> buffer)
    {
        PublicKeys = buffer.ReadVector<ReadOnlyMemory<byte>>();
    }
}