mirror of
https://github.com/sochix/TLSharp.git
synced 2025-12-06 08:02:00 +01:00
40 lines
966 B
C#
40 lines
966 B
C#
using System.IO;
|
|
|
|
namespace TeleSharp.TL.Updates
|
|
{
|
|
[TLObject(168039573)]
|
|
public class TLRequestGetDifference : TLMethod
|
|
{
|
|
public override int Constructor => 168039573;
|
|
|
|
public int pts { get; set; }
|
|
public int date { get; set; }
|
|
public int qts { get; set; }
|
|
public TLAbsDifference Response { get; set; }
|
|
|
|
|
|
public void ComputeFlags()
|
|
{
|
|
}
|
|
|
|
public override void DeserializeBody(BinaryReader br)
|
|
{
|
|
pts = br.ReadInt32();
|
|
date = br.ReadInt32();
|
|
qts = br.ReadInt32();
|
|
}
|
|
|
|
public override void SerializeBody(BinaryWriter bw)
|
|
{
|
|
bw.Write(Constructor);
|
|
bw.Write(pts);
|
|
bw.Write(date);
|
|
bw.Write(qts);
|
|
}
|
|
|
|
public override void deserializeResponse(BinaryReader br)
|
|
{
|
|
Response = (TLAbsDifference) ObjectUtils.DeserializeObject(br);
|
|
}
|
|
}
|
|
} |