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

41 lines
825 B
C#

using System.IO;
namespace TeleSharp.TL.Account
{
[TLObject(-545786948)]
public class TLRequestResetAuthorization : TLMethod
{
public override int Constructor
{
get
{
return -545786948;
}
}
public long Hash { get; set; }
public bool Response { get; set; }
public void ComputeFlags()
{
}
public override void DeserializeBody(BinaryReader br)
{
Hash = br.ReadInt64();
}
public override void DeserializeResponse(BinaryReader br)
{
Response = BoolUtil.Deserialize(br);
}
public override void SerializeBody(BinaryWriter bw)
{
bw.Write(Constructor);
bw.Write(Hash);
}
}
}