TLSharp/TeleSharp.TL/TL/Account/TLAuthorizations.cs

34 lines
769 B
C#
Raw Normal View History

2016-09-24 15:38:26 +02:00
using System.IO;
2017-12-20 12:06:31 +01:00
2016-09-24 15:38:26 +02:00
namespace TeleSharp.TL.Account
{
[TLObject(307276766)]
2016-09-24 15:38:26 +02:00
public class TLAuthorizations : TLObject
{
2017-12-20 12:06:31 +01:00
public TLVector<TLAuthorization> Authorizations { get; set; }
2016-09-24 15:38:26 +02:00
public override int Constructor
{
get
{
return 307276766;
}
}
public void ComputeFlags()
{
}
2016-09-24 15:38:26 +02:00
public override void DeserializeBody(BinaryReader br)
{
Authorizations = (TLVector<TLAuthorization>)ObjectUtils.DeserializeVector<TLAuthorization>(br);
2016-09-24 15:38:26 +02:00
}
public override void SerializeBody(BinaryWriter bw)
{
bw.Write(Constructor);
ObjectUtils.SerializeObject(Authorizations, bw);
2016-09-24 15:38:26 +02:00
}
}
}