TLSharp/TeleSharp.TL/TL/Messages/TLStickerSet.cs

42 lines
1.1 KiB
C#
Raw Normal View History

2016-09-24 15:38:26 +02:00
using System.IO;
2017-12-20 12:06:31 +01:00
2016-09-24 15:38:26 +02:00
namespace TeleSharp.TL.Messages
{
[TLObject(-1240849242)]
2016-09-24 15:38:26 +02:00
public class TLStickerSet : TLObject
{
public override int Constructor
{
get
{
return -1240849242;
}
}
public TLVector<TLAbsDocument> Documents { get; set; }
2016-09-24 15:38:26 +02:00
2017-12-20 12:06:31 +01:00
public TLVector<TLStickerPack> Packs { get; set; }
public TLStickerSet Set { get; set; }
2016-09-24 15:38:26 +02:00
public void ComputeFlags()
{
}
2016-09-24 15:38:26 +02:00
public override void DeserializeBody(BinaryReader br)
{
Set = (TLStickerSet)ObjectUtils.DeserializeObject(br);
Packs = (TLVector<TLStickerPack>)ObjectUtils.DeserializeVector<TLStickerPack>(br);
Documents = (TLVector<TLAbsDocument>)ObjectUtils.DeserializeVector<TLAbsDocument>(br);
2016-09-24 15:38:26 +02:00
}
public override void SerializeBody(BinaryWriter bw)
{
bw.Write(Constructor);
ObjectUtils.SerializeObject(Set, bw);
ObjectUtils.SerializeObject(Packs, bw);
ObjectUtils.SerializeObject(Documents, bw);
2016-09-24 15:38:26 +02:00
}
}
}