mirror of
https://github.com/sochix/TLSharp.git
synced 2026-04-04 14:08:35 +00:00
parent
0d55940c12
commit
133b9fdf6c
784 changed files with 17201 additions and 10048 deletions
|
|
@ -7,7 +7,7 @@ using System.Threading.Tasks;
|
|||
using TeleSharp.TL;
|
||||
namespace TeleSharp.TL.Account
|
||||
{
|
||||
[TLObject(1596029123)]
|
||||
[TLObject(1596029123)]
|
||||
public class TLRequestConfirmPhone : TLMethod
|
||||
{
|
||||
public override int Constructor
|
||||
|
|
@ -18,34 +18,34 @@ namespace TeleSharp.TL.Account
|
|||
}
|
||||
}
|
||||
|
||||
public string phone_code_hash {get;set;}
|
||||
public string phone_code {get;set;}
|
||||
public bool Response{ get; set;}
|
||||
public string phone_code_hash { get; set; }
|
||||
public string phone_code { get; set; }
|
||||
public bool Response { get; set; }
|
||||
|
||||
|
||||
public void ComputeFlags()
|
||||
{
|
||||
|
||||
}
|
||||
public void ComputeFlags()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public override void DeserializeBody(BinaryReader br)
|
||||
{
|
||||
phone_code_hash = StringUtil.Deserialize(br);
|
||||
phone_code = StringUtil.Deserialize(br);
|
||||
phone_code = StringUtil.Deserialize(br);
|
||||
|
||||
}
|
||||
|
||||
public override void SerializeBody(BinaryWriter bw)
|
||||
{
|
||||
bw.Write(Constructor);
|
||||
StringUtil.Serialize(phone_code_hash,bw);
|
||||
StringUtil.Serialize(phone_code,bw);
|
||||
bw.Write(Constructor);
|
||||
StringUtil.Serialize(phone_code_hash, bw);
|
||||
StringUtil.Serialize(phone_code, bw);
|
||||
|
||||
}
|
||||
public override void deserializeResponse(BinaryReader br)
|
||||
{
|
||||
Response = BoolUtil.Deserialize(br);
|
||||
public override void deserializeResponse(BinaryReader br)
|
||||
{
|
||||
Response = BoolUtil.Deserialize(br);
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue