// <auto-generated/>

namespace MyTelegram.Schema;


[TlObject(0xe22045fc)]
public sealed class TDestroySessionOk : IDestroySessionRes
{
    public uint ConstructorId => 0xe22045fc;
    public long SessionId { get; set; }

    public void ComputeFlag()
    {

    }

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

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