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

38 lines
765 B
C#

using System.IO;
namespace TeleSharp.TL.Auth
{
[TLObject(-543777747)]
public class TLExportedAuthorization : TLObject
{
public byte[] Bytes { get; set; }
public override int Constructor
{
get
{
return -543777747;
}
}
public int Id { get; set; }
public void ComputeFlags()
{
}
public override void DeserializeBody(BinaryReader br)
{
Id = br.ReadInt32();
Bytes = BytesUtil.Deserialize(br);
}
public override void SerializeBody(BinaryWriter bw)
{
bw.Write(Constructor);
bw.Write(Id);
BytesUtil.Serialize(Bytes, bw);
}
}
}