using System.IO; namespace TeleSharp.TL { [TLObject(1757493555)] public class TLUpdateReadMessagesContents : TLAbsUpdate { public override int Constructor => 1757493555; public TLVector 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(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); } } }