TLSharp/TeleSharp.TL/TL/TLUpdateReadMessagesContents.cs
2017-04-13 13:38:01 +07:00

34 lines
839 B
C#

using System.IO;
namespace TeleSharp.TL
{
[TLObject(1757493555)]
public class TLUpdateReadMessagesContents : TLAbsUpdate
{
public override int Constructor => 1757493555;
public TLVector<int> messages { get; set; }
public int pts { get; set; }
public int pts_count { get; set; }
public void ComputeFlags()
{
}
public override void DeserializeBody(BinaryReader br)
{
messages = ObjectUtils.DeserializeVector<int>(br);
pts = br.ReadInt32();
pts_count = br.ReadInt32();
}
public override void SerializeBody(BinaryWriter bw)
{
bw.Write(Constructor);
ObjectUtils.SerializeObject(messages, bw);
bw.Write(pts);
bw.Write(pts_count);
}
}
}