mirror of
https://github.com/sochix/TLSharp.git
synced 2025-12-06 08:02:00 +01:00
31 lines
799 B
C#
31 lines
799 B
C#
using System.IO;
|
|
|
|
namespace TeleSharp.TL
|
|
{
|
|
[TLObject(-298113238)]
|
|
public class TLUpdatePrivacy : TLAbsUpdate
|
|
{
|
|
public override int Constructor => -298113238;
|
|
|
|
public TLAbsPrivacyKey key { get; set; }
|
|
public TLVector<TLAbsPrivacyRule> rules { get; set; }
|
|
|
|
|
|
public void ComputeFlags()
|
|
{
|
|
}
|
|
|
|
public override void DeserializeBody(BinaryReader br)
|
|
{
|
|
key = (TLAbsPrivacyKey) ObjectUtils.DeserializeObject(br);
|
|
rules = ObjectUtils.DeserializeVector<TLAbsPrivacyRule>(br);
|
|
}
|
|
|
|
public override void SerializeBody(BinaryWriter bw)
|
|
{
|
|
bw.Write(Constructor);
|
|
ObjectUtils.SerializeObject(key, bw);
|
|
ObjectUtils.SerializeObject(rules, bw);
|
|
}
|
|
}
|
|
} |