TLSharp/TeleSharp.TL/TL/TLUpdateChannelWebPage.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

52 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(1081547008)]
public class TLUpdateChannelWebPage : TLAbsUpdate
{
public override int Constructor
{
get
{
return 1081547008;
}
}
public int channel_id { get; set; }
public TLAbsWebPage webpage { get; set; }
public int pts { get; set; }
public int pts_count { get; set; }
public void ComputeFlags()
{
}
public override void DeserializeBody(BinaryReader br)
{
channel_id = br.ReadInt32();
webpage = (TLAbsWebPage)ObjectUtils.DeserializeObject(br);
pts = br.ReadInt32();
pts_count = br.ReadInt32();
}
public override void SerializeBody(BinaryWriter bw)
{
bw.Write(Constructor);
bw.Write(channel_id);
ObjectUtils.SerializeObject(webpage, bw);
bw.Write(pts);
bw.Write(pts_count);
}
}
}