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

38 lines
940 B
C#

using System.IO;
namespace TeleSharp.TL.Account
{
[TLObject(1430961007)]
public class TLPrivacyRules : TLObject
{
public override int Constructor
{
get
{
return 1430961007;
}
}
public TLVector<TLAbsPrivacyRule> Rules { get; set; }
public TLVector<TLAbsUser> Users { get; set; }
public void ComputeFlags()
{
}
public override void DeserializeBody(BinaryReader br)
{
Rules = (TLVector<TLAbsPrivacyRule>)ObjectUtils.DeserializeVector<TLAbsPrivacyRule>(br);
Users = (TLVector<TLAbsUser>)ObjectUtils.DeserializeVector<TLAbsUser>(br);
}
public override void SerializeBody(BinaryWriter bw)
{
bw.Write(Constructor);
ObjectUtils.SerializeObject(Rules, bw);
ObjectUtils.SerializeObject(Users, bw);
}
}
}