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

41 lines
887 B
C#

using System.IO;
namespace TeleSharp.TL.Account
{
[TLObject(608323678)]
public class TLRequestSetAccountTTL : TLMethod
{
public override int Constructor
{
get
{
return 608323678;
}
}
public bool Response { get; set; }
public TLAccountDaysTTL Ttl { get; set; }
public void ComputeFlags()
{
}
public override void DeserializeBody(BinaryReader br)
{
Ttl = (TLAccountDaysTTL)ObjectUtils.DeserializeObject(br);
}
public override void DeserializeResponse(BinaryReader br)
{
Response = BoolUtil.Deserialize(br);
}
public override void SerializeBody(BinaryWriter bw)
{
bw.Write(Constructor);
ObjectUtils.SerializeObject(Ttl, bw);
}
}
}