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

namespace MyTelegram.Schema.Messages;

///<summary>
/// No new messages matching the query were found
/// See <a href="https://corefork.telegram.org/constructor/messages.messagesNotModified" />
///</summary>
[TlObject(0x74535f21)]
public sealed class TMessagesNotModified : IMessages
{
    public uint ConstructorId => 0x74535f21;
    ///<summary>
    /// Number of results found server-side by the given query
    ///</summary>
    public int Count { get; set; }

    public void ComputeFlag()
    {

    }

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

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