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

42 lines
1 KiB
C#

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