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

38 lines
800 B
C#

using System.IO;
namespace TeleSharp.TL
{
[TLObject(-892239370)]
public class TLLangPackString : TLAbsLangPackString
{
public override int Constructor
{
get
{
return -892239370;
}
}
public string Key { get; set; }
public string Value { get; set; }
public void ComputeFlags()
{
}
public override void DeserializeBody(BinaryReader br)
{
Key = StringUtil.Deserialize(br);
Value = StringUtil.Deserialize(br);
}
public override void SerializeBody(BinaryWriter bw)
{
bw.Write(Constructor);
StringUtil.Serialize(Key, bw);
StringUtil.Serialize(Value, bw);
}
}
}