mirror of
https://github.com/sochix/TLSharp.git
synced 2026-04-07 15:36:23 +00:00
apply resharper's code style
This commit is contained in:
parent
1697db9d7f
commit
7fad829dd2
776 changed files with 14393 additions and 24502 deletions
|
|
@ -1,13 +1,6 @@
|
|||
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,13 +1,6 @@
|
|||
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 TLAbsAppUpdate : TLObject
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,42 +1,28 @@
|
|||
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(1181279933)]
|
||||
[TLObject(1181279933)]
|
||||
public class TLAppChangelog : TLAbsAppChangelog
|
||||
{
|
||||
public override int Constructor
|
||||
public override int Constructor => 1181279933;
|
||||
|
||||
public string text { get; set; }
|
||||
|
||||
|
||||
public void ComputeFlags()
|
||||
{
|
||||
get
|
||||
{
|
||||
return 1181279933;
|
||||
}
|
||||
}
|
||||
|
||||
public string text {get;set;}
|
||||
|
||||
|
||||
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);
|
||||
StringUtil.Serialize(text, bw);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,39 +1,24 @@
|
|||
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)]
|
||||
[TLObject(-1350696044)]
|
||||
public class TLAppChangelogEmpty : TLAbsAppChangelog
|
||||
{
|
||||
public override int Constructor
|
||||
public override int Constructor => -1350696044;
|
||||
|
||||
|
||||
public void ComputeFlags()
|
||||
{
|
||||
get
|
||||
{
|
||||
return -1350696044;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void ComputeFlags()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public override void DeserializeBody(BinaryReader br)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public override void SerializeBody(BinaryWriter bw)
|
||||
{
|
||||
bw.Write(Constructor);
|
||||
|
||||
bw.Write(Constructor);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,51 +1,37 @@
|
|||
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(-1987579119)]
|
||||
[TLObject(-1987579119)]
|
||||
public class TLAppUpdate : TLAbsAppUpdate
|
||||
{
|
||||
public override int Constructor
|
||||
public override int Constructor => -1987579119;
|
||||
|
||||
public int id { get; set; }
|
||||
public bool critical { get; set; }
|
||||
public string url { get; set; }
|
||||
public string text { get; set; }
|
||||
|
||||
|
||||
public void ComputeFlags()
|
||||
{
|
||||
get
|
||||
{
|
||||
return -1987579119;
|
||||
}
|
||||
}
|
||||
|
||||
public int id {get;set;}
|
||||
public bool critical {get;set;}
|
||||
public string url {get;set;}
|
||||
public string text {get;set;}
|
||||
|
||||
|
||||
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);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,42 +1,28 @@
|
|||
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(415997816)]
|
||||
[TLObject(415997816)]
|
||||
public class TLInviteText : TLObject
|
||||
{
|
||||
public override int Constructor
|
||||
public override int Constructor => 415997816;
|
||||
|
||||
public string message { get; set; }
|
||||
|
||||
|
||||
public void ComputeFlags()
|
||||
{
|
||||
get
|
||||
{
|
||||
return 415997816;
|
||||
}
|
||||
}
|
||||
|
||||
public string message {get;set;}
|
||||
|
||||
|
||||
public void ComputeFlags()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public override void DeserializeBody(BinaryReader br)
|
||||
{
|
||||
message = StringUtil.Deserialize(br);
|
||||
|
||||
}
|
||||
|
||||
public override void SerializeBody(BinaryWriter bw)
|
||||
{
|
||||
bw.Write(Constructor);
|
||||
StringUtil.Serialize(message,bw);
|
||||
|
||||
bw.Write(Constructor);
|
||||
StringUtil.Serialize(message, bw);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,39 +1,24 @@
|
|||
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(-1000708810)]
|
||||
[TLObject(-1000708810)]
|
||||
public class TLNoAppUpdate : TLAbsAppUpdate
|
||||
{
|
||||
public override int Constructor
|
||||
public override int Constructor => -1000708810;
|
||||
|
||||
|
||||
public void ComputeFlags()
|
||||
{
|
||||
get
|
||||
{
|
||||
return -1000708810;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void ComputeFlags()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public override void DeserializeBody(BinaryReader br)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public override void SerializeBody(BinaryWriter bw)
|
||||
{
|
||||
bw.Write(Constructor);
|
||||
|
||||
bw.Write(Constructor);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,45 +1,31 @@
|
|||
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(-1189013126)]
|
||||
[TLObject(-1189013126)]
|
||||
public class TLRequestGetAppChangelog : TLMethod
|
||||
{
|
||||
public override int Constructor
|
||||
public override int Constructor => -1189013126;
|
||||
|
||||
public TLAbsAppChangelog Response { get; set; }
|
||||
|
||||
|
||||
public void ComputeFlags()
|
||||
{
|
||||
get
|
||||
{
|
||||
return -1189013126;
|
||||
}
|
||||
}
|
||||
|
||||
public Help.TLAbsAppChangelog Response{ get; set;}
|
||||
|
||||
|
||||
public void ComputeFlags()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public override void DeserializeBody(BinaryReader br)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public override void SerializeBody(BinaryWriter bw)
|
||||
{
|
||||
bw.Write(Constructor);
|
||||
|
||||
bw.Write(Constructor);
|
||||
}
|
||||
public override void deserializeResponse(BinaryReader br)
|
||||
{
|
||||
Response = (Help.TLAbsAppChangelog)ObjectUtils.DeserializeObject(br);
|
||||
|
||||
}
|
||||
public override void deserializeResponse(BinaryReader br)
|
||||
{
|
||||
Response = (TLAbsAppChangelog) ObjectUtils.DeserializeObject(br);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,45 +1,31 @@
|
|||
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(-1372724842)]
|
||||
[TLObject(-1372724842)]
|
||||
public class TLRequestGetAppUpdate : TLMethod
|
||||
{
|
||||
public override int Constructor
|
||||
public override int Constructor => -1372724842;
|
||||
|
||||
public TLAbsAppUpdate Response { get; set; }
|
||||
|
||||
|
||||
public void ComputeFlags()
|
||||
{
|
||||
get
|
||||
{
|
||||
return -1372724842;
|
||||
}
|
||||
}
|
||||
|
||||
public Help.TLAbsAppUpdate Response{ get; set;}
|
||||
|
||||
|
||||
public void ComputeFlags()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public override void DeserializeBody(BinaryReader br)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public override void SerializeBody(BinaryWriter bw)
|
||||
{
|
||||
bw.Write(Constructor);
|
||||
|
||||
bw.Write(Constructor);
|
||||
}
|
||||
public override void deserializeResponse(BinaryReader br)
|
||||
{
|
||||
Response = (Help.TLAbsAppUpdate)ObjectUtils.DeserializeObject(br);
|
||||
|
||||
}
|
||||
public override void deserializeResponse(BinaryReader br)
|
||||
{
|
||||
Response = (TLAbsAppUpdate) ObjectUtils.DeserializeObject(br);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,45 +1,31 @@
|
|||
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(-990308245)]
|
||||
[TLObject(-990308245)]
|
||||
public class TLRequestGetConfig : TLMethod
|
||||
{
|
||||
public override int Constructor
|
||||
public override int Constructor => -990308245;
|
||||
|
||||
public TLConfig Response { get; set; }
|
||||
|
||||
|
||||
public void ComputeFlags()
|
||||
{
|
||||
get
|
||||
{
|
||||
return -990308245;
|
||||
}
|
||||
}
|
||||
|
||||
public TLConfig Response{ get; set;}
|
||||
|
||||
|
||||
public void ComputeFlags()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public override void DeserializeBody(BinaryReader br)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public override void SerializeBody(BinaryWriter bw)
|
||||
{
|
||||
bw.Write(Constructor);
|
||||
|
||||
bw.Write(Constructor);
|
||||
}
|
||||
public override void deserializeResponse(BinaryReader br)
|
||||
{
|
||||
Response = (TLConfig)ObjectUtils.DeserializeObject(br);
|
||||
|
||||
}
|
||||
public override void deserializeResponse(BinaryReader br)
|
||||
{
|
||||
Response = (TLConfig) ObjectUtils.DeserializeObject(br);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,45 +1,31 @@
|
|||
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(1295590211)]
|
||||
[TLObject(1295590211)]
|
||||
public class TLRequestGetInviteText : TLMethod
|
||||
{
|
||||
public override int Constructor
|
||||
public override int Constructor => 1295590211;
|
||||
|
||||
public TLInviteText Response { get; set; }
|
||||
|
||||
|
||||
public void ComputeFlags()
|
||||
{
|
||||
get
|
||||
{
|
||||
return 1295590211;
|
||||
}
|
||||
}
|
||||
|
||||
public Help.TLInviteText Response{ get; set;}
|
||||
|
||||
|
||||
public void ComputeFlags()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public override void DeserializeBody(BinaryReader br)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public override void SerializeBody(BinaryWriter bw)
|
||||
{
|
||||
bw.Write(Constructor);
|
||||
|
||||
bw.Write(Constructor);
|
||||
}
|
||||
public override void deserializeResponse(BinaryReader br)
|
||||
{
|
||||
Response = (Help.TLInviteText)ObjectUtils.DeserializeObject(br);
|
||||
|
||||
}
|
||||
public override void deserializeResponse(BinaryReader br)
|
||||
{
|
||||
Response = (TLInviteText) ObjectUtils.DeserializeObject(br);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,45 +1,31 @@
|
|||
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(531836966)]
|
||||
[TLObject(531836966)]
|
||||
public class TLRequestGetNearestDc : TLMethod
|
||||
{
|
||||
public override int Constructor
|
||||
public override int Constructor => 531836966;
|
||||
|
||||
public TLNearestDc Response { get; set; }
|
||||
|
||||
|
||||
public void ComputeFlags()
|
||||
{
|
||||
get
|
||||
{
|
||||
return 531836966;
|
||||
}
|
||||
}
|
||||
|
||||
public TLNearestDc Response{ get; set;}
|
||||
|
||||
|
||||
public void ComputeFlags()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public override void DeserializeBody(BinaryReader br)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public override void SerializeBody(BinaryWriter bw)
|
||||
{
|
||||
bw.Write(Constructor);
|
||||
|
||||
bw.Write(Constructor);
|
||||
}
|
||||
public override void deserializeResponse(BinaryReader br)
|
||||
{
|
||||
Response = (TLNearestDc)ObjectUtils.DeserializeObject(br);
|
||||
|
||||
}
|
||||
public override void deserializeResponse(BinaryReader br)
|
||||
{
|
||||
Response = (TLNearestDc) ObjectUtils.DeserializeObject(br);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,45 +1,31 @@
|
|||
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(-1663104819)]
|
||||
[TLObject(-1663104819)]
|
||||
public class TLRequestGetSupport : TLMethod
|
||||
{
|
||||
public override int Constructor
|
||||
public override int Constructor => -1663104819;
|
||||
|
||||
public TLSupport Response { get; set; }
|
||||
|
||||
|
||||
public void ComputeFlags()
|
||||
{
|
||||
get
|
||||
{
|
||||
return -1663104819;
|
||||
}
|
||||
}
|
||||
|
||||
public Help.TLSupport Response{ get; set;}
|
||||
|
||||
|
||||
public void ComputeFlags()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public override void DeserializeBody(BinaryReader br)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public override void SerializeBody(BinaryWriter bw)
|
||||
{
|
||||
bw.Write(Constructor);
|
||||
|
||||
bw.Write(Constructor);
|
||||
}
|
||||
public override void deserializeResponse(BinaryReader br)
|
||||
{
|
||||
Response = (Help.TLSupport)ObjectUtils.DeserializeObject(br);
|
||||
|
||||
}
|
||||
public override void deserializeResponse(BinaryReader br)
|
||||
{
|
||||
Response = (TLSupport) ObjectUtils.DeserializeObject(br);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,45 +1,31 @@
|
|||
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(889286899)]
|
||||
[TLObject(889286899)]
|
||||
public class TLRequestGetTermsOfService : TLMethod
|
||||
{
|
||||
public override int Constructor
|
||||
public override int Constructor => 889286899;
|
||||
|
||||
public TLTermsOfService Response { get; set; }
|
||||
|
||||
|
||||
public void ComputeFlags()
|
||||
{
|
||||
get
|
||||
{
|
||||
return 889286899;
|
||||
}
|
||||
}
|
||||
|
||||
public Help.TLTermsOfService Response{ get; set;}
|
||||
|
||||
|
||||
public void ComputeFlags()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public override void DeserializeBody(BinaryReader br)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public override void SerializeBody(BinaryWriter bw)
|
||||
{
|
||||
bw.Write(Constructor);
|
||||
|
||||
bw.Write(Constructor);
|
||||
}
|
||||
public override void deserializeResponse(BinaryReader br)
|
||||
{
|
||||
Response = (Help.TLTermsOfService)ObjectUtils.DeserializeObject(br);
|
||||
|
||||
}
|
||||
public override void deserializeResponse(BinaryReader br)
|
||||
{
|
||||
Response = (TLTermsOfService) ObjectUtils.DeserializeObject(br);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,48 +1,34 @@
|
|||
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(1862465352)]
|
||||
[TLObject(1862465352)]
|
||||
public class TLRequestSaveAppLog : TLMethod
|
||||
{
|
||||
public override int Constructor
|
||||
public override int Constructor => 1862465352;
|
||||
|
||||
public TLVector<TLInputAppEvent> events { get; set; }
|
||||
public bool Response { get; set; }
|
||||
|
||||
|
||||
public void ComputeFlags()
|
||||
{
|
||||
get
|
||||
{
|
||||
return 1862465352;
|
||||
}
|
||||
}
|
||||
|
||||
public TLVector<TLInputAppEvent> events {get;set;}
|
||||
public bool Response{ get; set;}
|
||||
|
||||
|
||||
public void ComputeFlags()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public override void DeserializeBody(BinaryReader br)
|
||||
{
|
||||
events = (TLVector<TLInputAppEvent>)ObjectUtils.DeserializeVector<TLInputAppEvent>(br);
|
||||
|
||||
events = ObjectUtils.DeserializeVector<TLInputAppEvent>(br);
|
||||
}
|
||||
|
||||
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);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,45 +1,31 @@
|
|||
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(398898678)]
|
||||
[TLObject(398898678)]
|
||||
public class TLSupport : TLObject
|
||||
{
|
||||
public override int Constructor
|
||||
public override int Constructor => 398898678;
|
||||
|
||||
public string phone_number { get; set; }
|
||||
public TLAbsUser user { get; set; }
|
||||
|
||||
|
||||
public void ComputeFlags()
|
||||
{
|
||||
get
|
||||
{
|
||||
return 398898678;
|
||||
}
|
||||
}
|
||||
|
||||
public string phone_number {get;set;}
|
||||
public TLAbsUser user {get;set;}
|
||||
|
||||
|
||||
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);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,42 +1,28 @@
|
|||
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(-236044656)]
|
||||
[TLObject(-236044656)]
|
||||
public class TLTermsOfService : TLObject
|
||||
{
|
||||
public override int Constructor
|
||||
public override int Constructor => -236044656;
|
||||
|
||||
public string text { get; set; }
|
||||
|
||||
|
||||
public void ComputeFlags()
|
||||
{
|
||||
get
|
||||
{
|
||||
return -236044656;
|
||||
}
|
||||
}
|
||||
|
||||
public string text {get;set;}
|
||||
|
||||
|
||||
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);
|
||||
StringUtil.Serialize(text, bw);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue