mirror of
https://github.com/sochix/TLSharp.git
synced 2025-12-06 08:02:00 +01:00
31 lines
754 B
C#
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);
|
|
}
|
|
}
|
|
} |