TLSharp/TeleSharp.TL/TL/TLUpdateReadHistoryInbox.cs
Andrzej Gołaszewski ca3a71e39a update to layer 71
code formatting
2017-12-20 12:06:31 +01:00

46 lines
1,015 B
C#

using System.IO;
namespace TeleSharp.TL
{
[TLObject(-1721631396)]
public class TLUpdateReadHistoryInbox : TLAbsUpdate
{
public override int Constructor
{
get
{
return -1721631396;
}
}
public int MaxId { get; set; }
public TLAbsPeer Peer { get; set; }
public int Pts { get; set; }
public int PtsCount { get; set; }
public void ComputeFlags()
{
}
public override void DeserializeBody(BinaryReader br)
{
Peer = (TLAbsPeer)ObjectUtils.DeserializeObject(br);
MaxId = br.ReadInt32();
Pts = br.ReadInt32();
PtsCount = br.ReadInt32();
}
public override void SerializeBody(BinaryWriter bw)
{
bw.Write(Constructor);
ObjectUtils.SerializeObject(Peer, bw);
bw.Write(MaxId);
bw.Write(Pts);
bw.Write(PtsCount);
}
}
}