mirror of
https://github.com/sochix/TLSharp.git
synced 2026-04-06 06:55:06 +00:00
parent
0d55940c12
commit
133b9fdf6c
784 changed files with 17201 additions and 10048 deletions
|
|
@ -1,13 +0,0 @@
|
|||
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.Help
|
||||
{
|
||||
public abstract class TLAbsAppChangelog : TLObject
|
||||
{
|
||||
}
|
||||
}
|
||||
|
|
@ -1,39 +0,0 @@
|
|||
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.Help
|
||||
{
|
||||
[TLObject(-1350696044)]
|
||||
public class TLAppChangelogEmpty : TLAbsAppChangelog
|
||||
{
|
||||
public override int Constructor
|
||||
{
|
||||
get
|
||||
{
|
||||
return -1350696044;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void ComputeFlags()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public override void DeserializeBody(BinaryReader br)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public override void SerializeBody(BinaryWriter bw)
|
||||
{
|
||||
bw.Write(Constructor);
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -7,7 +7,7 @@ using System.Threading.Tasks;
|
|||
using TeleSharp.TL;
|
||||
namespace TeleSharp.TL.Help
|
||||
{
|
||||
[TLObject(-1987579119)]
|
||||
[TLObject(-1987579119)]
|
||||
public class TLAppUpdate : TLAbsAppUpdate
|
||||
{
|
||||
public override int Constructor
|
||||
|
|
@ -18,33 +18,33 @@ namespace TeleSharp.TL.Help
|
|||
}
|
||||
}
|
||||
|
||||
public int id {get;set;}
|
||||
public bool critical {get;set;}
|
||||
public string url {get;set;}
|
||||
public string text {get;set;}
|
||||
public int id { get; set; }
|
||||
public bool critical { get; set; }
|
||||
public string url { get; set; }
|
||||
public string text { get; set; }
|
||||
|
||||
|
||||
public void ComputeFlags()
|
||||
{
|
||||
|
||||
}
|
||||
public void ComputeFlags()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public override void DeserializeBody(BinaryReader br)
|
||||
{
|
||||
id = br.ReadInt32();
|
||||
critical = BoolUtil.Deserialize(br);
|
||||
url = StringUtil.Deserialize(br);
|
||||
text = StringUtil.Deserialize(br);
|
||||
critical = BoolUtil.Deserialize(br);
|
||||
url = StringUtil.Deserialize(br);
|
||||
text = StringUtil.Deserialize(br);
|
||||
|
||||
}
|
||||
|
||||
public override void SerializeBody(BinaryWriter bw)
|
||||
{
|
||||
bw.Write(Constructor);
|
||||
bw.Write(Constructor);
|
||||
bw.Write(id);
|
||||
BoolUtil.Serialize(critical,bw);
|
||||
StringUtil.Serialize(url,bw);
|
||||
StringUtil.Serialize(text,bw);
|
||||
BoolUtil.Serialize(critical, bw);
|
||||
StringUtil.Serialize(url, bw);
|
||||
StringUtil.Serialize(text, bw);
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ using System.Threading.Tasks;
|
|||
using TeleSharp.TL;
|
||||
namespace TeleSharp.TL.Help
|
||||
{
|
||||
[TLObject(415997816)]
|
||||
[TLObject(415997816)]
|
||||
public class TLInviteText : TLObject
|
||||
{
|
||||
public override int Constructor
|
||||
|
|
@ -18,13 +18,13 @@ namespace TeleSharp.TL.Help
|
|||
}
|
||||
}
|
||||
|
||||
public string message {get;set;}
|
||||
public string message { get; set; }
|
||||
|
||||
|
||||
public void ComputeFlags()
|
||||
{
|
||||
|
||||
}
|
||||
public void ComputeFlags()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public override void DeserializeBody(BinaryReader br)
|
||||
{
|
||||
|
|
@ -34,8 +34,8 @@ namespace TeleSharp.TL.Help
|
|||
|
||||
public override void SerializeBody(BinaryWriter bw)
|
||||
{
|
||||
bw.Write(Constructor);
|
||||
StringUtil.Serialize(message,bw);
|
||||
bw.Write(Constructor);
|
||||
StringUtil.Serialize(message, bw);
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ using System.Threading.Tasks;
|
|||
using TeleSharp.TL;
|
||||
namespace TeleSharp.TL.Help
|
||||
{
|
||||
[TLObject(-1000708810)]
|
||||
[TLObject(-1000708810)]
|
||||
public class TLNoAppUpdate : TLAbsAppUpdate
|
||||
{
|
||||
public override int Constructor
|
||||
|
|
@ -18,22 +18,22 @@ namespace TeleSharp.TL.Help
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void ComputeFlags()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public void ComputeFlags()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public override void DeserializeBody(BinaryReader br)
|
||||
{
|
||||
|
||||
|
||||
}
|
||||
|
||||
public override void SerializeBody(BinaryWriter bw)
|
||||
{
|
||||
bw.Write(Constructor);
|
||||
|
||||
bw.Write(Constructor);
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,39 +7,42 @@ using System.Threading.Tasks;
|
|||
using TeleSharp.TL;
|
||||
namespace TeleSharp.TL.Help
|
||||
{
|
||||
[TLObject(-1189013126)]
|
||||
[TLObject(-1877938321)]
|
||||
public class TLRequestGetAppChangelog : TLMethod
|
||||
{
|
||||
public override int Constructor
|
||||
{
|
||||
get
|
||||
{
|
||||
return -1189013126;
|
||||
return -1877938321;
|
||||
}
|
||||
}
|
||||
|
||||
public Help.TLAbsAppChangelog Response{ get; set;}
|
||||
public string prev_app_version { get; set; }
|
||||
public TLAbsUpdates Response { get; set; }
|
||||
|
||||
|
||||
public void ComputeFlags()
|
||||
{
|
||||
|
||||
}
|
||||
public void ComputeFlags()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public override void DeserializeBody(BinaryReader br)
|
||||
{
|
||||
|
||||
prev_app_version = StringUtil.Deserialize(br);
|
||||
|
||||
}
|
||||
|
||||
public override void SerializeBody(BinaryWriter bw)
|
||||
{
|
||||
bw.Write(Constructor);
|
||||
|
||||
}
|
||||
public override void deserializeResponse(BinaryReader br)
|
||||
{
|
||||
Response = (Help.TLAbsAppChangelog)ObjectUtils.DeserializeObject(br);
|
||||
bw.Write(Constructor);
|
||||
StringUtil.Serialize(prev_app_version, bw);
|
||||
|
||||
}
|
||||
}
|
||||
public override void deserializeResponse(BinaryReader br)
|
||||
{
|
||||
Response = (TLAbsUpdates)ObjectUtils.DeserializeObject(br);
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ using System.Threading.Tasks;
|
|||
using TeleSharp.TL;
|
||||
namespace TeleSharp.TL.Help
|
||||
{
|
||||
[TLObject(-1372724842)]
|
||||
[TLObject(-1372724842)]
|
||||
public class TLRequestGetAppUpdate : TLMethod
|
||||
{
|
||||
public override int Constructor
|
||||
|
|
@ -18,28 +18,28 @@ namespace TeleSharp.TL.Help
|
|||
}
|
||||
}
|
||||
|
||||
public Help.TLAbsAppUpdate Response{ get; set;}
|
||||
public Help.TLAbsAppUpdate Response { get; set; }
|
||||
|
||||
|
||||
public void ComputeFlags()
|
||||
{
|
||||
|
||||
}
|
||||
public void ComputeFlags()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public override void DeserializeBody(BinaryReader br)
|
||||
{
|
||||
|
||||
|
||||
}
|
||||
|
||||
public override void SerializeBody(BinaryWriter bw)
|
||||
{
|
||||
bw.Write(Constructor);
|
||||
|
||||
}
|
||||
public override void deserializeResponse(BinaryReader br)
|
||||
{
|
||||
Response = (Help.TLAbsAppUpdate)ObjectUtils.DeserializeObject(br);
|
||||
bw.Write(Constructor);
|
||||
|
||||
}
|
||||
}
|
||||
public override void deserializeResponse(BinaryReader br)
|
||||
{
|
||||
Response = (Help.TLAbsAppUpdate)ObjectUtils.DeserializeObject(br);
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,35 +7,38 @@ using System.Threading.Tasks;
|
|||
using TeleSharp.TL;
|
||||
namespace TeleSharp.TL.Help
|
||||
{
|
||||
[TLObject(1181279933)]
|
||||
public class TLAppChangelog : TLAbsAppChangelog
|
||||
[TLObject(1375900482)]
|
||||
public class TLRequestGetCdnConfig : TLMethod
|
||||
{
|
||||
public override int Constructor
|
||||
{
|
||||
get
|
||||
{
|
||||
return 1181279933;
|
||||
return 1375900482;
|
||||
}
|
||||
}
|
||||
|
||||
public string text {get;set;}
|
||||
public TLCdnConfig Response { get; set; }
|
||||
|
||||
|
||||
public void ComputeFlags()
|
||||
{
|
||||
|
||||
}
|
||||
public void ComputeFlags()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public override void DeserializeBody(BinaryReader br)
|
||||
{
|
||||
text = StringUtil.Deserialize(br);
|
||||
|
||||
}
|
||||
|
||||
public override void SerializeBody(BinaryWriter bw)
|
||||
{
|
||||
bw.Write(Constructor);
|
||||
StringUtil.Serialize(text,bw);
|
||||
bw.Write(Constructor);
|
||||
|
||||
}
|
||||
public override void deserializeResponse(BinaryReader br)
|
||||
{
|
||||
Response = (TLCdnConfig)ObjectUtils.DeserializeObject(br);
|
||||
|
||||
}
|
||||
}
|
||||
|
|
@ -7,7 +7,7 @@ using System.Threading.Tasks;
|
|||
using TeleSharp.TL;
|
||||
namespace TeleSharp.TL.Help
|
||||
{
|
||||
[TLObject(-990308245)]
|
||||
[TLObject(-990308245)]
|
||||
public class TLRequestGetConfig : TLMethod
|
||||
{
|
||||
public override int Constructor
|
||||
|
|
@ -18,28 +18,28 @@ namespace TeleSharp.TL.Help
|
|||
}
|
||||
}
|
||||
|
||||
public TLConfig Response{ get; set;}
|
||||
public TLConfig Response { get; set; }
|
||||
|
||||
|
||||
public void ComputeFlags()
|
||||
{
|
||||
|
||||
}
|
||||
public void ComputeFlags()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public override void DeserializeBody(BinaryReader br)
|
||||
{
|
||||
|
||||
|
||||
}
|
||||
|
||||
public override void SerializeBody(BinaryWriter bw)
|
||||
{
|
||||
bw.Write(Constructor);
|
||||
|
||||
}
|
||||
public override void deserializeResponse(BinaryReader br)
|
||||
{
|
||||
Response = (TLConfig)ObjectUtils.DeserializeObject(br);
|
||||
bw.Write(Constructor);
|
||||
|
||||
}
|
||||
}
|
||||
public override void deserializeResponse(BinaryReader br)
|
||||
{
|
||||
Response = (TLConfig)ObjectUtils.DeserializeObject(br);
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ using System.Threading.Tasks;
|
|||
using TeleSharp.TL;
|
||||
namespace TeleSharp.TL.Help
|
||||
{
|
||||
[TLObject(1295590211)]
|
||||
[TLObject(1295590211)]
|
||||
public class TLRequestGetInviteText : TLMethod
|
||||
{
|
||||
public override int Constructor
|
||||
|
|
@ -18,28 +18,28 @@ namespace TeleSharp.TL.Help
|
|||
}
|
||||
}
|
||||
|
||||
public Help.TLInviteText Response{ get; set;}
|
||||
public Help.TLInviteText Response { get; set; }
|
||||
|
||||
|
||||
public void ComputeFlags()
|
||||
{
|
||||
|
||||
}
|
||||
public void ComputeFlags()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public override void DeserializeBody(BinaryReader br)
|
||||
{
|
||||
|
||||
|
||||
}
|
||||
|
||||
public override void SerializeBody(BinaryWriter bw)
|
||||
{
|
||||
bw.Write(Constructor);
|
||||
|
||||
}
|
||||
public override void deserializeResponse(BinaryReader br)
|
||||
{
|
||||
Response = (Help.TLInviteText)ObjectUtils.DeserializeObject(br);
|
||||
bw.Write(Constructor);
|
||||
|
||||
}
|
||||
}
|
||||
public override void deserializeResponse(BinaryReader br)
|
||||
{
|
||||
Response = (Help.TLInviteText)ObjectUtils.DeserializeObject(br);
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ using System.Threading.Tasks;
|
|||
using TeleSharp.TL;
|
||||
namespace TeleSharp.TL.Help
|
||||
{
|
||||
[TLObject(531836966)]
|
||||
[TLObject(531836966)]
|
||||
public class TLRequestGetNearestDc : TLMethod
|
||||
{
|
||||
public override int Constructor
|
||||
|
|
@ -18,28 +18,28 @@ namespace TeleSharp.TL.Help
|
|||
}
|
||||
}
|
||||
|
||||
public TLNearestDc Response{ get; set;}
|
||||
public TLNearestDc Response { get; set; }
|
||||
|
||||
|
||||
public void ComputeFlags()
|
||||
{
|
||||
|
||||
}
|
||||
public void ComputeFlags()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public override void DeserializeBody(BinaryReader br)
|
||||
{
|
||||
|
||||
|
||||
}
|
||||
|
||||
public override void SerializeBody(BinaryWriter bw)
|
||||
{
|
||||
bw.Write(Constructor);
|
||||
|
||||
}
|
||||
public override void deserializeResponse(BinaryReader br)
|
||||
{
|
||||
Response = (TLNearestDc)ObjectUtils.DeserializeObject(br);
|
||||
bw.Write(Constructor);
|
||||
|
||||
}
|
||||
}
|
||||
public override void deserializeResponse(BinaryReader br)
|
||||
{
|
||||
Response = (TLNearestDc)ObjectUtils.DeserializeObject(br);
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ using System.Threading.Tasks;
|
|||
using TeleSharp.TL;
|
||||
namespace TeleSharp.TL.Help
|
||||
{
|
||||
[TLObject(-1663104819)]
|
||||
[TLObject(-1663104819)]
|
||||
public class TLRequestGetSupport : TLMethod
|
||||
{
|
||||
public override int Constructor
|
||||
|
|
@ -18,28 +18,28 @@ namespace TeleSharp.TL.Help
|
|||
}
|
||||
}
|
||||
|
||||
public Help.TLSupport Response{ get; set;}
|
||||
public Help.TLSupport Response { get; set; }
|
||||
|
||||
|
||||
public void ComputeFlags()
|
||||
{
|
||||
|
||||
}
|
||||
public void ComputeFlags()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public override void DeserializeBody(BinaryReader br)
|
||||
{
|
||||
|
||||
|
||||
}
|
||||
|
||||
public override void SerializeBody(BinaryWriter bw)
|
||||
{
|
||||
bw.Write(Constructor);
|
||||
|
||||
}
|
||||
public override void deserializeResponse(BinaryReader br)
|
||||
{
|
||||
Response = (Help.TLSupport)ObjectUtils.DeserializeObject(br);
|
||||
bw.Write(Constructor);
|
||||
|
||||
}
|
||||
}
|
||||
public override void deserializeResponse(BinaryReader br)
|
||||
{
|
||||
Response = (Help.TLSupport)ObjectUtils.DeserializeObject(br);
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ using System.Threading.Tasks;
|
|||
using TeleSharp.TL;
|
||||
namespace TeleSharp.TL.Help
|
||||
{
|
||||
[TLObject(889286899)]
|
||||
[TLObject(889286899)]
|
||||
public class TLRequestGetTermsOfService : TLMethod
|
||||
{
|
||||
public override int Constructor
|
||||
|
|
@ -18,28 +18,28 @@ namespace TeleSharp.TL.Help
|
|||
}
|
||||
}
|
||||
|
||||
public Help.TLTermsOfService Response{ get; set;}
|
||||
public Help.TLTermsOfService Response { get; set; }
|
||||
|
||||
|
||||
public void ComputeFlags()
|
||||
{
|
||||
|
||||
}
|
||||
public void ComputeFlags()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public override void DeserializeBody(BinaryReader br)
|
||||
{
|
||||
|
||||
|
||||
}
|
||||
|
||||
public override void SerializeBody(BinaryWriter bw)
|
||||
{
|
||||
bw.Write(Constructor);
|
||||
|
||||
}
|
||||
public override void deserializeResponse(BinaryReader br)
|
||||
{
|
||||
Response = (Help.TLTermsOfService)ObjectUtils.DeserializeObject(br);
|
||||
bw.Write(Constructor);
|
||||
|
||||
}
|
||||
}
|
||||
public override void deserializeResponse(BinaryReader br)
|
||||
{
|
||||
Response = (Help.TLTermsOfService)ObjectUtils.DeserializeObject(br);
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ using System.Threading.Tasks;
|
|||
using TeleSharp.TL;
|
||||
namespace TeleSharp.TL.Help
|
||||
{
|
||||
[TLObject(1862465352)]
|
||||
[TLObject(1862465352)]
|
||||
public class TLRequestSaveAppLog : TLMethod
|
||||
{
|
||||
public override int Constructor
|
||||
|
|
@ -18,14 +18,14 @@ namespace TeleSharp.TL.Help
|
|||
}
|
||||
}
|
||||
|
||||
public TLVector<TLInputAppEvent> events {get;set;}
|
||||
public bool Response{ get; set;}
|
||||
public TLVector<TLInputAppEvent> events { get; set; }
|
||||
public bool Response { get; set; }
|
||||
|
||||
|
||||
public void ComputeFlags()
|
||||
{
|
||||
|
||||
}
|
||||
public void ComputeFlags()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public override void DeserializeBody(BinaryReader br)
|
||||
{
|
||||
|
|
@ -35,14 +35,14 @@ namespace TeleSharp.TL.Help
|
|||
|
||||
public override void SerializeBody(BinaryWriter bw)
|
||||
{
|
||||
bw.Write(Constructor);
|
||||
ObjectUtils.SerializeObject(events,bw);
|
||||
bw.Write(Constructor);
|
||||
ObjectUtils.SerializeObject(events, bw);
|
||||
|
||||
}
|
||||
public override void deserializeResponse(BinaryReader br)
|
||||
{
|
||||
Response = BoolUtil.Deserialize(br);
|
||||
public override void deserializeResponse(BinaryReader br)
|
||||
{
|
||||
Response = BoolUtil.Deserialize(br);
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
51
TeleSharp.TL/TL/Help/TLRequestSetBotUpdatesStatus.cs
Normal file
51
TeleSharp.TL/TL/Help/TLRequestSetBotUpdatesStatus.cs
Normal file
|
|
@ -0,0 +1,51 @@
|
|||
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.Help
|
||||
{
|
||||
[TLObject(-333262899)]
|
||||
public class TLRequestSetBotUpdatesStatus : TLMethod
|
||||
{
|
||||
public override int Constructor
|
||||
{
|
||||
get
|
||||
{
|
||||
return -333262899;
|
||||
}
|
||||
}
|
||||
|
||||
public int pending_updates_count { get; set; }
|
||||
public string message { get; set; }
|
||||
public bool Response { get; set; }
|
||||
|
||||
|
||||
public void ComputeFlags()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public override void DeserializeBody(BinaryReader br)
|
||||
{
|
||||
pending_updates_count = br.ReadInt32();
|
||||
message = StringUtil.Deserialize(br);
|
||||
|
||||
}
|
||||
|
||||
public override void SerializeBody(BinaryWriter bw)
|
||||
{
|
||||
bw.Write(Constructor);
|
||||
bw.Write(pending_updates_count);
|
||||
StringUtil.Serialize(message, bw);
|
||||
|
||||
}
|
||||
public override void deserializeResponse(BinaryReader br)
|
||||
{
|
||||
Response = BoolUtil.Deserialize(br);
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -7,7 +7,7 @@ using System.Threading.Tasks;
|
|||
using TeleSharp.TL;
|
||||
namespace TeleSharp.TL.Help
|
||||
{
|
||||
[TLObject(398898678)]
|
||||
[TLObject(398898678)]
|
||||
public class TLSupport : TLObject
|
||||
{
|
||||
public override int Constructor
|
||||
|
|
@ -18,27 +18,27 @@ namespace TeleSharp.TL.Help
|
|||
}
|
||||
}
|
||||
|
||||
public string phone_number {get;set;}
|
||||
public TLAbsUser user {get;set;}
|
||||
public string phone_number { get; set; }
|
||||
public TLAbsUser user { get; set; }
|
||||
|
||||
|
||||
public void ComputeFlags()
|
||||
{
|
||||
|
||||
}
|
||||
public void ComputeFlags()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public override void DeserializeBody(BinaryReader br)
|
||||
{
|
||||
phone_number = StringUtil.Deserialize(br);
|
||||
user = (TLAbsUser)ObjectUtils.DeserializeObject(br);
|
||||
user = (TLAbsUser)ObjectUtils.DeserializeObject(br);
|
||||
|
||||
}
|
||||
|
||||
public override void SerializeBody(BinaryWriter bw)
|
||||
{
|
||||
bw.Write(Constructor);
|
||||
StringUtil.Serialize(phone_number,bw);
|
||||
ObjectUtils.SerializeObject(user,bw);
|
||||
bw.Write(Constructor);
|
||||
StringUtil.Serialize(phone_number, bw);
|
||||
ObjectUtils.SerializeObject(user, bw);
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ using System.Threading.Tasks;
|
|||
using TeleSharp.TL;
|
||||
namespace TeleSharp.TL.Help
|
||||
{
|
||||
[TLObject(-236044656)]
|
||||
[TLObject(-236044656)]
|
||||
public class TLTermsOfService : TLObject
|
||||
{
|
||||
public override int Constructor
|
||||
|
|
@ -18,13 +18,13 @@ namespace TeleSharp.TL.Help
|
|||
}
|
||||
}
|
||||
|
||||
public string text {get;set;}
|
||||
public string text { get; set; }
|
||||
|
||||
|
||||
public void ComputeFlags()
|
||||
{
|
||||
|
||||
}
|
||||
public void ComputeFlags()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public override void DeserializeBody(BinaryReader br)
|
||||
{
|
||||
|
|
@ -34,8 +34,8 @@ namespace TeleSharp.TL.Help
|
|||
|
||||
public override void SerializeBody(BinaryWriter bw)
|
||||
{
|
||||
bw.Write(Constructor);
|
||||
StringUtil.Serialize(text,bw);
|
||||
bw.Write(Constructor);
|
||||
StringUtil.Serialize(text, bw);
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue