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

namespace MyTelegram.Schema;

///<summary>
/// Empty constructor
/// See <a href="https://corefork.telegram.org/constructor/phoneCallEmpty" />
///</summary>
[TlObject(0x5366c915)]
public sealed class TPhoneCallEmpty : IPhoneCall,IEmpty
{
    public uint ConstructorId => 0x5366c915;
    ///<summary>
    /// Call ID
    ///</summary>
    public long Id { get; set; }

    public void ComputeFlag()
    {

    }

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

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