using System.IO; namespace TeleSharp.TL { [TLObject(-1908433218)] public class TLPagePart : TLAbsPage { public TLVector Blocks { get; set; } public override int Constructor { get { return -1908433218; } } public TLVector Documents { get; set; } public TLVector Photos { get; set; } public void ComputeFlags() { } public override void DeserializeBody(BinaryReader br) { Blocks = (TLVector)ObjectUtils.DeserializeVector(br); Photos = (TLVector)ObjectUtils.DeserializeVector(br); Documents = (TLVector)ObjectUtils.DeserializeVector(br); } public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(Blocks, bw); ObjectUtils.SerializeObject(Photos, bw); ObjectUtils.SerializeObject(Documents, bw); } } }