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

namespace MyTelegram.Schema.Messages;

///<summary>
/// Featured stickers haven't changed
/// See <a href="https://corefork.telegram.org/constructor/messages.featuredStickersNotModified" />
///</summary>
[TlObject(0xc6dc0c66)]
public sealed class TFeaturedStickersNotModified : IFeaturedStickers
{
    public uint ConstructorId => 0xc6dc0c66;
    ///<summary>
    /// Total number of featured stickers
    ///</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();
    }
}