TLSharp/TeleSharp.TL/TL/TLPageFull.cs
Afshin Arani 133b9fdf6c TL-Layer: Update To Layer 66 (#519)
* TL-Layer: Update To Layer 66
2017-07-20 10:07:24 +08:00

49 lines
1.2 KiB
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
{
[TLObject(-677274263)]
public class TLPageFull : TLAbsPage
{
public override int Constructor
{
get
{
return -677274263;
}
}
public TLVector<TLAbsPageBlock> blocks { get; set; }
public TLVector<TLAbsPhoto> photos { get; set; }
public TLVector<TLAbsDocument> videos { get; set; }
public void ComputeFlags()
{
}
public override void DeserializeBody(BinaryReader br)
{
blocks = (TLVector<TLAbsPageBlock>)ObjectUtils.DeserializeVector<TLAbsPageBlock>(br);
photos = (TLVector<TLAbsPhoto>)ObjectUtils.DeserializeVector<TLAbsPhoto>(br);
videos = (TLVector<TLAbsDocument>)ObjectUtils.DeserializeVector<TLAbsDocument>(br);
}
public override void SerializeBody(BinaryWriter bw)
{
bw.Write(Constructor);
ObjectUtils.SerializeObject(blocks, bw);
ObjectUtils.SerializeObject(photos, bw);
ObjectUtils.SerializeObject(videos, bw);
}
}
}