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

38 lines
775 B
C#

using System.IO;
namespace TeleSharp.TL
{
[TLObject(-2131957734)]
public class TLUpdateUserBlocked : TLAbsUpdate
{
public bool Blocked { get; set; }
public override int Constructor
{
get
{
return -2131957734;
}
}
public int UserId { get; set; }
public void ComputeFlags()
{
}
public override void DeserializeBody(BinaryReader br)
{
UserId = br.ReadInt32();
Blocked = BoolUtil.Deserialize(br);
}
public override void SerializeBody(BinaryWriter bw)
{
bw.Write(Constructor);
bw.Write(UserId);
BoolUtil.Serialize(Blocked, bw);
}
}
}