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

41 lines
885 B
C#

using System.IO;
namespace TeleSharp.TL.Auth
{
[TLObject(-440401971)]
public class TLRequestExportAuthorization : TLMethod
{
public override int Constructor
{
get
{
return -440401971;
}
}
public int DcId { get; set; }
public Auth.TLExportedAuthorization Response { get; set; }
public void ComputeFlags()
{
}
public override void DeserializeBody(BinaryReader br)
{
DcId = br.ReadInt32();
}
public override void DeserializeResponse(BinaryReader br)
{
Response = (Auth.TLExportedAuthorization)ObjectUtils.DeserializeObject(br);
}
public override void SerializeBody(BinaryWriter bw)
{
bw.Write(Constructor);
bw.Write(DcId);
}
}
}