TLSharp/TeleSharp.TL/TL/Photos/TLRequestUploadProfilePhoto.cs
Afshin Arani 23e647e81c Layer-57
2016-10-13 21:03:16 +03:30

49 lines
1,013 B
C#

using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TeleSharp.TL;
namespace TeleSharp.TL.Photos
{
[TLObject(1328726168)]
public class TLRequestUploadProfilePhoto : TLMethod
{
public override int Constructor
{
get
{
return 1328726168;
}
}
public TLAbsInputFile file {get;set;}
public Photos.TLPhoto Response{ get; set;}
public void ComputeFlags()
{
}
public override void DeserializeBody(BinaryReader br)
{
file = (TLAbsInputFile)ObjectUtils.DeserializeObject(br);
}
public override void SerializeBody(BinaryWriter bw)
{
bw.Write(Constructor);
ObjectUtils.SerializeObject(file,bw);
}
public override void deserializeResponse(BinaryReader br)
{
Response = (Photos.TLPhoto)ObjectUtils.DeserializeObject(br);
}
}
}