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

38 lines
757 B
C#

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