TLSharp/TeleSharp.TL/TL/Messages/TLFeaturedStickers.cs

42 lines
1 KiB
C#
Raw Normal View History

2016-10-13 21:03:16 +03:30
using System.IO;
2017-12-20 12:06:31 +01:00
2016-10-13 21:03:16 +03:30
namespace TeleSharp.TL.Messages
{
[TLObject(-123893531)]
2016-10-13 21:03:16 +03:30
public class TLFeaturedStickers : TLAbsFeaturedStickers
{
public override int Constructor
{
get
{
return -123893531;
}
}
public int Hash { get; set; }
2017-12-20 12:06:31 +01:00
public TLVector<TLAbsStickerSetCovered> Sets { get; set; }
2016-10-13 21:03:16 +03:30
2017-12-20 12:06:31 +01:00
public TLVector<long> Unread { get; set; }
2016-10-13 21:03:16 +03:30
public void ComputeFlags()
{
}
2016-10-13 21:03:16 +03:30
public override void DeserializeBody(BinaryReader br)
{
Hash = br.ReadInt32();
Sets = (TLVector<TLAbsStickerSetCovered>)ObjectUtils.DeserializeVector<TLAbsStickerSetCovered>(br);
Unread = (TLVector<long>)ObjectUtils.DeserializeVector<long>(br);
2016-10-13 21:03:16 +03:30
}
public override void SerializeBody(BinaryWriter bw)
{
bw.Write(Constructor);
bw.Write(Hash);
ObjectUtils.SerializeObject(Sets, bw);
ObjectUtils.SerializeObject(Unread, bw);
2016-10-13 21:03:16 +03:30
}
}
}