TLSharp/TeleSharp.TL/TL/Photos/TLRequestUpdateProfilePhoto.cs
2017-04-13 13:38:01 +07:00

34 lines
854 B
C#

using System.IO;
namespace TeleSharp.TL.Photos
{
[TLObject(-256159406)]
public class TLRequestUpdateProfilePhoto : TLMethod
{
public override int Constructor => -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);
}
}
}