2017-07-20 04:07:24 +02:00
|
|
|
using System.IO;
|
|
|
|
|
namespace TeleSharp.TL
|
|
|
|
|
{
|
2017-11-09 10:21:33 +01:00
|
|
|
[TLObject(-1908433218)]
|
2017-07-20 04:07:24 +02:00
|
|
|
public class TLPagePart : TLAbsPage
|
|
|
|
|
{
|
|
|
|
|
public override int Constructor
|
|
|
|
|
{
|
|
|
|
|
get
|
|
|
|
|
{
|
2017-11-09 10:21:33 +01:00
|
|
|
return -1908433218;
|
2017-07-20 04:07:24 +02:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public TLVector<TLAbsPageBlock> blocks { get; set; }
|
|
|
|
|
public TLVector<TLAbsPhoto> photos { get; set; }
|
2017-11-09 10:21:33 +01:00
|
|
|
public TLVector<TLAbsDocument> documents { get; set; }
|
2017-07-20 04:07:24 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
public void ComputeFlags()
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public override void DeserializeBody(BinaryReader br)
|
|
|
|
|
{
|
|
|
|
|
blocks = (TLVector<TLAbsPageBlock>)ObjectUtils.DeserializeVector<TLAbsPageBlock>(br);
|
|
|
|
|
photos = (TLVector<TLAbsPhoto>)ObjectUtils.DeserializeVector<TLAbsPhoto>(br);
|
2017-11-09 10:21:33 +01:00
|
|
|
documents = (TLVector<TLAbsDocument>)ObjectUtils.DeserializeVector<TLAbsDocument>(br);
|
2017-07-20 04:07:24 +02:00
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public override void SerializeBody(BinaryWriter bw)
|
|
|
|
|
{
|
|
|
|
|
bw.Write(Constructor);
|
|
|
|
|
ObjectUtils.SerializeObject(blocks, bw);
|
|
|
|
|
ObjectUtils.SerializeObject(photos, bw);
|
2017-11-09 10:21:33 +01:00
|
|
|
ObjectUtils.SerializeObject(documents, bw);
|
2017-07-20 04:07:24 +02:00
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|