mirror of
https://github.com/sochix/TLSharp.git
synced 2025-12-06 08:02:00 +01:00
31 lines
650 B
C#
31 lines
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);
|
|
}
|
|
}
|
|
} |