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

41 lines
937 B
C#

using System.IO;
namespace TeleSharp.TL.Photos
{
[TLObject(-256159406)]
public class TLRequestUpdateProfilePhoto : TLMethod
{
public override int Constructor
{
get
{
return -256159406;
}
}
public TLAbsInputPhoto Id { get; set; }
public TLAbsUserProfilePhoto Response { get; set; }
public void ComputeFlags()
{
}
public override void DeserializeBody(BinaryReader br)
{
Id = (TLAbsInputPhoto)ObjectUtils.DeserializeObject(br);
}
public override void DeserializeResponse(BinaryReader br)
{
Response = (TLAbsUserProfilePhoto)ObjectUtils.DeserializeObject(br);
}
public override void SerializeBody(BinaryWriter bw)
{
bw.Write(Constructor);
ObjectUtils.SerializeObject(Id, bw);
}
}
}