mirror of
https://github.com/sochix/TLSharp.git
synced 2025-12-31 22:09:58 +01:00
38 lines
876 B
C#
38 lines
876 B
C#
using System.IO;
|
|
|
|
namespace TeleSharp.TL
|
|
{
|
|
[TLObject(1678812626)]
|
|
public class TLStickerSetCovered : TLAbsStickerSetCovered
|
|
{
|
|
public override int Constructor
|
|
{
|
|
get
|
|
{
|
|
return 1678812626;
|
|
}
|
|
}
|
|
|
|
public TLAbsDocument Cover { get; set; }
|
|
|
|
public TLStickerSet Set { get; set; }
|
|
|
|
public void ComputeFlags()
|
|
{
|
|
}
|
|
|
|
public override void DeserializeBody(BinaryReader br)
|
|
{
|
|
Set = (TLStickerSet)ObjectUtils.DeserializeObject(br);
|
|
Cover = (TLAbsDocument)ObjectUtils.DeserializeObject(br);
|
|
}
|
|
|
|
public override void SerializeBody(BinaryWriter bw)
|
|
{
|
|
bw.Write(Constructor);
|
|
ObjectUtils.SerializeObject(Set, bw);
|
|
ObjectUtils.SerializeObject(Cover, bw);
|
|
}
|
|
}
|
|
}
|