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

38 lines
769 B
C#

using System.IO;
namespace TeleSharp.TL
{
[TLObject(314130811)]
public class TLUpdateUserPhone : TLAbsUpdate
{
public override int Constructor
{
get
{
return 314130811;
}
}
public string Phone { get; set; }
public int UserId { get; set; }
public void ComputeFlags()
{
}
public override void DeserializeBody(BinaryReader br)
{
UserId = br.ReadInt32();
Phone = StringUtil.Deserialize(br);
}
public override void SerializeBody(BinaryWriter bw)
{
bw.Write(Constructor);
bw.Write(UserId);
StringUtil.Serialize(Phone, bw);
}
}
}