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

31 lines
687 B
C#

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