TLSharp/TeleSharp.TL/TL/TLStickerPack.cs
2017-04-13 13:38:01 +07:00

31 lines
754 B
C#

using System.IO;
namespace TeleSharp.TL
{
[TLObject(313694676)]
public class TLStickerPack : TLObject
{
public override int Constructor => 313694676;
public string emoticon { get; set; }
public TLVector<long> documents { get; set; }
public void ComputeFlags()
{
}
public override void DeserializeBody(BinaryReader br)
{
emoticon = StringUtil.Deserialize(br);
documents = ObjectUtils.DeserializeVector<long>(br);
}
public override void SerializeBody(BinaryWriter bw)
{
bw.Write(Constructor);
StringUtil.Serialize(emoticon, bw);
ObjectUtils.SerializeObject(documents, bw);
}
}
}