// <auto-generated/>

namespace MyTelegram.Schema;


[TlObject(0x809db6df)]
public sealed class TMsgNewDetailedInfo : IMsgDetailedInfo
{
    public uint ConstructorId => 0x809db6df;
    public long AnswerMsgId { get; set; }
    public int Bytes { get; set; }
    public int Status { get; set; }

    public void ComputeFlag()
    {

    }

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

    public void Deserialize(ref ReadOnlyMemory<byte> buffer)
    {
        AnswerMsgId = buffer.ReadInt64();
        Bytes = buffer.ReadInt32();
        Status = buffer.ReadInt32();
    }
}