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

38 lines
908 B
C#

using System.IO;
namespace TeleSharp.TL
{
[TLObject(1632839530)]
public class TLChatPhoto : TLAbsChatPhoto
{
public override int Constructor
{
get
{
return 1632839530;
}
}
public TLAbsFileLocation PhotoBig { get; set; }
public TLAbsFileLocation PhotoSmall { get; set; }
public void ComputeFlags()
{
}
public override void DeserializeBody(BinaryReader br)
{
PhotoSmall = (TLAbsFileLocation)ObjectUtils.DeserializeObject(br);
PhotoBig = (TLAbsFileLocation)ObjectUtils.DeserializeObject(br);
}
public override void SerializeBody(BinaryWriter bw)
{
bw.Write(Constructor);
ObjectUtils.SerializeObject(PhotoSmall, bw);
ObjectUtils.SerializeObject(PhotoBig, bw);
}
}
}