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

namespace MyTelegram.Schema;

///<summary>
/// Whether to allow P2P communication during VoIP calls
/// See <a href="https://corefork.telegram.org/constructor/inputPrivacyKeyPhoneP2P" />
///</summary>
[TlObject(0xdb9e70d2)]
public sealed class TInputPrivacyKeyPhoneP2P : IInputPrivacyKey
{
    public uint ConstructorId => 0xdb9e70d2;


    public void ComputeFlag()
    {

    }

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

    }

    public void Deserialize(ref ReadOnlyMemory<byte> buffer)
    {

    }
}