TLSharp/TeleSharp.TL/TL/Messages/TLAffectedHistory.cs

49 lines
993 B
C#
Raw Permalink Normal View History

2016-09-24 15:38:26 +02:00
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.Messages
{
[TLObject(-1269012015)]
2016-09-24 15:38:26 +02:00
public class TLAffectedHistory : TLObject
{
public override int Constructor
{
get
{
return -1269012015;
}
}
public int Pts { get; set; }
public int PtsCount { get; set; }
public int Offset { get; set; }
2016-09-24 15:38:26 +02:00
public void ComputeFlags()
{
}
2016-09-24 15:38:26 +02:00
public override void DeserializeBody(BinaryReader br)
{
Pts = br.ReadInt32();
PtsCount = br.ReadInt32();
Offset = br.ReadInt32();
2016-09-24 15:38:26 +02:00
}
public override void SerializeBody(BinaryWriter bw)
{
bw.Write(Constructor);
bw.Write(Pts);
bw.Write(PtsCount);
bw.Write(Offset);
2016-09-24 15:38:26 +02:00
}
}
}