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

namespace MyTelegram.Schema;

///<summary>
/// Table row
/// See <a href="https://corefork.telegram.org/constructor/pageTableRow" />
///</summary>
[TlObject(0xe0c0c5e5)]
public sealed class TPageTableRow : IPageTableRow
{
    public uint ConstructorId => 0xe0c0c5e5;
    ///<summary>
    /// Table cells
    ///</summary>
    public TVector<MyTelegram.Schema.IPageTableCell> Cells { get; set; }

    public void ComputeFlag()
    {

    }

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

    public void Deserialize(ref ReadOnlyMemory<byte> buffer)
    {
        Cells = buffer.Read<TVector<MyTelegram.Schema.IPageTableCell>>();
    }
}