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

41 lines
896 B
C#

using System.IO;
namespace TeleSharp.TL.Auth
{
[TLObject(1319464594)]
public class TLRequestRecoverPassword : TLMethod
{
public string Code { get; set; }
public override int Constructor
{
get
{
return 1319464594;
}
}
public Auth.TLAuthorization Response { get; set; }
public void ComputeFlags()
{
}
public override void DeserializeBody(BinaryReader br)
{
Code = StringUtil.Deserialize(br);
}
public override void DeserializeResponse(BinaryReader br)
{
Response = (Auth.TLAuthorization)ObjectUtils.DeserializeObject(br);
}
public override void SerializeBody(BinaryWriter bw)
{
bw.Write(Constructor);
StringUtil.Serialize(Code, bw);
}
}
}