mirror of
https://github.com/sochix/TLSharp.git
synced 2026-04-07 07:25:24 +00:00
31 lines
No EOL
650 B
C#
31 lines
No EOL
650 B
C#
using System.IO;
|
|
|
|
namespace TeleSharp.TL
|
|
{
|
|
[TLObject(182649427)]
|
|
public class TLMessageRange : TLObject
|
|
{
|
|
public override int Constructor => 182649427;
|
|
|
|
public int min_id { get; set; }
|
|
public int max_id { get; set; }
|
|
|
|
|
|
public void ComputeFlags()
|
|
{
|
|
}
|
|
|
|
public override void DeserializeBody(BinaryReader br)
|
|
{
|
|
min_id = br.ReadInt32();
|
|
max_id = br.ReadInt32();
|
|
}
|
|
|
|
public override void SerializeBody(BinaryWriter bw)
|
|
{
|
|
bw.Write(Constructor);
|
|
bw.Write(min_id);
|
|
bw.Write(max_id);
|
|
}
|
|
}
|
|
} |