// <auto-generated/>

namespace MyTelegram.Schema;

[TlObject(0xf3427b8c)]
public sealed class RequestPingDelayDisconnect : IRequest<MyTelegram.Schema.IPong>
{
    public uint ConstructorId => 0xf3427b8c;
    public long PingId { get; set; }
    public int DisconnectDelay { get; set; }

    public void ComputeFlag()
    {

    }

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

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