TLSharp/TeleSharp.TL/TL/TLUpdateNotifySettings.cs
2017-04-13 13:38:01 +07:00

31 lines
846 B
C#

using System.IO;
namespace TeleSharp.TL
{
[TLObject(-1094555409)]
public class TLUpdateNotifySettings : TLAbsUpdate
{
public override int Constructor => -1094555409;
public TLAbsNotifyPeer peer { get; set; }
public TLAbsPeerNotifySettings notify_settings { get; set; }
public void ComputeFlags()
{
}
public override void DeserializeBody(BinaryReader br)
{
peer = (TLAbsNotifyPeer) ObjectUtils.DeserializeObject(br);
notify_settings = (TLAbsPeerNotifySettings) ObjectUtils.DeserializeObject(br);
}
public override void SerializeBody(BinaryWriter bw)
{
bw.Write(Constructor);
ObjectUtils.SerializeObject(peer, bw);
ObjectUtils.SerializeObject(notify_settings, bw);
}
}
}