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

namespace MyTelegram.Schema;

///<summary>
/// Just the stickerset information, with no previews.
/// See <a href="https://corefork.telegram.org/constructor/stickerSetNoCovered" />
///</summary>
[TlObject(0x77b15d1c)]
public sealed class TStickerSetNoCovered : IStickerSetCovered
{
    public uint ConstructorId => 0x77b15d1c;
    ///<summary>
    /// Stickerset information.
    /// See <a href="https://corefork.telegram.org/type/StickerSet" />
    ///</summary>
    public MyTelegram.Schema.IStickerSet Set { get; set; }

    public void ComputeFlag()
    {

    }

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

    public void Deserialize(ref ReadOnlyMemory<byte> buffer)
    {
        Set = buffer.Read<MyTelegram.Schema.IStickerSet>();
    }
}