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

41 lines
960 B
C#

using System.IO;
namespace TeleSharp.TL.Account
{
[TLObject(-1131605573)]
public class TLRequestGetPasswordSettings : TLMethod
{
public override int Constructor
{
get
{
return -1131605573;
}
}
public byte[] CurrentPasswordHash { get; set; }
public Account.TLPasswordSettings Response { get; set; }
public void ComputeFlags()
{
}
public override void DeserializeBody(BinaryReader br)
{
CurrentPasswordHash = BytesUtil.Deserialize(br);
}
public override void DeserializeResponse(BinaryReader br)
{
Response = (Account.TLPasswordSettings)ObjectUtils.DeserializeObject(br);
}
public override void SerializeBody(BinaryWriter bw)
{
bw.Write(Constructor);
BytesUtil.Serialize(CurrentPasswordHash, bw);
}
}
}