TLSharp/TeleSharp.TL/TL/Account/TLRequestSetAccountTTL.cs
2017-11-09 01:37:23 -08:00

43 lines
889 B
C#

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