// <auto-generated/>

namespace MyTelegram.Schema;


[TlObject(0xf35c6d01)]
public sealed class TRpcResult : IObject
{
    public uint ConstructorId => 0xf35c6d01;
    public long ReqMsgId { get; set; }
    public IObject Result { get; set; }

    public void ComputeFlag()
    {

    }

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

    public void Deserialize(ref ReadOnlyMemory<byte> buffer)
    {
        ReqMsgId = buffer.ReadInt64();
        Result = buffer.Read<IObject>();
    }
}