mirror of
https://github.com/sochix/TLSharp.git
synced 2025-12-06 08:02:00 +01:00
37 lines
694 B
C#
37 lines
694 B
C#
using System.IO;
|
|
namespace TeleSharp.TL.Auth
|
|
{
|
|
[TLObject(-2128698738)]
|
|
public class TLCheckedPhone : TLObject
|
|
{
|
|
public override int Constructor
|
|
{
|
|
get
|
|
{
|
|
return -2128698738;
|
|
}
|
|
}
|
|
|
|
public bool phone_registered { get; set; }
|
|
|
|
|
|
public void ComputeFlags()
|
|
{
|
|
|
|
}
|
|
|
|
public override void DeserializeBody(BinaryReader br)
|
|
{
|
|
phone_registered = BoolUtil.Deserialize(br);
|
|
|
|
}
|
|
|
|
public override void SerializeBody(BinaryWriter bw)
|
|
{
|
|
bw.Write(Constructor);
|
|
BoolUtil.Serialize(phone_registered, bw);
|
|
|
|
}
|
|
}
|
|
}
|