TLSharp/TeleSharp.TL/TL/Photos/TLRequestUpdateProfilePhoto.cs
2017-09-24 11:49:06 +03:30

39 lines
935 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 SerializeBody(BinaryWriter bw)
{
bw.Write(Constructor);
ObjectUtils.SerializeObject(id, bw);
}
public override void deserializeResponse(BinaryReader br)
{
Response = (TLAbsUserProfilePhoto)ObjectUtils.DeserializeObject(br);
}
}
}