TLSharp/TeleSharp.TL/TL/TLNearestDc.cs
Andrzej Gołaszewski ca3a71e39a update to layer 71
code formatting
2017-12-20 12:06:31 +01:00

42 lines
887 B
C#

using System.IO;
namespace TeleSharp.TL
{
[TLObject(-1910892683)]
public class TLNearestDc : TLObject
{
public override int Constructor
{
get
{
return -1910892683;
}
}
public string Country { get; set; }
public int NearestDc { get; set; }
public int ThisDc { get; set; }
public void ComputeFlags()
{
}
public override void DeserializeBody(BinaryReader br)
{
Country = StringUtil.Deserialize(br);
ThisDc = br.ReadInt32();
NearestDc = br.ReadInt32();
}
public override void SerializeBody(BinaryWriter bw)
{
bw.Write(Constructor);
StringUtil.Serialize(Country, bw);
bw.Write(ThisDc);
bw.Write(NearestDc);
}
}
}