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

namespace MyTelegram.Schema.Messages;

///<summary>
/// Dialogs haven't changed
/// See <a href="https://corefork.telegram.org/constructor/messages.dialogsNotModified" />
///</summary>
[TlObject(0xf0e3e596)]
public sealed class TDialogsNotModified : IDialogs
{
    public uint ConstructorId => 0xf0e3e596;
    ///<summary>
    /// Number of dialogs found server-side by the 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();
    }
}