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

50 lines
1 KiB
C#

using System.IO;
namespace TeleSharp.TL.Updates
{
[TLObject(-1519637954)]
public class TLState : TLObject
{
public override int Constructor
{
get
{
return -1519637954;
}
}
public int Date { get; set; }
public int Pts { get; set; }
public int Qts { get; set; }
public int Seq { get; set; }
public int UnreadCount { get; set; }
public void ComputeFlags()
{
}
public override void DeserializeBody(BinaryReader br)
{
Pts = br.ReadInt32();
Qts = br.ReadInt32();
Date = br.ReadInt32();
Seq = br.ReadInt32();
UnreadCount = br.ReadInt32();
}
public override void SerializeBody(BinaryWriter bw)
{
bw.Write(Constructor);
bw.Write(Pts);
bw.Write(Qts);
bw.Write(Date);
bw.Write(Seq);
bw.Write(UnreadCount);
}
}
}