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

namespace MyTelegram.Schema;

///<summary>
/// See <a href="https://corefork.telegram.org/constructor/messageActionTodoCompletions" />
///</summary>
[TlObject(0xcc7c5c89)]
public sealed class TMessageActionTodoCompletions : IMessageAction
{
    public uint ConstructorId => 0xcc7c5c89;
    public TVector<int> Completed { get; set; }
    public TVector<int> Incompleted { get; set; }

    public void ComputeFlag()
    {

    }

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

    public void Deserialize(ref ReadOnlyMemory<byte> buffer)
    {
        Completed = buffer.Read<TVector<int>>();
        Incompleted = buffer.Read<TVector<int>>();
    }
}