TLSharp/TeleSharp.TL/TL/TLUpdateUserPhone.cs
2017-11-09 19:37:09 +08:00

46 lines
907 B
C#

using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TeleSharp.TL;
namespace TeleSharp.TL
{
[TLObject(314130811)]
public class TLUpdateUserPhone : TLAbsUpdate
{
public override int Constructor
{
get
{
return 314130811;
}
}
public int UserId { get; set; }
public string Phone { 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);
}
}
}