TLSharp/TeleSharp.TL/TL/TLFoundGif.cs
Andrzej Gołaszewski ca3a71e39a update to layer 71
code formatting
2017-12-20 12:06:31 +01:00

54 lines
1.3 KiB
C#

using System.IO;
namespace TeleSharp.TL
{
[TLObject(372165663)]
public class TLFoundGif : TLAbsFoundGif
{
public override int Constructor
{
get
{
return 372165663;
}
}
public string ContentType { get; set; }
public string ContentUrl { get; set; }
public int H { get; set; }
public string ThumbUrl { get; set; }
public string Url { get; set; }
public int W { get; set; }
public void ComputeFlags()
{
}
public override void DeserializeBody(BinaryReader br)
{
Url = StringUtil.Deserialize(br);
ThumbUrl = StringUtil.Deserialize(br);
ContentUrl = StringUtil.Deserialize(br);
ContentType = StringUtil.Deserialize(br);
W = br.ReadInt32();
H = br.ReadInt32();
}
public override void SerializeBody(BinaryWriter bw)
{
bw.Write(Constructor);
StringUtil.Serialize(Url, bw);
StringUtil.Serialize(ThumbUrl, bw);
StringUtil.Serialize(ContentUrl, bw);
StringUtil.Serialize(ContentType, bw);
bw.Write(W);
bw.Write(H);
}
}
}