TL-Layer: Update To Layer 66 (#519)

* TL-Layer: Update To Layer 66
This commit is contained in:
Afshin Arani 2017-07-20 06:37:24 +04:30 committed by Andres G. Aragoneses
parent 0d55940c12
commit 133b9fdf6c
784 changed files with 17201 additions and 10048 deletions

View file

@ -7,7 +7,7 @@ using System.Threading.Tasks;
using TeleSharp.TL;
namespace TeleSharp.TL.Photos
{
[TLObject(539045032)]
[TLObject(539045032)]
public class TLPhoto : TLObject
{
public override int Constructor
@ -18,27 +18,27 @@ namespace TeleSharp.TL.Photos
}
}
public TLAbsPhoto photo {get;set;}
public TLVector<TLAbsUser> users {get;set;}
public TLAbsPhoto photo { get; set; }
public TLVector<TLAbsUser> users { get; set; }
public void ComputeFlags()
{
}
public void ComputeFlags()
{
}
public override void DeserializeBody(BinaryReader br)
{
photo = (TLAbsPhoto)ObjectUtils.DeserializeObject(br);
users = (TLVector<TLAbsUser>)ObjectUtils.DeserializeVector<TLAbsUser>(br);
users = (TLVector<TLAbsUser>)ObjectUtils.DeserializeVector<TLAbsUser>(br);
}
public override void SerializeBody(BinaryWriter bw)
{
bw.Write(Constructor);
ObjectUtils.SerializeObject(photo,bw);
ObjectUtils.SerializeObject(users,bw);
bw.Write(Constructor);
ObjectUtils.SerializeObject(photo, bw);
ObjectUtils.SerializeObject(users, bw);
}
}

View file

@ -7,7 +7,7 @@ using System.Threading.Tasks;
using TeleSharp.TL;
namespace TeleSharp.TL.Photos
{
[TLObject(-1916114267)]
[TLObject(-1916114267)]
public class TLPhotos : TLAbsPhotos
{
public override int Constructor
@ -18,27 +18,27 @@ namespace TeleSharp.TL.Photos
}
}
public TLVector<TLAbsPhoto> photos {get;set;}
public TLVector<TLAbsUser> users {get;set;}
public TLVector<TLAbsPhoto> photos { get; set; }
public TLVector<TLAbsUser> users { get; set; }
public void ComputeFlags()
{
}
public void ComputeFlags()
{
}
public override void DeserializeBody(BinaryReader br)
{
photos = (TLVector<TLAbsPhoto>)ObjectUtils.DeserializeVector<TLAbsPhoto>(br);
users = (TLVector<TLAbsUser>)ObjectUtils.DeserializeVector<TLAbsUser>(br);
users = (TLVector<TLAbsUser>)ObjectUtils.DeserializeVector<TLAbsUser>(br);
}
public override void SerializeBody(BinaryWriter bw)
{
bw.Write(Constructor);
ObjectUtils.SerializeObject(photos,bw);
ObjectUtils.SerializeObject(users,bw);
bw.Write(Constructor);
ObjectUtils.SerializeObject(photos, bw);
ObjectUtils.SerializeObject(users, bw);
}
}

View file

@ -7,7 +7,7 @@ using System.Threading.Tasks;
using TeleSharp.TL;
namespace TeleSharp.TL.Photos
{
[TLObject(352657236)]
[TLObject(352657236)]
public class TLPhotosSlice : TLAbsPhotos
{
public override int Constructor
@ -18,30 +18,30 @@ namespace TeleSharp.TL.Photos
}
}
public int count {get;set;}
public TLVector<TLAbsPhoto> photos {get;set;}
public TLVector<TLAbsUser> users {get;set;}
public int count { get; set; }
public TLVector<TLAbsPhoto> photos { get; set; }
public TLVector<TLAbsUser> users { get; set; }
public void ComputeFlags()
{
}
public void ComputeFlags()
{
}
public override void DeserializeBody(BinaryReader br)
{
count = br.ReadInt32();
photos = (TLVector<TLAbsPhoto>)ObjectUtils.DeserializeVector<TLAbsPhoto>(br);
users = (TLVector<TLAbsUser>)ObjectUtils.DeserializeVector<TLAbsUser>(br);
photos = (TLVector<TLAbsPhoto>)ObjectUtils.DeserializeVector<TLAbsPhoto>(br);
users = (TLVector<TLAbsUser>)ObjectUtils.DeserializeVector<TLAbsUser>(br);
}
public override void SerializeBody(BinaryWriter bw)
{
bw.Write(Constructor);
bw.Write(Constructor);
bw.Write(count);
ObjectUtils.SerializeObject(photos,bw);
ObjectUtils.SerializeObject(users,bw);
ObjectUtils.SerializeObject(photos, bw);
ObjectUtils.SerializeObject(users, bw);
}
}

View file

