TLSharp/TeleSharp.TL/TL/TLFoundGifCached.cs

42 lines
1,007 B
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
{
[TLObject(-1670052855)]
2016-09-24 15:38:26 +02:00
public class TLFoundGifCached : TLAbsFoundGif
{
public override int Constructor
{
get
{
return -1670052855;
}
}
public TLAbsDocument Document { get; set; }
2016-09-24 15:38:26 +02:00
2017-12-20 12:06:31 +01:00
public TLAbsPhoto Photo { get; set; }
public string Url { 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)
{
Url = StringUtil.Deserialize(br);
Photo = (TLAbsPhoto)ObjectUtils.DeserializeObject(br);
Document = (TLAbsDocument)ObjectUtils.DeserializeObject(br);
2016-09-24 15:38:26 +02:00
}
public override void SerializeBody(BinaryWriter bw)
{
bw.Write(Constructor);
StringUtil.Serialize(Url, bw);
ObjectUtils.SerializeObject(Photo, bw);
ObjectUtils.SerializeObject(Document, bw);
2016-09-24 15:38:26 +02:00
}
}
}