2017-07-20 04:07:24 +02:00
|
|
|
using System.IO;
|
2017-12-20 12:06:31 +01:00
|
|
|
|
2017-07-20 04:07:24 +02:00
|
|
|
namespace TeleSharp.TL
|
|
|
|
|
{
|
2017-12-20 12:06:31 +01:00
|
|
|
[TLObject(1433323434)]
|
2017-07-20 04:07:24 +02:00
|
|
|
public class TLPageFull : TLAbsPage
|
|
|
|
|
{
|
2017-12-20 12:06:31 +01:00
|
|
|
public TLVector<TLAbsPageBlock> Blocks { get; set; }
|
|
|
|
|
|
2017-07-20 04:07:24 +02:00
|
|
|
public override int Constructor
|
|
|
|
|
{
|
|
|
|
|
get
|
|
|
|
|
{
|
2017-12-20 12:06:31 +01:00
|
|
|
return 1433323434;
|
2017-07-20 04:07:24 +02:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2017-12-20 12:06:31 +01:00
|
|
|
public TLVector<TLAbsDocument> Documents { get; set; }
|
2017-07-20 04:07:24 +02:00
|
|
|
|
2017-12-20 12:06:31 +01:00
|
|
|
public TLVector<TLAbsPhoto> Photos { get; set; }
|
2017-07-20 04:07:24 +02:00
|
|
|
|
|
|
|
|
public void ComputeFlags()
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public override void DeserializeBody(BinaryReader br)
|
|
|
|
|
{
|
2017-11-09 11:35:15 +01:00
|
|
|
Blocks = (TLVector<TLAbsPageBlock>)ObjectUtils.DeserializeVector<TLAbsPageBlock>(br);
|
|
|
|
|
Photos = (TLVector<TLAbsPhoto>)ObjectUtils.DeserializeVector<TLAbsPhoto>(br);
|
2017-12-20 12:06:31 +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);
|
2017-11-09 11:35:15 +01:00
|
|
|
ObjectUtils.SerializeObject(Blocks, bw);
|
|
|
|
|
ObjectUtils.SerializeObject(Photos, bw);
|
2017-12-20 12:06:31 +01:00
|
|
|
ObjectUtils.SerializeObject(Documents, bw);
|
2017-07-20 04:07:24 +02:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|