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
{
[TLObject(2009052699)]
[TLObject(2009052699)]
public class TLPhotoSize : TLAbsPhotoSize
{
public override int Constructor
@ -18,36 +18,36 @@ namespace TeleSharp.TL
}
}
public string type {get;set;}
public TLAbsFileLocation location {get;set;}
public int w {get;set;}
public int h {get;set;}
public int size {get;set;}
public string type { get; set; }
public TLAbsFileLocation location { get; set; }
public int w { get; set; }
public int h { get; set; }
public int size { get; set; }
public void ComputeFlags()
{
}
public void ComputeFlags()
{
}
public override void DeserializeBody(BinaryReader br)
{
type = StringUtil.Deserialize(br);
location = (TLAbsFileLocation)ObjectUtils.DeserializeObject(br);
w = br.ReadInt32();
h = br.ReadInt32();
size = br.ReadInt32();
location = (TLAbsFileLocation)ObjectUtils.DeserializeObject(br);
w = br.ReadInt32();
h = br.ReadInt32();
size = br.ReadInt32();
}
public override void SerializeBody(BinaryWriter bw)
{
bw.Write(Constructor);
StringUtil.Serialize(type,bw);
ObjectUtils.SerializeObject(location,bw);
bw.Write(w);
bw.Write(h);
bw.Write(size);
bw.Write(Constructor);
StringUtil.Serialize(type, bw);
ObjectUtils.SerializeObject(location, bw);
bw.Write(w);
bw.Write(h);
bw.Write(size);
}
}