This commit is contained in:
Afshin Arani 2016-10-13 21:03:16 +03:30
parent 0752c60082
commit 23e647e81c
81 changed files with 2631 additions and 213 deletions

View file

@ -7,21 +7,18 @@ using System.Threading.Tasks;
using TeleSharp.TL;
namespace TeleSharp.TL.Photos
{
[TLObject(-720397176)]
[TLObject(1328726168)]
public class TLRequestUploadProfilePhoto : TLMethod
{
public override int Constructor
{
get
{
return -720397176;
return 1328726168;
}
}
public TLAbsInputFile file {get;set;}
public string caption {get;set;}
public TLAbsInputGeoPoint geo_point {get;set;}
public TLAbsInputPhotoCrop crop {get;set;}
public Photos.TLPhoto Response{ get; set;}
@ -33,9 +30,6 @@ namespace TeleSharp.TL.Photos
public override void DeserializeBody(BinaryReader br)
{
file = (TLAbsInputFile)ObjectUtils.DeserializeObject(br);
caption = StringUtil.Deserialize(br);
geo_point = (TLAbsInputGeoPoint)ObjectUtils.DeserializeObject(br);
crop = (TLAbsInputPhotoCrop)ObjectUtils.DeserializeObject(br);
}
@ -43,9 +37,6 @@ crop = (TLAbsInputPhotoCrop)ObjectUtils.DeserializeObject(br);
{
bw.Write(Constructor);
ObjectUtils.SerializeObject(file,bw);
StringUtil.Serialize(caption,bw);
ObjectUtils.SerializeObject(geo_point,bw);
ObjectUtils.SerializeObject(crop,bw);
}
public override void deserializeResponse(BinaryReader br)