@ -7,7 +7,7 @@ using System.Threading.Tasks;
using TeleSharp.TL;
namespace TeleSharp.TL.Photos
{
[TLObject(-2016444625)]
[TLObject(-2016444625)]
public class TLRequestDeletePhotos : TLMethod
{
public override int Constructor
@ -18,14 +18,14 @@ namespace TeleSharp.TL.Photos
}
}
public TLVector<TLAbsInputPhoto> id {get;set;}
public TLVector<long> Response{ get; set;}
public TLVector<TLAbsInputPhoto> id { get; set; }
public TLVector<long> Response { get; set; }
public void ComputeFlags()
{
}
public void ComputeFlags()
{
}
public override void DeserializeBody(BinaryReader br)
{
@ -35,14 +35,14 @@ namespace TeleSharp.TL.Photos
public override void SerializeBody(BinaryWriter bw)
{
bw.Write(Constructor);
ObjectUtils.SerializeObject(id,bw);
bw.Write(Constructor);
ObjectUtils.SerializeObject(id, bw);
}
public override void deserializeResponse(BinaryReader br)
{
Response = (TLVector<long>)ObjectUtils.DeserializeVector<long>(br);
public override void deserializeResponse(BinaryReader br)
{
Response = (TLVector<long>)ObjectUtils.DeserializeVector<long>(br);
}
}
}
}

View file

@ -7,7 +7,7 @@ using System.Threading.Tasks;
using TeleSharp.TL;
namespace TeleSharp.TL.Photos
{
[TLObject(-1848823128)]
[TLObject(-1848823128)]
public class TLRequestGetUserPhotos : TLMethod
{
public override int Constructor
@ -18,40 +18,40 @@ namespace TeleSharp.TL.Photos
}
}
public TLAbsInputUser user_id {get;set;}
public int offset {get;set;}
public long max_id {get;set;}
public int limit {get;set;}
public Photos.TLAbsPhotos Response{ get; set;}
public TLAbsInputUser user_id { get; set; }
public int offset { get; set; }
public long max_id { get; set; }
public int limit { get; set; }
public Photos.TLAbsPhotos Response { get; set; }
public void ComputeFlags()
{
}
public void ComputeFlags()
{
}
public override void DeserializeBody(BinaryReader br)
{
user_id = (TLAbsInputUser)ObjectUtils.DeserializeObject(br);
offset = br.ReadInt32();
max_id = br.ReadInt64();
limit = br.ReadInt32();
offset = br.ReadInt32();
max_id = br.ReadInt64();
limit = br.ReadInt32();
}
public override void SerializeBody(BinaryWriter bw)
{
bw.Write(Constructor);
ObjectUtils.SerializeObject(user_id,bw);
bw.Write(offset);
bw.Write(max_id);
bw.Write(limit);
bw.Write(Constructor);
ObjectUtils.SerializeObject(user_id, bw);
bw.Write(offset);
bw.Write(max_id);
bw.Write(limit);
}
public override void deserializeResponse(BinaryReader br)
{
Response = (Photos.TLAbsPhotos)ObjectUtils.DeserializeObject(br);
public override void deserializeResponse(BinaryReader br)
{
Response = (Photos.TLAbsPhotos)ObjectUtils.DeserializeObject(br);
}
}
}
}

View file

@ -7,7 +7,7 @@ using System.Threading.Tasks;
using TeleSharp.TL;
namespace TeleSharp.TL.Photos
{
[TLObject(-256159406)]
[TLObject(-256159406)]
public class TLRequestUpdateProfilePhoto : TLMethod
{
public override int Constructor
@ -18,14 +18,14 @@ namespace TeleSharp.TL.Photos
}
}
public TLAbsInputPhoto id {get;set;}
public TLAbsUserProfilePhoto Response{ get; set;}
public TLAbsInputPhoto id { get; set; }
public TLAbsUserProfilePhoto Response { get; set; }
public void ComputeFlags()
{
}
public void ComputeFlags()
{
}
public override void DeserializeBody(BinaryReader br)
{
@ -35,14 +35,14 @@ namespace TeleSharp.TL.Photos
public override void SerializeBody(BinaryWriter bw)
{
bw.Write(Constructor);
ObjectUtils.SerializeObject(id,bw);
bw.Write(Constructor);
ObjectUtils.SerializeObject(id, bw);
}
public override void deserializeResponse(BinaryReader br)
{
Response = (TLAbsUserProfilePhoto)ObjectUtils.DeserializeObject(br);
public override void deserializeResponse(BinaryReader br)
{
Response = (TLAbsUserProfilePhoto)ObjectUtils.DeserializeObject(br);
}
}
}
}

View file

@ -7,7 +7,7 @@ using System.Threading.Tasks;
using TeleSharp.TL;
namespace TeleSharp.TL.Photos
{
[TLObject(1328726168)]
[TLObject(1328726168)]
public class TLRequestUploadProfilePhoto : TLMethod
{
public override int Constructor
@ -18,14 +18,14 @@ namespace TeleSharp.TL.Photos
}
}
public TLAbsInputFile file {get;set;}
public Photos.TLPhoto Response{ get; set;}
public TLAbsInputFile file { get; set; }
public Photos.TLPhoto Response { get; set; }
public void ComputeFlags()
{
}
public void ComputeFlags()
{
}
public override void DeserializeBody(BinaryReader br)
{
@ -35,14 +35,14 @@ namespace TeleSharp.TL.Photos
public override void SerializeBody(BinaryWriter bw)
{
bw.Write(Constructor);
ObjectUtils.SerializeObject(file,bw);
bw.Write(Constructor);
ObjectUtils.SerializeObject(file, bw);
}
public override void deserializeResponse(BinaryReader br)
{
Response = (Photos.TLPhoto)ObjectUtils.DeserializeObject(br);
public override void deserializeResponse(BinaryReader br)
{
Response = (Photos.TLPhoto)ObjectUtils.DeserializeObject(br);
}
}
}
}