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,19 +7,18 @@ using System.Threading.Tasks;
using TeleSharp.TL;
namespace TeleSharp.TL.Photos
{
[TLObject(-285902432)]
[TLObject(-256159406)]
public class TLRequestUpdateProfilePhoto : TLMethod
{
public override int Constructor
{
get
{
return -285902432;
return -256159406;
}
}
public TLAbsInputPhoto id {get;set;}
public TLAbsInputPhotoCrop crop {get;set;}
public TLAbsUserProfilePhoto Response{ get; set;}
@ -31,7 +30,6 @@ namespace TeleSharp.TL.Photos
public override void DeserializeBody(BinaryReader br)
{
id = (TLAbsInputPhoto)ObjectUtils.DeserializeObject(br);
crop = (TLAbsInputPhotoCrop)ObjectUtils.DeserializeObject(br);
}
@ -39,7 +37,6 @@ crop = (TLAbsInputPhotoCrop)ObjectUtils.DeserializeObject(br);
{
bw.Write(Constructor);
ObjectUtils.SerializeObject(id,bw);
ObjectUtils.SerializeObject(crop,bw);
}
public override void deserializeResponse(BinaryReader br)