diff --git a/ci.yml b/ci.yml index 87c693e..95b7b99 100644 --- a/ci.yml +++ b/ci.yml @@ -2,7 +2,7 @@ pr: none trigger: - master -name: 0.7.1-alpha.$(Rev:r) +name: 0.7.5-alpha.$(Rev:r) pool: vmImage: ubuntu-latest diff --git a/src/Generator.cs b/src/Generator.cs index 29f35a0..d76c729 100644 --- a/src/Generator.cs +++ b/src/Generator.cs @@ -19,16 +19,21 @@ namespace WTelegram Dictionary typeInfos; int currentLayer; string tabIndent; + private string currentJson; public async Task FromWeb() { Console.WriteLine("Fetch web pages..."); +#if DEBUG + currentLayer = await Task.FromResult(0); +#else using var http = new HttpClient(); var html = await http.GetStringAsync("https://core.telegram.org/api/layers"); currentLayer = int.Parse(Regex.Match(html, @"#layer-(\d+)").Groups[1].Value); await File.WriteAllBytesAsync("TL.MTProto.json", await http.GetByteArrayAsync("https://core.telegram.org/schema/mtproto-json")); await File.WriteAllBytesAsync("TL.Schema.json", await http.GetByteArrayAsync("https://core.telegram.org/schema/json")); await File.WriteAllBytesAsync("TL.Secret.json", await http.GetByteArrayAsync("https://core.telegram.org/schema/end-to-end-json")); +#endif FromJson("TL.MTProto.json", "TL.MTProto.cs", @"TL.Table.cs"); FromJson("TL.Schema.json", "TL.Schema.cs", @"TL.Table.cs"); FromJson("TL.Secret.json", "TL.Secret.cs", @"TL.Table.cs"); @@ -37,6 +42,7 @@ namespace WTelegram public void FromJson(string jsonPath, string outputCs, string tableCs = null) { Console.WriteLine("Parsing " + jsonPath); + currentJson = Path.GetFileNameWithoutExtension(jsonPath); var schema = JsonSerializer.Deserialize(File.ReadAllText(jsonPath)); using var sw = File.CreateText(outputCs); sw.WriteLine("// This file is (mainly) generated automatically using the Generator class"); @@ -61,7 +67,7 @@ namespace WTelegram foreach (var ctor in layer) { if (ctorToTypes.ContainsKey(ctor.ID)) continue; - if (ctor.type is "Bool" or "Vector t") continue; + if (ctor.type == "Vector t") continue; var structName = CSharpName(ctor.predicate); ctorToTypes[ctor.ID] = layerPrefix + structName; var typeInfo = typeInfos.GetOrCreate(ctor.type); @@ -143,7 +149,7 @@ namespace WTelegram } sw.WriteLine("}"); - if (tableCs != null) UpdateTable(jsonPath, tableCs, methods); + if (tableCs != null) UpdateTable(tableCs, methods); } void WriteTypeInfo(StreamWriter sw, TypeInfo typeInfo, string layerPrefix, bool isMethod) @@ -156,6 +162,8 @@ namespace WTelegram { needNewLine = false; sw.WriteLine(); + if (currentJson != "TL.MTProto") + sw.WriteLine($"{tabIndent}///See "); sw.WriteLine($"{tabIndent}public abstract partial class {parentClass} : ITLObject {{ }}"); } int skipParams = 0; @@ -167,13 +175,25 @@ namespace WTelegram if (!allTypes.Add(layerPrefix + className)) continue; if (needNewLine) { needNewLine = false; sw.WriteLine(); } if (ctor.id == null) + { + if (currentJson != "TL.MTProto") + sw.WriteLine($"{tabIndent}///See "); sw.Write($"{tabIndent}public abstract partial class {className} : ITLObject"); + } else { - sw.Write($"{tabIndent}[TLDef(0x{ctor.ID:X8})] //{ctor.predicate}#{ctor.ID:x8} "); - if (genericType != null) sw.Write($"{{{typeInfo.ReturnName}:Type}} "); - foreach (var parm in ctor.@params) sw.Write($"{parm.name}:{parm.type} "); - sw.WriteLine($"= {ctor.type}"); + if (currentJson != "TL.MTProto") + { + sw.WriteLine($"{tabIndent}///See "); + sw.WriteLine($"{tabIndent}[TLDef(0x{ctor.ID:X8})]"); + } + else + { + sw.Write($"{tabIndent}[TLDef(0x{ctor.ID:X8})] //{ctor.predicate}#{ctor.ID:x8} "); + if (genericType != null) sw.Write($"{{{typeInfo.ReturnName}:Type}} "); + foreach (var parm in ctor.@params) sw.Write($"{parm.name}:{parm.type} "); + sw.WriteLine($"= {ctor.type}"); + } sw.Write($"{tabIndent}public partial class {className} : "); sw.Write(skipParams == 0 && typeInfo.NeedAbstract > 0 ? "ITLObject" : parentClass); } @@ -325,10 +345,16 @@ namespace WTelegram if (style == -1) return; sw.WriteLine(); - sw.Write($"{tabIndent}//{method.method}#{ctorNb:x8} "); - if (method.type.Length == 1) { sw.Write($"{{{method.type}:Type}} "); funcName += $"<{returnType}>"; } - foreach (var parm in method.@params) sw.Write($"{parm.name}:{parm.type} "); - sw.WriteLine($"= {method.type}"); + if (method.type.Length == 1) funcName += $"<{returnType}>"; + if (currentJson != "TL.MTProto") + sw.WriteLine($"{tabIndent}///See "); + else + { + sw.Write($"{tabIndent}//{method.method}#{ctorNb:x8} "); + if (method.type.Length == 1) sw.Write($"{{{method.type}:Type}} "); + foreach (var parm in method.@params) sw.Write($"{parm.name}:{parm.type} "); + sw.WriteLine($"= {method.type}"); + } if (style == 0) sw.WriteLine($"{tabIndent}public Task<{returnType}> {funcName}() => CallAsync<{returnType}>({funcName});"); if (style == 0) sw.Write($"{tabIndent}public static string {funcName}(BinaryWriter writer"); @@ -425,9 +451,9 @@ namespace WTelegram if (style != 0) tabIndent = tabIndent[0..^1]; } - void UpdateTable(string jsonPath, string tableCs, List methods) + void UpdateTable(string tableCs, List methods) { - var myTag = $"\t\t\t// from {Path.GetFileNameWithoutExtension(jsonPath)}:"; + var myTag = $"\t\t\t// from {currentJson}:"; var seen_ids = new HashSet(); using (var sr = new StreamReader(tableCs)) using (var sw = new StreamWriter(tableCs + ".new")) diff --git a/src/TL.MTProto.cs b/src/TL.MTProto.cs index 0b0e90c..dedc769 100644 --- a/src/TL.MTProto.cs +++ b/src/TL.MTProto.cs @@ -82,8 +82,8 @@ namespace TL [TLDef(0xF35C6D01)] //rpc_result#f35c6d01 req_msg_id:long result:Object = RpcResult public partial class RpcResult : ITLObject { - internal long req_msg_id; - internal object result; + public long req_msg_id; + public object result; } [TLDef(0x2144CA19)] //rpc_error#2144ca19 error_code:int error_message:string = RpcError diff --git a/src/TL.Schema.cs b/src/TL.Schema.cs index 940173e..096cfa2 100644 --- a/src/TL.Schema.cs +++ b/src/TL.Schema.cs @@ -4,46 +4,66 @@ using System.Threading.Tasks; namespace TL { - [TLDef(0x3FEDD339)] //true#3fedd339 = True + ///See + public abstract partial class Bool : ITLObject { } + ///See + [TLDef(0xBC799737)] + public partial class BoolFalse : Bool { } + ///See + [TLDef(0x997275B5)] + public partial class BoolTrue : Bool { } + + ///See + [TLDef(0x3FEDD339)] public partial class True : ITLObject { } - [TLDef(0xC4B9F9BB)] //error#c4b9f9bb code:int text:string = Error + ///See + [TLDef(0xC4B9F9BB)] public partial class Error : ITLObject { public int code; public string text; } - [TLDef(0x56730BCC)] //null#56730bcc = Null + ///See + [TLDef(0x56730BCC)] public partial class Null : ITLObject { } + ///See public abstract partial class InputPeer : ITLObject { } - [TLDef(0x7F3B18EA)] //inputPeerEmpty#7f3b18ea = InputPeer + ///See + [TLDef(0x7F3B18EA)] public partial class InputPeerEmpty : InputPeer { } - [TLDef(0x7DA07EC9)] //inputPeerSelf#7da07ec9 = InputPeer + ///See + [TLDef(0x7DA07EC9)] public partial class InputPeerSelf : InputPeer { } - [TLDef(0x179BE863)] //inputPeerChat#179be863 chat_id:int = InputPeer + ///See + [TLDef(0x179BE863)] public partial class InputPeerChat : InputPeer { public int chat_id; } - [TLDef(0x7B8E7DE6)] //inputPeerUser#7b8e7de6 user_id:int access_hash:long = InputPeer + ///See + [TLDef(0x7B8E7DE6)] public partial class InputPeerUser : InputPeer { public int user_id; public long access_hash; } - [TLDef(0x20ADAEF8)] //inputPeerChannel#20adaef8 channel_id:int access_hash:long = InputPeer + ///See + [TLDef(0x20ADAEF8)] public partial class InputPeerChannel : InputPeer { public int channel_id; public long access_hash; } - [TLDef(0x17BAE2E6)] //inputPeerUserFromMessage#17bae2e6 peer:InputPeer msg_id:int user_id:int = InputPeer + ///See + [TLDef(0x17BAE2E6)] public partial class InputPeerUserFromMessage : InputPeer { public InputPeer peer; public int msg_id; public int user_id; } - [TLDef(0x9C95F7BB)] //inputPeerChannelFromMessage#9c95f7bb peer:InputPeer msg_id:int channel_id:int = InputPeer + ///See + [TLDef(0x9C95F7BB)] public partial class InputPeerChannelFromMessage : InputPeer { public InputPeer peer; @@ -51,18 +71,23 @@ namespace TL public int channel_id; } + ///See public abstract partial class InputUserBase : ITLObject { } - [TLDef(0xB98886CF)] //inputUserEmpty#b98886cf = InputUser + ///See + [TLDef(0xB98886CF)] public partial class InputUserEmpty : InputUserBase { } - [TLDef(0xF7C1B13F)] //inputUserSelf#f7c1b13f = InputUser + ///See + [TLDef(0xF7C1B13F)] public partial class InputUserSelf : InputUserBase { } - [TLDef(0xD8292816)] //inputUser#d8292816 user_id:int access_hash:long = InputUser + ///See + [TLDef(0xD8292816)] public partial class InputUser : InputUserBase { public int user_id; public long access_hash; } - [TLDef(0x2D117597)] //inputUserFromMessage#2d117597 peer:InputPeer msg_id:int user_id:int = InputUser + ///See + [TLDef(0x2D117597)] public partial class InputUserFromMessage : InputUserBase { public InputPeer peer; @@ -70,8 +95,10 @@ namespace TL public int user_id; } + ///See public abstract partial class InputContact : ITLObject { } - [TLDef(0xF392B7F4)] //inputPhoneContact#f392b7f4 client_id:long phone:string first_name:string last_name:string = InputContact + ///See + [TLDef(0xF392B7F4)] public partial class InputPhoneContact : InputContact { public long client_id; @@ -80,8 +107,10 @@ namespace TL public string last_name; } + ///See public abstract partial class InputFileBase : ITLObject { } - [TLDef(0xF52FF27F)] //inputFile#f52ff27f id:long parts:int name:string md5_checksum:string = InputFile + ///See + [TLDef(0xF52FF27F)] public partial class InputFile : InputFileBase { public long id; @@ -89,7 +118,8 @@ namespace TL public string name; public byte[] md5_checksum; } - [TLDef(0xFA4F0BB5)] //inputFileBig#fa4f0bb5 id:long parts:int name:string = InputFile + ///See + [TLDef(0xFA4F0BB5)] public partial class InputFileBig : InputFileBase { public long id; @@ -97,10 +127,13 @@ namespace TL public string name; } + ///See public abstract partial class InputMedia : ITLObject { } - [TLDef(0x9664F57F)] //inputMediaEmpty#9664f57f = InputMedia + ///See + [TLDef(0x9664F57F)] public partial class InputMediaEmpty : InputMedia { } - [TLDef(0x1E287D04)] //inputMediaUploadedPhoto#1e287d04 flags:# file:InputFile stickers:flags.0?Vector ttl_seconds:flags.1?int = InputMedia + ///See + [TLDef(0x1E287D04)] public partial class InputMediaUploadedPhoto : InputMedia { [Flags] public enum Flags { has_stickers = 0x1, has_ttl_seconds = 0x2 } @@ -109,7 +142,8 @@ namespace TL [IfFlag(0)] public InputDocumentBase[] stickers; [IfFlag(1)] public int ttl_seconds; } - [TLDef(0xB3BA0635)] //inputMediaPhoto#b3ba0635 flags:# id:InputPhoto ttl_seconds:flags.0?int = InputMedia + ///See + [TLDef(0xB3BA0635)] public partial class InputMediaPhoto : InputMedia { [Flags] public enum Flags { has_ttl_seconds = 0x1 } @@ -117,9 +151,11 @@ namespace TL public InputPhotoBase id; [IfFlag(0)] public int ttl_seconds; } - [TLDef(0xF9C44144)] //inputMediaGeoPoint#f9c44144 geo_point:InputGeoPoint = InputMedia + ///See + [TLDef(0xF9C44144)] public partial class InputMediaGeoPoint : InputMedia { public InputGeoPointBase geo_point; } - [TLDef(0xF8AB7DFB)] //inputMediaContact#f8ab7dfb phone_number:string first_name:string last_name:string vcard:string = InputMedia + ///See + [TLDef(0xF8AB7DFB)] public partial class InputMediaContact : InputMedia { public string phone_number; @@ -127,7 +163,8 @@ namespace TL public string last_name; public string vcard; } - [TLDef(0x5B38C6C1)] //inputMediaUploadedDocument#5b38c6c1 flags:# nosound_video:flags.3?true force_file:flags.4?true file:InputFile thumb:flags.2?InputFile mime_type:string attributes:Vector stickers:flags.0?Vector ttl_seconds:flags.1?int = InputMedia + ///See + [TLDef(0x5B38C6C1)] public partial class InputMediaUploadedDocument : InputMedia { [Flags] public enum Flags { has_stickers = 0x1, has_ttl_seconds = 0x2, has_thumb = 0x4, nosound_video = 0x8, force_file = 0x10 } @@ -139,7 +176,8 @@ namespace TL [IfFlag(0)] public InputDocumentBase[] stickers; [IfFlag(1)] public int ttl_seconds; } - [TLDef(0x23AB23D2)] //inputMediaDocument#23ab23d2 flags:# id:InputDocument ttl_seconds:flags.0?int = InputMedia + ///See + [TLDef(0x23AB23D2)] public partial class InputMediaDocument : InputMedia { [Flags] public enum Flags { has_ttl_seconds = 0x1 } @@ -147,7 +185,8 @@ namespace TL public InputDocumentBase id; [IfFlag(0)] public int ttl_seconds; } - [TLDef(0xC13D1C11)] //inputMediaVenue#c13d1c11 geo_point:InputGeoPoint title:string address:string provider:string venue_id:string venue_type:string = InputMedia + ///See + [TLDef(0xC13D1C11)] public partial class InputMediaVenue : InputMedia { public InputGeoPointBase geo_point; @@ -157,7 +196,8 @@ namespace TL public string venue_id; public string venue_type; } - [TLDef(0xE5BBFE1A)] //inputMediaPhotoExternal#e5bbfe1a flags:# url:string ttl_seconds:flags.0?int = InputMedia + ///See + [TLDef(0xE5BBFE1A)] public partial class InputMediaPhotoExternal : InputMedia { [Flags] public enum Flags { has_ttl_seconds = 0x1 } @@ -165,7 +205,8 @@ namespace TL public string url; [IfFlag(0)] public int ttl_seconds; } - [TLDef(0xFB52DC99)] //inputMediaDocumentExternal#fb52dc99 flags:# url:string ttl_seconds:flags.0?int = InputMedia + ///See + [TLDef(0xFB52DC99)] public partial class InputMediaDocumentExternal : InputMedia { [Flags] public enum Flags { has_ttl_seconds = 0x1 } @@ -173,9 +214,11 @@ namespace TL public string url; [IfFlag(0)] public int ttl_seconds; } - [TLDef(0xD33F43F3)] //inputMediaGame#d33f43f3 id:InputGame = InputMedia + ///See + [TLDef(0xD33F43F3)] public partial class InputMediaGame : InputMedia { public InputGame id; } - [TLDef(0xF4E096C3)] //inputMediaInvoice#f4e096c3 flags:# title:string description:string photo:flags.0?InputWebDocument invoice:Invoice payload:bytes provider:string provider_data:DataJSON start_param:string = InputMedia + ///See + [TLDef(0xF4E096C3)] public partial class InputMediaInvoice : InputMedia { [Flags] public enum Flags { has_photo = 0x1 } @@ -189,7 +232,8 @@ namespace TL public DataJSON provider_data; public string start_param; } - [TLDef(0x971FA843)] //inputMediaGeoLive#971fa843 flags:# stopped:flags.0?true geo_point:InputGeoPoint heading:flags.2?int period:flags.1?int proximity_notification_radius:flags.3?int = InputMedia + ///See + [TLDef(0x971FA843)] public partial class InputMediaGeoLive : InputMedia { [Flags] public enum Flags { stopped = 0x1, has_period = 0x2, has_heading = 0x4, has_proximity_notification_radius = 0x8 } @@ -199,7 +243,8 @@ namespace TL [IfFlag(1)] public int period; [IfFlag(3)] public int proximity_notification_radius; } - [TLDef(0x0F94E5F1)] //inputMediaPoll#0f94e5f1 flags:# poll:Poll correct_answers:flags.0?Vector solution:flags.1?string solution_entities:flags.1?Vector = InputMedia + ///See + [TLDef(0x0F94E5F1)] public partial class InputMediaPoll : InputMedia { [Flags] public enum Flags { has_correct_answers = 0x1, has_solution = 0x2 } @@ -209,13 +254,17 @@ namespace TL [IfFlag(1)] public string solution; [IfFlag(1)] public MessageEntity[] solution_entities; } - [TLDef(0xE66FBF7B)] //inputMediaDice#e66fbf7b emoticon:string = InputMedia + ///See + [TLDef(0xE66FBF7B)] public partial class InputMediaDice : InputMedia { public string emoticon; } + ///See public abstract partial class InputChatPhotoBase : ITLObject { } - [TLDef(0x1CA48F57)] //inputChatPhotoEmpty#1ca48f57 = InputChatPhoto + ///See + [TLDef(0x1CA48F57)] public partial class InputChatPhotoEmpty : InputChatPhotoBase { } - [TLDef(0xC642724E)] //inputChatUploadedPhoto#c642724e flags:# file:flags.0?InputFile video:flags.1?InputFile video_start_ts:flags.2?double = InputChatPhoto + ///See + [TLDef(0xC642724E)] public partial class InputChatUploadedPhoto : InputChatPhotoBase { [Flags] public enum Flags { has_file = 0x1, has_video = 0x2, has_video_start_ts = 0x4 } @@ -224,13 +273,17 @@ namespace TL [IfFlag(1)] public InputFileBase video; [IfFlag(2)] public double video_start_ts; } - [TLDef(0x8953AD37)] //inputChatPhoto#8953ad37 id:InputPhoto = InputChatPhoto + ///See + [TLDef(0x8953AD37)] public partial class InputChatPhoto : InputChatPhotoBase { public InputPhotoBase id; } + ///See public abstract partial class InputGeoPointBase : ITLObject { } - [TLDef(0xE4C123D6)] //inputGeoPointEmpty#e4c123d6 = InputGeoPoint + ///See + [TLDef(0xE4C123D6)] public partial class InputGeoPointEmpty : InputGeoPointBase { } - [TLDef(0x48222FAF)] //inputGeoPoint#48222faf flags:# lat:double long:double accuracy_radius:flags.0?int = InputGeoPoint + ///See + [TLDef(0x48222FAF)] public partial class InputGeoPoint : InputGeoPointBase { [Flags] public enum Flags { has_accuracy_radius = 0x1 } @@ -240,10 +293,13 @@ namespace TL [IfFlag(0)] public int accuracy_radius; } + ///See public abstract partial class InputPhotoBase : ITLObject { } - [TLDef(0x1CD7BF0D)] //inputPhotoEmpty#1cd7bf0d = InputPhoto + ///See + [TLDef(0x1CD7BF0D)] public partial class InputPhotoEmpty : InputPhotoBase { } - [TLDef(0x3BB3B94A)] //inputPhoto#3bb3b94a id:long access_hash:long file_reference:bytes = InputPhoto + ///See + [TLDef(0x3BB3B94A)] public partial class InputPhoto : InputPhotoBase { public long id; @@ -251,8 +307,10 @@ namespace TL public byte[] file_reference; } + ///See public abstract partial class InputFileLocationBase : ITLObject { } - [TLDef(0xDFDAABE1)] //inputFileLocation#dfdaabe1 volume_id:long local_id:int secret:long file_reference:bytes = InputFileLocation + ///See + [TLDef(0xDFDAABE1)] public partial class InputFileLocation : InputFileLocationBase { public long volume_id; @@ -260,13 +318,15 @@ namespace TL public long secret; public byte[] file_reference; } - [TLDef(0xF5235D55)] //inputEncryptedFileLocation#f5235d55 id:long access_hash:long = InputFileLocation + ///See + [TLDef(0xF5235D55)] public partial class InputEncryptedFileLocation : InputFileLocationBase { public long id; public long access_hash; } - [TLDef(0xBAD07584)] //inputDocumentFileLocation#bad07584 id:long access_hash:long file_reference:bytes thumb_size:string = InputFileLocation + ///See + [TLDef(0xBAD07584)] public partial class InputDocumentFileLocation : InputFileLocationBase { public long id; @@ -274,15 +334,18 @@ namespace TL public byte[] file_reference; public string thumb_size; } - [TLDef(0xCBC7EE28)] //inputSecureFileLocation#cbc7ee28 id:long access_hash:long = InputFileLocation + ///See + [TLDef(0xCBC7EE28)] public partial class InputSecureFileLocation : InputFileLocationBase { public long id; public long access_hash; } - [TLDef(0x29BE5899)] //inputTakeoutFileLocation#29be5899 = InputFileLocation + ///See + [TLDef(0x29BE5899)] public partial class InputTakeoutFileLocation : InputFileLocationBase { } - [TLDef(0x40181FFE)] //inputPhotoFileLocation#40181ffe id:long access_hash:long file_reference:bytes thumb_size:string = InputFileLocation + ///See + [TLDef(0x40181FFE)] public partial class InputPhotoFileLocation : InputFileLocationBase { public long id; @@ -290,7 +353,8 @@ namespace TL public byte[] file_reference; public string thumb_size; } - [TLDef(0xD83466F3)] //inputPhotoLegacyFileLocation#d83466f3 id:long access_hash:long file_reference:bytes volume_id:long local_id:int secret:long = InputFileLocation + ///See + [TLDef(0xD83466F3)] public partial class InputPhotoLegacyFileLocation : InputFileLocationBase { public long id; @@ -300,7 +364,8 @@ namespace TL public int local_id; public long secret; } - [TLDef(0x27D69997)] //inputPeerPhotoFileLocation#27d69997 flags:# big:flags.0?true peer:InputPeer volume_id:long local_id:int = InputFileLocation + ///See + [TLDef(0x27D69997)] public partial class InputPeerPhotoFileLocation : InputFileLocationBase { [Flags] public enum Flags { big = 0x1 } @@ -309,7 +374,8 @@ namespace TL public long volume_id; public int local_id; } - [TLDef(0x0DBAEAE9)] //inputStickerSetThumb#0dbaeae9 stickerset:InputStickerSet volume_id:long local_id:int = InputFileLocation + ///See + [TLDef(0x0DBAEAE9)] public partial class InputStickerSetThumb : InputFileLocationBase { public InputStickerSet stickerset; @@ -317,40 +383,58 @@ namespace TL public int local_id; } + ///See public abstract partial class Peer : ITLObject { } - [TLDef(0x9DB1BC6D)] //peerUser#9db1bc6d user_id:int = Peer + ///See + [TLDef(0x9DB1BC6D)] public partial class PeerUser : Peer { public int user_id; } - [TLDef(0xBAD0E5BB)] //peerChat#bad0e5bb chat_id:int = Peer + ///See + [TLDef(0xBAD0E5BB)] public partial class PeerChat : Peer { public int chat_id; } - [TLDef(0xBDDDE532)] //peerChannel#bddde532 channel_id:int = Peer + ///See + [TLDef(0xBDDDE532)] public partial class PeerChannel : Peer { public int channel_id; } + ///See public abstract partial class Storage_FileType : ITLObject { } - [TLDef(0xAA963B05)] //storage.fileUnknown#aa963b05 = storage.FileType + ///See + [TLDef(0xAA963B05)] public partial class Storage_FileUnknown : Storage_FileType { } - [TLDef(0x40BC6F52)] //storage.filePartial#40bc6f52 = storage.FileType + ///See + [TLDef(0x40BC6F52)] public partial class Storage_FilePartial : Storage_FileType { } - [TLDef(0x007EFE0E)] //storage.fileJpeg#007efe0e = storage.FileType + ///See + [TLDef(0x007EFE0E)] public partial class Storage_FileJpeg : Storage_FileType { } - [TLDef(0xCAE1AADF)] //storage.fileGif#cae1aadf = storage.FileType + ///See + [TLDef(0xCAE1AADF)] public partial class Storage_FileGif : Storage_FileType { } - [TLDef(0x0A4F63C0)] //storage.filePng#0a4f63c0 = storage.FileType + ///See + [TLDef(0x0A4F63C0)] public partial class Storage_FilePng : Storage_FileType { } - [TLDef(0xAE1E508D)] //storage.filePdf#ae1e508d = storage.FileType + ///See + [TLDef(0xAE1E508D)] public partial class Storage_FilePdf : Storage_FileType { } - [TLDef(0x528A0677)] //storage.fileMp3#528a0677 = storage.FileType + ///See + [TLDef(0x528A0677)] public partial class Storage_FileMp3 : Storage_FileType { } - [TLDef(0x4B09EBBC)] //storage.fileMov#4b09ebbc = storage.FileType + ///See + [TLDef(0x4B09EBBC)] public partial class Storage_FileMov : Storage_FileType { } - [TLDef(0xB3CEA0E4)] //storage.fileMp4#b3cea0e4 = storage.FileType + ///See + [TLDef(0xB3CEA0E4)] public partial class Storage_FileMp4 : Storage_FileType { } - [TLDef(0x1081464C)] //storage.fileWebp#1081464c = storage.FileType + ///See + [TLDef(0x1081464C)] public partial class Storage_FileWebp : Storage_FileType { } + ///See public abstract partial class UserBase : ITLObject { } - [TLDef(0x200250BA)] //userEmpty#200250ba id:int = User + ///See + [TLDef(0x200250BA)] public partial class UserEmpty : UserBase { public int id; } - [TLDef(0x938458C1)] //user#938458c1 flags:# self:flags.10?true contact:flags.11?true mutual_contact:flags.12?true deleted:flags.13?true bot:flags.14?true bot_chat_history:flags.15?true bot_nochats:flags.16?true verified:flags.17?true restricted:flags.18?true min:flags.20?true bot_inline_geo:flags.21?true support:flags.23?true scam:flags.24?true apply_min_photo:flags.25?true id:int access_hash:flags.0?long first_name:flags.1?string last_name:flags.2?string username:flags.3?string phone:flags.4?string photo:flags.5?UserProfilePhoto status:flags.6?UserStatus bot_info_version:flags.14?int restriction_reason:flags.18?Vector bot_inline_placeholder:flags.19?string lang_code:flags.22?string = User + ///See + [TLDef(0x938458C1)] public partial class User : UserBase { [Flags] public enum Flags { has_access_hash = 0x1, has_first_name = 0x2, has_last_name = 0x4, has_username = 0x8, @@ -373,10 +457,13 @@ namespace TL [IfFlag(22)] public string lang_code; } + ///See public abstract partial class UserProfilePhotoBase : ITLObject { } - [TLDef(0x4F11BAE1)] //userProfilePhotoEmpty#4f11bae1 = UserProfilePhoto + ///See + [TLDef(0x4F11BAE1)] public partial class UserProfilePhotoEmpty : UserProfilePhotoBase { } - [TLDef(0x69D3AB26)] //userProfilePhoto#69d3ab26 flags:# has_video:flags.0?true photo_id:long photo_small:FileLocation photo_big:FileLocation dc_id:int = UserProfilePhoto + ///See + [TLDef(0x69D3AB26)] public partial class UserProfilePhoto : UserProfilePhotoBase { [Flags] public enum Flags { has_video = 0x1 } @@ -387,24 +474,34 @@ namespace TL public int dc_id; } + ///See public abstract partial class UserStatus : ITLObject { } - [TLDef(0x09D05049)] //userStatusEmpty#09d05049 = UserStatus + ///See + [TLDef(0x09D05049)] public partial class UserStatusEmpty : UserStatus { } - [TLDef(0xEDB93949)] //userStatusOnline#edb93949 expires:int = UserStatus + ///See + [TLDef(0xEDB93949)] public partial class UserStatusOnline : UserStatus { public DateTime expires; } - [TLDef(0x008C703F)] //userStatusOffline#008c703f was_online:int = UserStatus + ///See + [TLDef(0x008C703F)] public partial class UserStatusOffline : UserStatus { public int was_online; } - [TLDef(0xE26F42F1)] //userStatusRecently#e26f42f1 = UserStatus + ///See + [TLDef(0xE26F42F1)] public partial class UserStatusRecently : UserStatus { } - [TLDef(0x07BF09FC)] //userStatusLastWeek#07bf09fc = UserStatus + ///See + [TLDef(0x07BF09FC)] public partial class UserStatusLastWeek : UserStatus { } - [TLDef(0x77EBC742)] //userStatusLastMonth#77ebc742 = UserStatus + ///See + [TLDef(0x77EBC742)] public partial class UserStatusLastMonth : UserStatus { } + ///See public abstract partial class ChatBase : ITLObject { } - [TLDef(0x9BA2D800)] //chatEmpty#9ba2d800 id:int = Chat + ///See + [TLDef(0x9BA2D800)] public partial class ChatEmpty : ChatBase { public int id; } - [TLDef(0x3BDA1BDE)] //chat#3bda1bde flags:# creator:flags.0?true kicked:flags.1?true left:flags.2?true deactivated:flags.5?true call_active:flags.23?true call_not_empty:flags.24?true id:int title:string photo:ChatPhoto participants_count:int date:int version:int migrated_to:flags.6?InputChannel admin_rights:flags.14?ChatAdminRights default_banned_rights:flags.18?ChatBannedRights = Chat + ///See + [TLDef(0x3BDA1BDE)] public partial class Chat : ChatBase { [Flags] public enum Flags { creator = 0x1, kicked = 0x2, left = 0x4, deactivated = 0x20, has_migrated_to = 0x40, @@ -420,13 +517,15 @@ namespace TL [IfFlag(14)] public ChatAdminRights admin_rights; [IfFlag(18)] public ChatBannedRights default_banned_rights; } - [TLDef(0x07328BDB)] //chatForbidden#07328bdb id:int title:string = Chat + ///See + [TLDef(0x07328BDB)] public partial class ChatForbidden : ChatBase { public int id; public string title; } - [TLDef(0xD31A961E)] //channel#d31a961e flags:# creator:flags.0?true left:flags.2?true broadcast:flags.5?true verified:flags.7?true megagroup:flags.8?true restricted:flags.9?true signatures:flags.11?true min:flags.12?true scam:flags.19?true has_link:flags.20?true has_geo:flags.21?true slowmode_enabled:flags.22?true call_active:flags.23?true call_not_empty:flags.24?true id:int access_hash:flags.13?long title:string username:flags.6?string photo:ChatPhoto date:int version:int restriction_reason:flags.9?Vector admin_rights:flags.14?ChatAdminRights banned_rights:flags.15?ChatBannedRights default_banned_rights:flags.18?ChatBannedRights participants_count:flags.17?int = Chat + ///See + [TLDef(0xD31A961E)] public partial class Channel : ChatBase { [Flags] public enum Flags { creator = 0x1, left = 0x4, broadcast = 0x20, has_username = 0x40, verified = 0x80, @@ -447,7 +546,8 @@ namespace TL [IfFlag(18)] public ChatBannedRights default_banned_rights; [IfFlag(17)] public int participants_count; } - [TLDef(0x289DA732)] //channelForbidden#289da732 flags:# broadcast:flags.5?true megagroup:flags.8?true id:int access_hash:long title:string until_date:flags.16?int = Chat + ///See + [TLDef(0x289DA732)] public partial class ChannelForbidden : ChatBase { [Flags] public enum Flags { broadcast = 0x20, megagroup = 0x100, has_until_date = 0x10000 } @@ -458,8 +558,10 @@ namespace TL [IfFlag(16)] public DateTime until_date; } + ///See public abstract partial class ChatFullBase : ITLObject { } - [TLDef(0x1B7C9DB3)] //chatFull#1b7c9db3 flags:# can_set_username:flags.7?true has_scheduled:flags.8?true id:int about:string participants:ChatParticipants chat_photo:flags.2?Photo notify_settings:PeerNotifySettings exported_invite:ExportedChatInvite bot_info:flags.3?Vector pinned_msg_id:flags.6?int folder_id:flags.11?int = ChatFull + ///See + [TLDef(0x1B7C9DB3)] public partial class ChatFull : ChatFullBase { [Flags] public enum Flags { has_chat_photo = 0x4, has_bot_info = 0x8, has_pinned_msg_id = 0x40, can_set_username = 0x80, @@ -475,7 +577,8 @@ namespace TL [IfFlag(6)] public int pinned_msg_id; [IfFlag(11)] public int folder_id; } - [TLDef(0xF0E6672A)] //channelFull#f0e6672a flags:# can_view_participants:flags.3?true can_set_username:flags.6?true can_set_stickers:flags.7?true hidden_prehistory:flags.10?true can_set_location:flags.16?true has_scheduled:flags.19?true can_view_stats:flags.20?true blocked:flags.22?true id:int about:string participants_count:flags.0?int admins_count:flags.1?int kicked_count:flags.2?int banned_count:flags.2?int online_count:flags.13?int read_inbox_max_id:int read_outbox_max_id:int unread_count:int chat_photo:Photo notify_settings:PeerNotifySettings exported_invite:ExportedChatInvite bot_info:Vector migrated_from_chat_id:flags.4?int migrated_from_max_id:flags.4?int pinned_msg_id:flags.5?int stickerset:flags.8?StickerSet available_min_id:flags.9?int folder_id:flags.11?int linked_chat_id:flags.14?int location:flags.15?ChannelLocation slowmode_seconds:flags.17?int slowmode_next_send_date:flags.18?int stats_dc:flags.12?int pts:int = ChatFull + ///See + [TLDef(0xF0E6672A)] public partial class ChannelFull : ChatFullBase { [Flags] public enum Flags { has_participants_count = 0x1, has_admins_count = 0x2, has_kicked_count = 0x4, @@ -513,17 +616,21 @@ namespace TL public int pts; } + ///See public abstract partial class ChatParticipantBase : ITLObject { } - [TLDef(0xC8D7493E)] //chatParticipant#c8d7493e user_id:int inviter_id:int date:int = ChatParticipant + ///See + [TLDef(0xC8D7493E)] public partial class ChatParticipant : ChatParticipantBase { public int user_id; public int inviter_id; public DateTime date; } - [TLDef(0xDA13538A)] //chatParticipantCreator#da13538a user_id:int = ChatParticipant + ///See + [TLDef(0xDA13538A)] public partial class ChatParticipantCreator : ChatParticipantBase { public int user_id; } - [TLDef(0xE2D6E436)] //chatParticipantAdmin#e2d6e436 user_id:int inviter_id:int date:int = ChatParticipant + ///See + [TLDef(0xE2D6E436)] public partial class ChatParticipantAdmin : ChatParticipantBase { public int user_id; @@ -531,8 +638,10 @@ namespace TL public DateTime date; } + ///See public abstract partial class ChatParticipantsBase : ITLObject { } - [TLDef(0xFC900C2B)] //chatParticipantsForbidden#fc900c2b flags:# chat_id:int self_participant:flags.0?ChatParticipant = ChatParticipants + ///See + [TLDef(0xFC900C2B)] public partial class ChatParticipantsForbidden : ChatParticipantsBase { [Flags] public enum Flags { has_self_participant = 0x1 } @@ -540,7 +649,8 @@ namespace TL public int chat_id; [IfFlag(0)] public ChatParticipantBase self_participant; } - [TLDef(0x3F460FED)] //chatParticipants#3f460fed chat_id:int participants:Vector version:int = ChatParticipants + ///See + [TLDef(0x3F460FED)] public partial class ChatParticipants : ChatParticipantsBase { public int chat_id; @@ -548,10 +658,13 @@ namespace TL public int version; } + ///See public abstract partial class ChatPhotoBase : ITLObject { } - [TLDef(0x37C1011C)] //chatPhotoEmpty#37c1011c = ChatPhoto + ///See + [TLDef(0x37C1011C)] public partial class ChatPhotoEmpty : ChatPhotoBase { } - [TLDef(0xD20B9F3C)] //chatPhoto#d20b9f3c flags:# has_video:flags.0?true photo_small:FileLocation photo_big:FileLocation dc_id:int = ChatPhoto + ///See + [TLDef(0xD20B9F3C)] public partial class ChatPhoto : ChatPhotoBase { [Flags] public enum Flags { has_video = 0x1 } @@ -561,10 +674,13 @@ namespace TL public int dc_id; } + ///See public abstract partial class MessageBase : ITLObject { } - [TLDef(0x83E5DE54)] //messageEmpty#83e5de54 id:int = Message + ///See + [TLDef(0x83E5DE54)] public partial class MessageEmpty : MessageBase { public int id; } - [TLDef(0x58AE39C9)] //message#58ae39c9 flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true post:flags.14?true from_scheduled:flags.18?true legacy:flags.19?true edit_hide:flags.21?true pinned:flags.24?true id:int from_id:flags.8?Peer peer_id:Peer fwd_from:flags.2?MessageFwdHeader via_bot_id:flags.11?int reply_to:flags.3?MessageReplyHeader date:int message:string media:flags.9?MessageMedia reply_markup:flags.6?ReplyMarkup entities:flags.7?Vector views:flags.10?int forwards:flags.10?int replies:flags.23?MessageReplies edit_date:flags.15?int post_author:flags.16?string grouped_id:flags.17?long restriction_reason:flags.22?Vector = Message + ///See + [TLDef(0x58AE39C9)] public partial class Message : MessageBase { [Flags] public enum Flags { out_ = 0x2, has_fwd_from = 0x4, has_reply_to = 0x8, mentioned = 0x10, media_unread = 0x20, @@ -592,7 +708,8 @@ namespace TL [IfFlag(17)] public long grouped_id; [IfFlag(22)] public RestrictionReason[] restriction_reason; } - [TLDef(0x286FA604)] //messageService#286fa604 flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true post:flags.14?true legacy:flags.19?true id:int from_id:flags.8?Peer peer_id:Peer reply_to:flags.3?MessageReplyHeader date:int action:MessageAction = Message + ///See + [TLDef(0x286FA604)] public partial class MessageService : MessageBase { [Flags] public enum Flags { out_ = 0x2, has_reply_to = 0x8, mentioned = 0x10, media_unread = 0x20, has_from_id = 0x100, @@ -606,10 +723,13 @@ namespace TL public MessageAction action; } + ///See public abstract partial class MessageMedia : ITLObject { } - [TLDef(0x3DED6320)] //messageMediaEmpty#3ded6320 = MessageMedia + ///See + [TLDef(0x3DED6320)] public partial class MessageMediaEmpty : MessageMedia { } - [TLDef(0x695150D7)] //messageMediaPhoto#695150d7 flags:# photo:flags.0?Photo ttl_seconds:flags.2?int = MessageMedia + ///See + [TLDef(0x695150D7)] public partial class MessageMediaPhoto : MessageMedia { [Flags] public enum Flags { has_photo = 0x1, has_ttl_seconds = 0x4 } @@ -617,9 +737,11 @@ namespace TL [IfFlag(0)] public PhotoBase photo; [IfFlag(2)] public int ttl_seconds; } - [TLDef(0x56E0D474)] //messageMediaGeo#56e0d474 geo:GeoPoint = MessageMedia + ///See + [TLDef(0x56E0D474)] public partial class MessageMediaGeo : MessageMedia { public GeoPointBase geo; } - [TLDef(0xCBF24940)] //messageMediaContact#cbf24940 phone_number:string first_name:string last_name:string vcard:string user_id:int = MessageMedia + ///See + [TLDef(0xCBF24940)] public partial class MessageMediaContact : MessageMedia { public string phone_number; @@ -628,9 +750,11 @@ namespace TL public string vcard; public int user_id; } - [TLDef(0x9F84F49E)] //messageMediaUnsupported#9f84f49e = MessageMedia + ///See + [TLDef(0x9F84F49E)] public partial class MessageMediaUnsupported : MessageMedia { } - [TLDef(0x9CB070D7)] //messageMediaDocument#9cb070d7 flags:# document:flags.0?Document ttl_seconds:flags.2?int = MessageMedia + ///See + [TLDef(0x9CB070D7)] public partial class MessageMediaDocument : MessageMedia { [Flags] public enum Flags { has_document = 0x1, has_ttl_seconds = 0x4 } @@ -638,9 +762,11 @@ namespace TL [IfFlag(0)] public DocumentBase document; [IfFlag(2)] public int ttl_seconds; } - [TLDef(0xA32DD600)] //messageMediaWebPage#a32dd600 webpage:WebPage = MessageMedia + ///See + [TLDef(0xA32DD600)] public partial class MessageMediaWebPage : MessageMedia { public WebPageBase webpage; } - [TLDef(0x2EC0533F)] //messageMediaVenue#2ec0533f geo:GeoPoint title:string address:string provider:string venue_id:string venue_type:string = MessageMedia + ///See + [TLDef(0x2EC0533F)] public partial class MessageMediaVenue : MessageMedia { public GeoPointBase geo; @@ -650,9 +776,11 @@ namespace TL public string venue_id; public string venue_type; } - [TLDef(0xFDB19008)] //messageMediaGame#fdb19008 game:Game = MessageMedia + ///See + [TLDef(0xFDB19008)] public partial class MessageMediaGame : MessageMedia { public Game game; } - [TLDef(0x84551347)] //messageMediaInvoice#84551347 flags:# shipping_address_requested:flags.1?true test:flags.3?true title:string description:string photo:flags.0?WebDocument receipt_msg_id:flags.2?int currency:string total_amount:long start_param:string = MessageMedia + ///See + [TLDef(0x84551347)] public partial class MessageMediaInvoice : MessageMedia { [Flags] public enum Flags { has_photo = 0x1, shipping_address_requested = 0x2, has_receipt_msg_id = 0x4, test = 0x8 } @@ -665,7 +793,8 @@ namespace TL public long total_amount; public string start_param; } - [TLDef(0xB940C666)] //messageMediaGeoLive#b940c666 flags:# geo:GeoPoint heading:flags.0?int period:int proximity_notification_radius:flags.1?int = MessageMedia + ///See + [TLDef(0xB940C666)] public partial class MessageMediaGeoLive : MessageMedia { [Flags] public enum Flags { has_heading = 0x1, has_proximity_notification_radius = 0x2 } @@ -675,61 +804,79 @@ namespace TL public int period; [IfFlag(1)] public int proximity_notification_radius; } - [TLDef(0x4BD6E798)] //messageMediaPoll#4bd6e798 poll:Poll results:PollResults = MessageMedia + ///See + [TLDef(0x4BD6E798)] public partial class MessageMediaPoll : MessageMedia { public Poll poll; public PollResults results; } - [TLDef(0x3F7EE58B)] //messageMediaDice#3f7ee58b value:int emoticon:string = MessageMedia + ///See + [TLDef(0x3F7EE58B)] public partial class MessageMediaDice : MessageMedia { public int value; public string emoticon; } + ///See public abstract partial class MessageAction : ITLObject { } - [TLDef(0xB6AEF7B0)] //messageActionEmpty#b6aef7b0 = MessageAction + ///See + [TLDef(0xB6AEF7B0)] public partial class MessageActionEmpty : MessageAction { } - [TLDef(0xA6638B9A)] //messageActionChatCreate#a6638b9a title:string users:Vector = MessageAction + ///See + [TLDef(0xA6638B9A)] public partial class MessageActionChatCreate : MessageAction { public string title; public int[] users; } - [TLDef(0xB5A1CE5A)] //messageActionChatEditTitle#b5a1ce5a title:string = MessageAction + ///See + [TLDef(0xB5A1CE5A)] public partial class MessageActionChatEditTitle : MessageAction { public string title; } - [TLDef(0x7FCB13A8)] //messageActionChatEditPhoto#7fcb13a8 photo:Photo = MessageAction + ///See + [TLDef(0x7FCB13A8)] public partial class MessageActionChatEditPhoto : MessageAction { public PhotoBase photo; } - [TLDef(0x95E3FBEF)] //messageActionChatDeletePhoto#95e3fbef = MessageAction + ///See + [TLDef(0x95E3FBEF)] public partial class MessageActionChatDeletePhoto : MessageAction { } - [TLDef(0x488A7337)] //messageActionChatAddUser#488a7337 users:Vector = MessageAction + ///See + [TLDef(0x488A7337)] public partial class MessageActionChatAddUser : MessageAction { public int[] users; } - [TLDef(0xB2AE9B0C)] //messageActionChatDeleteUser#b2ae9b0c user_id:int = MessageAction + ///See + [TLDef(0xB2AE9B0C)] public partial class MessageActionChatDeleteUser : MessageAction { public int user_id; } - [TLDef(0xF89CF5E8)] //messageActionChatJoinedByLink#f89cf5e8 inviter_id:int = MessageAction + ///See + [TLDef(0xF89CF5E8)] public partial class MessageActionChatJoinedByLink : MessageAction { public int inviter_id; } - [TLDef(0x95D2AC92)] //messageActionChannelCreate#95d2ac92 title:string = MessageAction + ///See + [TLDef(0x95D2AC92)] public partial class MessageActionChannelCreate : MessageAction { public string title; } - [TLDef(0x51BDB021)] //messageActionChatMigrateTo#51bdb021 channel_id:int = MessageAction + ///See + [TLDef(0x51BDB021)] public partial class MessageActionChatMigrateTo : MessageAction { public int channel_id; } - [TLDef(0xB055EAEE)] //messageActionChannelMigrateFrom#b055eaee title:string chat_id:int = MessageAction + ///See + [TLDef(0xB055EAEE)] public partial class MessageActionChannelMigrateFrom : MessageAction { public string title; public int chat_id; } - [TLDef(0x94BD38ED)] //messageActionPinMessage#94bd38ed = MessageAction + ///See + [TLDef(0x94BD38ED)] public partial class MessageActionPinMessage : MessageAction { } - [TLDef(0x9FBAB604)] //messageActionHistoryClear#9fbab604 = MessageAction + ///See + [TLDef(0x9FBAB604)] public partial class MessageActionHistoryClear : MessageAction { } - [TLDef(0x92A72876)] //messageActionGameScore#92a72876 game_id:long score:int = MessageAction + ///See + [TLDef(0x92A72876)] public partial class MessageActionGameScore : MessageAction { public long game_id; public int score; } - [TLDef(0x8F31B327)] //messageActionPaymentSentMe#8f31b327 flags:# currency:string total_amount:long payload:bytes info:flags.0?PaymentRequestedInfo shipping_option_id:flags.1?string charge:PaymentCharge = MessageAction + ///See + [TLDef(0x8F31B327)] public partial class MessageActionPaymentSentMe : MessageAction { [Flags] public enum Flags { has_info = 0x1, has_shipping_option_id = 0x2 } @@ -741,13 +888,15 @@ namespace TL [IfFlag(1)] public string shipping_option_id; public PaymentCharge charge; } - [TLDef(0x40699CD0)] //messageActionPaymentSent#40699cd0 currency:string total_amount:long = MessageAction + ///See + [TLDef(0x40699CD0)] public partial class MessageActionPaymentSent : MessageAction { public string currency; public long total_amount; } - [TLDef(0x80E11A7F)] //messageActionPhoneCall#80e11a7f flags:# video:flags.2?true call_id:long reason:flags.0?PhoneCallDiscardReason duration:flags.1?int = MessageAction + ///See + [TLDef(0x80E11A7F)] public partial class MessageActionPhoneCall : MessageAction { [Flags] public enum Flags { has_reason = 0x1, has_duration = 0x2, video = 0x4 } @@ -756,23 +905,30 @@ namespace TL [IfFlag(0)] public PhoneCallDiscardReason reason; [IfFlag(1)] public int duration; } - [TLDef(0x4792929B)] //messageActionScreenshotTaken#4792929b = MessageAction + ///See + [TLDef(0x4792929B)] public partial class MessageActionScreenshotTaken : MessageAction { } - [TLDef(0xFAE69F56)] //messageActionCustomAction#fae69f56 message:string = MessageAction + ///See + [TLDef(0xFAE69F56)] public partial class MessageActionCustomAction : MessageAction { public string message; } - [TLDef(0xABE9AFFE)] //messageActionBotAllowed#abe9affe domain:string = MessageAction + ///See + [TLDef(0xABE9AFFE)] public partial class MessageActionBotAllowed : MessageAction { public string domain; } - [TLDef(0x1B287353)] //messageActionSecureValuesSentMe#1b287353 values:Vector credentials:SecureCredentialsEncrypted = MessageAction + ///See + [TLDef(0x1B287353)] public partial class MessageActionSecureValuesSentMe : MessageAction { public SecureValue[] values; public SecureCredentialsEncrypted credentials; } - [TLDef(0xD95C6154)] //messageActionSecureValuesSent#d95c6154 types:Vector = MessageAction + ///See + [TLDef(0xD95C6154)] public partial class MessageActionSecureValuesSent : MessageAction { public SecureValueType[] types; } - [TLDef(0xF3F25F76)] //messageActionContactSignUp#f3f25f76 = MessageAction + ///See + [TLDef(0xF3F25F76)] public partial class MessageActionContactSignUp : MessageAction { } - [TLDef(0x98E0D697)] //messageActionGeoProximityReached#98e0d697 from_id:Peer to_id:Peer distance:int = MessageAction + ///See + [TLDef(0x98E0D697)] public partial class MessageActionGeoProximityReached : MessageAction { public Peer from_id; @@ -780,8 +936,10 @@ namespace TL public int distance; } + ///See public abstract partial class DialogBase : ITLObject { } - [TLDef(0x2C171F72)] //dialog#2c171f72 flags:# pinned:flags.2?true unread_mark:flags.3?true peer:Peer top_message:int read_inbox_max_id:int read_outbox_max_id:int unread_count:int unread_mentions_count:int notify_settings:PeerNotifySettings pts:flags.0?int draft:flags.1?DraftMessage folder_id:flags.4?int = Dialog + ///See + [TLDef(0x2C171F72)] public partial class Dialog : DialogBase { [Flags] public enum Flags { has_pts = 0x1, has_draft = 0x2, pinned = 0x4, unread_mark = 0x8, has_folder_id = 0x10 } @@ -797,7 +955,8 @@ namespace TL [IfFlag(1)] public DraftMessageBase draft; [IfFlag(4)] public int folder_id; } - [TLDef(0x71BD134C)] //dialogFolder#71bd134c flags:# pinned:flags.2?true folder:Folder peer:Peer top_message:int unread_muted_peers_count:int unread_unmuted_peers_count:int unread_muted_messages_count:int unread_unmuted_messages_count:int = Dialog + ///See + [TLDef(0x71BD134C)] public partial class DialogFolder : DialogBase { [Flags] public enum Flags { pinned = 0x4 } @@ -811,10 +970,13 @@ namespace TL public int unread_unmuted_messages_count; } + ///See public abstract partial class PhotoBase : ITLObject { } - [TLDef(0x2331B22D)] //photoEmpty#2331b22d id:long = Photo + ///See + [TLDef(0x2331B22D)] public partial class PhotoEmpty : PhotoBase { public long id; } - [TLDef(0xFB197A65)] //photo#fb197a65 flags:# has_stickers:flags.0?true id:long access_hash:long file_reference:bytes date:int sizes:Vector video_sizes:flags.1?Vector dc_id:int = Photo + ///See + [TLDef(0xFB197A65)] public partial class Photo : PhotoBase { [Flags] public enum Flags { has_stickers = 0x1, has_video_sizes = 0x2 } @@ -828,10 +990,13 @@ namespace TL public int dc_id; } + ///See public abstract partial class PhotoSizeBase : ITLObject { } - [TLDef(0x0E17E23C)] //photoSizeEmpty#0e17e23c type:string = PhotoSize + ///See + [TLDef(0x0E17E23C)] public partial class PhotoSizeEmpty : PhotoSizeBase { public string type; } - [TLDef(0x77BFB61B)] //photoSize#77bfb61b type:string location:FileLocation w:int h:int size:int = PhotoSize + ///See + [TLDef(0x77BFB61B)] public partial class PhotoSize : PhotoSizeBase { public string type; @@ -840,7 +1005,8 @@ namespace TL public int h; public int size; } - [TLDef(0xE9A734FA)] //photoCachedSize#e9a734fa type:string location:FileLocation w:int h:int bytes:bytes = PhotoSize + ///See + [TLDef(0xE9A734FA)] public partial class PhotoCachedSize : PhotoSizeBase { public string type; @@ -849,13 +1015,15 @@ namespace TL public int h; public byte[] bytes; } - [TLDef(0xE0B0BC2E)] //photoStrippedSize#e0b0bc2e type:string bytes:bytes = PhotoSize + ///See + [TLDef(0xE0B0BC2E)] public partial class PhotoStrippedSize : PhotoSizeBase { public string type; public byte[] bytes; } - [TLDef(0x5AA86A51)] //photoSizeProgressive#5aa86a51 type:string location:FileLocation w:int h:int sizes:Vector = PhotoSize + ///See + [TLDef(0x5AA86A51)] public partial class PhotoSizeProgressive : PhotoSizeBase { public string type; @@ -864,17 +1032,21 @@ namespace TL public int h; public int[] sizes; } - [TLDef(0xD8214D41)] //photoPathSize#d8214d41 type:string bytes:bytes = PhotoSize + ///See + [TLDef(0xD8214D41)] public partial class PhotoPathSize : PhotoSizeBase { public string type; public byte[] bytes; } + ///See public abstract partial class GeoPointBase : ITLObject { } - [TLDef(0x1117DD5F)] //geoPointEmpty#1117dd5f = GeoPoint + ///See + [TLDef(0x1117DD5F)] public partial class GeoPointEmpty : GeoPointBase { } - [TLDef(0xB2A2F663)] //geoPoint#b2a2f663 flags:# long:double lat:double access_hash:long accuracy_radius:flags.0?int = GeoPoint + ///See + [TLDef(0xB2A2F663)] public partial class GeoPoint : GeoPointBase { [Flags] public enum Flags { has_accuracy_radius = 0x1 } @@ -885,7 +1057,8 @@ namespace TL [IfFlag(0)] public int accuracy_radius; } - [TLDef(0x5E002502)] //auth.sentCode#5e002502 flags:# type:auth.SentCodeType phone_code_hash:string next_type:flags.1?auth.CodeType timeout:flags.2?int = auth.SentCode + ///See + [TLDef(0x5E002502)] public partial class Auth_SentCode : ITLObject { [Flags] public enum Flags { has_next_type = 0x2, has_timeout = 0x4 } @@ -896,8 +1069,10 @@ namespace TL [IfFlag(2)] public int timeout; } + ///See public abstract partial class Auth_AuthorizationBase : ITLObject { } - [TLDef(0xCD050916)] //auth.authorization#cd050916 flags:# tmp_sessions:flags.0?int user:User = auth.Authorization + ///See + [TLDef(0xCD050916)] public partial class Auth_Authorization : Auth_AuthorizationBase { [Flags] public enum Flags { has_tmp_sessions = 0x1 } @@ -905,7 +1080,8 @@ namespace TL [IfFlag(0)] public int tmp_sessions; public UserBase user; } - [TLDef(0x44747E9A)] //auth.authorizationSignUpRequired#44747e9a flags:# terms_of_service:flags.0?help.TermsOfService = auth.Authorization + ///See + [TLDef(0x44747E9A)] public partial class Auth_AuthorizationSignUpRequired : Auth_AuthorizationBase { [Flags] public enum Flags { has_terms_of_service = 0x1 } @@ -913,24 +1089,31 @@ namespace TL [IfFlag(0)] public Help_TermsOfService terms_of_service; } - [TLDef(0xDF969C2D)] //auth.exportedAuthorization#df969c2d id:int bytes:bytes = auth.ExportedAuthorization + ///See + [TLDef(0xDF969C2D)] public partial class Auth_ExportedAuthorization : ITLObject { public int id; public byte[] bytes; } + ///See public abstract partial class InputNotifyPeerBase : ITLObject { } - [TLDef(0xB8BC5B0C)] //inputNotifyPeer#b8bc5b0c peer:InputPeer = InputNotifyPeer + ///See + [TLDef(0xB8BC5B0C)] public partial class InputNotifyPeer : InputNotifyPeerBase { public InputPeer peer; } - [TLDef(0x193B4417)] //inputNotifyUsers#193b4417 = InputNotifyPeer + ///See + [TLDef(0x193B4417)] public partial class InputNotifyUsers : InputNotifyPeerBase { } - [TLDef(0x4A95E84E)] //inputNotifyChats#4a95e84e = InputNotifyPeer + ///See + [TLDef(0x4A95E84E)] public partial class InputNotifyChats : InputNotifyPeerBase { } - [TLDef(0xB1DB7C7E)] //inputNotifyBroadcasts#b1db7c7e = InputNotifyPeer + ///See + [TLDef(0xB1DB7C7E)] public partial class InputNotifyBroadcasts : InputNotifyPeerBase { } - [TLDef(0x9C3D198E)] //inputPeerNotifySettings#9c3d198e flags:# show_previews:flags.0?Bool silent:flags.1?Bool mute_until:flags.2?int sound:flags.3?string = InputPeerNotifySettings + ///See + [TLDef(0x9C3D198E)] public partial class InputPeerNotifySettings : ITLObject { [Flags] public enum Flags { has_show_previews = 0x1, has_silent = 0x2, has_mute_until = 0x4, has_sound = 0x8 } @@ -941,7 +1124,8 @@ namespace TL [IfFlag(3)] public string sound; } - [TLDef(0xAF509D20)] //peerNotifySettings#af509d20 flags:# show_previews:flags.0?Bool silent:flags.1?Bool mute_until:flags.2?int sound:flags.3?string = PeerNotifySettings + ///See + [TLDef(0xAF509D20)] public partial class PeerNotifySettings : ITLObject { [Flags] public enum Flags { has_show_previews = 0x1, has_silent = 0x2, has_mute_until = 0x4, has_sound = 0x8 } @@ -952,7 +1136,8 @@ namespace TL [IfFlag(3)] public string sound; } - [TLDef(0x733F2961)] //peerSettings#733f2961 flags:# report_spam:flags.0?true add_contact:flags.1?true block_contact:flags.2?true share_contact:flags.3?true need_contacts_exception:flags.4?true report_geo:flags.5?true autoarchived:flags.7?true invite_members:flags.8?true geo_distance:flags.6?int = PeerSettings + ///See + [TLDef(0x733F2961)] public partial class PeerSettings : ITLObject { [Flags] public enum Flags { report_spam = 0x1, add_contact = 0x2, block_contact = 0x4, share_contact = 0x8, @@ -961,8 +1146,10 @@ namespace TL [IfFlag(6)] public int geo_distance; } + ///See public abstract partial class WallPaperBase : ITLObject { } - [TLDef(0xA437C3ED)] //wallPaper#a437c3ed id:long flags:# creator:flags.0?true default:flags.1?true pattern:flags.3?true dark:flags.4?true access_hash:long slug:string document:Document settings:flags.2?WallPaperSettings = WallPaper + ///See + [TLDef(0xA437C3ED)] public partial class WallPaper : WallPaperBase { [Flags] public enum Flags { creator = 0x1, default_ = 0x2, has_settings = 0x4, pattern = 0x8, dark = 0x10 } @@ -973,7 +1160,8 @@ namespace TL public DocumentBase document; [IfFlag(2)] public WallPaperSettings settings; } - [TLDef(0x8AF40B25)] //wallPaperNoFile#8af40b25 flags:# default:flags.1?true dark:flags.4?true settings:flags.2?WallPaperSettings = WallPaper + ///See + [TLDef(0x8AF40B25)] public partial class WallPaperNoFile : WallPaperBase { [Flags] public enum Flags { default_ = 0x2, has_settings = 0x4, dark = 0x10 } @@ -981,23 +1169,32 @@ namespace TL [IfFlag(2)] public WallPaperSettings settings; } + ///See public abstract partial class ReportReason : ITLObject { } - [TLDef(0x58DBCAB8)] //inputReportReasonSpam#58dbcab8 = ReportReason + ///See + [TLDef(0x58DBCAB8)] public partial class InputReportReasonSpam : ReportReason { } - [TLDef(0x1E22C78D)] //inputReportReasonViolence#1e22c78d = ReportReason + ///See + [TLDef(0x1E22C78D)] public partial class InputReportReasonViolence : ReportReason { } - [TLDef(0x2E59D922)] //inputReportReasonPornography#2e59d922 = ReportReason + ///See + [TLDef(0x2E59D922)] public partial class InputReportReasonPornography : ReportReason { } - [TLDef(0xADF44EE3)] //inputReportReasonChildAbuse#adf44ee3 = ReportReason + ///See + [TLDef(0xADF44EE3)] public partial class InputReportReasonChildAbuse : ReportReason { } - [TLDef(0xE1746D0A)] //inputReportReasonOther#e1746d0a text:string = ReportReason + ///See + [TLDef(0xE1746D0A)] public partial class InputReportReasonOther : ReportReason { public string text; } - [TLDef(0x9B89F93A)] //inputReportReasonCopyright#9b89f93a = ReportReason + ///See + [TLDef(0x9B89F93A)] public partial class InputReportReasonCopyright : ReportReason { } - [TLDef(0xDBD4FEED)] //inputReportReasonGeoIrrelevant#dbd4feed = ReportReason + ///See + [TLDef(0xDBD4FEED)] public partial class InputReportReasonGeoIrrelevant : ReportReason { } - [TLDef(0xEDF17C12)] //userFull#edf17c12 flags:# blocked:flags.0?true phone_calls_available:flags.4?true phone_calls_private:flags.5?true can_pin_message:flags.7?true has_scheduled:flags.12?true video_calls_available:flags.13?true user:User about:flags.1?string settings:PeerSettings profile_photo:flags.2?Photo notify_settings:PeerNotifySettings bot_info:flags.3?BotInfo pinned_msg_id:flags.6?int common_chats_count:int folder_id:flags.11?int = UserFull + ///See + [TLDef(0xEDF17C12)] public partial class UserFull : ITLObject { [Flags] public enum Flags { blocked = 0x1, has_about = 0x2, has_profile_photo = 0x4, has_bot_info = 0x8, @@ -1015,31 +1212,37 @@ namespace TL [IfFlag(11)] public int folder_id; } - [TLDef(0xF911C994)] //contact#f911c994 user_id:int mutual:Bool = Contact + ///See + [TLDef(0xF911C994)] public partial class Contact : ITLObject { public int user_id; public bool mutual; } - [TLDef(0xD0028438)] //importedContact#d0028438 user_id:int client_id:long = ImportedContact + ///See + [TLDef(0xD0028438)] public partial class ImportedContact : ITLObject { public int user_id; public long client_id; } - [TLDef(0xD3680C61)] //contactStatus#d3680c61 user_id:int status:UserStatus = ContactStatus + ///See + [TLDef(0xD3680C61)] public partial class ContactStatus : ITLObject { public int user_id; public UserStatus status; } + ///See public abstract partial class Contacts_ContactsBase : ITLObject { } - [TLDef(0xB74BA9D2)] //contacts.contactsNotModified#b74ba9d2 = contacts.Contacts + ///See + [TLDef(0xB74BA9D2)] public partial class Contacts_ContactsNotModified : Contacts_ContactsBase { } - [TLDef(0xEAE87E42)] //contacts.contacts#eae87e42 contacts:Vector saved_count:int users:Vector = contacts.Contacts + ///See + [TLDef(0xEAE87E42)] public partial class Contacts_Contacts : Contacts_ContactsBase { public Contact[] contacts; @@ -1047,7 +1250,8 @@ namespace TL public UserBase[] users; } - [TLDef(0x77D01C3B)] //contacts.importedContacts#77d01c3b imported:Vector popular_invites:Vector retry_contacts:Vector users:Vector = contacts.ImportedContacts + ///See + [TLDef(0x77D01C3B)] public partial class Contacts_ImportedContacts : ITLObject { public ImportedContact[] imported; @@ -1056,15 +1260,18 @@ namespace TL public UserBase[] users; } + ///See public abstract partial class Contacts_BlockedBase : ITLObject { } - [TLDef(0x0ADE1591)] //contacts.blocked#0ade1591 blocked:Vector chats:Vector users:Vector = contacts.Blocked + ///See + [TLDef(0x0ADE1591)] public partial class Contacts_Blocked : Contacts_BlockedBase { public PeerBlocked[] blocked; public ChatBase[] chats; public UserBase[] users; } - [TLDef(0xE1664194)] //contacts.blockedSlice#e1664194 count:int blocked:Vector chats:Vector users:Vector = contacts.Blocked + ///See + [TLDef(0xE1664194)] public partial class Contacts_BlockedSlice : Contacts_BlockedBase { public int count; @@ -1073,8 +1280,10 @@ namespace TL public UserBase[] users; } + ///See public abstract partial class Messages_DialogsBase : ITLObject { } - [TLDef(0x15BA6C40)] //messages.dialogs#15ba6c40 dialogs:Vector messages:Vector chats:Vector users:Vector = messages.Dialogs + ///See + [TLDef(0x15BA6C40)] public partial class Messages_Dialogs : Messages_DialogsBase { public DialogBase[] dialogs; @@ -1082,7 +1291,8 @@ namespace TL public ChatBase[] chats; public UserBase[] users; } - [TLDef(0x71E094F3)] //messages.dialogsSlice#71e094f3 count:int dialogs:Vector messages:Vector chats:Vector users:Vector = messages.Dialogs + ///See + [TLDef(0x71E094F3)] public partial class Messages_DialogsSlice : Messages_DialogsBase { public int count; @@ -1091,18 +1301,22 @@ namespace TL public ChatBase[] chats; public UserBase[] users; } - [TLDef(0xF0E3E596)] //messages.dialogsNotModified#f0e3e596 count:int = messages.Dialogs + ///See + [TLDef(0xF0E3E596)] public partial class Messages_DialogsNotModified : Messages_DialogsBase { public int count; } + ///See public abstract partial class Messages_MessagesBase : ITLObject { } - [TLDef(0x8C718E87)] //messages.messages#8c718e87 messages:Vector chats:Vector users:Vector = messages.Messages + ///See + [TLDef(0x8C718E87)] public partial class Messages_Messages : Messages_MessagesBase { public MessageBase[] messages; public ChatBase[] chats; public UserBase[] users; } - [TLDef(0x3A54685E)] //messages.messagesSlice#3a54685e flags:# inexact:flags.1?true count:int next_rate:flags.0?int offset_id_offset:flags.2?int messages:Vector chats:Vector users:Vector = messages.Messages + ///See + [TLDef(0x3A54685E)] public partial class Messages_MessagesSlice : Messages_MessagesBase { [Flags] public enum Flags { has_next_rate = 0x1, inexact = 0x2, has_offset_id_offset = 0x4 } @@ -1114,7 +1328,8 @@ namespace TL public ChatBase[] chats; public UserBase[] users; } - [TLDef(0x64479808)] //messages.channelMessages#64479808 flags:# inexact:flags.1?true pts:int count:int offset_id_offset:flags.2?int messages:Vector chats:Vector users:Vector = messages.Messages + ///See + [TLDef(0x64479808)] public partial class Messages_ChannelMessages : Messages_MessagesBase { [Flags] public enum Flags { inexact = 0x2, has_offset_id_offset = 0x4 } @@ -1126,20 +1341,25 @@ namespace TL public ChatBase[] chats; public UserBase[] users; } - [TLDef(0x74535F21)] //messages.messagesNotModified#74535f21 count:int = messages.Messages + ///See + [TLDef(0x74535F21)] public partial class Messages_MessagesNotModified : Messages_MessagesBase { public int count; } + ///See public abstract partial class Messages_ChatsBase : ITLObject { } - [TLDef(0x64FF9FD5)] //messages.chats#64ff9fd5 chats:Vector = messages.Chats + ///See + [TLDef(0x64FF9FD5)] public partial class Messages_Chats : Messages_ChatsBase { public ChatBase[] chats; } - [TLDef(0x9CD81144)] //messages.chatsSlice#9cd81144 count:int chats:Vector = messages.Chats + ///See + [TLDef(0x9CD81144)] public partial class Messages_ChatsSlice : Messages_ChatsBase { public int count; public ChatBase[] chats; } - [TLDef(0xE5D7D19C)] //messages.chatFull#e5d7d19c full_chat:ChatFull chats:Vector users:Vector = messages.ChatFull + ///See + [TLDef(0xE5D7D19C)] public partial class Messages_ChatFull : ITLObject { public ChatFullBase full_chat; @@ -1147,7 +1367,8 @@ namespace TL public UserBase[] users; } - [TLDef(0xB45C69D1)] //messages.affectedHistory#b45c69d1 pts:int pts_count:int offset:int = messages.AffectedHistory + ///See + [TLDef(0xB45C69D1)] public partial class Messages_AffectedHistory : ITLObject { public int pts; @@ -1155,89 +1376,116 @@ namespace TL public int offset; } + ///See public abstract partial class MessagesFilter : ITLObject { } - [TLDef(0x57E2F66C)] //inputMessagesFilterEmpty#57e2f66c = MessagesFilter + ///See + [TLDef(0x57E2F66C)] public partial class InputMessagesFilterEmpty : MessagesFilter { } - [TLDef(0x9609A51C)] //inputMessagesFilterPhotos#9609a51c = MessagesFilter + ///See + [TLDef(0x9609A51C)] public partial class InputMessagesFilterPhotos : MessagesFilter { } - [TLDef(0x9FC00E65)] //inputMessagesFilterVideo#9fc00e65 = MessagesFilter + ///See + [TLDef(0x9FC00E65)] public partial class InputMessagesFilterVideo : MessagesFilter { } - [TLDef(0x56E9F0E4)] //inputMessagesFilterPhotoVideo#56e9f0e4 = MessagesFilter + ///See + [TLDef(0x56E9F0E4)] public partial class InputMessagesFilterPhotoVideo : MessagesFilter { } - [TLDef(0x9EDDF188)] //inputMessagesFilterDocument#9eddf188 = MessagesFilter + ///See + [TLDef(0x9EDDF188)] public partial class InputMessagesFilterDocument : MessagesFilter { } - [TLDef(0x7EF0DD87)] //inputMessagesFilterUrl#7ef0dd87 = MessagesFilter + ///See + [TLDef(0x7EF0DD87)] public partial class InputMessagesFilterUrl : MessagesFilter { } - [TLDef(0xFFC86587)] //inputMessagesFilterGif#ffc86587 = MessagesFilter + ///See + [TLDef(0xFFC86587)] public partial class InputMessagesFilterGif : MessagesFilter { } - [TLDef(0x50F5C392)] //inputMessagesFilterVoice#50f5c392 = MessagesFilter + ///See + [TLDef(0x50F5C392)] public partial class InputMessagesFilterVoice : MessagesFilter { } - [TLDef(0x3751B49E)] //inputMessagesFilterMusic#3751b49e = MessagesFilter + ///See + [TLDef(0x3751B49E)] public partial class InputMessagesFilterMusic : MessagesFilter { } - [TLDef(0x3A20ECB8)] //inputMessagesFilterChatPhotos#3a20ecb8 = MessagesFilter + ///See + [TLDef(0x3A20ECB8)] public partial class InputMessagesFilterChatPhotos : MessagesFilter { } - [TLDef(0x80C99768)] //inputMessagesFilterPhoneCalls#80c99768 flags:# missed:flags.0?true = MessagesFilter + ///See + [TLDef(0x80C99768)] public partial class InputMessagesFilterPhoneCalls : MessagesFilter { [Flags] public enum Flags { missed = 0x1 } public Flags flags; } - [TLDef(0x7A7C17A4)] //inputMessagesFilterRoundVoice#7a7c17a4 = MessagesFilter + ///See + [TLDef(0x7A7C17A4)] public partial class InputMessagesFilterRoundVoice : MessagesFilter { } - [TLDef(0xB549DA53)] //inputMessagesFilterRoundVideo#b549da53 = MessagesFilter + ///See + [TLDef(0xB549DA53)] public partial class InputMessagesFilterRoundVideo : MessagesFilter { } - [TLDef(0xC1F8E69A)] //inputMessagesFilterMyMentions#c1f8e69a = MessagesFilter + ///See + [TLDef(0xC1F8E69A)] public partial class InputMessagesFilterMyMentions : MessagesFilter { } - [TLDef(0xE7026D0D)] //inputMessagesFilterGeo#e7026d0d = MessagesFilter + ///See + [TLDef(0xE7026D0D)] public partial class InputMessagesFilterGeo : MessagesFilter { } - [TLDef(0xE062DB83)] //inputMessagesFilterContacts#e062db83 = MessagesFilter + ///See + [TLDef(0xE062DB83)] public partial class InputMessagesFilterContacts : MessagesFilter { } - [TLDef(0x1BB00451)] //inputMessagesFilterPinned#1bb00451 = MessagesFilter + ///See + [TLDef(0x1BB00451)] public partial class InputMessagesFilterPinned : MessagesFilter { } + ///See public abstract partial class Update : ITLObject { } - [TLDef(0x1F2B0AFD)] //updateNewMessage#1f2b0afd message:Message pts:int pts_count:int = Update + ///See + [TLDef(0x1F2B0AFD)] public partial class UpdateNewMessage : Update { public MessageBase message; public int pts; public int pts_count; } - [TLDef(0x4E90BFD6)] //updateMessageID#4e90bfd6 id:int random_id:long = Update + ///See + [TLDef(0x4E90BFD6)] public partial class UpdateMessageID : Update { public int id; public long random_id; } - [TLDef(0xA20DB0E5)] //updateDeleteMessages#a20db0e5 messages:Vector pts:int pts_count:int = Update + ///See + [TLDef(0xA20DB0E5)] public partial class UpdateDeleteMessages : Update { public int[] messages; public int pts; public int pts_count; } - [TLDef(0x5C486927)] //updateUserTyping#5c486927 user_id:int action:SendMessageAction = Update + ///See + [TLDef(0x5C486927)] public partial class UpdateUserTyping : Update { public int user_id; public SendMessageAction action; } - [TLDef(0x9A65EA1F)] //updateChatUserTyping#9a65ea1f chat_id:int user_id:int action:SendMessageAction = Update + ///See + [TLDef(0x9A65EA1F)] public partial class UpdateChatUserTyping : Update { public int chat_id; public int user_id; public SendMessageAction action; } - [TLDef(0x07761198)] //updateChatParticipants#07761198 participants:ChatParticipants = Update + ///See + [TLDef(0x07761198)] public partial class UpdateChatParticipants : Update { public ChatParticipantsBase participants; } - [TLDef(0x1BFBD823)] //updateUserStatus#1bfbd823 user_id:int status:UserStatus = Update + ///See + [TLDef(0x1BFBD823)] public partial class UpdateUserStatus : Update { public int user_id; public UserStatus status; } - [TLDef(0xA7332B73)] //updateUserName#a7332b73 user_id:int first_name:string last_name:string username:string = Update + ///See + [TLDef(0xA7332B73)] public partial class UpdateUserName : Update { public int user_id; @@ -1245,7 +1493,8 @@ namespace TL public string last_name; public string username; } - [TLDef(0x95313B0C)] //updateUserPhoto#95313b0c user_id:int date:int photo:UserProfilePhoto previous:Bool = Update + ///See + [TLDef(0x95313B0C)] public partial class UpdateUserPhoto : Update { public int user_id; @@ -1253,28 +1502,33 @@ namespace TL public UserProfilePhotoBase photo; public bool previous; } - [TLDef(0x12BCBD9A)] //updateNewEncryptedMessage#12bcbd9a message:EncryptedMessage qts:int = Update + ///See + [TLDef(0x12BCBD9A)] public partial class UpdateNewEncryptedMessage : Update { public EncryptedMessageBase message; public int qts; } - [TLDef(0x1710F156)] //updateEncryptedChatTyping#1710f156 chat_id:int = Update + ///See + [TLDef(0x1710F156)] public partial class UpdateEncryptedChatTyping : Update { public int chat_id; } - [TLDef(0xB4A2E88D)] //updateEncryption#b4a2e88d chat:EncryptedChat date:int = Update + ///See + [TLDef(0xB4A2E88D)] public partial class UpdateEncryption : Update { public EncryptedChatBase chat; public DateTime date; } - [TLDef(0x38FE25B7)] //updateEncryptedMessagesRead#38fe25b7 chat_id:int max_date:int date:int = Update + ///See + [TLDef(0x38FE25B7)] public partial class UpdateEncryptedMessagesRead : Update { public int chat_id; public DateTime max_date; public DateTime date; } - [TLDef(0xEA4B0E5C)] //updateChatParticipantAdd#ea4b0e5c chat_id:int user_id:int inviter_id:int date:int version:int = Update + ///See + [TLDef(0xEA4B0E5C)] public partial class UpdateChatParticipantAdd : Update { public int chat_id; @@ -1283,22 +1537,26 @@ namespace TL public DateTime date; public int version; } - [TLDef(0x6E5F8C22)] //updateChatParticipantDelete#6e5f8c22 chat_id:int user_id:int version:int = Update + ///See + [TLDef(0x6E5F8C22)] public partial class UpdateChatParticipantDelete : Update { public int chat_id; public int user_id; public int version; } - [TLDef(0x8E5E9873)] //updateDcOptions#8e5e9873 dc_options:Vector = Update + ///See + [TLDef(0x8E5E9873)] public partial class UpdateDcOptions : Update { public DcOption[] dc_options; } - [TLDef(0xBEC268EF)] //updateNotifySettings#bec268ef peer:NotifyPeer notify_settings:PeerNotifySettings = Update + ///See + [TLDef(0xBEC268EF)] public partial class UpdateNotifySettings : Update { public NotifyPeerBase peer; public PeerNotifySettings notify_settings; } - [TLDef(0xEBE46819)] //updateServiceNotification#ebe46819 flags:# popup:flags.0?true inbox_date:flags.1?int type:string message:string media:MessageMedia entities:Vector = Update + ///See + [TLDef(0xEBE46819)] public partial class UpdateServiceNotification : Update { [Flags] public enum Flags { popup = 0x1, has_inbox_date = 0x2 } @@ -1309,19 +1567,22 @@ namespace TL public MessageMedia media; public MessageEntity[] entities; } - [TLDef(0xEE3B272A)] //updatePrivacy#ee3b272a key:PrivacyKey rules:Vector = Update + ///See + [TLDef(0xEE3B272A)] public partial class UpdatePrivacy : Update { public PrivacyKey key; public PrivacyRule[] rules; } - [TLDef(0x12B9417B)] //updateUserPhone#12b9417b user_id:int phone:string = Update + ///See + [TLDef(0x12B9417B)] public partial class UpdateUserPhone : Update { public int user_id; public string phone; } - [TLDef(0x9C974FDF)] //updateReadHistoryInbox#9c974fdf flags:# folder_id:flags.0?int peer:Peer max_id:int still_unread_count:int pts:int pts_count:int = Update + ///See + [TLDef(0x9C974FDF)] public partial class UpdateReadHistoryInbox : Update { [Flags] public enum Flags { has_folder_id = 0x1 } @@ -1333,7 +1594,8 @@ namespace TL public int pts; public int pts_count; } - [TLDef(0x2F2F21BF)] //updateReadHistoryOutbox#2f2f21bf peer:Peer max_id:int pts:int pts_count:int = Update + ///See + [TLDef(0x2F2F21BF)] public partial class UpdateReadHistoryOutbox : Update { public Peer peer; @@ -1341,21 +1603,24 @@ namespace TL public int pts; public int pts_count; } - [TLDef(0x7F891213)] //updateWebPage#7f891213 webpage:WebPage pts:int pts_count:int = Update + ///See + [TLDef(0x7F891213)] public partial class UpdateWebPage : Update { public WebPageBase webpage; public int pts; public int pts_count; } - [TLDef(0x68C13933)] //updateReadMessagesContents#68c13933 messages:Vector pts:int pts_count:int = Update + ///See + [TLDef(0x68C13933)] public partial class UpdateReadMessagesContents : Update { public int[] messages; public int pts; public int pts_count; } - [TLDef(0xEB0467FB)] //updateChannelTooLong#eb0467fb flags:# channel_id:int pts:flags.0?int = Update + ///See + [TLDef(0xEB0467FB)] public partial class UpdateChannelTooLong : Update { [Flags] public enum Flags { has_pts = 0x1 } @@ -1363,16 +1628,19 @@ namespace TL public int channel_id; [IfFlag(0)] public int pts; } - [TLDef(0xB6D45656)] //updateChannel#b6d45656 channel_id:int = Update + ///See + [TLDef(0xB6D45656)] public partial class UpdateChannel : Update { public int channel_id; } - [TLDef(0x62BA04D9)] //updateNewChannelMessage#62ba04d9 message:Message pts:int pts_count:int = Update + ///See + [TLDef(0x62BA04D9)] public partial class UpdateNewChannelMessage : Update { public MessageBase message; public int pts; public int pts_count; } - [TLDef(0x330B5424)] //updateReadChannelInbox#330b5424 flags:# folder_id:flags.0?int channel_id:int max_id:int still_unread_count:int pts:int = Update + ///See + [TLDef(0x330B5424)] public partial class UpdateReadChannelInbox : Update { [Flags] public enum Flags { has_folder_id = 0x1 } @@ -1383,7 +1651,8 @@ namespace TL public int still_unread_count; public int pts; } - [TLDef(0xC37521C9)] //updateDeleteChannelMessages#c37521c9 channel_id:int messages:Vector pts:int pts_count:int = Update + ///See + [TLDef(0xC37521C9)] public partial class UpdateDeleteChannelMessages : Update { public int channel_id; @@ -1391,14 +1660,16 @@ namespace TL public int pts; public int pts_count; } - [TLDef(0x98A12B4B)] //updateChannelMessageViews#98a12b4b channel_id:int id:int views:int = Update + ///See + [TLDef(0x98A12B4B)] public partial class UpdateChannelMessageViews : Update { public int channel_id; public int id; public int views; } - [TLDef(0xB6901959)] //updateChatParticipantAdmin#b6901959 chat_id:int user_id:int is_admin:Bool version:int = Update + ///See + [TLDef(0xB6901959)] public partial class UpdateChatParticipantAdmin : Update { public int chat_id; @@ -1406,20 +1677,25 @@ namespace TL public bool is_admin; public int version; } - [TLDef(0x688A30AA)] //updateNewStickerSet#688a30aa stickerset:messages.StickerSet = Update + ///See + [TLDef(0x688A30AA)] public partial class UpdateNewStickerSet : Update { public Messages_StickerSet stickerset; } - [TLDef(0x0BB2D201)] //updateStickerSetsOrder#0bb2d201 flags:# masks:flags.0?true order:Vector = Update + ///See + [TLDef(0x0BB2D201)] public partial class UpdateStickerSetsOrder : Update { [Flags] public enum Flags { masks = 0x1 } public Flags flags; public long[] order; } - [TLDef(0x43AE3DEC)] //updateStickerSets#43ae3dec = Update + ///See + [TLDef(0x43AE3DEC)] public partial class UpdateStickerSets : Update { } - [TLDef(0x9375341E)] //updateSavedGifs#9375341e = Update + ///See + [TLDef(0x9375341E)] public partial class UpdateSavedGifs : Update { } - [TLDef(0x54826690)] //updateBotInlineQuery#54826690 flags:# query_id:long user_id:int query:string geo:flags.0?GeoPoint offset:string = Update + ///See + [TLDef(0x54826690)] public partial class UpdateBotInlineQuery : Update { [Flags] public enum Flags { has_geo = 0x1 } @@ -1430,7 +1706,8 @@ namespace TL [IfFlag(0)] public GeoPointBase geo; public string offset; } - [TLDef(0x0E48F964)] //updateBotInlineSend#0e48f964 flags:# user_id:int query:string geo:flags.0?GeoPoint id:string msg_id:flags.1?InputBotInlineMessageID = Update + ///See + [TLDef(0x0E48F964)] public partial class UpdateBotInlineSend : Update { [Flags] public enum Flags { has_geo = 0x1, has_msg_id = 0x2 } @@ -1441,14 +1718,16 @@ namespace TL public string id; [IfFlag(1)] public InputBotInlineMessageID msg_id; } - [TLDef(0x1B3F4DF7)] //updateEditChannelMessage#1b3f4df7 message:Message pts:int pts_count:int = Update + ///See + [TLDef(0x1B3F4DF7)] public partial class UpdateEditChannelMessage : Update { public MessageBase message; public int pts; public int pts_count; } - [TLDef(0xE73547E1)] //updateBotCallbackQuery#e73547e1 flags:# query_id:long user_id:int peer:Peer msg_id:int chat_instance:long data:flags.0?bytes game_short_name:flags.1?string = Update + ///See + [TLDef(0xE73547E1)] public partial class UpdateBotCallbackQuery : Update { [Flags] public enum Flags { has_data = 0x1, has_game_short_name = 0x2 } @@ -1461,14 +1740,16 @@ namespace TL [IfFlag(0)] public byte[] data; [IfFlag(1)] public string game_short_name; } - [TLDef(0xE40370A3)] //updateEditMessage#e40370a3 message:Message pts:int pts_count:int = Update + ///See + [TLDef(0xE40370A3)] public partial class UpdateEditMessage : Update { public MessageBase message; public int pts; public int pts_count; } - [TLDef(0xF9D27A5A)] //updateInlineBotCallbackQuery#f9d27a5a flags:# query_id:long user_id:int msg_id:InputBotInlineMessageID chat_instance:long data:flags.0?bytes game_short_name:flags.1?string = Update + ///See + [TLDef(0xF9D27A5A)] public partial class UpdateInlineBotCallbackQuery : Update { [Flags] public enum Flags { has_data = 0x1, has_game_short_name = 0x2 } @@ -1480,27 +1761,34 @@ namespace TL [IfFlag(0)] public byte[] data; [IfFlag(1)] public string game_short_name; } - [TLDef(0x25D6C9C7)] //updateReadChannelOutbox#25d6c9c7 channel_id:int max_id:int = Update + ///See + [TLDef(0x25D6C9C7)] public partial class UpdateReadChannelOutbox : Update { public int channel_id; public int max_id; } - [TLDef(0xEE2BB969)] //updateDraftMessage#ee2bb969 peer:Peer draft:DraftMessage = Update + ///See + [TLDef(0xEE2BB969)] public partial class UpdateDraftMessage : Update { public Peer peer; public DraftMessageBase draft; } - [TLDef(0x571D2742)] //updateReadFeaturedStickers#571d2742 = Update + ///See + [TLDef(0x571D2742)] public partial class UpdateReadFeaturedStickers : Update { } - [TLDef(0x9A422C20)] //updateRecentStickers#9a422c20 = Update + ///See + [TLDef(0x9A422C20)] public partial class UpdateRecentStickers : Update { } - [TLDef(0xA229DD06)] //updateConfig#a229dd06 = Update + ///See + [TLDef(0xA229DD06)] public partial class UpdateConfig : Update { } - [TLDef(0x3354678F)] //updatePtsChanged#3354678f = Update + ///See + [TLDef(0x3354678F)] public partial class UpdatePtsChanged : Update { } - [TLDef(0x40771900)] //updateChannelWebPage#40771900 channel_id:int webpage:WebPage pts:int pts_count:int = Update + ///See + [TLDef(0x40771900)] public partial class UpdateChannelWebPage : Update { public int channel_id; @@ -1508,7 +1796,8 @@ namespace TL public int pts; public int pts_count; } - [TLDef(0x6E6FE51C)] //updateDialogPinned#6e6fe51c flags:# pinned:flags.0?true folder_id:flags.1?int peer:DialogPeer = Update + ///See + [TLDef(0x6E6FE51C)] public partial class UpdateDialogPinned : Update { [Flags] public enum Flags { pinned = 0x1, has_folder_id = 0x2 } @@ -1516,7 +1805,8 @@ namespace TL [IfFlag(1)] public int folder_id; public DialogPeerBase peer; } - [TLDef(0xFA0F3CA2)] //updatePinnedDialogs#fa0f3ca2 flags:# folder_id:flags.1?int order:flags.0?Vector = Update + ///See + [TLDef(0xFA0F3CA2)] public partial class UpdatePinnedDialogs : Update { [Flags] public enum Flags { has_order = 0x1, has_folder_id = 0x2 } @@ -1524,16 +1814,19 @@ namespace TL [IfFlag(1)] public int folder_id; [IfFlag(0)] public DialogPeerBase[] order; } - [TLDef(0x8317C0C3)] //updateBotWebhookJSON#8317c0c3 data:DataJSON = Update + ///See + [TLDef(0x8317C0C3)] public partial class UpdateBotWebhookJSON : Update { public DataJSON data; } - [TLDef(0x9B9240A6)] //updateBotWebhookJSONQuery#9b9240a6 query_id:long data:DataJSON timeout:int = Update + ///See + [TLDef(0x9B9240A6)] public partial class UpdateBotWebhookJSONQuery : Update { public long query_id; public DataJSON data; public int timeout; } - [TLDef(0xE0CDC940)] //updateBotShippingQuery#e0cdc940 query_id:long user_id:int payload:bytes shipping_address:PostAddress = Update + ///See + [TLDef(0xE0CDC940)] public partial class UpdateBotShippingQuery : Update { public long query_id; @@ -1541,7 +1834,8 @@ namespace TL public byte[] payload; public PostAddress shipping_address; } - [TLDef(0x5D2F3AA9)] //updateBotPrecheckoutQuery#5d2f3aa9 flags:# query_id:long user_id:int payload:bytes info:flags.0?PaymentRequestedInfo shipping_option_id:flags.1?string currency:string total_amount:long = Update + ///See + [TLDef(0x5D2F3AA9)] public partial class UpdateBotPrecheckoutQuery : Update { [Flags] public enum Flags { has_info = 0x1, has_shipping_option_id = 0x2 } @@ -1554,36 +1848,45 @@ namespace TL public string currency; public long total_amount; } - [TLDef(0xAB0F6B1E)] //updatePhoneCall#ab0f6b1e phone_call:PhoneCall = Update + ///See + [TLDef(0xAB0F6B1E)] public partial class UpdatePhoneCall : Update { public PhoneCallBase phone_call; } - [TLDef(0x46560264)] //updateLangPackTooLong#46560264 lang_code:string = Update + ///See + [TLDef(0x46560264)] public partial class UpdateLangPackTooLong : Update { public string lang_code; } - [TLDef(0x56022F4D)] //updateLangPack#56022f4d difference:LangPackDifference = Update + ///See + [TLDef(0x56022F4D)] public partial class UpdateLangPack : Update { public LangPackDifference difference; } - [TLDef(0xE511996D)] //updateFavedStickers#e511996d = Update + ///See + [TLDef(0xE511996D)] public partial class UpdateFavedStickers : Update { } - [TLDef(0x89893B45)] //updateChannelReadMessagesContents#89893b45 channel_id:int messages:Vector = Update + ///See + [TLDef(0x89893B45)] public partial class UpdateChannelReadMessagesContents : Update { public int channel_id; public int[] messages; } - [TLDef(0x7084A7BE)] //updateContactsReset#7084a7be = Update + ///See + [TLDef(0x7084A7BE)] public partial class UpdateContactsReset : Update { } - [TLDef(0x70DB6837)] //updateChannelAvailableMessages#70db6837 channel_id:int available_min_id:int = Update + ///See + [TLDef(0x70DB6837)] public partial class UpdateChannelAvailableMessages : Update { public int channel_id; public int available_min_id; } - [TLDef(0xE16459C3)] //updateDialogUnreadMark#e16459c3 flags:# unread:flags.0?true peer:DialogPeer = Update + ///See + [TLDef(0xE16459C3)] public partial class UpdateDialogUnreadMark : Update { [Flags] public enum Flags { unread = 0x1 } public Flags flags; public DialogPeerBase peer; } - [TLDef(0xACA1657B)] //updateMessagePoll#aca1657b flags:# poll_id:long poll:flags.0?Poll results:PollResults = Update + ///See + [TLDef(0xACA1657B)] public partial class UpdateMessagePoll : Update { [Flags] public enum Flags { has_poll = 0x1 } @@ -1592,54 +1895,65 @@ namespace TL [IfFlag(0)] public Poll poll; public PollResults results; } - [TLDef(0x54C01850)] //updateChatDefaultBannedRights#54c01850 peer:Peer default_banned_rights:ChatBannedRights version:int = Update + ///See + [TLDef(0x54C01850)] public partial class UpdateChatDefaultBannedRights : Update { public Peer peer; public ChatBannedRights default_banned_rights; public int version; } - [TLDef(0x19360DC0)] //updateFolderPeers#19360dc0 folder_peers:Vector pts:int pts_count:int = Update + ///See + [TLDef(0x19360DC0)] public partial class UpdateFolderPeers : Update { public FolderPeer[] folder_peers; public int pts; public int pts_count; } - [TLDef(0x6A7E7366)] //updatePeerSettings#6a7e7366 peer:Peer settings:PeerSettings = Update + ///See + [TLDef(0x6A7E7366)] public partial class UpdatePeerSettings : Update { public Peer peer; public PeerSettings settings; } - [TLDef(0xB4AFCFB0)] //updatePeerLocated#b4afcfb0 peers:Vector = Update + ///See + [TLDef(0xB4AFCFB0)] public partial class UpdatePeerLocated : Update { public PeerLocatedBase[] peers; } - [TLDef(0x39A51DFB)] //updateNewScheduledMessage#39a51dfb message:Message = Update + ///See + [TLDef(0x39A51DFB)] public partial class UpdateNewScheduledMessage : Update { public MessageBase message; } - [TLDef(0x90866CEE)] //updateDeleteScheduledMessages#90866cee peer:Peer messages:Vector = Update + ///See + [TLDef(0x90866CEE)] public partial class UpdateDeleteScheduledMessages : Update { public Peer peer; public int[] messages; } - [TLDef(0x8216FBA3)] //updateTheme#8216fba3 theme:Theme = Update + ///See + [TLDef(0x8216FBA3)] public partial class UpdateTheme : Update { public Theme theme; } - [TLDef(0x871FB939)] //updateGeoLiveViewed#871fb939 peer:Peer msg_id:int = Update + ///See + [TLDef(0x871FB939)] public partial class UpdateGeoLiveViewed : Update { public Peer peer; public int msg_id; } - [TLDef(0x564FE691)] //updateLoginToken#564fe691 = Update + ///See + [TLDef(0x564FE691)] public partial class UpdateLoginToken : Update { } - [TLDef(0x42F88F2C)] //updateMessagePollVote#42f88f2c poll_id:long user_id:int options:Vector = Update + ///See + [TLDef(0x42F88F2C)] public partial class UpdateMessagePollVote : Update { public long poll_id; public int user_id; public byte[][] options; } - [TLDef(0x26FFDE7D)] //updateDialogFilter#26ffde7d flags:# id:int filter:flags.0?DialogFilter = Update + ///See + [TLDef(0x26FFDE7D)] public partial class UpdateDialogFilter : Update { [Flags] public enum Flags { has_filter = 0x1 } @@ -1647,24 +1961,29 @@ namespace TL public int id; [IfFlag(0)] public DialogFilter filter; } - [TLDef(0xA5D72105)] //updateDialogFilterOrder#a5d72105 order:Vector = Update + ///See + [TLDef(0xA5D72105)] public partial class UpdateDialogFilterOrder : Update { public int[] order; } - [TLDef(0x3504914F)] //updateDialogFilters#3504914f = Update + ///See + [TLDef(0x3504914F)] public partial class UpdateDialogFilters : Update { } - [TLDef(0x2661BF09)] //updatePhoneCallSignalingData#2661bf09 phone_call_id:long data:bytes = Update + ///See + [TLDef(0x2661BF09)] public partial class UpdatePhoneCallSignalingData : Update { public long phone_call_id; public byte[] data; } - [TLDef(0x6E8A84DF)] //updateChannelMessageForwards#6e8a84df channel_id:int id:int forwards:int = Update + ///See + [TLDef(0x6E8A84DF)] public partial class UpdateChannelMessageForwards : Update { public int channel_id; public int id; public int forwards; } - [TLDef(0x1CC7DE54)] //updateReadChannelDiscussionInbox#1cc7de54 flags:# channel_id:int top_msg_id:int read_max_id:int broadcast_id:flags.0?int broadcast_post:flags.0?int = Update + ///See + [TLDef(0x1CC7DE54)] public partial class UpdateReadChannelDiscussionInbox : Update { [Flags] public enum Flags { has_broadcast_id = 0x1 } @@ -1675,20 +1994,23 @@ namespace TL [IfFlag(0)] public int broadcast_id; [IfFlag(0)] public int broadcast_post; } - [TLDef(0x4638A26C)] //updateReadChannelDiscussionOutbox#4638a26c channel_id:int top_msg_id:int read_max_id:int = Update + ///See + [TLDef(0x4638A26C)] public partial class UpdateReadChannelDiscussionOutbox : Update { public int channel_id; public int top_msg_id; public int read_max_id; } - [TLDef(0x246A4B22)] //updatePeerBlocked#246a4b22 peer_id:Peer blocked:Bool = Update + ///See + [TLDef(0x246A4B22)] public partial class UpdatePeerBlocked : Update { public Peer peer_id; public bool blocked; } - [TLDef(0xFF2ABE9F)] //updateChannelUserTyping#ff2abe9f flags:# channel_id:int top_msg_id:flags.0?int user_id:int action:SendMessageAction = Update + ///See + [TLDef(0xFF2ABE9F)] public partial class UpdateChannelUserTyping : Update { [Flags] public enum Flags { has_top_msg_id = 0x1 } @@ -1698,7 +2020,8 @@ namespace TL public int user_id; public SendMessageAction action; } - [TLDef(0xED85EAB5)] //updatePinnedMessages#ed85eab5 flags:# pinned:flags.0?true peer:Peer messages:Vector pts:int pts_count:int = Update + ///See + [TLDef(0xED85EAB5)] public partial class UpdatePinnedMessages : Update { [Flags] public enum Flags { pinned = 0x1 } @@ -1708,7 +2031,8 @@ namespace TL public int pts; public int pts_count; } - [TLDef(0x8588878B)] //updatePinnedChannelMessages#8588878b flags:# pinned:flags.0?true channel_id:int messages:Vector pts:int pts_count:int = Update + ///See + [TLDef(0x8588878B)] public partial class UpdatePinnedChannelMessages : Update { [Flags] public enum Flags { pinned = 0x1 } @@ -1719,7 +2043,8 @@ namespace TL public int pts_count; } - [TLDef(0xA56C2A3E)] //updates.state#a56c2a3e pts:int qts:int date:int seq:int unread_count:int = updates.State + ///See + [TLDef(0xA56C2A3E)] public partial class Updates_State : ITLObject { public int pts; @@ -1729,14 +2054,17 @@ namespace TL public int unread_count; } + ///See public abstract partial class Updates_DifferenceBase : ITLObject { } - [TLDef(0x5D75A138)] //updates.differenceEmpty#5d75a138 date:int seq:int = updates.Difference + ///See + [TLDef(0x5D75A138)] public partial class Updates_DifferenceEmpty : Updates_DifferenceBase { public DateTime date; public int seq; } - [TLDef(0x00F49CA0)] //updates.difference#00f49ca0 new_messages:Vector new_encrypted_messages:Vector other_updates:Vector chats:Vector users:Vector state:updates.State = updates.Difference + ///See + [TLDef(0x00F49CA0)] public partial class Updates_Difference : Updates_DifferenceBase { public MessageBase[] new_messages; @@ -1746,7 +2074,8 @@ namespace TL public UserBase[] users; public Updates_State state; } - [TLDef(0xA8FB1981)] //updates.differenceSlice#a8fb1981 new_messages:Vector new_encrypted_messages:Vector other_updates:Vector chats:Vector users:Vector intermediate_state:updates.State = updates.Difference + ///See + [TLDef(0xA8FB1981)] public partial class Updates_DifferenceSlice : Updates_DifferenceBase { public MessageBase[] new_messages; @@ -1756,13 +2085,17 @@ namespace TL public UserBase[] users; public Updates_State intermediate_state; } - [TLDef(0x4AFE8F6D)] //updates.differenceTooLong#4afe8f6d pts:int = updates.Difference + ///See + [TLDef(0x4AFE8F6D)] public partial class Updates_DifferenceTooLong : Updates_DifferenceBase { public int pts; } + ///See public abstract partial class UpdatesBase : ITLObject { } - [TLDef(0xE317AF7E)] //updatesTooLong#e317af7e = Updates + ///See + [TLDef(0xE317AF7E)] public partial class UpdatesTooLong : UpdatesBase { } - [TLDef(0x2296D2C8)] //updateShortMessage#2296d2c8 flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true id:int user_id:int message:string pts:int pts_count:int date:int fwd_from:flags.2?MessageFwdHeader via_bot_id:flags.11?int reply_to:flags.3?MessageReplyHeader entities:flags.7?Vector = Updates + ///See + [TLDef(0x2296D2C8)] public partial class UpdateShortMessage : UpdatesBase { [Flags] public enum Flags { out_ = 0x2, has_fwd_from = 0x4, has_reply_to = 0x8, mentioned = 0x10, media_unread = 0x20, @@ -1779,7 +2112,8 @@ namespace TL [IfFlag(3)] public MessageReplyHeader reply_to; [IfFlag(7)] public MessageEntity[] entities; } - [TLDef(0x402D5DBB)] //updateShortChatMessage#402d5dbb flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true id:int from_id:int chat_id:int message:string pts:int pts_count:int date:int fwd_from:flags.2?MessageFwdHeader via_bot_id:flags.11?int reply_to:flags.3?MessageReplyHeader entities:flags.7?Vector = Updates + ///See + [TLDef(0x402D5DBB)] public partial class UpdateShortChatMessage : UpdatesBase { [Flags] public enum Flags { out_ = 0x2, has_fwd_from = 0x4, has_reply_to = 0x8, mentioned = 0x10, media_unread = 0x20, @@ -1797,13 +2131,15 @@ namespace TL [IfFlag(3)] public MessageReplyHeader reply_to; [IfFlag(7)] public MessageEntity[] entities; } - [TLDef(0x78D4DEC1)] //updateShort#78d4dec1 update:Update date:int = Updates + ///See + [TLDef(0x78D4DEC1)] public partial class UpdateShort : UpdatesBase { public Update update; public DateTime date; } - [TLDef(0x725B04C3)] //updatesCombined#725b04c3 updates:Vector users:Vector chats:Vector date:int seq_start:int seq:int = Updates + ///See + [TLDef(0x725B04C3)] public partial class UpdatesCombined : UpdatesBase { public Update[] updates; @@ -1813,7 +2149,8 @@ namespace TL public int seq_start; public int seq; } - [TLDef(0x74AE4240)] //updates#74ae4240 updates:Vector users:Vector chats:Vector date:int seq:int = Updates + ///See + [TLDef(0x74AE4240)] public partial class Updates : UpdatesBase { public Update[] updates; @@ -1822,7 +2159,8 @@ namespace TL public DateTime date; public int seq; } - [TLDef(0x11F1331C)] //updateShortSentMessage#11f1331c flags:# out:flags.1?true id:int pts:int pts_count:int date:int media:flags.9?MessageMedia entities:flags.7?Vector = Updates + ///See + [TLDef(0x11F1331C)] public partial class UpdateShortSentMessage : UpdatesBase { [Flags] public enum Flags { out_ = 0x2, has_entities = 0x80, has_media = 0x200 } @@ -1835,14 +2173,17 @@ namespace TL [IfFlag(7)] public MessageEntity[] entities; } + ///See public abstract partial class Photos_PhotosBase : ITLObject { } - [TLDef(0x8DCA6AA5)] //photos.photos#8dca6aa5 photos:Vector users:Vector = photos.Photos + ///See + [TLDef(0x8DCA6AA5)] public partial class Photos_Photos : Photos_PhotosBase { public PhotoBase[] photos; public UserBase[] users; } - [TLDef(0x15051F54)] //photos.photosSlice#15051f54 count:int photos:Vector users:Vector = photos.Photos + ///See + [TLDef(0x15051F54)] public partial class Photos_PhotosSlice : Photos_PhotosBase { public int count; @@ -1850,22 +2191,26 @@ namespace TL public UserBase[] users; } - [TLDef(0x20212CA8)] //photos.photo#20212ca8 photo:Photo users:Vector = photos.Photo + ///See + [TLDef(0x20212CA8)] public partial class Photos_Photo : ITLObject { public PhotoBase photo; public UserBase[] users; } + ///See public abstract partial class Upload_FileBase : ITLObject { } - [TLDef(0x096A18D5)] //upload.file#096a18d5 type:storage.FileType mtime:int bytes:bytes = upload.File + ///See + [TLDef(0x096A18D5)] public partial class Upload_File : Upload_FileBase { public Storage_FileType type; public int mtime; public byte[] bytes; } - [TLDef(0xF18CDA44)] //upload.fileCdnRedirect#f18cda44 dc_id:int file_token:bytes encryption_key:bytes encryption_iv:bytes file_hashes:Vector = upload.File + ///See + [TLDef(0xF18CDA44)] public partial class Upload_FileCdnRedirect : Upload_FileBase { public int dc_id; @@ -1875,7 +2220,8 @@ namespace TL public FileHash[] file_hashes; } - [TLDef(0x18B7A10D)] //dcOption#18b7a10d flags:# ipv6:flags.0?true media_only:flags.1?true tcpo_only:flags.2?true cdn:flags.3?true static:flags.4?true id:int ip_address:string port:int secret:flags.10?bytes = DcOption + ///See + [TLDef(0x18B7A10D)] public partial class DcOption : ITLObject { [Flags] public enum Flags { ipv6 = 0x1, media_only = 0x2, tcpo_only = 0x4, cdn = 0x8, static_ = 0x10, has_secret = 0x400 } @@ -1886,7 +2232,8 @@ namespace TL [IfFlag(10)] public byte[] secret; } - [TLDef(0x330B4067)] //config#330b4067 flags:# phonecalls_enabled:flags.1?true default_p2p_contacts:flags.3?true preload_featured_stickers:flags.4?true ignore_phone_entities:flags.5?true revoke_pm_inbox:flags.6?true blocked_mode:flags.8?true pfs_enabled:flags.13?true date:int expires:int test_mode:Bool this_dc:int dc_options:Vector dc_txt_domain_name:string chat_size_max:int megagroup_size_max:int forwarded_count_max:int online_update_period_ms:int offline_blur_timeout_ms:int offline_idle_timeout_ms:int online_cloud_timeout_ms:int notify_cloud_delay_ms:int notify_default_delay_ms:int push_chat_period_ms:int push_chat_limit:int saved_gifs_limit:int edit_time_limit:int revoke_time_limit:int revoke_pm_time_limit:int rating_e_decay:int stickers_recent_limit:int stickers_faved_limit:int channels_read_media_period:int tmp_sessions:flags.0?int pinned_dialogs_count_max:int pinned_infolder_count_max:int call_receive_timeout_ms:int call_ring_timeout_ms:int call_connect_timeout_ms:int call_packet_timeout_ms:int me_url_prefix:string autoupdate_url_prefix:flags.7?string gif_search_username:flags.9?string venue_search_username:flags.10?string img_search_username:flags.11?string static_maps_provider:flags.12?string caption_length_max:int message_length_max:int webfile_dc_id:int suggested_lang_code:flags.2?string lang_pack_version:flags.2?int base_lang_pack_version:flags.2?int = Config + ///See + [TLDef(0x330B4067)] public partial class Config : ITLObject { [Flags] public enum Flags { has_tmp_sessions = 0x1, phonecalls_enabled = 0x2, has_suggested_lang_code = 0x4, @@ -1940,7 +2287,8 @@ namespace TL [IfFlag(2)] public int base_lang_pack_version; } - [TLDef(0x8E1A1775)] //nearestDc#8e1a1775 country:string this_dc:int nearest_dc:int = NearestDc + ///See + [TLDef(0x8E1A1775)] public partial class NearestDc : ITLObject { public string country; @@ -1948,8 +2296,10 @@ namespace TL public int nearest_dc; } + ///See public abstract partial class Help_AppUpdateBase : ITLObject { } - [TLDef(0x1DA7158F)] //help.appUpdate#1da7158f flags:# can_not_skip:flags.0?true id:int version:string text:string entities:Vector document:flags.1?Document url:flags.2?string = help.AppUpdate + ///See + [TLDef(0x1DA7158F)] public partial class Help_AppUpdate : Help_AppUpdateBase { [Flags] public enum Flags { can_not_skip = 0x1, has_document = 0x2, has_url = 0x4 } @@ -1961,16 +2311,21 @@ namespace TL [IfFlag(1)] public DocumentBase document; [IfFlag(2)] public string url; } - [TLDef(0xC45A6536)] //help.noAppUpdate#c45a6536 = help.AppUpdate + ///See + [TLDef(0xC45A6536)] public partial class Help_NoAppUpdate : Help_AppUpdateBase { } - [TLDef(0x18CB9F78)] //help.inviteText#18cb9f78 message:string = help.InviteText + ///See + [TLDef(0x18CB9F78)] public partial class Help_InviteText : ITLObject { public string message; } + ///See public abstract partial class EncryptedChatBase : ITLObject { } - [TLDef(0xAB7EC0A0)] //encryptedChatEmpty#ab7ec0a0 id:int = EncryptedChat + ///See + [TLDef(0xAB7EC0A0)] public partial class EncryptedChatEmpty : EncryptedChatBase { public int id; } - [TLDef(0x3BF703DC)] //encryptedChatWaiting#3bf703dc id:int access_hash:long date:int admin_id:int participant_id:int = EncryptedChat + ///See + [TLDef(0x3BF703DC)] public partial class EncryptedChatWaiting : EncryptedChatBase { public int id; @@ -1979,7 +2334,8 @@ namespace TL public int admin_id; public int participant_id; } - [TLDef(0x62718A82)] //encryptedChatRequested#62718a82 flags:# folder_id:flags.0?int id:int access_hash:long date:int admin_id:int participant_id:int g_a:bytes = EncryptedChat + ///See + [TLDef(0x62718A82)] public partial class EncryptedChatRequested : EncryptedChatBase { [Flags] public enum Flags { has_folder_id = 0x1 } @@ -1992,7 +2348,8 @@ namespace TL public int participant_id; public byte[] g_a; } - [TLDef(0xFA56CE36)] //encryptedChat#fa56ce36 id:int access_hash:long date:int admin_id:int participant_id:int g_a_or_b:bytes key_fingerprint:long = EncryptedChat + ///See + [TLDef(0xFA56CE36)] public partial class EncryptedChat : EncryptedChatBase { public int id; @@ -2003,20 +2360,25 @@ namespace TL public byte[] g_a_or_b; public long key_fingerprint; } - [TLDef(0x13D6DD27)] //encryptedChatDiscarded#13d6dd27 id:int = EncryptedChat + ///See + [TLDef(0x13D6DD27)] public partial class EncryptedChatDiscarded : EncryptedChatBase { public int id; } - [TLDef(0xF141B5E1)] //inputEncryptedChat#f141b5e1 chat_id:int access_hash:long = InputEncryptedChat + ///See + [TLDef(0xF141B5E1)] public partial class InputEncryptedChat : ITLObject { public int chat_id; public long access_hash; } + ///See public abstract partial class EncryptedFileBase : ITLObject { } - [TLDef(0xC21F497E)] //encryptedFileEmpty#c21f497e = EncryptedFile + ///See + [TLDef(0xC21F497E)] public partial class EncryptedFileEmpty : EncryptedFileBase { } - [TLDef(0x4A70994C)] //encryptedFile#4a70994c id:long access_hash:long size:int dc_id:int key_fingerprint:int = EncryptedFile + ///See + [TLDef(0x4A70994C)] public partial class EncryptedFile : EncryptedFileBase { public long id; @@ -2026,10 +2388,13 @@ namespace TL public int key_fingerprint; } + ///See public abstract partial class InputEncryptedFileBase : ITLObject { } - [TLDef(0x1837C364)] //inputEncryptedFileEmpty#1837c364 = InputEncryptedFile + ///See + [TLDef(0x1837C364)] public partial class InputEncryptedFileEmpty : InputEncryptedFileBase { } - [TLDef(0x64BD0306)] //inputEncryptedFileUploaded#64bd0306 id:long parts:int md5_checksum:string key_fingerprint:int = InputEncryptedFile + ///See + [TLDef(0x64BD0306)] public partial class InputEncryptedFileUploaded : InputEncryptedFileBase { public long id; @@ -2037,13 +2402,15 @@ namespace TL public byte[] md5_checksum; public int key_fingerprint; } - [TLDef(0x5A17B5E5)] //inputEncryptedFile#5a17b5e5 id:long access_hash:long = InputEncryptedFile + ///See + [TLDef(0x5A17B5E5)] public partial class InputEncryptedFile : InputEncryptedFileBase { public long id; public long access_hash; } - [TLDef(0x2DC173C8)] //inputEncryptedFileBigUploaded#2dc173c8 id:long parts:int key_fingerprint:int = InputEncryptedFile + ///See + [TLDef(0x2DC173C8)] public partial class InputEncryptedFileBigUploaded : InputEncryptedFileBase { public long id; @@ -2051,8 +2418,10 @@ namespace TL public int key_fingerprint; } + ///See public abstract partial class EncryptedMessageBase : ITLObject { } - [TLDef(0xED18C118)] //encryptedMessage#ed18c118 random_id:long chat_id:int date:int bytes:bytes file:EncryptedFile = EncryptedMessage + ///See + [TLDef(0xED18C118)] public partial class EncryptedMessage : EncryptedMessageBase { public long random_id; @@ -2061,7 +2430,8 @@ namespace TL public byte[] bytes; public EncryptedFileBase file; } - [TLDef(0x23734B06)] //encryptedMessageService#23734b06 random_id:long chat_id:int date:int bytes:bytes = EncryptedMessage + ///See + [TLDef(0x23734B06)] public partial class EncryptedMessageService : EncryptedMessageBase { public long random_id; @@ -2070,10 +2440,13 @@ namespace TL public byte[] bytes; } + ///See public abstract partial class Messages_DhConfigBase : ITLObject { } - [TLDef(0xC0E24635)] //messages.dhConfigNotModified#c0e24635 random:bytes = messages.DhConfig + ///See + [TLDef(0xC0E24635)] public partial class Messages_DhConfigNotModified : Messages_DhConfigBase { public byte[] random; } - [TLDef(0x2C221EDD)] //messages.dhConfig#2c221edd g:int p:bytes version:int random:bytes = messages.DhConfig + ///See + [TLDef(0x2C221EDD)] public partial class Messages_DhConfig : Messages_DhConfigBase { public int g; @@ -2082,15 +2455,20 @@ namespace TL public byte[] random; } - [TLDef(0x560F8935)] //messages.sentEncryptedMessage#560f8935 date:int = messages.SentEncryptedMessage + ///See + [TLDef(0x560F8935)] public partial class Messages_SentEncryptedMessage : ITLObject { public DateTime date; } - [TLDef(0x9493FF32)] //messages.sentEncryptedFile#9493ff32 date:int file:EncryptedFile = messages.SentEncryptedMessage + ///See + [TLDef(0x9493FF32)] public partial class Messages_SentEncryptedFile : Messages_SentEncryptedMessage { public EncryptedFileBase file; } + ///See public abstract partial class InputDocumentBase : ITLObject { } - [TLDef(0x72F0EAAE)] //inputDocumentEmpty#72f0eaae = InputDocument + ///See + [TLDef(0x72F0EAAE)] public partial class InputDocumentEmpty : InputDocumentBase { } - [TLDef(0x1ABFB575)] //inputDocument#1abfb575 id:long access_hash:long file_reference:bytes = InputDocument + ///See + [TLDef(0x1ABFB575)] public partial class InputDocument : InputDocumentBase { public long id; @@ -2098,10 +2476,13 @@ namespace TL public byte[] file_reference; } + ///See public abstract partial class DocumentBase : ITLObject { } - [TLDef(0x36F8C871)] //documentEmpty#36f8c871 id:long = Document + ///See + [TLDef(0x36F8C871)] public partial class DocumentEmpty : DocumentBase { public long id; } - [TLDef(0x1E87342B)] //document#1e87342b flags:# id:long access_hash:long file_reference:bytes date:int mime_type:string size:int thumbs:flags.0?Vector video_thumbs:flags.1?Vector dc_id:int attributes:Vector = Document + ///See + [TLDef(0x1E87342B)] public partial class Document : DocumentBase { [Flags] public enum Flags { has_thumbs = 0x1, has_video_thumbs = 0x2 } @@ -2118,52 +2499,73 @@ namespace TL public DocumentAttribute[] attributes; } - [TLDef(0x17C6B5F6)] //help.support#17c6b5f6 phone_number:string user:User = help.Support + ///See + [TLDef(0x17C6B5F6)] public partial class Help_Support : ITLObject { public string phone_number; public UserBase user; } + ///See public abstract partial class NotifyPeerBase : ITLObject { } - [TLDef(0x9FD40BD8)] //notifyPeer#9fd40bd8 peer:Peer = NotifyPeer + ///See + [TLDef(0x9FD40BD8)] public partial class NotifyPeer : NotifyPeerBase { public Peer peer; } - [TLDef(0xB4C83B4C)] //notifyUsers#b4c83b4c = NotifyPeer + ///See + [TLDef(0xB4C83B4C)] public partial class NotifyUsers : NotifyPeerBase { } - [TLDef(0xC007CEC3)] //notifyChats#c007cec3 = NotifyPeer + ///See + [TLDef(0xC007CEC3)] public partial class NotifyChats : NotifyPeerBase { } - [TLDef(0xD612E8EF)] //notifyBroadcasts#d612e8ef = NotifyPeer + ///See + [TLDef(0xD612E8EF)] public partial class NotifyBroadcasts : NotifyPeerBase { } + ///See public abstract partial class SendMessageAction : ITLObject { } - [TLDef(0x16BF744E)] //sendMessageTypingAction#16bf744e = SendMessageAction + ///See + [TLDef(0x16BF744E)] public partial class SendMessageTypingAction : SendMessageAction { } - [TLDef(0xFD5EC8F5)] //sendMessageCancelAction#fd5ec8f5 = SendMessageAction + ///See + [TLDef(0xFD5EC8F5)] public partial class SendMessageCancelAction : SendMessageAction { } - [TLDef(0xA187D66F)] //sendMessageRecordVideoAction#a187d66f = SendMessageAction + ///See + [TLDef(0xA187D66F)] public partial class SendMessageRecordVideoAction : SendMessageAction { } - [TLDef(0xE9763AEC)] //sendMessageUploadVideoAction#e9763aec progress:int = SendMessageAction + ///See + [TLDef(0xE9763AEC)] public partial class SendMessageUploadVideoAction : SendMessageAction { public int progress; } - [TLDef(0xD52F73F7)] //sendMessageRecordAudioAction#d52f73f7 = SendMessageAction + ///See + [TLDef(0xD52F73F7)] public partial class SendMessageRecordAudioAction : SendMessageAction { } - [TLDef(0xF351D7AB)] //sendMessageUploadAudioAction#f351d7ab progress:int = SendMessageAction + ///See + [TLDef(0xF351D7AB)] public partial class SendMessageUploadAudioAction : SendMessageAction { public int progress; } - [TLDef(0xD1D34A26)] //sendMessageUploadPhotoAction#d1d34a26 progress:int = SendMessageAction + ///See + [TLDef(0xD1D34A26)] public partial class SendMessageUploadPhotoAction : SendMessageAction { public int progress; } - [TLDef(0xAA0CD9E4)] //sendMessageUploadDocumentAction#aa0cd9e4 progress:int = SendMessageAction + ///See + [TLDef(0xAA0CD9E4)] public partial class SendMessageUploadDocumentAction : SendMessageAction { public int progress; } - [TLDef(0x176F8BA1)] //sendMessageGeoLocationAction#176f8ba1 = SendMessageAction + ///See + [TLDef(0x176F8BA1)] public partial class SendMessageGeoLocationAction : SendMessageAction { } - [TLDef(0x628CBC6F)] //sendMessageChooseContactAction#628cbc6f = SendMessageAction + ///See + [TLDef(0x628CBC6F)] public partial class SendMessageChooseContactAction : SendMessageAction { } - [TLDef(0xDD6A8F48)] //sendMessageGamePlayAction#dd6a8f48 = SendMessageAction + ///See + [TLDef(0xDD6A8F48)] public partial class SendMessageGamePlayAction : SendMessageAction { } - [TLDef(0x88F27FBC)] //sendMessageRecordRoundAction#88f27fbc = SendMessageAction + ///See + [TLDef(0x88F27FBC)] public partial class SendMessageRecordRoundAction : SendMessageAction { } - [TLDef(0x243E1C66)] //sendMessageUploadRoundAction#243e1c66 progress:int = SendMessageAction + ///See + [TLDef(0x243E1C66)] public partial class SendMessageUploadRoundAction : SendMessageAction { public int progress; } - [TLDef(0xB3134D9D)] //contacts.found#b3134d9d my_results:Vector results:Vector chats:Vector users:Vector = contacts.Found + ///See + [TLDef(0xB3134D9D)] public partial class Contacts_Found : ITLObject { public Peer[] my_results; @@ -2172,79 +2574,116 @@ namespace TL public UserBase[] users; } + ///See public abstract partial class InputPrivacyKey : ITLObject { } - [TLDef(0x4F96CB18)] //inputPrivacyKeyStatusTimestamp#4f96cb18 = InputPrivacyKey + ///See + [TLDef(0x4F96CB18)] public partial class InputPrivacyKeyStatusTimestamp : InputPrivacyKey { } - [TLDef(0xBDFB0426)] //inputPrivacyKeyChatInvite#bdfb0426 = InputPrivacyKey + ///See + [TLDef(0xBDFB0426)] public partial class InputPrivacyKeyChatInvite : InputPrivacyKey { } - [TLDef(0xFABADC5F)] //inputPrivacyKeyPhoneCall#fabadc5f = InputPrivacyKey + ///See + [TLDef(0xFABADC5F)] public partial class InputPrivacyKeyPhoneCall : InputPrivacyKey { } - [TLDef(0xDB9E70D2)] //inputPrivacyKeyPhoneP2P#db9e70d2 = InputPrivacyKey + ///See + [TLDef(0xDB9E70D2)] public partial class InputPrivacyKeyPhoneP2P : InputPrivacyKey { } - [TLDef(0xA4DD4C08)] //inputPrivacyKeyForwards#a4dd4c08 = InputPrivacyKey + ///See + [TLDef(0xA4DD4C08)] public partial class InputPrivacyKeyForwards : InputPrivacyKey { } - [TLDef(0x5719BACC)] //inputPrivacyKeyProfilePhoto#5719bacc = InputPrivacyKey + ///See + [TLDef(0x5719BACC)] public partial class InputPrivacyKeyProfilePhoto : InputPrivacyKey { } - [TLDef(0x0352DAFA)] //inputPrivacyKeyPhoneNumber#0352dafa = InputPrivacyKey + ///See + [TLDef(0x0352DAFA)] public partial class InputPrivacyKeyPhoneNumber : InputPrivacyKey { } - [TLDef(0xD1219BDD)] //inputPrivacyKeyAddedByPhone#d1219bdd = InputPrivacyKey + ///See + [TLDef(0xD1219BDD)] public partial class InputPrivacyKeyAddedByPhone : InputPrivacyKey { } + ///See public abstract partial class PrivacyKey : ITLObject { } - [TLDef(0xBC2EAB30)] //privacyKeyStatusTimestamp#bc2eab30 = PrivacyKey + ///See + [TLDef(0xBC2EAB30)] public partial class PrivacyKeyStatusTimestamp : PrivacyKey { } - [TLDef(0x500E6DFA)] //privacyKeyChatInvite#500e6dfa = PrivacyKey + ///See + [TLDef(0x500E6DFA)] public partial class PrivacyKeyChatInvite : PrivacyKey { } - [TLDef(0x3D662B7B)] //privacyKeyPhoneCall#3d662b7b = PrivacyKey + ///See + [TLDef(0x3D662B7B)] public partial class PrivacyKeyPhoneCall : PrivacyKey { } - [TLDef(0x39491CC8)] //privacyKeyPhoneP2P#39491cc8 = PrivacyKey + ///See + [TLDef(0x39491CC8)] public partial class PrivacyKeyPhoneP2P : PrivacyKey { } - [TLDef(0x69EC56A3)] //privacyKeyForwards#69ec56a3 = PrivacyKey + ///See + [TLDef(0x69EC56A3)] public partial class PrivacyKeyForwards : PrivacyKey { } - [TLDef(0x96151FED)] //privacyKeyProfilePhoto#96151fed = PrivacyKey + ///See + [TLDef(0x96151FED)] public partial class PrivacyKeyProfilePhoto : PrivacyKey { } - [TLDef(0xD19AE46D)] //privacyKeyPhoneNumber#d19ae46d = PrivacyKey + ///See + [TLDef(0xD19AE46D)] public partial class PrivacyKeyPhoneNumber : PrivacyKey { } - [TLDef(0x42FFD42B)] //privacyKeyAddedByPhone#42ffd42b = PrivacyKey + ///See + [TLDef(0x42FFD42B)] public partial class PrivacyKeyAddedByPhone : PrivacyKey { } + ///See public abstract partial class InputPrivacyRule : ITLObject { } - [TLDef(0x0D09E07B)] //inputPrivacyValueAllowContacts#0d09e07b = InputPrivacyRule + ///See + [TLDef(0x0D09E07B)] public partial class InputPrivacyValueAllowContacts : InputPrivacyRule { } - [TLDef(0x184B35CE)] //inputPrivacyValueAllowAll#184b35ce = InputPrivacyRule + ///See + [TLDef(0x184B35CE)] public partial class InputPrivacyValueAllowAll : InputPrivacyRule { } - [TLDef(0x131CC67F)] //inputPrivacyValueAllowUsers#131cc67f users:Vector = InputPrivacyRule + ///See + [TLDef(0x131CC67F)] public partial class InputPrivacyValueAllowUsers : InputPrivacyRule { public InputUserBase[] users; } - [TLDef(0x0BA52007)] //inputPrivacyValueDisallowContacts#0ba52007 = InputPrivacyRule + ///See + [TLDef(0x0BA52007)] public partial class InputPrivacyValueDisallowContacts : InputPrivacyRule { } - [TLDef(0xD66B66C9)] //inputPrivacyValueDisallowAll#d66b66c9 = InputPrivacyRule + ///See + [TLDef(0xD66B66C9)] public partial class InputPrivacyValueDisallowAll : InputPrivacyRule { } - [TLDef(0x90110467)] //inputPrivacyValueDisallowUsers#90110467 users:Vector = InputPrivacyRule + ///See + [TLDef(0x90110467)] public partial class InputPrivacyValueDisallowUsers : InputPrivacyRule { public InputUserBase[] users; } - [TLDef(0x4C81C1BA)] //inputPrivacyValueAllowChatParticipants#4c81c1ba chats:Vector = InputPrivacyRule + ///See + [TLDef(0x4C81C1BA)] public partial class InputPrivacyValueAllowChatParticipants : InputPrivacyRule { public int[] chats; } - [TLDef(0xD82363AF)] //inputPrivacyValueDisallowChatParticipants#d82363af chats:Vector = InputPrivacyRule + ///See + [TLDef(0xD82363AF)] public partial class InputPrivacyValueDisallowChatParticipants : InputPrivacyRule { public int[] chats; } + ///See public abstract partial class PrivacyRule : ITLObject { } - [TLDef(0xFFFE1BAC)] //privacyValueAllowContacts#fffe1bac = PrivacyRule + ///See + [TLDef(0xFFFE1BAC)] public partial class PrivacyValueAllowContacts : PrivacyRule { } - [TLDef(0x65427B82)] //privacyValueAllowAll#65427b82 = PrivacyRule + ///See + [TLDef(0x65427B82)] public partial class PrivacyValueAllowAll : PrivacyRule { } - [TLDef(0x4D5BBE0C)] //privacyValueAllowUsers#4d5bbe0c users:Vector = PrivacyRule + ///See + [TLDef(0x4D5BBE0C)] public partial class PrivacyValueAllowUsers : PrivacyRule { public int[] users; } - [TLDef(0xF888FA1A)] //privacyValueDisallowContacts#f888fa1a = PrivacyRule + ///See + [TLDef(0xF888FA1A)] public partial class PrivacyValueDisallowContacts : PrivacyRule { } - [TLDef(0x8B73E763)] //privacyValueDisallowAll#8b73e763 = PrivacyRule + ///See + [TLDef(0x8B73E763)] public partial class PrivacyValueDisallowAll : PrivacyRule { } - [TLDef(0x0C7F49B7)] //privacyValueDisallowUsers#0c7f49b7 users:Vector = PrivacyRule + ///See + [TLDef(0x0C7F49B7)] public partial class PrivacyValueDisallowUsers : PrivacyRule { public int[] users; } - [TLDef(0x18BE796B)] //privacyValueAllowChatParticipants#18be796b chats:Vector = PrivacyRule + ///See + [TLDef(0x18BE796B)] public partial class PrivacyValueAllowChatParticipants : PrivacyRule { public int[] chats; } - [TLDef(0xACAE0690)] //privacyValueDisallowChatParticipants#acae0690 chats:Vector = PrivacyRule + ///See + [TLDef(0xACAE0690)] public partial class PrivacyValueDisallowChatParticipants : PrivacyRule { public int[] chats; } - [TLDef(0x50A04E45)] //account.privacyRules#50a04e45 rules:Vector chats:Vector users:Vector = account.PrivacyRules + ///See + [TLDef(0x50A04E45)] public partial class Account_PrivacyRules : ITLObject { public PrivacyRule[] rules; @@ -2252,19 +2691,24 @@ namespace TL public UserBase[] users; } - [TLDef(0xB8D0AFDF)] //accountDaysTTL#b8d0afdf days:int = AccountDaysTTL + ///See + [TLDef(0xB8D0AFDF)] public partial class AccountDaysTTL : ITLObject { public int days; } + ///See public abstract partial class DocumentAttribute : ITLObject { } - [TLDef(0x6C37C15C)] //documentAttributeImageSize#6c37c15c w:int h:int = DocumentAttribute + ///See + [TLDef(0x6C37C15C)] public partial class DocumentAttributeImageSize : DocumentAttribute { public int w; public int h; } - [TLDef(0x11B58939)] //documentAttributeAnimated#11b58939 = DocumentAttribute + ///See + [TLDef(0x11B58939)] public partial class DocumentAttributeAnimated : DocumentAttribute { } - [TLDef(0x6319D612)] //documentAttributeSticker#6319d612 flags:# mask:flags.1?true alt:string stickerset:InputStickerSet mask_coords:flags.0?MaskCoords = DocumentAttribute + ///See + [TLDef(0x6319D612)] public partial class DocumentAttributeSticker : DocumentAttribute { [Flags] public enum Flags { has_mask_coords = 0x1, mask = 0x2 } @@ -2273,7 +2717,8 @@ namespace TL public InputStickerSet stickerset; [IfFlag(0)] public MaskCoords mask_coords; } - [TLDef(0x0EF02CE6)] //documentAttributeVideo#0ef02ce6 flags:# round_message:flags.0?true supports_streaming:flags.1?true duration:int w:int h:int = DocumentAttribute + ///See + [TLDef(0x0EF02CE6)] public partial class DocumentAttributeVideo : DocumentAttribute { [Flags] public enum Flags { round_message = 0x1, supports_streaming = 0x2 } @@ -2282,7 +2727,8 @@ namespace TL public int w; public int h; } - [TLDef(0x9852F9C6)] //documentAttributeAudio#9852f9c6 flags:# voice:flags.10?true duration:int title:flags.0?string performer:flags.1?string waveform:flags.2?bytes = DocumentAttribute + ///See + [TLDef(0x9852F9C6)] public partial class DocumentAttributeAudio : DocumentAttribute { [Flags] public enum Flags { has_title = 0x1, has_performer = 0x2, has_waveform = 0x4, voice = 0x400 } @@ -2292,55 +2738,69 @@ namespace TL [IfFlag(1)] public string performer; [IfFlag(2)] public byte[] waveform; } - [TLDef(0x15590068)] //documentAttributeFilename#15590068 file_name:string = DocumentAttribute + ///See + [TLDef(0x15590068)] public partial class DocumentAttributeFilename : DocumentAttribute { public string file_name; } - [TLDef(0x9801D2F7)] //documentAttributeHasStickers#9801d2f7 = DocumentAttribute + ///See + [TLDef(0x9801D2F7)] public partial class DocumentAttributeHasStickers : DocumentAttribute { } + ///See public abstract partial class Messages_StickersBase : ITLObject { } - [TLDef(0xF1749A22)] //messages.stickersNotModified#f1749a22 = messages.Stickers + ///See + [TLDef(0xF1749A22)] public partial class Messages_StickersNotModified : Messages_StickersBase { } - [TLDef(0xE4599BBD)] //messages.stickers#e4599bbd hash:int stickers:Vector = messages.Stickers + ///See + [TLDef(0xE4599BBD)] public partial class Messages_Stickers : Messages_StickersBase { public int hash; public DocumentBase[] stickers; } - [TLDef(0x12B299D4)] //stickerPack#12b299d4 emoticon:string documents:Vector = StickerPack + ///See + [TLDef(0x12B299D4)] public partial class StickerPack : ITLObject { public string emoticon; public long[] documents; } + ///See public abstract partial class Messages_AllStickersBase : ITLObject { } - [TLDef(0xE86602C3)] //messages.allStickersNotModified#e86602c3 = messages.AllStickers + ///See + [TLDef(0xE86602C3)] public partial class Messages_AllStickersNotModified : Messages_AllStickersBase { } - [TLDef(0xEDFD405F)] //messages.allStickers#edfd405f hash:int sets:Vector = messages.AllStickers + ///See + [TLDef(0xEDFD405F)] public partial class Messages_AllStickers : Messages_AllStickersBase { public int hash; public StickerSet[] sets; } - [TLDef(0x84D19185)] //messages.affectedMessages#84d19185 pts:int pts_count:int = messages.AffectedMessages + ///See + [TLDef(0x84D19185)] public partial class Messages_AffectedMessages : ITLObject { public int pts; public int pts_count; } + ///See public abstract partial class WebPageBase : ITLObject { } - [TLDef(0xEB1477E8)] //webPageEmpty#eb1477e8 id:long = WebPage + ///See + [TLDef(0xEB1477E8)] public partial class WebPageEmpty : WebPageBase { public long id; } - [TLDef(0xC586DA1C)] //webPagePending#c586da1c id:long date:int = WebPage + ///See + [TLDef(0xC586DA1C)] public partial class WebPagePending : WebPageBase { public long id; public DateTime date; } - [TLDef(0xE89C45B2)] //webPage#e89c45b2 flags:# id:long url:string display_url:string hash:int type:flags.0?string site_name:flags.1?string title:flags.2?string description:flags.3?string photo:flags.4?Photo embed_url:flags.5?string embed_type:flags.5?string embed_width:flags.6?int embed_height:flags.6?int duration:flags.7?int author:flags.8?string document:flags.9?Document cached_page:flags.10?Page attributes:flags.12?Vector = WebPage + ///See + [TLDef(0xE89C45B2)] public partial class WebPage : WebPageBase { [Flags] public enum Flags { has_type = 0x1, has_site_name = 0x2, has_title = 0x4, has_description = 0x8, has_photo = 0x10, @@ -2366,7 +2826,8 @@ namespace TL [IfFlag(10)] public Page cached_page; [IfFlag(12)] public WebPageAttribute[] attributes; } - [TLDef(0x7311CA11)] //webPageNotModified#7311ca11 flags:# cached_page_views:flags.0?int = WebPage + ///See + [TLDef(0x7311CA11)] public partial class WebPageNotModified : WebPageBase { [Flags] public enum Flags { has_cached_page_views = 0x1 } @@ -2374,7 +2835,8 @@ namespace TL [IfFlag(0)] public int cached_page_views; } - [TLDef(0xAD01D61D)] //authorization#ad01d61d flags:# current:flags.0?true official_app:flags.1?true password_pending:flags.2?true hash:long device_model:string platform:string system_version:string api_id:int app_name:string app_version:string date_created:int date_active:int ip:string country:string region:string = Authorization + ///See + [TLDef(0xAD01D61D)] public partial class Authorization : ITLObject { [Flags] public enum Flags { current = 0x1, official_app = 0x2, password_pending = 0x4 } @@ -2393,10 +2855,12 @@ namespace TL public string region; } - [TLDef(0x1250ABDE)] //account.authorizations#1250abde authorizations:Vector = account.Authorizations + ///See + [TLDef(0x1250ABDE)] public partial class Account_Authorizations : ITLObject { public Authorization[] authorizations; } - [TLDef(0xAD2641F8)] //account.password#ad2641f8 flags:# has_recovery:flags.0?true has_secure_values:flags.1?true has_password:flags.2?true current_algo:flags.2?PasswordKdfAlgo srp_B:flags.2?bytes srp_id:flags.2?long hint:flags.3?string email_unconfirmed_pattern:flags.4?string new_algo:PasswordKdfAlgo new_secure_algo:SecurePasswordKdfAlgo secure_random:bytes = account.Password + ///See + [TLDef(0xAD2641F8)] public partial class Account_Password : ITLObject { [Flags] public enum Flags { has_recovery = 0x1, has_secure_values = 0x2, has_password = 0x4, has_hint = 0x8, @@ -2412,7 +2876,8 @@ namespace TL public byte[] secure_random; } - [TLDef(0x9A5C33E5)] //account.passwordSettings#9a5c33e5 flags:# email:flags.0?string secure_settings:flags.1?SecureSecretSettings = account.PasswordSettings + ///See + [TLDef(0x9A5C33E5)] public partial class Account_PasswordSettings : ITLObject { [Flags] public enum Flags { has_email = 0x1, has_secure_settings = 0x2 } @@ -2421,7 +2886,8 @@ namespace TL [IfFlag(1)] public SecureSecretSettings secure_settings; } - [TLDef(0xC23727C9)] //account.passwordInputSettings#c23727c9 flags:# new_algo:flags.0?PasswordKdfAlgo new_password_hash:flags.0?bytes hint:flags.0?string email:flags.1?string new_secure_settings:flags.2?SecureSecretSettings = account.PasswordInputSettings + ///See + [TLDef(0xC23727C9)] public partial class Account_PasswordInputSettings : ITLObject { [Flags] public enum Flags { has_new_algo = 0x1, has_email = 0x2, has_new_secure_settings = 0x4 } @@ -2433,26 +2899,34 @@ namespace TL [IfFlag(2)] public SecureSecretSettings new_secure_settings; } - [TLDef(0x137948A5)] //auth.passwordRecovery#137948a5 email_pattern:string = auth.PasswordRecovery + ///See + [TLDef(0x137948A5)] public partial class Auth_PasswordRecovery : ITLObject { public string email_pattern; } - [TLDef(0xA384B779)] //receivedNotifyMessage#a384b779 id:int flags:int = ReceivedNotifyMessage + ///See + [TLDef(0xA384B779)] public partial class ReceivedNotifyMessage : ITLObject { public int id; public int flags; } + ///See public abstract partial class ExportedChatInvite : ITLObject { } - [TLDef(0x69DF3769)] //chatInviteEmpty#69df3769 = ExportedChatInvite + ///See + [TLDef(0x69DF3769)] public partial class ChatInviteEmpty : ExportedChatInvite { } - [TLDef(0xFC2E05BC)] //chatInviteExported#fc2e05bc link:string = ExportedChatInvite + ///See + [TLDef(0xFC2E05BC)] public partial class ChatInviteExported : ExportedChatInvite { public string link; } + ///See public abstract partial class ChatInviteBase : ITLObject { } - [TLDef(0x5A686D7C)] //chatInviteAlready#5a686d7c chat:Chat = ChatInvite + ///See + [TLDef(0x5A686D7C)] public partial class ChatInviteAlready : ChatInviteBase { public ChatBase chat; } - [TLDef(0xDFC2F58E)] //chatInvite#dfc2f58e flags:# channel:flags.0?true broadcast:flags.1?true public:flags.2?true megagroup:flags.3?true title:string photo:Photo participants_count:int participants:flags.4?Vector = ChatInvite + ///See + [TLDef(0xDFC2F58E)] public partial class ChatInvite : ChatInviteBase { [Flags] public enum Flags { channel = 0x1, broadcast = 0x2, public_ = 0x4, megagroup = 0x8, has_participants = 0x10 } @@ -2462,30 +2936,38 @@ namespace TL public int participants_count; [IfFlag(4)] public UserBase[] participants; } - [TLDef(0x61695CB0)] //chatInvitePeek#61695cb0 chat:Chat expires:int = ChatInvite + ///See + [TLDef(0x61695CB0)] public partial class ChatInvitePeek : ChatInviteBase { public ChatBase chat; public DateTime expires; } + ///See public abstract partial class InputStickerSet : ITLObject { } - [TLDef(0xFFB62B95)] //inputStickerSetEmpty#ffb62b95 = InputStickerSet + ///See + [TLDef(0xFFB62B95)] public partial class InputStickerSetEmpty : InputStickerSet { } - [TLDef(0x9DE7A269)] //inputStickerSetID#9de7a269 id:long access_hash:long = InputStickerSet + ///See + [TLDef(0x9DE7A269)] public partial class InputStickerSetID : InputStickerSet { public long id; public long access_hash; } - [TLDef(0x861CC8A0)] //inputStickerSetShortName#861cc8a0 short_name:string = InputStickerSet + ///See + [TLDef(0x861CC8A0)] public partial class InputStickerSetShortName : InputStickerSet { public string short_name; } - [TLDef(0x028703C8)] //inputStickerSetAnimatedEmoji#028703c8 = InputStickerSet + ///See + [TLDef(0x028703C8)] public partial class InputStickerSetAnimatedEmoji : InputStickerSet { } - [TLDef(0xE67F520E)] //inputStickerSetDice#e67f520e emoticon:string = InputStickerSet + ///See + [TLDef(0xE67F520E)] public partial class InputStickerSetDice : InputStickerSet { public string emoticon; } - [TLDef(0xEEB46F27)] //stickerSet#eeb46f27 flags:# archived:flags.1?true official:flags.2?true masks:flags.3?true animated:flags.5?true installed_date:flags.0?int id:long access_hash:long title:string short_name:string thumb:flags.4?PhotoSize thumb_dc_id:flags.4?int count:int hash:int = StickerSet + ///See + [TLDef(0xEEB46F27)] public partial class StickerSet : ITLObject { [Flags] public enum Flags { has_installed_date = 0x1, archived = 0x2, official = 0x4, masks = 0x8, has_thumb = 0x10, @@ -2502,7 +2984,8 @@ namespace TL public int hash; } - [TLDef(0xB60A24A6)] //messages.stickerSet#b60a24a6 set:StickerSet packs:Vector documents:Vector = messages.StickerSet + ///See + [TLDef(0xB60A24A6)] public partial class Messages_StickerSet : ITLObject { public StickerSet set; @@ -2510,14 +2993,16 @@ namespace TL public DocumentBase[] documents; } - [TLDef(0xC27AC8C7)] //botCommand#c27ac8c7 command:string description:string = BotCommand + ///See + [TLDef(0xC27AC8C7)] public partial class BotCommand : ITLObject { public string command; public string description; } - [TLDef(0x98E81D3A)] //botInfo#98e81d3a user_id:int description:string commands:Vector = BotInfo + ///See + [TLDef(0x98E81D3A)] public partial class BotInfo : ITLObject { public int user_id; @@ -2525,16 +3010,20 @@ namespace TL public BotCommand[] commands; } + ///See public abstract partial class KeyboardButtonBase : ITLObject { } - [TLDef(0xA2FA4880)] //keyboardButton#a2fa4880 text:string = KeyboardButton + ///See + [TLDef(0xA2FA4880)] public partial class KeyboardButton : KeyboardButtonBase { public string text; } - [TLDef(0x258AFF05)] //keyboardButtonUrl#258aff05 text:string url:string = KeyboardButton + ///See + [TLDef(0x258AFF05)] public partial class KeyboardButtonUrl : KeyboardButtonBase { public string text; public string url; } - [TLDef(0x35BBDB6B)] //keyboardButtonCallback#35bbdb6b flags:# requires_password:flags.0?true text:string data:bytes = KeyboardButton + ///See + [TLDef(0x35BBDB6B)] public partial class KeyboardButtonCallback : KeyboardButtonBase { [Flags] public enum Flags { requires_password = 0x1 } @@ -2542,11 +3031,14 @@ namespace TL public string text; public byte[] data; } - [TLDef(0xB16A6C29)] //keyboardButtonRequestPhone#b16a6c29 text:string = KeyboardButton + ///See + [TLDef(0xB16A6C29)] public partial class KeyboardButtonRequestPhone : KeyboardButtonBase { public string text; } - [TLDef(0xFC796B3F)] //keyboardButtonRequestGeoLocation#fc796b3f text:string = KeyboardButton + ///See + [TLDef(0xFC796B3F)] public partial class KeyboardButtonRequestGeoLocation : KeyboardButtonBase { public string text; } - [TLDef(0x0568A748)] //keyboardButtonSwitchInline#0568a748 flags:# same_peer:flags.0?true text:string query:string = KeyboardButton + ///See + [TLDef(0x0568A748)] public partial class KeyboardButtonSwitchInline : KeyboardButtonBase { [Flags] public enum Flags { same_peer = 0x1 } @@ -2554,11 +3046,14 @@ namespace TL public string text; public string query; } - [TLDef(0x50F41CCF)] //keyboardButtonGame#50f41ccf text:string = KeyboardButton + ///See + [TLDef(0x50F41CCF)] public partial class KeyboardButtonGame : KeyboardButtonBase { public string text; } - [TLDef(0xAFD93FBB)] //keyboardButtonBuy#afd93fbb text:string = KeyboardButton + ///See + [TLDef(0xAFD93FBB)] public partial class KeyboardButtonBuy : KeyboardButtonBase { public string text; } - [TLDef(0x10B78D29)] //keyboardButtonUrlAuth#10b78d29 flags:# text:string fwd_text:flags.0?string url:string button_id:int = KeyboardButton + ///See + [TLDef(0x10B78D29)] public partial class KeyboardButtonUrlAuth : KeyboardButtonBase { [Flags] public enum Flags { has_fwd_text = 0x1 } @@ -2568,7 +3063,8 @@ namespace TL public string url; public int button_id; } - [TLDef(0xD02E7FD4)] //inputKeyboardButtonUrlAuth#d02e7fd4 flags:# request_write_access:flags.0?true text:string fwd_text:flags.1?string url:string bot:InputUser = KeyboardButton + ///See + [TLDef(0xD02E7FD4)] public partial class InputKeyboardButtonUrlAuth : KeyboardButtonBase { [Flags] public enum Flags { request_write_access = 0x1, has_fwd_text = 0x2 } @@ -2578,7 +3074,8 @@ namespace TL public string url; public InputUserBase bot; } - [TLDef(0xBBC7515D)] //keyboardButtonRequestPoll#bbc7515d flags:# quiz:flags.0?Bool text:string = KeyboardButton + ///See + [TLDef(0xBBC7515D)] public partial class KeyboardButtonRequestPoll : KeyboardButtonBase { [Flags] public enum Flags { has_quiz = 0x1 } @@ -2587,86 +3084,116 @@ namespace TL public string text; } - [TLDef(0x77608B83)] //keyboardButtonRow#77608b83 buttons:Vector = KeyboardButtonRow + ///See + [TLDef(0x77608B83)] public partial class KeyboardButtonRow : ITLObject { public KeyboardButtonBase[] buttons; } + ///See public abstract partial class ReplyMarkup : ITLObject { } - [TLDef(0xA03E5B85)] //replyKeyboardHide#a03e5b85 flags:# selective:flags.2?true = ReplyMarkup + ///See + [TLDef(0xA03E5B85)] public partial class ReplyKeyboardHide : ReplyMarkup { [Flags] public enum Flags { selective = 0x4 } public Flags flags; } - [TLDef(0xF4108AA0)] //replyKeyboardForceReply#f4108aa0 flags:# single_use:flags.1?true selective:flags.2?true = ReplyMarkup + ///See + [TLDef(0xF4108AA0)] public partial class ReplyKeyboardForceReply : ReplyMarkup { [Flags] public enum Flags { single_use = 0x2, selective = 0x4 } public Flags flags; } - [TLDef(0x3502758C)] //replyKeyboardMarkup#3502758c flags:# resize:flags.0?true single_use:flags.1?true selective:flags.2?true rows:Vector = ReplyMarkup + ///See + [TLDef(0x3502758C)] public partial class ReplyKeyboardMarkup : ReplyMarkup { [Flags] public enum Flags { resize = 0x1, single_use = 0x2, selective = 0x4 } public Flags flags; public KeyboardButtonRow[] rows; } - [TLDef(0x48A30254)] //replyInlineMarkup#48a30254 rows:Vector = ReplyMarkup + ///See + [TLDef(0x48A30254)] public partial class ReplyInlineMarkup : ReplyMarkup { public KeyboardButtonRow[] rows; } + ///See public abstract partial class MessageEntity : ITLObject { public int offset; public int length; } - [TLDef(0xBB92BA95)] //messageEntityUnknown#bb92ba95 offset:int length:int = MessageEntity + ///See + [TLDef(0xBB92BA95)] public partial class MessageEntityUnknown : MessageEntity { } - [TLDef(0xFA04579D)] //messageEntityMention#fa04579d offset:int length:int = MessageEntity + ///See + [TLDef(0xFA04579D)] public partial class MessageEntityMention : MessageEntity { } - [TLDef(0x6F635B0D)] //messageEntityHashtag#6f635b0d offset:int length:int = MessageEntity + ///See + [TLDef(0x6F635B0D)] public partial class MessageEntityHashtag : MessageEntity { } - [TLDef(0x6CEF8AC7)] //messageEntityBotCommand#6cef8ac7 offset:int length:int = MessageEntity + ///See + [TLDef(0x6CEF8AC7)] public partial class MessageEntityBotCommand : MessageEntity { } - [TLDef(0x6ED02538)] //messageEntityUrl#6ed02538 offset:int length:int = MessageEntity + ///See + [TLDef(0x6ED02538)] public partial class MessageEntityUrl : MessageEntity { } - [TLDef(0x64E475C2)] //messageEntityEmail#64e475c2 offset:int length:int = MessageEntity + ///See + [TLDef(0x64E475C2)] public partial class MessageEntityEmail : MessageEntity { } - [TLDef(0xBD610BC9)] //messageEntityBold#bd610bc9 offset:int length:int = MessageEntity + ///See + [TLDef(0xBD610BC9)] public partial class MessageEntityBold : MessageEntity { } - [TLDef(0x826F8B60)] //messageEntityItalic#826f8b60 offset:int length:int = MessageEntity + ///See + [TLDef(0x826F8B60)] public partial class MessageEntityItalic : MessageEntity { } - [TLDef(0x28A20571)] //messageEntityCode#28a20571 offset:int length:int = MessageEntity + ///See + [TLDef(0x28A20571)] public partial class MessageEntityCode : MessageEntity { } - [TLDef(0x73924BE0)] //messageEntityPre#73924be0 offset:int length:int language:string = MessageEntity + ///See + [TLDef(0x73924BE0)] public partial class MessageEntityPre : MessageEntity { public string language; } - [TLDef(0x76A6D327)] //messageEntityTextUrl#76a6d327 offset:int length:int url:string = MessageEntity + ///See + [TLDef(0x76A6D327)] public partial class MessageEntityTextUrl : MessageEntity { public string url; } - [TLDef(0x352DCA58)] //messageEntityMentionName#352dca58 offset:int length:int user_id:int = MessageEntity + ///See + [TLDef(0x352DCA58)] public partial class MessageEntityMentionName : MessageEntity { public int user_id; } - [TLDef(0x208E68C9)] //inputMessageEntityMentionName#208e68c9 offset:int length:int user_id:InputUser = MessageEntity + ///See + [TLDef(0x208E68C9)] public partial class InputMessageEntityMentionName : MessageEntity { public InputUserBase user_id; } - [TLDef(0x9B69E34B)] //messageEntityPhone#9b69e34b offset:int length:int = MessageEntity + ///See + [TLDef(0x9B69E34B)] public partial class MessageEntityPhone : MessageEntity { } - [TLDef(0x4C4E743F)] //messageEntityCashtag#4c4e743f offset:int length:int = MessageEntity + ///See + [TLDef(0x4C4E743F)] public partial class MessageEntityCashtag : MessageEntity { } - [TLDef(0x9C4E7E8B)] //messageEntityUnderline#9c4e7e8b offset:int length:int = MessageEntity + ///See + [TLDef(0x9C4E7E8B)] public partial class MessageEntityUnderline : MessageEntity { } - [TLDef(0xBF0693D4)] //messageEntityStrike#bf0693d4 offset:int length:int = MessageEntity + ///See + [TLDef(0xBF0693D4)] public partial class MessageEntityStrike : MessageEntity { } - [TLDef(0x020DF5D0)] //messageEntityBlockquote#020df5d0 offset:int length:int = MessageEntity + ///See + [TLDef(0x020DF5D0)] public partial class MessageEntityBlockquote : MessageEntity { } - [TLDef(0x761E6AF4)] //messageEntityBankCard#761e6af4 offset:int length:int = MessageEntity + ///See + [TLDef(0x761E6AF4)] public partial class MessageEntityBankCard : MessageEntity { } + ///See public abstract partial class InputChannelBase : ITLObject { } - [TLDef(0xEE8C1E86)] //inputChannelEmpty#ee8c1e86 = InputChannel + ///See + [TLDef(0xEE8C1E86)] public partial class InputChannelEmpty : InputChannelBase { } - [TLDef(0xAFEB712E)] //inputChannel#afeb712e channel_id:int access_hash:long = InputChannel + ///See + [TLDef(0xAFEB712E)] public partial class InputChannel : InputChannelBase { public int channel_id; public long access_hash; } - [TLDef(0x2A286531)] //inputChannelFromMessage#2a286531 peer:InputPeer msg_id:int channel_id:int = InputChannel + ///See + [TLDef(0x2A286531)] public partial class InputChannelFromMessage : InputChannelBase { public InputPeer peer; @@ -2674,7 +3201,8 @@ namespace TL public int channel_id; } - [TLDef(0x7F077AD9)] //contacts.resolvedPeer#7f077ad9 peer:Peer chats:Vector users:Vector = contacts.ResolvedPeer + ///See + [TLDef(0x7F077AD9)] public partial class Contacts_ResolvedPeer : ITLObject { public Peer peer; @@ -2682,15 +3210,18 @@ namespace TL public UserBase[] users; } - [TLDef(0x0AE30253)] //messageRange#0ae30253 min_id:int max_id:int = MessageRange + ///See + [TLDef(0x0AE30253)] public partial class MessageRange : ITLObject { public int min_id; public int max_id; } + ///See public abstract partial class Updates_ChannelDifferenceBase : ITLObject { } - [TLDef(0x3E11AFFB)] //updates.channelDifferenceEmpty#3e11affb flags:# final:flags.0?true pts:int timeout:flags.1?int = updates.ChannelDifference + ///See + [TLDef(0x3E11AFFB)] public partial class Updates_ChannelDifferenceEmpty : Updates_ChannelDifferenceBase { [Flags] public enum Flags { final = 0x1, has_timeout = 0x2 } @@ -2698,7 +3229,8 @@ namespace TL public int pts; [IfFlag(1)] public int timeout; } - [TLDef(0xA4BCC6FE)] //updates.channelDifferenceTooLong#a4bcc6fe flags:# final:flags.0?true timeout:flags.1?int dialog:Dialog messages:Vector chats:Vector users:Vector = updates.ChannelDifference + ///See + [TLDef(0xA4BCC6FE)] public partial class Updates_ChannelDifferenceTooLong : Updates_ChannelDifferenceBase { [Flags] public enum Flags { final = 0x1, has_timeout = 0x2 } @@ -2709,7 +3241,8 @@ namespace TL public ChatBase[] chats; public UserBase[] users; } - [TLDef(0x2064674E)] //updates.channelDifference#2064674e flags:# final:flags.0?true pts:int timeout:flags.1?int new_messages:Vector other_updates:Vector chats:Vector users:Vector = updates.ChannelDifference + ///See + [TLDef(0x2064674E)] public partial class Updates_ChannelDifference : Updates_ChannelDifferenceBase { [Flags] public enum Flags { final = 0x1, has_timeout = 0x2 } @@ -2722,10 +3255,13 @@ namespace TL public UserBase[] users; } + ///See public abstract partial class ChannelMessagesFilterBase : ITLObject { } - [TLDef(0x94D42EE7)] //channelMessagesFilterEmpty#94d42ee7 = ChannelMessagesFilter + ///See + [TLDef(0x94D42EE7)] public partial class ChannelMessagesFilterEmpty : ChannelMessagesFilterBase { } - [TLDef(0xCD77D957)] //channelMessagesFilter#cd77d957 flags:# exclude_new_messages:flags.1?true ranges:Vector = ChannelMessagesFilter + ///See + [TLDef(0xCD77D957)] public partial class ChannelMessagesFilter : ChannelMessagesFilterBase { [Flags] public enum Flags { exclude_new_messages = 0x2 } @@ -2733,21 +3269,25 @@ namespace TL public MessageRange[] ranges; } + ///See public abstract partial class ChannelParticipantBase : ITLObject { } - [TLDef(0x15EBAC1D)] //channelParticipant#15ebac1d user_id:int date:int = ChannelParticipant + ///See + [TLDef(0x15EBAC1D)] public partial class ChannelParticipant : ChannelParticipantBase { public int user_id; public DateTime date; } - [TLDef(0xA3289A6D)] //channelParticipantSelf#a3289a6d user_id:int inviter_id:int date:int = ChannelParticipant + ///See + [TLDef(0xA3289A6D)] public partial class ChannelParticipantSelf : ChannelParticipantBase { public int user_id; public int inviter_id; public DateTime date; } - [TLDef(0x447DCA4B)] //channelParticipantCreator#447dca4b flags:# user_id:int admin_rights:ChatAdminRights rank:flags.0?string = ChannelParticipant + ///See + [TLDef(0x447DCA4B)] public partial class ChannelParticipantCreator : ChannelParticipantBase { [Flags] public enum Flags { has_rank = 0x1 } @@ -2756,7 +3296,8 @@ namespace TL public ChatAdminRights admin_rights; [IfFlag(0)] public string rank; } - [TLDef(0xCCBEBBAF)] //channelParticipantAdmin#ccbebbaf flags:# can_edit:flags.0?true self:flags.1?true user_id:int inviter_id:flags.1?int promoted_by:int date:int admin_rights:ChatAdminRights rank:flags.2?string = ChannelParticipant + ///See + [TLDef(0xCCBEBBAF)] public partial class ChannelParticipantAdmin : ChannelParticipantBase { [Flags] public enum Flags { can_edit = 0x1, self = 0x2, has_rank = 0x4 } @@ -2768,7 +3309,8 @@ namespace TL public ChatAdminRights admin_rights; [IfFlag(2)] public string rank; } - [TLDef(0x1C0FACAF)] //channelParticipantBanned#1c0facaf flags:# left:flags.0?true user_id:int kicked_by:int date:int banned_rights:ChatBannedRights = ChannelParticipant + ///See + [TLDef(0x1C0FACAF)] public partial class ChannelParticipantBanned : ChannelParticipantBase { [Flags] public enum Flags { left = 0x1 } @@ -2778,25 +3320,35 @@ namespace TL public DateTime date; public ChatBannedRights banned_rights; } - [TLDef(0xC3C6796B)] //channelParticipantLeft#c3c6796b user_id:int = ChannelParticipant + ///See + [TLDef(0xC3C6796B)] public partial class ChannelParticipantLeft : ChannelParticipantBase { public int user_id; } + ///See public abstract partial class ChannelParticipantsFilter : ITLObject { } - [TLDef(0xDE3F3C79)] //channelParticipantsRecent#de3f3c79 = ChannelParticipantsFilter + ///See + [TLDef(0xDE3F3C79)] public partial class ChannelParticipantsRecent : ChannelParticipantsFilter { } - [TLDef(0xB4608969)] //channelParticipantsAdmins#b4608969 = ChannelParticipantsFilter + ///See + [TLDef(0xB4608969)] public partial class ChannelParticipantsAdmins : ChannelParticipantsFilter { } - [TLDef(0xA3B54985)] //channelParticipantsKicked#a3b54985 q:string = ChannelParticipantsFilter + ///See + [TLDef(0xA3B54985)] public partial class ChannelParticipantsKicked : ChannelParticipantsFilter { public string q; } - [TLDef(0xB0D1865B)] //channelParticipantsBots#b0d1865b = ChannelParticipantsFilter + ///See + [TLDef(0xB0D1865B)] public partial class ChannelParticipantsBots : ChannelParticipantsFilter { } - [TLDef(0x1427A5E1)] //channelParticipantsBanned#1427a5e1 q:string = ChannelParticipantsFilter + ///See + [TLDef(0x1427A5E1)] public partial class ChannelParticipantsBanned : ChannelParticipantsFilter { public string q; } - [TLDef(0x0656AC4B)] //channelParticipantsSearch#0656ac4b q:string = ChannelParticipantsFilter + ///See + [TLDef(0x0656AC4B)] public partial class ChannelParticipantsSearch : ChannelParticipantsFilter { public string q; } - [TLDef(0xBB6AE88D)] //channelParticipantsContacts#bb6ae88d q:string = ChannelParticipantsFilter + ///See + [TLDef(0xBB6AE88D)] public partial class ChannelParticipantsContacts : ChannelParticipantsFilter { public string q; } - [TLDef(0xE04B5CEB)] //channelParticipantsMentions#e04b5ceb flags:# q:flags.0?string top_msg_id:flags.1?int = ChannelParticipantsFilter + ///See + [TLDef(0xE04B5CEB)] public partial class ChannelParticipantsMentions : ChannelParticipantsFilter { [Flags] public enum Flags { has_q = 0x1, has_top_msg_id = 0x2 } @@ -2805,25 +3357,30 @@ namespace TL [IfFlag(1)] public int top_msg_id; } + ///See public abstract partial class Channels_ChannelParticipantsBase : ITLObject { } - [TLDef(0xF56EE2A8)] //channels.channelParticipants#f56ee2a8 count:int participants:Vector users:Vector = channels.ChannelParticipants + ///See + [TLDef(0xF56EE2A8)] public partial class Channels_ChannelParticipants : Channels_ChannelParticipantsBase { public int count; public ChannelParticipantBase[] participants; public UserBase[] users; } - [TLDef(0xF0173FE9)] //channels.channelParticipantsNotModified#f0173fe9 = channels.ChannelParticipants + ///See + [TLDef(0xF0173FE9)] public partial class Channels_ChannelParticipantsNotModified : Channels_ChannelParticipantsBase { } - [TLDef(0xD0D9B163)] //channels.channelParticipant#d0d9b163 participant:ChannelParticipant users:Vector = channels.ChannelParticipant + ///See + [TLDef(0xD0D9B163)] public partial class Channels_ChannelParticipant : ITLObject { public ChannelParticipantBase participant; public UserBase[] users; } - [TLDef(0x780A0310)] //help.termsOfService#780a0310 flags:# popup:flags.0?true id:DataJSON text:string entities:Vector min_age_confirm:flags.1?int = help.TermsOfService + ///See + [TLDef(0x780A0310)] public partial class Help_TermsOfService : ITLObject { [Flags] public enum Flags { popup = 0x1, has_min_age_confirm = 0x2 } @@ -2834,18 +3391,23 @@ namespace TL [IfFlag(1)] public int min_age_confirm; } + ///See public abstract partial class Messages_SavedGifsBase : ITLObject { } - [TLDef(0xE8025CA2)] //messages.savedGifsNotModified#e8025ca2 = messages.SavedGifs + ///See + [TLDef(0xE8025CA2)] public partial class Messages_SavedGifsNotModified : Messages_SavedGifsBase { } - [TLDef(0x2E0709A5)] //messages.savedGifs#2e0709a5 hash:int gifs:Vector = messages.SavedGifs + ///See + [TLDef(0x2E0709A5)] public partial class Messages_SavedGifs : Messages_SavedGifsBase { public int hash; public DocumentBase[] gifs; } + ///See public abstract partial class InputBotInlineMessage : ITLObject { public int flags; } - [TLDef(0x3380C786)] //inputBotInlineMessageMediaAuto#3380c786 flags:# message:string entities:flags.1?Vector reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage + ///See + [TLDef(0x3380C786)] public partial class InputBotInlineMessageMediaAuto : InputBotInlineMessage { [Flags] public enum Flags { has_entities = 0x2, has_reply_markup = 0x4 } @@ -2853,7 +3415,8 @@ namespace TL [IfFlag(1)] public MessageEntity[] entities; [IfFlag(2)] public ReplyMarkup reply_markup; } - [TLDef(0x3DCD7A87)] //inputBotInlineMessageText#3dcd7a87 flags:# no_webpage:flags.0?true message:string entities:flags.1?Vector reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage + ///See + [TLDef(0x3DCD7A87)] public partial class InputBotInlineMessageText : InputBotInlineMessage { [Flags] public enum Flags { no_webpage = 0x1, has_entities = 0x2, has_reply_markup = 0x4 } @@ -2861,7 +3424,8 @@ namespace TL [IfFlag(1)] public MessageEntity[] entities; [IfFlag(2)] public ReplyMarkup reply_markup; } - [TLDef(0x96929A85)] //inputBotInlineMessageMediaGeo#96929a85 flags:# geo_point:InputGeoPoint heading:flags.0?int period:flags.1?int proximity_notification_radius:flags.3?int reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage + ///See + [TLDef(0x96929A85)] public partial class InputBotInlineMessageMediaGeo : InputBotInlineMessage { [Flags] public enum Flags { has_heading = 0x1, has_period = 0x2, has_reply_markup = 0x4, @@ -2872,7 +3436,8 @@ namespace TL [IfFlag(3)] public int proximity_notification_radius; [IfFlag(2)] public ReplyMarkup reply_markup; } - [TLDef(0x417BBF11)] //inputBotInlineMessageMediaVenue#417bbf11 flags:# geo_point:InputGeoPoint title:string address:string provider:string venue_id:string venue_type:string reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage + ///See + [TLDef(0x417BBF11)] public partial class InputBotInlineMessageMediaVenue : InputBotInlineMessage { [Flags] public enum Flags { has_reply_markup = 0x4 } @@ -2884,7 +3449,8 @@ namespace TL public string venue_type; [IfFlag(2)] public ReplyMarkup reply_markup; } - [TLDef(0xA6EDBFFD)] //inputBotInlineMessageMediaContact#a6edbffd flags:# phone_number:string first_name:string last_name:string vcard:string reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage + ///See + [TLDef(0xA6EDBFFD)] public partial class InputBotInlineMessageMediaContact : InputBotInlineMessage { [Flags] public enum Flags { has_reply_markup = 0x4 } @@ -2894,15 +3460,18 @@ namespace TL public string vcard; [IfFlag(2)] public ReplyMarkup reply_markup; } - [TLDef(0x4B425864)] //inputBotInlineMessageGame#4b425864 flags:# reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage + ///See + [TLDef(0x4B425864)] public partial class InputBotInlineMessageGame : InputBotInlineMessage { [Flags] public enum Flags { has_reply_markup = 0x4 } [IfFlag(2)] public ReplyMarkup reply_markup; } + ///See public abstract partial class InputBotInlineResultBase : ITLObject { } - [TLDef(0x88BF9319)] //inputBotInlineResult#88bf9319 flags:# id:string type:string title:flags.1?string description:flags.2?string url:flags.3?string thumb:flags.4?InputWebDocument content:flags.5?InputWebDocument send_message:InputBotInlineMessage = InputBotInlineResult + ///See + [TLDef(0x88BF9319)] public partial class InputBotInlineResult : InputBotInlineResultBase { [Flags] public enum Flags { has_title = 0x2, has_description = 0x4, has_url = 0x8, has_thumb = 0x10, has_content = 0x20 } @@ -2916,7 +3485,8 @@ namespace TL [IfFlag(5)] public InputWebDocument content; public InputBotInlineMessage send_message; } - [TLDef(0xA8D864A7)] //inputBotInlineResultPhoto#a8d864a7 id:string type:string photo:InputPhoto send_message:InputBotInlineMessage = InputBotInlineResult + ///See + [TLDef(0xA8D864A7)] public partial class InputBotInlineResultPhoto : InputBotInlineResultBase { public string id; @@ -2924,7 +3494,8 @@ namespace TL public InputPhotoBase photo; public InputBotInlineMessage send_message; } - [TLDef(0xFFF8FDC4)] //inputBotInlineResultDocument#fff8fdc4 flags:# id:string type:string title:flags.1?string description:flags.2?string document:InputDocument send_message:InputBotInlineMessage = InputBotInlineResult + ///See + [TLDef(0xFFF8FDC4)] public partial class InputBotInlineResultDocument : InputBotInlineResultBase { [Flags] public enum Flags { has_title = 0x2, has_description = 0x4 } @@ -2936,7 +3507,8 @@ namespace TL public InputDocumentBase document; public InputBotInlineMessage send_message; } - [TLDef(0x4FA417F2)] //inputBotInlineResultGame#4fa417f2 id:string short_name:string send_message:InputBotInlineMessage = InputBotInlineResult + ///See + [TLDef(0x4FA417F2)] public partial class InputBotInlineResultGame : InputBotInlineResultBase { public string id; @@ -2944,8 +3516,10 @@ namespace TL public InputBotInlineMessage send_message; } + ///See public abstract partial class BotInlineMessage : ITLObject { public int flags; } - [TLDef(0x764CF810)] //botInlineMessageMediaAuto#764cf810 flags:# message:string entities:flags.1?Vector reply_markup:flags.2?ReplyMarkup = BotInlineMessage + ///See + [TLDef(0x764CF810)] public partial class BotInlineMessageMediaAuto : BotInlineMessage { [Flags] public enum Flags { has_entities = 0x2, has_reply_markup = 0x4 } @@ -2953,7 +3527,8 @@ namespace TL [IfFlag(1)] public MessageEntity[] entities; [IfFlag(2)] public ReplyMarkup reply_markup; } - [TLDef(0x8C7F65E2)] //botInlineMessageText#8c7f65e2 flags:# no_webpage:flags.0?true message:string entities:flags.1?Vector reply_markup:flags.2?ReplyMarkup = BotInlineMessage + ///See + [TLDef(0x8C7F65E2)] public partial class BotInlineMessageText : BotInlineMessage { [Flags] public enum Flags { no_webpage = 0x1, has_entities = 0x2, has_reply_markup = 0x4 } @@ -2961,7 +3536,8 @@ namespace TL [IfFlag(1)] public MessageEntity[] entities; [IfFlag(2)] public ReplyMarkup reply_markup; } - [TLDef(0x051846FD)] //botInlineMessageMediaGeo#051846fd flags:# geo:GeoPoint heading:flags.0?int period:flags.1?int proximity_notification_radius:flags.3?int reply_markup:flags.2?ReplyMarkup = BotInlineMessage + ///See + [TLDef(0x051846FD)] public partial class BotInlineMessageMediaGeo : BotInlineMessage { [Flags] public enum Flags { has_heading = 0x1, has_period = 0x2, has_reply_markup = 0x4, @@ -2972,7 +3548,8 @@ namespace TL [IfFlag(3)] public int proximity_notification_radius; [IfFlag(2)] public ReplyMarkup reply_markup; } - [TLDef(0x8A86659C)] //botInlineMessageMediaVenue#8a86659c flags:# geo:GeoPoint title:string address:string provider:string venue_id:string venue_type:string reply_markup:flags.2?ReplyMarkup = BotInlineMessage + ///See + [TLDef(0x8A86659C)] public partial class BotInlineMessageMediaVenue : BotInlineMessage { [Flags] public enum Flags { has_reply_markup = 0x4 } @@ -2984,7 +3561,8 @@ namespace TL public string venue_type; [IfFlag(2)] public ReplyMarkup reply_markup; } - [TLDef(0x18D1CDC2)] //botInlineMessageMediaContact#18d1cdc2 flags:# phone_number:string first_name:string last_name:string vcard:string reply_markup:flags.2?ReplyMarkup = BotInlineMessage + ///See + [TLDef(0x18D1CDC2)] public partial class BotInlineMessageMediaContact : BotInlineMessage { [Flags] public enum Flags { has_reply_markup = 0x4 } @@ -2995,8 +3573,10 @@ namespace TL [IfFlag(2)] public ReplyMarkup reply_markup; } + ///See public abstract partial class BotInlineResultBase : ITLObject { } - [TLDef(0x11965F3A)] //botInlineResult#11965f3a flags:# id:string type:string title:flags.1?string description:flags.2?string url:flags.3?string thumb:flags.4?WebDocument content:flags.5?WebDocument send_message:BotInlineMessage = BotInlineResult + ///See + [TLDef(0x11965F3A)] public partial class BotInlineResult : BotInlineResultBase { [Flags] public enum Flags { has_title = 0x2, has_description = 0x4, has_url = 0x8, has_thumb = 0x10, has_content = 0x20 } @@ -3010,7 +3590,8 @@ namespace TL [IfFlag(5)] public WebDocumentBase content; public BotInlineMessage send_message; } - [TLDef(0x17DB940B)] //botInlineMediaResult#17db940b flags:# id:string type:string photo:flags.0?Photo document:flags.1?Document title:flags.2?string description:flags.3?string send_message:BotInlineMessage = BotInlineResult + ///See + [TLDef(0x17DB940B)] public partial class BotInlineMediaResult : BotInlineResultBase { [Flags] public enum Flags { has_photo = 0x1, has_document = 0x2, has_title = 0x4, has_description = 0x8 } @@ -3024,7 +3605,8 @@ namespace TL public BotInlineMessage send_message; } - [TLDef(0x947CA848)] //messages.botResults#947ca848 flags:# gallery:flags.0?true query_id:long next_offset:flags.1?string switch_pm:flags.2?InlineBotSwitchPM results:Vector cache_time:int users:Vector = messages.BotResults + ///See + [TLDef(0x947CA848)] public partial class Messages_BotResults : ITLObject { [Flags] public enum Flags { gallery = 0x1, has_next_offset = 0x2, has_switch_pm = 0x4 } @@ -3037,14 +3619,16 @@ namespace TL public UserBase[] users; } - [TLDef(0x5DAB1AF4)] //exportedMessageLink#5dab1af4 link:string html:string = ExportedMessageLink + ///See + [TLDef(0x5DAB1AF4)] public partial class ExportedMessageLink : ITLObject { public string link; public string html; } - [TLDef(0x5F777DCE)] //messageFwdHeader#5f777dce flags:# imported:flags.7?true from_id:flags.0?Peer from_name:flags.5?string date:int channel_post:flags.2?int post_author:flags.3?string saved_from_peer:flags.4?Peer saved_from_msg_id:flags.4?int psa_type:flags.6?string = MessageFwdHeader + ///See + [TLDef(0x5F777DCE)] public partial class MessageFwdHeader : ITLObject { [Flags] public enum Flags { has_from_id = 0x1, has_channel_post = 0x4, has_post_author = 0x8, has_saved_from_peer = 0x10, @@ -3060,25 +3644,35 @@ namespace TL [IfFlag(6)] public string psa_type; } + ///See public abstract partial class Auth_CodeType : ITLObject { } - [TLDef(0x72A3158C)] //auth.codeTypeSms#72a3158c = auth.CodeType + ///See + [TLDef(0x72A3158C)] public partial class Auth_CodeTypeSms : Auth_CodeType { } - [TLDef(0x741CD3E3)] //auth.codeTypeCall#741cd3e3 = auth.CodeType + ///See + [TLDef(0x741CD3E3)] public partial class Auth_CodeTypeCall : Auth_CodeType { } - [TLDef(0x226CCEFB)] //auth.codeTypeFlashCall#226ccefb = auth.CodeType + ///See + [TLDef(0x226CCEFB)] public partial class Auth_CodeTypeFlashCall : Auth_CodeType { } + ///See public abstract partial class Auth_SentCodeType : ITLObject { } - [TLDef(0x3DBB5986)] //auth.sentCodeTypeApp#3dbb5986 length:int = auth.SentCodeType + ///See + [TLDef(0x3DBB5986)] public partial class Auth_SentCodeTypeApp : Auth_SentCodeType { public int length; } - [TLDef(0xC000BBA2)] //auth.sentCodeTypeSms#c000bba2 length:int = auth.SentCodeType + ///See + [TLDef(0xC000BBA2)] public partial class Auth_SentCodeTypeSms : Auth_SentCodeType { public int length; } - [TLDef(0x5353E5A7)] //auth.sentCodeTypeCall#5353e5a7 length:int = auth.SentCodeType + ///See + [TLDef(0x5353E5A7)] public partial class Auth_SentCodeTypeCall : Auth_SentCodeType { public int length; } - [TLDef(0xAB03C6D9)] //auth.sentCodeTypeFlashCall#ab03c6d9 pattern:string = auth.SentCodeType + ///See + [TLDef(0xAB03C6D9)] public partial class Auth_SentCodeTypeFlashCall : Auth_SentCodeType { public string pattern; } - [TLDef(0x36585EA4)] //messages.botCallbackAnswer#36585ea4 flags:# alert:flags.1?true has_url:flags.3?true native_ui:flags.4?true message:flags.0?string url:flags.2?string cache_time:int = messages.BotCallbackAnswer + ///See + [TLDef(0x36585EA4)] public partial class Messages_BotCallbackAnswer : ITLObject { [Flags] public enum Flags { has_message = 0x1, alert = 0x2, has_url_field = 0x4, has_url = 0x8, native_ui = 0x10 } @@ -3088,14 +3682,16 @@ namespace TL public DateTime cache_time; } - [TLDef(0x26B5DDE6)] //messages.messageEditData#26b5dde6 flags:# caption:flags.0?true = messages.MessageEditData + ///See + [TLDef(0x26B5DDE6)] public partial class Messages_MessageEditData : ITLObject { [Flags] public enum Flags { caption = 0x1 } public Flags flags; } - [TLDef(0x890C3D89)] //inputBotInlineMessageID#890c3d89 dc_id:int id:long access_hash:long = InputBotInlineMessageID + ///See + [TLDef(0x890C3D89)] public partial class InputBotInlineMessageID : ITLObject { public int dc_id; @@ -3103,14 +3699,16 @@ namespace TL public long access_hash; } - [TLDef(0x3C20629F)] //inlineBotSwitchPM#3c20629f text:string start_param:string = InlineBotSwitchPM + ///See + [TLDef(0x3C20629F)] public partial class InlineBotSwitchPM : ITLObject { public string text; public string start_param; } - [TLDef(0x3371C354)] //messages.peerDialogs#3371c354 dialogs:Vector messages:Vector chats:Vector users:Vector state:updates.State = messages.PeerDialogs + ///See + [TLDef(0x3371C354)] public partial class Messages_PeerDialogs : ITLObject { public DialogBase[] dialogs; @@ -3120,32 +3718,43 @@ namespace TL public Updates_State state; } - [TLDef(0xEDCDC05B)] //topPeer#edcdc05b peer:Peer rating:double = TopPeer + ///See + [TLDef(0xEDCDC05B)] public partial class TopPeer : ITLObject { public Peer peer; public double rating; } + ///See public abstract partial class TopPeerCategory : ITLObject { } - [TLDef(0xAB661B5B)] //topPeerCategoryBotsPM#ab661b5b = TopPeerCategory + ///See + [TLDef(0xAB661B5B)] public partial class TopPeerCategoryBotsPM : TopPeerCategory { } - [TLDef(0x148677E2)] //topPeerCategoryBotsInline#148677e2 = TopPeerCategory + ///See + [TLDef(0x148677E2)] public partial class TopPeerCategoryBotsInline : TopPeerCategory { } - [TLDef(0x0637B7ED)] //topPeerCategoryCorrespondents#0637b7ed = TopPeerCategory + ///See + [TLDef(0x0637B7ED)] public partial class TopPeerCategoryCorrespondents : TopPeerCategory { } - [TLDef(0xBD17A14A)] //topPeerCategoryGroups#bd17a14a = TopPeerCategory + ///See + [TLDef(0xBD17A14A)] public partial class TopPeerCategoryGroups : TopPeerCategory { } - [TLDef(0x161D9628)] //topPeerCategoryChannels#161d9628 = TopPeerCategory + ///See + [TLDef(0x161D9628)] public partial class TopPeerCategoryChannels : TopPeerCategory { } - [TLDef(0x1E76A78C)] //topPeerCategoryPhoneCalls#1e76a78c = TopPeerCategory + ///See + [TLDef(0x1E76A78C)] public partial class TopPeerCategoryPhoneCalls : TopPeerCategory { } - [TLDef(0xA8406CA9)] //topPeerCategoryForwardUsers#a8406ca9 = TopPeerCategory + ///See + [TLDef(0xA8406CA9)] public partial class TopPeerCategoryForwardUsers : TopPeerCategory { } - [TLDef(0xFBEEC0F0)] //topPeerCategoryForwardChats#fbeec0f0 = TopPeerCategory + ///See + [TLDef(0xFBEEC0F0)] public partial class TopPeerCategoryForwardChats : TopPeerCategory { } - [TLDef(0xFB834291)] //topPeerCategoryPeers#fb834291 category:TopPeerCategory count:int peers:Vector = TopPeerCategoryPeers + ///See + [TLDef(0xFB834291)] public partial class TopPeerCategoryPeers : ITLObject { public TopPeerCategory category; @@ -3153,28 +3762,35 @@ namespace TL public TopPeer[] peers; } + ///See public abstract partial class Contacts_TopPeersBase : ITLObject { } - [TLDef(0xDE266EF5)] //contacts.topPeersNotModified#de266ef5 = contacts.TopPeers + ///See + [TLDef(0xDE266EF5)] public partial class Contacts_TopPeersNotModified : Contacts_TopPeersBase { } - [TLDef(0x70B772A8)] //contacts.topPeers#70b772a8 categories:Vector chats:Vector users:Vector = contacts.TopPeers + ///See + [TLDef(0x70B772A8)] public partial class Contacts_TopPeers : Contacts_TopPeersBase { public TopPeerCategoryPeers[] categories; public ChatBase[] chats; public UserBase[] users; } - [TLDef(0xB52C939D)] //contacts.topPeersDisabled#b52c939d = contacts.TopPeers + ///See + [TLDef(0xB52C939D)] public partial class Contacts_TopPeersDisabled : Contacts_TopPeersBase { } + ///See public abstract partial class DraftMessageBase : ITLObject { } - [TLDef(0x1B0C841A)] //draftMessageEmpty#1b0c841a flags:# date:flags.0?int = DraftMessage + ///See + [TLDef(0x1B0C841A)] public partial class DraftMessageEmpty : DraftMessageBase { [Flags] public enum Flags { has_date = 0x1 } public Flags flags; [IfFlag(0)] public DateTime date; } - [TLDef(0xFD8E711F)] //draftMessage#fd8e711f flags:# no_webpage:flags.1?true reply_to_msg_id:flags.0?int message:string entities:flags.3?Vector date:int = DraftMessage + ///See + [TLDef(0xFD8E711F)] public partial class DraftMessage : DraftMessageBase { [Flags] public enum Flags { has_reply_to_msg_id = 0x1, no_webpage = 0x2, has_entities = 0x8 } @@ -3185,10 +3801,13 @@ namespace TL public DateTime date; } + ///See public abstract partial class Messages_FeaturedStickersBase : ITLObject { } - [TLDef(0xC6DC0C66)] //messages.featuredStickersNotModified#c6dc0c66 count:int = messages.FeaturedStickers + ///See + [TLDef(0xC6DC0C66)] public partial class Messages_FeaturedStickersNotModified : Messages_FeaturedStickersBase { public int count; } - [TLDef(0xB6ABC341)] //messages.featuredStickers#b6abc341 hash:int count:int sets:Vector unread:Vector = messages.FeaturedStickers + ///See + [TLDef(0xB6ABC341)] public partial class Messages_FeaturedStickers : Messages_FeaturedStickersBase { public int hash; @@ -3197,10 +3816,13 @@ namespace TL public long[] unread; } + ///See public abstract partial class Messages_RecentStickersBase : ITLObject { } - [TLDef(0x0B17F890)] //messages.recentStickersNotModified#0b17f890 = messages.RecentStickers + ///See + [TLDef(0x0B17F890)] public partial class Messages_RecentStickersNotModified : Messages_RecentStickersBase { } - [TLDef(0x22F3AFB3)] //messages.recentStickers#22f3afb3 hash:int packs:Vector stickers:Vector dates:Vector = messages.RecentStickers + ///See + [TLDef(0x22F3AFB3)] public partial class Messages_RecentStickers : Messages_RecentStickersBase { public int hash; @@ -3209,34 +3831,42 @@ namespace TL public int[] dates; } - [TLDef(0x4FCBA9C8)] //messages.archivedStickers#4fcba9c8 count:int sets:Vector = messages.ArchivedStickers + ///See + [TLDef(0x4FCBA9C8)] public partial class Messages_ArchivedStickers : ITLObject { public int count; public StickerSetCoveredBase[] sets; } + ///See public abstract partial class Messages_StickerSetInstallResult : ITLObject { } - [TLDef(0x38641628)] //messages.stickerSetInstallResultSuccess#38641628 = messages.StickerSetInstallResult + ///See + [TLDef(0x38641628)] public partial class Messages_StickerSetInstallResultSuccess : Messages_StickerSetInstallResult { } - [TLDef(0x35E410A8)] //messages.stickerSetInstallResultArchive#35e410a8 sets:Vector = messages.StickerSetInstallResult + ///See + [TLDef(0x35E410A8)] public partial class Messages_StickerSetInstallResultArchive : Messages_StickerSetInstallResult { public StickerSetCoveredBase[] sets; } + ///See public abstract partial class StickerSetCoveredBase : ITLObject { } - [TLDef(0x6410A5D2)] //stickerSetCovered#6410a5d2 set:StickerSet cover:Document = StickerSetCovered + ///See + [TLDef(0x6410A5D2)] public partial class StickerSetCovered : StickerSetCoveredBase { public StickerSet set; public DocumentBase cover; } - [TLDef(0x3407E51B)] //stickerSetMultiCovered#3407e51b set:StickerSet covers:Vector = StickerSetCovered + ///See + [TLDef(0x3407E51B)] public partial class StickerSetMultiCovered : StickerSetCoveredBase { public StickerSet set; public DocumentBase[] covers; } - [TLDef(0xAED6DBB2)] //maskCoords#aed6dbb2 n:int x:double y:double zoom:double = MaskCoords + ///See + [TLDef(0xAED6DBB2)] public partial class MaskCoords : ITLObject { public int n; @@ -3245,13 +3875,17 @@ namespace TL public double zoom; } + ///See public abstract partial class InputStickeredMedia : ITLObject { } - [TLDef(0x4A992157)] //inputStickeredMediaPhoto#4a992157 id:InputPhoto = InputStickeredMedia + ///See + [TLDef(0x4A992157)] public partial class InputStickeredMediaPhoto : InputStickeredMedia { public InputPhotoBase id; } - [TLDef(0x0438865B)] //inputStickeredMediaDocument#0438865b id:InputDocument = InputStickeredMedia + ///See + [TLDef(0x0438865B)] public partial class InputStickeredMediaDocument : InputStickeredMedia { public InputDocumentBase id; } - [TLDef(0xBDF9653B)] //game#bdf9653b flags:# id:long access_hash:long short_name:string title:string description:string photo:Photo document:flags.0?Document = Game + ///See + [TLDef(0xBDF9653B)] public partial class Game : ITLObject { [Flags] public enum Flags { has_document = 0x1 } @@ -3265,21 +3899,25 @@ namespace TL [IfFlag(0)] public DocumentBase document; } + ///See public abstract partial class InputGame : ITLObject { } - [TLDef(0x032C3E77)] //inputGameID#032c3e77 id:long access_hash:long = InputGame + ///See + [TLDef(0x032C3E77)] public partial class InputGameID : InputGame { public long id; public long access_hash; } - [TLDef(0xC331E80A)] //inputGameShortName#c331e80a bot_id:InputUser short_name:string = InputGame + ///See + [TLDef(0xC331E80A)] public partial class InputGameShortName : InputGame { public InputUserBase bot_id; public string short_name; } - [TLDef(0x58FFFCD0)] //highScore#58fffcd0 pos:int user_id:int score:int = HighScore + ///See + [TLDef(0x58FFFCD0)] public partial class HighScore : ITLObject { public int pos; @@ -3287,115 +3925,149 @@ namespace TL public int score; } - [TLDef(0x9A3BFD99)] //messages.highScores#9a3bfd99 scores:Vector users:Vector = messages.HighScores + ///See + [TLDef(0x9A3BFD99)] public partial class Messages_HighScores : ITLObject { public HighScore[] scores; public UserBase[] users; } + ///See public abstract partial class RichText : ITLObject { } - [TLDef(0xDC3D824F)] //textEmpty#dc3d824f = RichText + ///See + [TLDef(0xDC3D824F)] public partial class TextEmpty : RichText { } - [TLDef(0x744694E0)] //textPlain#744694e0 text:string = RichText + ///See + [TLDef(0x744694E0)] public partial class TextPlain : RichText { public string text; } - [TLDef(0x6724ABC4)] //textBold#6724abc4 text:RichText = RichText + ///See + [TLDef(0x6724ABC4)] public partial class TextBold : RichText { public RichText text; } - [TLDef(0xD912A59C)] //textItalic#d912a59c text:RichText = RichText + ///See + [TLDef(0xD912A59C)] public partial class TextItalic : RichText { public RichText text; } - [TLDef(0xC12622C4)] //textUnderline#c12622c4 text:RichText = RichText + ///See + [TLDef(0xC12622C4)] public partial class TextUnderline : RichText { public RichText text; } - [TLDef(0x9BF8BB95)] //textStrike#9bf8bb95 text:RichText = RichText + ///See + [TLDef(0x9BF8BB95)] public partial class TextStrike : RichText { public RichText text; } - [TLDef(0x6C3F19B9)] //textFixed#6c3f19b9 text:RichText = RichText + ///See + [TLDef(0x6C3F19B9)] public partial class TextFixed : RichText { public RichText text; } - [TLDef(0x3C2884C1)] //textUrl#3c2884c1 text:RichText url:string webpage_id:long = RichText + ///See + [TLDef(0x3C2884C1)] public partial class TextUrl : RichText { public RichText text; public string url; public long webpage_id; } - [TLDef(0xDE5A0DD6)] //textEmail#de5a0dd6 text:RichText email:string = RichText + ///See + [TLDef(0xDE5A0DD6)] public partial class TextEmail : RichText { public RichText text; public string email; } - [TLDef(0x7E6260D7)] //textConcat#7e6260d7 texts:Vector = RichText + ///See + [TLDef(0x7E6260D7)] public partial class TextConcat : RichText { public RichText[] texts; } - [TLDef(0xED6A8504)] //textSubscript#ed6a8504 text:RichText = RichText + ///See + [TLDef(0xED6A8504)] public partial class TextSubscript : RichText { public RichText text; } - [TLDef(0xC7FB5E01)] //textSuperscript#c7fb5e01 text:RichText = RichText + ///See + [TLDef(0xC7FB5E01)] public partial class TextSuperscript : RichText { public RichText text; } - [TLDef(0x034B8621)] //textMarked#034b8621 text:RichText = RichText + ///See + [TLDef(0x034B8621)] public partial class TextMarked : RichText { public RichText text; } - [TLDef(0x1CCB966A)] //textPhone#1ccb966a text:RichText phone:string = RichText + ///See + [TLDef(0x1CCB966A)] public partial class TextPhone : RichText { public RichText text; public string phone; } - [TLDef(0x081CCF4F)] //textImage#081ccf4f document_id:long w:int h:int = RichText + ///See + [TLDef(0x081CCF4F)] public partial class TextImage : RichText { public long document_id; public int w; public int h; } - [TLDef(0x35553762)] //textAnchor#35553762 text:RichText name:string = RichText + ///See + [TLDef(0x35553762)] public partial class TextAnchor : RichText { public RichText text; public string name; } + ///See public abstract partial class PageBlock : ITLObject { } - [TLDef(0x13567E8A)] //pageBlockUnsupported#13567e8a = PageBlock + ///See + [TLDef(0x13567E8A)] public partial class PageBlockUnsupported : PageBlock { } - [TLDef(0x70ABC3FD)] //pageBlockTitle#70abc3fd text:RichText = PageBlock + ///See + [TLDef(0x70ABC3FD)] public partial class PageBlockTitle : PageBlock { public RichText text; } - [TLDef(0x8FFA9A1F)] //pageBlockSubtitle#8ffa9a1f text:RichText = PageBlock + ///See + [TLDef(0x8FFA9A1F)] public partial class PageBlockSubtitle : PageBlock { public RichText text; } - [TLDef(0xBAAFE5E0)] //pageBlockAuthorDate#baafe5e0 author:RichText published_date:int = PageBlock + ///See + [TLDef(0xBAAFE5E0)] public partial class PageBlockAuthorDate : PageBlock { public RichText author; public DateTime published_date; } - [TLDef(0xBFD064EC)] //pageBlockHeader#bfd064ec text:RichText = PageBlock + ///See + [TLDef(0xBFD064EC)] public partial class PageBlockHeader : PageBlock { public RichText text; } - [TLDef(0xF12BB6E1)] //pageBlockSubheader#f12bb6e1 text:RichText = PageBlock + ///See + [TLDef(0xF12BB6E1)] public partial class PageBlockSubheader : PageBlock { public RichText text; } - [TLDef(0x467A0766)] //pageBlockParagraph#467a0766 text:RichText = PageBlock + ///See + [TLDef(0x467A0766)] public partial class PageBlockParagraph : PageBlock { public RichText text; } - [TLDef(0xC070D93E)] //pageBlockPreformatted#c070d93e text:RichText language:string = PageBlock + ///See + [TLDef(0xC070D93E)] public partial class PageBlockPreformatted : PageBlock { public RichText text; public string language; } - [TLDef(0x48870999)] //pageBlockFooter#48870999 text:RichText = PageBlock + ///See + [TLDef(0x48870999)] public partial class PageBlockFooter : PageBlock { public RichText text; } - [TLDef(0xDB20B188)] //pageBlockDivider#db20b188 = PageBlock + ///See + [TLDef(0xDB20B188)] public partial class PageBlockDivider : PageBlock { } - [TLDef(0xCE0D37B0)] //pageBlockAnchor#ce0d37b0 name:string = PageBlock + ///See + [TLDef(0xCE0D37B0)] public partial class PageBlockAnchor : PageBlock { public string name; } - [TLDef(0xE4E88011)] //pageBlockList#e4e88011 items:Vector = PageBlock + ///See + [TLDef(0xE4E88011)] public partial class PageBlockList : PageBlock { public PageListItem[] items; } - [TLDef(0x263D7C26)] //pageBlockBlockquote#263d7c26 text:RichText caption:RichText = PageBlock + ///See + [TLDef(0x263D7C26)] public partial class PageBlockBlockquote : PageBlock { public RichText text; public RichText caption; } - [TLDef(0x4F4456D3)] //pageBlockPullquote#4f4456d3 text:RichText caption:RichText = PageBlock + ///See + [TLDef(0x4F4456D3)] public partial class PageBlockPullquote : PageBlock { public RichText text; public RichText caption; } - [TLDef(0x1759C560)] //pageBlockPhoto#1759c560 flags:# photo_id:long caption:PageCaption url:flags.0?string webpage_id:flags.0?long = PageBlock + ///See + [TLDef(0x1759C560)] public partial class PageBlockPhoto : PageBlock { [Flags] public enum Flags { has_url = 0x1 } @@ -3405,7 +4077,8 @@ namespace TL [IfFlag(0)] public string url; [IfFlag(0)] public long webpage_id; } - [TLDef(0x7C8FE7B6)] //pageBlockVideo#7c8fe7b6 flags:# autoplay:flags.0?true loop:flags.1?true video_id:long caption:PageCaption = PageBlock + ///See + [TLDef(0x7C8FE7B6)] public partial class PageBlockVideo : PageBlock { [Flags] public enum Flags { autoplay = 0x1, loop = 0x2 } @@ -3413,9 +4086,11 @@ namespace TL public long video_id; public PageCaption caption; } - [TLDef(0x39F23300)] //pageBlockCover#39f23300 cover:PageBlock = PageBlock + ///See + [TLDef(0x39F23300)] public partial class PageBlockCover : PageBlock { public PageBlock cover; } - [TLDef(0xA8718DC5)] //pageBlockEmbed#a8718dc5 flags:# full_width:flags.0?true allow_scrolling:flags.3?true url:flags.1?string html:flags.2?string poster_photo_id:flags.4?long w:flags.5?int h:flags.5?int caption:PageCaption = PageBlock + ///See + [TLDef(0xA8718DC5)] public partial class PageBlockEmbed : PageBlock { [Flags] public enum Flags { full_width = 0x1, has_url = 0x2, has_html = 0x4, allow_scrolling = 0x8, has_poster_photo_id = 0x10, @@ -3428,7 +4103,8 @@ namespace TL [IfFlag(5)] public int h; public PageCaption caption; } - [TLDef(0xF259A80B)] //pageBlockEmbedPost#f259a80b url:string webpage_id:long author_photo_id:long author:string date:int blocks:Vector caption:PageCaption = PageBlock + ///See + [TLDef(0xF259A80B)] public partial class PageBlockEmbedPost : PageBlock { public string url; @@ -3439,29 +4115,35 @@ namespace TL public PageBlock[] blocks; public PageCaption caption; } - [TLDef(0x65A0FA4D)] //pageBlockCollage#65a0fa4d items:Vector caption:PageCaption = PageBlock + ///See + [TLDef(0x65A0FA4D)] public partial class PageBlockCollage : PageBlock { public PageBlock[] items; public PageCaption caption; } - [TLDef(0x031F9590)] //pageBlockSlideshow#031f9590 items:Vector caption:PageCaption = PageBlock + ///See + [TLDef(0x031F9590)] public partial class PageBlockSlideshow : PageBlock { public PageBlock[] items; public PageCaption caption; } - [TLDef(0xEF1751B5)] //pageBlockChannel#ef1751b5 channel:Chat = PageBlock + ///See + [TLDef(0xEF1751B5)] public partial class PageBlockChannel : PageBlock { public ChatBase channel; } - [TLDef(0x804361EA)] //pageBlockAudio#804361ea audio_id:long caption:PageCaption = PageBlock + ///See + [TLDef(0x804361EA)] public partial class PageBlockAudio : PageBlock { public long audio_id; public PageCaption caption; } - [TLDef(0x1E148390)] //pageBlockKicker#1e148390 text:RichText = PageBlock + ///See + [TLDef(0x1E148390)] public partial class PageBlockKicker : PageBlock { public RichText text; } - [TLDef(0xBF4DEA82)] //pageBlockTable#bf4dea82 flags:# bordered:flags.0?true striped:flags.1?true title:RichText rows:Vector = PageBlock + ///See + [TLDef(0xBF4DEA82)] public partial class PageBlockTable : PageBlock { [Flags] public enum Flags { bordered = 0x1, striped = 0x2 } @@ -3469,9 +4151,11 @@ namespace TL public RichText title; public PageTableRow[] rows; } - [TLDef(0x9A8AE1E1)] //pageBlockOrderedList#9a8ae1e1 items:Vector = PageBlock + ///See + [TLDef(0x9A8AE1E1)] public partial class PageBlockOrderedList : PageBlock { public PageListOrderedItem[] items; } - [TLDef(0x76768BED)] //pageBlockDetails#76768bed flags:# open:flags.0?true blocks:Vector title:RichText = PageBlock + ///See + [TLDef(0x76768BED)] public partial class PageBlockDetails : PageBlock { [Flags] public enum Flags { open = 0x1 } @@ -3479,13 +4163,15 @@ namespace TL public PageBlock[] blocks; public RichText title; } - [TLDef(0x16115A96)] //pageBlockRelatedArticles#16115a96 title:RichText articles:Vector = PageBlock + ///See + [TLDef(0x16115A96)] public partial class PageBlockRelatedArticles : PageBlock { public RichText title; public PageRelatedArticle[] articles; } - [TLDef(0xA44F3EF6)] //pageBlockMap#a44f3ef6 geo:GeoPoint zoom:int w:int h:int caption:PageCaption = PageBlock + ///See + [TLDef(0xA44F3EF6)] public partial class PageBlockMap : PageBlock { public GeoPointBase geo; @@ -3495,27 +4181,35 @@ namespace TL public PageCaption caption; } + ///See public abstract partial class PhoneCallDiscardReason : ITLObject { } - [TLDef(0x85E42301)] //phoneCallDiscardReasonMissed#85e42301 = PhoneCallDiscardReason + ///See + [TLDef(0x85E42301)] public partial class PhoneCallDiscardReasonMissed : PhoneCallDiscardReason { } - [TLDef(0xE095C1A0)] //phoneCallDiscardReasonDisconnect#e095c1a0 = PhoneCallDiscardReason + ///See + [TLDef(0xE095C1A0)] public partial class PhoneCallDiscardReasonDisconnect : PhoneCallDiscardReason { } - [TLDef(0x57ADC690)] //phoneCallDiscardReasonHangup#57adc690 = PhoneCallDiscardReason + ///See + [TLDef(0x57ADC690)] public partial class PhoneCallDiscardReasonHangup : PhoneCallDiscardReason { } - [TLDef(0xFAF7E8C9)] //phoneCallDiscardReasonBusy#faf7e8c9 = PhoneCallDiscardReason + ///See + [TLDef(0xFAF7E8C9)] public partial class PhoneCallDiscardReasonBusy : PhoneCallDiscardReason { } - [TLDef(0x7D748D04)] //dataJSON#7d748d04 data:string = DataJSON + ///See + [TLDef(0x7D748D04)] public partial class DataJSON : ITLObject { public string data; } - [TLDef(0xCB296BF8)] //labeledPrice#cb296bf8 label:string amount:long = LabeledPrice + ///See + [TLDef(0xCB296BF8)] public partial class LabeledPrice : ITLObject { public string label; public long amount; } - [TLDef(0xC30AA358)] //invoice#c30aa358 flags:# test:flags.0?true name_requested:flags.1?true phone_requested:flags.2?true email_requested:flags.3?true shipping_address_requested:flags.4?true flexible:flags.5?true phone_to_provider:flags.6?true email_to_provider:flags.7?true currency:string prices:Vector = Invoice + ///See + [TLDef(0xC30AA358)] public partial class Invoice : ITLObject { [Flags] public enum Flags { test = 0x1, name_requested = 0x2, phone_requested = 0x4, email_requested = 0x8, @@ -3525,14 +4219,16 @@ namespace TL public LabeledPrice[] prices; } - [TLDef(0xEA02C27E)] //paymentCharge#ea02c27e id:string provider_charge_id:string = PaymentCharge + ///See + [TLDef(0xEA02C27E)] public partial class PaymentCharge : ITLObject { public string id; public string provider_charge_id; } - [TLDef(0x1E8CAAEB)] //postAddress#1e8caaeb street_line1:string street_line2:string city:string state:string country_iso2:string post_code:string = PostAddress + ///See + [TLDef(0x1E8CAAEB)] public partial class PostAddress : ITLObject { public string street_line1; @@ -3543,7 +4239,8 @@ namespace TL public string post_code; } - [TLDef(0x909C3F94)] //paymentRequestedInfo#909c3f94 flags:# name:flags.0?string phone:flags.1?string email:flags.2?string shipping_address:flags.3?PostAddress = PaymentRequestedInfo + ///See + [TLDef(0x909C3F94)] public partial class PaymentRequestedInfo : ITLObject { [Flags] public enum Flags { has_name = 0x1, has_phone = 0x2, has_email = 0x4, has_shipping_address = 0x8 } @@ -3554,16 +4251,20 @@ namespace TL [IfFlag(3)] public PostAddress shipping_address; } + ///See public abstract partial class PaymentSavedCredentials : ITLObject { } - [TLDef(0xCDC27A1F)] //paymentSavedCredentialsCard#cdc27a1f id:string title:string = PaymentSavedCredentials + ///See + [TLDef(0xCDC27A1F)] public partial class PaymentSavedCredentialsCard : PaymentSavedCredentials { public string id; public string title; } + ///See public abstract partial class WebDocumentBase : ITLObject { } - [TLDef(0x1C570ED1)] //webDocument#1c570ed1 url:string access_hash:long size:int mime_type:string attributes:Vector = WebDocument + ///See + [TLDef(0x1C570ED1)] public partial class WebDocument : WebDocumentBase { public string url; @@ -3572,7 +4273,8 @@ namespace TL public string mime_type; public DocumentAttribute[] attributes; } - [TLDef(0xF9C8BCC6)] //webDocumentNoProxy#f9c8bcc6 url:string size:int mime_type:string attributes:Vector = WebDocument + ///See + [TLDef(0xF9C8BCC6)] public partial class WebDocumentNoProxy : WebDocumentBase { public string url; @@ -3581,7 +4283,8 @@ namespace TL public DocumentAttribute[] attributes; } - [TLDef(0x9BED434D)] //inputWebDocument#9bed434d url:string size:int mime_type:string attributes:Vector = InputWebDocument + ///See + [TLDef(0x9BED434D)] public partial class InputWebDocument : ITLObject { public string url; @@ -3590,14 +4293,17 @@ namespace TL public DocumentAttribute[] attributes; } + ///See public abstract partial class InputWebFileLocationBase : ITLObject { } - [TLDef(0xC239D686)] //inputWebFileLocation#c239d686 url:string access_hash:long = InputWebFileLocation + ///See + [TLDef(0xC239D686)] public partial class InputWebFileLocation : InputWebFileLocationBase { public string url; public long access_hash; } - [TLDef(0x9F2221C9)] //inputWebFileGeoPointLocation#9f2221c9 geo_point:InputGeoPoint access_hash:long w:int h:int zoom:int scale:int = InputWebFileLocation + ///See + [TLDef(0x9F2221C9)] public partial class InputWebFileGeoPointLocation : InputWebFileLocationBase { public InputGeoPointBase geo_point; @@ -3608,7 +4314,8 @@ namespace TL public int scale; } - [TLDef(0x21E753BC)] //upload.webFile#21e753bc size:int mime_type:string file_type:storage.FileType mtime:int bytes:bytes = upload.WebFile + ///See + [TLDef(0x21E753BC)] public partial class Upload_WebFile : ITLObject { public int size; @@ -3618,7 +4325,8 @@ namespace TL public byte[] bytes; } - [TLDef(0x3F56AEA3)] //payments.paymentForm#3f56aea3 flags:# can_save_credentials:flags.2?true password_missing:flags.3?true bot_id:int invoice:Invoice provider_id:int url:string native_provider:flags.4?string native_params:flags.4?DataJSON saved_info:flags.0?PaymentRequestedInfo saved_credentials:flags.1?PaymentSavedCredentials users:Vector = payments.PaymentForm + ///See + [TLDef(0x3F56AEA3)] public partial class Payments_PaymentForm : ITLObject { [Flags] public enum Flags { has_saved_info = 0x1, has_saved_credentials = 0x2, can_save_credentials = 0x4, @@ -3635,7 +4343,8 @@ namespace TL public UserBase[] users; } - [TLDef(0xD1451883)] //payments.validatedRequestedInfo#d1451883 flags:# id:flags.0?string shipping_options:flags.1?Vector = payments.ValidatedRequestedInfo + ///See + [TLDef(0xD1451883)] public partial class Payments_ValidatedRequestedInfo : ITLObject { [Flags] public enum Flags { has_id = 0x1, has_shipping_options = 0x2 } @@ -3644,13 +4353,17 @@ namespace TL [IfFlag(1)] public ShippingOption[] shipping_options; } + ///See public abstract partial class Payments_PaymentResultBase : ITLObject { } - [TLDef(0x4E5F810D)] //payments.paymentResult#4e5f810d updates:Updates = payments.PaymentResult + ///See + [TLDef(0x4E5F810D)] public partial class Payments_PaymentResult : Payments_PaymentResultBase { public UpdatesBase updates; } - [TLDef(0xD8411139)] //payments.paymentVerificationNeeded#d8411139 url:string = payments.PaymentResult + ///See + [TLDef(0xD8411139)] public partial class Payments_PaymentVerificationNeeded : Payments_PaymentResultBase { public string url; } - [TLDef(0x500911E1)] //payments.paymentReceipt#500911e1 flags:# date:int bot_id:int invoice:Invoice provider_id:int info:flags.0?PaymentRequestedInfo shipping:flags.1?ShippingOption currency:string total_amount:long credentials_title:string users:Vector = payments.PaymentReceipt + ///See + [TLDef(0x500911E1)] public partial class Payments_PaymentReceipt : ITLObject { [Flags] public enum Flags { has_info = 0x1, has_shipping = 0x2 } @@ -3667,7 +4380,8 @@ namespace TL public UserBase[] users; } - [TLDef(0xFB8FE43C)] //payments.savedInfo#fb8fe43c flags:# has_saved_credentials:flags.1?true saved_info:flags.0?PaymentRequestedInfo = payments.SavedInfo + ///See + [TLDef(0xFB8FE43C)] public partial class Payments_SavedInfo : ITLObject { [Flags] public enum Flags { has_saved_info = 0x1, has_saved_credentials = 0x2 } @@ -3675,37 +4389,44 @@ namespace TL [IfFlag(0)] public PaymentRequestedInfo saved_info; } + ///See public abstract partial class InputPaymentCredentialsBase : ITLObject { } - [TLDef(0xC10EB2CF)] //inputPaymentCredentialsSaved#c10eb2cf id:string tmp_password:bytes = InputPaymentCredentials + ///See + [TLDef(0xC10EB2CF)] public partial class InputPaymentCredentialsSaved : InputPaymentCredentialsBase { public string id; public byte[] tmp_password; } - [TLDef(0x3417D728)] //inputPaymentCredentials#3417d728 flags:# save:flags.0?true data:DataJSON = InputPaymentCredentials + ///See + [TLDef(0x3417D728)] public partial class InputPaymentCredentials : InputPaymentCredentialsBase { [Flags] public enum Flags { save = 0x1 } public Flags flags; public DataJSON data; } - [TLDef(0x0AA1C39F)] //inputPaymentCredentialsApplePay#0aa1c39f payment_data:DataJSON = InputPaymentCredentials + ///See + [TLDef(0x0AA1C39F)] public partial class InputPaymentCredentialsApplePay : InputPaymentCredentialsBase { public DataJSON payment_data; } - [TLDef(0xCA05D50E)] //inputPaymentCredentialsAndroidPay#ca05d50e payment_token:DataJSON google_transaction_id:string = InputPaymentCredentials + ///See + [TLDef(0xCA05D50E)] public partial class InputPaymentCredentialsAndroidPay : InputPaymentCredentialsBase { public DataJSON payment_token; public string google_transaction_id; } - [TLDef(0xDB64FD34)] //account.tmpPassword#db64fd34 tmp_password:bytes valid_until:int = account.TmpPassword + ///See + [TLDef(0xDB64FD34)] public partial class Account_TmpPassword : ITLObject { public byte[] tmp_password; public DateTime valid_until; } - [TLDef(0xB6213CDF)] //shippingOption#b6213cdf id:string title:string prices:Vector = ShippingOption + ///See + [TLDef(0xB6213CDF)] public partial class ShippingOption : ITLObject { public string id; @@ -3713,7 +4434,8 @@ namespace TL public LabeledPrice[] prices; } - [TLDef(0xFFA0A496)] //inputStickerSetItem#ffa0a496 flags:# document:InputDocument emoji:string mask_coords:flags.0?MaskCoords = InputStickerSetItem + ///See + [TLDef(0xFFA0A496)] public partial class InputStickerSetItem : ITLObject { [Flags] public enum Flags { has_mask_coords = 0x1 } @@ -3723,17 +4445,21 @@ namespace TL [IfFlag(0)] public MaskCoords mask_coords; } - [TLDef(0x1E36FDED)] //inputPhoneCall#1e36fded id:long access_hash:long = InputPhoneCall + ///See + [TLDef(0x1E36FDED)] public partial class InputPhoneCall : ITLObject { public long id; public long access_hash; } + ///See public abstract partial class PhoneCallBase : ITLObject { } - [TLDef(0x5366C915)] //phoneCallEmpty#5366c915 id:long = PhoneCall + ///See + [TLDef(0x5366C915)] public partial class PhoneCallEmpty : PhoneCallBase { public long id; } - [TLDef(0x1B8F4AD1)] //phoneCallWaiting#1b8f4ad1 flags:# video:flags.6?true id:long access_hash:long date:int admin_id:int participant_id:int protocol:PhoneCallProtocol receive_date:flags.0?int = PhoneCall + ///See + [TLDef(0x1B8F4AD1)] public partial class PhoneCallWaiting : PhoneCallBase { [Flags] public enum Flags { has_receive_date = 0x1, video = 0x40 } @@ -3746,7 +4472,8 @@ namespace TL public PhoneCallProtocol protocol; [IfFlag(0)] public DateTime receive_date; } - [TLDef(0x87EABB53)] //phoneCallRequested#87eabb53 flags:# video:flags.6?true id:long access_hash:long date:int admin_id:int participant_id:int g_a_hash:bytes protocol:PhoneCallProtocol = PhoneCall + ///See + [TLDef(0x87EABB53)] public partial class PhoneCallRequested : PhoneCallBase { [Flags] public enum Flags { video = 0x40 } @@ -3759,7 +4486,8 @@ namespace TL public byte[] g_a_hash; public PhoneCallProtocol protocol; } - [TLDef(0x997C454A)] //phoneCallAccepted#997c454a flags:# video:flags.6?true id:long access_hash:long date:int admin_id:int participant_id:int g_b:bytes protocol:PhoneCallProtocol = PhoneCall + ///See + [TLDef(0x997C454A)] public partial class PhoneCallAccepted : PhoneCallBase { [Flags] public enum Flags { video = 0x40 } @@ -3772,7 +4500,8 @@ namespace TL public byte[] g_b; public PhoneCallProtocol protocol; } - [TLDef(0x8742AE7F)] //phoneCall#8742ae7f flags:# p2p_allowed:flags.5?true video:flags.6?true id:long access_hash:long date:int admin_id:int participant_id:int g_a_or_b:bytes key_fingerprint:long protocol:PhoneCallProtocol connections:Vector start_date:int = PhoneCall + ///See + [TLDef(0x8742AE7F)] public partial class PhoneCall : PhoneCallBase { [Flags] public enum Flags { p2p_allowed = 0x20, video = 0x40 } @@ -3788,7 +4517,8 @@ namespace TL public PhoneConnectionBase[] connections; public DateTime start_date; } - [TLDef(0x50CA4DE1)] //phoneCallDiscarded#50ca4de1 flags:# need_rating:flags.2?true need_debug:flags.3?true video:flags.6?true id:long reason:flags.0?PhoneCallDiscardReason duration:flags.1?int = PhoneCall + ///See + [TLDef(0x50CA4DE1)] public partial class PhoneCallDiscarded : PhoneCallBase { [Flags] public enum Flags { has_reason = 0x1, has_duration = 0x2, need_rating = 0x4, need_debug = 0x8, video = 0x40 } @@ -3798,8 +4528,10 @@ namespace TL [IfFlag(1)] public int duration; } + ///See public abstract partial class PhoneConnectionBase : ITLObject { } - [TLDef(0x9D4C17C0)] //phoneConnection#9d4c17c0 id:long ip:string ipv6:string port:int peer_tag:bytes = PhoneConnection + ///See + [TLDef(0x9D4C17C0)] public partial class PhoneConnection : PhoneConnectionBase { public long id; @@ -3808,7 +4540,8 @@ namespace TL public int port; public byte[] peer_tag; } - [TLDef(0x635FE375)] //phoneConnectionWebrtc#635fe375 flags:# turn:flags.0?true stun:flags.1?true id:long ip:string ipv6:string port:int username:string password:string = PhoneConnection + ///See + [TLDef(0x635FE375)] public partial class PhoneConnectionWebrtc : PhoneConnectionBase { [Flags] public enum Flags { turn = 0x1, stun = 0x2 } @@ -3821,7 +4554,8 @@ namespace TL public string password; } - [TLDef(0xFC878FC8)] //phoneCallProtocol#fc878fc8 flags:# udp_p2p:flags.0?true udp_reflector:flags.1?true min_layer:int max_layer:int library_versions:Vector = PhoneCallProtocol + ///See + [TLDef(0xFC878FC8)] public partial class PhoneCallProtocol : ITLObject { [Flags] public enum Flags { udp_p2p = 0x1, udp_reflector = 0x2 } @@ -3831,37 +4565,46 @@ namespace TL public string[] library_versions; } - [TLDef(0xEC82E140)] //phone.phoneCall#ec82e140 phone_call:PhoneCall users:Vector = phone.PhoneCall + ///See + [TLDef(0xEC82E140)] public partial class Phone_PhoneCall : ITLObject { public PhoneCallBase phone_call; public UserBase[] users; } + ///See public abstract partial class Upload_CdnFileBase : ITLObject { } - [TLDef(0xEEA8E46E)] //upload.cdnFileReuploadNeeded#eea8e46e request_token:bytes = upload.CdnFile + ///See + [TLDef(0xEEA8E46E)] public partial class Upload_CdnFileReuploadNeeded : Upload_CdnFileBase { public byte[] request_token; } - [TLDef(0xA99FCA4F)] //upload.cdnFile#a99fca4f bytes:bytes = upload.CdnFile + ///See + [TLDef(0xA99FCA4F)] public partial class Upload_CdnFile : Upload_CdnFileBase { public byte[] bytes; } - [TLDef(0xC982EABA)] //cdnPublicKey#c982eaba dc_id:int public_key:string = CdnPublicKey + ///See + [TLDef(0xC982EABA)] public partial class CdnPublicKey : ITLObject { public int dc_id; public string public_key; } - [TLDef(0x5725E40A)] //cdnConfig#5725e40a public_keys:Vector = CdnConfig + ///See + [TLDef(0x5725E40A)] public partial class CdnConfig : ITLObject { public CdnPublicKey[] public_keys; } + ///See public abstract partial class LangPackStringBase : ITLObject { } - [TLDef(0xCAD181F6)] //langPackString#cad181f6 key:string value:string = LangPackString + ///See + [TLDef(0xCAD181F6)] public partial class LangPackString : LangPackStringBase { public string key; public string value; } - [TLDef(0x6C47AC9F)] //langPackStringPluralized#6c47ac9f flags:# key:string zero_value:flags.0?string one_value:flags.1?string two_value:flags.2?string few_value:flags.3?string many_value:flags.4?string other_value:string = LangPackString + ///See + [TLDef(0x6C47AC9F)] public partial class LangPackStringPluralized : LangPackStringBase { [Flags] public enum Flags { has_zero_value = 0x1, has_one_value = 0x2, has_two_value = 0x4, has_few_value = 0x8, @@ -3875,10 +4618,12 @@ namespace TL [IfFlag(4)] public string many_value; public string other_value; } - [TLDef(0x2979EEB2)] //langPackStringDeleted#2979eeb2 key:string = LangPackString + ///See + [TLDef(0x2979EEB2)] public partial class LangPackStringDeleted : LangPackStringBase { public string key; } - [TLDef(0xF385C1F6)] //langPackDifference#f385c1f6 lang_code:string from_version:int version:int strings:Vector = LangPackDifference + ///See + [TLDef(0xF385C1F6)] public partial class LangPackDifference : ITLObject { public string lang_code; @@ -3887,7 +4632,8 @@ namespace TL public LangPackStringBase[] strings; } - [TLDef(0xEECA5CE3)] //langPackLanguage#eeca5ce3 flags:# official:flags.0?true rtl:flags.2?true beta:flags.3?true name:string native_name:string lang_code:string base_lang_code:flags.1?string plural_code:string strings_count:int translated_count:int translations_url:string = LangPackLanguage + ///See + [TLDef(0xEECA5CE3)] public partial class LangPackLanguage : ITLObject { [Flags] public enum Flags { official = 0x1, has_base_lang_code = 0x2, rtl = 0x4, beta = 0x8 } @@ -3902,99 +4648,122 @@ namespace TL public string translations_url; } + ///See public abstract partial class ChannelAdminLogEventAction : ITLObject { } - [TLDef(0xE6DFB825)] //channelAdminLogEventActionChangeTitle#e6dfb825 prev_value:string new_value:string = ChannelAdminLogEventAction + ///See + [TLDef(0xE6DFB825)] public partial class ChannelAdminLogEventActionChangeTitle : ChannelAdminLogEventAction { public string prev_value; public string new_value; } - [TLDef(0x55188A2E)] //channelAdminLogEventActionChangeAbout#55188a2e prev_value:string new_value:string = ChannelAdminLogEventAction + ///See + [TLDef(0x55188A2E)] public partial class ChannelAdminLogEventActionChangeAbout : ChannelAdminLogEventAction { public string prev_value; public string new_value; } - [TLDef(0x6A4AFC38)] //channelAdminLogEventActionChangeUsername#6a4afc38 prev_value:string new_value:string = ChannelAdminLogEventAction + ///See + [TLDef(0x6A4AFC38)] public partial class ChannelAdminLogEventActionChangeUsername : ChannelAdminLogEventAction { public string prev_value; public string new_value; } - [TLDef(0x434BD2AF)] //channelAdminLogEventActionChangePhoto#434bd2af prev_photo:Photo new_photo:Photo = ChannelAdminLogEventAction + ///See + [TLDef(0x434BD2AF)] public partial class ChannelAdminLogEventActionChangePhoto : ChannelAdminLogEventAction { public PhotoBase prev_photo; public PhotoBase new_photo; } - [TLDef(0x1B7907AE)] //channelAdminLogEventActionToggleInvites#1b7907ae new_value:Bool = ChannelAdminLogEventAction + ///See + [TLDef(0x1B7907AE)] public partial class ChannelAdminLogEventActionToggleInvites : ChannelAdminLogEventAction { public bool new_value; } - [TLDef(0x26AE0971)] //channelAdminLogEventActionToggleSignatures#26ae0971 new_value:Bool = ChannelAdminLogEventAction + ///See + [TLDef(0x26AE0971)] public partial class ChannelAdminLogEventActionToggleSignatures : ChannelAdminLogEventAction { public bool new_value; } - [TLDef(0xE9E82C18)] //channelAdminLogEventActionUpdatePinned#e9e82c18 message:Message = ChannelAdminLogEventAction + ///See + [TLDef(0xE9E82C18)] public partial class ChannelAdminLogEventActionUpdatePinned : ChannelAdminLogEventAction { public MessageBase message; } - [TLDef(0x709B2405)] //channelAdminLogEventActionEditMessage#709b2405 prev_message:Message new_message:Message = ChannelAdminLogEventAction + ///See + [TLDef(0x709B2405)] public partial class ChannelAdminLogEventActionEditMessage : ChannelAdminLogEventAction { public MessageBase prev_message; public MessageBase new_message; } - [TLDef(0x42E047BB)] //channelAdminLogEventActionDeleteMessage#42e047bb message:Message = ChannelAdminLogEventAction + ///See + [TLDef(0x42E047BB)] public partial class ChannelAdminLogEventActionDeleteMessage : ChannelAdminLogEventAction { public MessageBase message; } - [TLDef(0x183040D3)] //channelAdminLogEventActionParticipantJoin#183040d3 = ChannelAdminLogEventAction + ///See + [TLDef(0x183040D3)] public partial class ChannelAdminLogEventActionParticipantJoin : ChannelAdminLogEventAction { } - [TLDef(0xF89777F2)] //channelAdminLogEventActionParticipantLeave#f89777f2 = ChannelAdminLogEventAction + ///See + [TLDef(0xF89777F2)] public partial class ChannelAdminLogEventActionParticipantLeave : ChannelAdminLogEventAction { } - [TLDef(0xE31C34D8)] //channelAdminLogEventActionParticipantInvite#e31c34d8 participant:ChannelParticipant = ChannelAdminLogEventAction + ///See + [TLDef(0xE31C34D8)] public partial class ChannelAdminLogEventActionParticipantInvite : ChannelAdminLogEventAction { public ChannelParticipantBase participant; } - [TLDef(0xE6D83D7E)] //channelAdminLogEventActionParticipantToggleBan#e6d83d7e prev_participant:ChannelParticipant new_participant:ChannelParticipant = ChannelAdminLogEventAction + ///See + [TLDef(0xE6D83D7E)] public partial class ChannelAdminLogEventActionParticipantToggleBan : ChannelAdminLogEventAction { public ChannelParticipantBase prev_participant; public ChannelParticipantBase new_participant; } - [TLDef(0xD5676710)] //channelAdminLogEventActionParticipantToggleAdmin#d5676710 prev_participant:ChannelParticipant new_participant:ChannelParticipant = ChannelAdminLogEventAction + ///See + [TLDef(0xD5676710)] public partial class ChannelAdminLogEventActionParticipantToggleAdmin : ChannelAdminLogEventAction { public ChannelParticipantBase prev_participant; public ChannelParticipantBase new_participant; } - [TLDef(0xB1C3CAA7)] //channelAdminLogEventActionChangeStickerSet#b1c3caa7 prev_stickerset:InputStickerSet new_stickerset:InputStickerSet = ChannelAdminLogEventAction + ///See + [TLDef(0xB1C3CAA7)] public partial class ChannelAdminLogEventActionChangeStickerSet : ChannelAdminLogEventAction { public InputStickerSet prev_stickerset; public InputStickerSet new_stickerset; } - [TLDef(0x5F5C95F1)] //channelAdminLogEventActionTogglePreHistoryHidden#5f5c95f1 new_value:Bool = ChannelAdminLogEventAction + ///See + [TLDef(0x5F5C95F1)] public partial class ChannelAdminLogEventActionTogglePreHistoryHidden : ChannelAdminLogEventAction { public bool new_value; } - [TLDef(0x2DF5FC0A)] //channelAdminLogEventActionDefaultBannedRights#2df5fc0a prev_banned_rights:ChatBannedRights new_banned_rights:ChatBannedRights = ChannelAdminLogEventAction + ///See + [TLDef(0x2DF5FC0A)] public partial class ChannelAdminLogEventActionDefaultBannedRights : ChannelAdminLogEventAction { public ChatBannedRights prev_banned_rights; public ChatBannedRights new_banned_rights; } - [TLDef(0x8F079643)] //channelAdminLogEventActionStopPoll#8f079643 message:Message = ChannelAdminLogEventAction + ///See + [TLDef(0x8F079643)] public partial class ChannelAdminLogEventActionStopPoll : ChannelAdminLogEventAction { public MessageBase message; } - [TLDef(0xA26F881B)] //channelAdminLogEventActionChangeLinkedChat#a26f881b prev_value:int new_value:int = ChannelAdminLogEventAction + ///See + [TLDef(0xA26F881B)] public partial class ChannelAdminLogEventActionChangeLinkedChat : ChannelAdminLogEventAction { public int prev_value; public int new_value; } - [TLDef(0x0E6B76AE)] //channelAdminLogEventActionChangeLocation#0e6b76ae prev_value:ChannelLocation new_value:ChannelLocation = ChannelAdminLogEventAction + ///See + [TLDef(0x0E6B76AE)] public partial class ChannelAdminLogEventActionChangeLocation : ChannelAdminLogEventAction { public ChannelLocationBase prev_value; public ChannelLocationBase new_value; } - [TLDef(0x53909779)] //channelAdminLogEventActionToggleSlowMode#53909779 prev_value:int new_value:int = ChannelAdminLogEventAction + ///See + [TLDef(0x53909779)] public partial class ChannelAdminLogEventActionToggleSlowMode : ChannelAdminLogEventAction { public int prev_value; public int new_value; } - [TLDef(0x3B5A3E40)] //channelAdminLogEvent#3b5a3e40 id:long date:int user_id:int action:ChannelAdminLogEventAction = ChannelAdminLogEvent + ///See + [TLDef(0x3B5A3E40)] public partial class ChannelAdminLogEvent : ITLObject { public long id; @@ -4003,7 +4772,8 @@ namespace TL public ChannelAdminLogEventAction action; } - [TLDef(0xED8AF74D)] //channels.adminLogResults#ed8af74d events:Vector chats:Vector users:Vector = channels.AdminLogResults + ///See + [TLDef(0xED8AF74D)] public partial class Channels_AdminLogResults : ITLObject { public ChannelAdminLogEvent[] events; @@ -4011,7 +4781,8 @@ namespace TL public UserBase[] users; } - [TLDef(0xEA107AE4)] //channelAdminLogEventsFilter#ea107ae4 flags:# join:flags.0?true leave:flags.1?true invite:flags.2?true ban:flags.3?true unban:flags.4?true kick:flags.5?true unkick:flags.6?true promote:flags.7?true demote:flags.8?true info:flags.9?true settings:flags.10?true pinned:flags.11?true edit:flags.12?true delete:flags.13?true group_call:flags.14?true invites:flags.15?true = ChannelAdminLogEventsFilter + ///See + [TLDef(0xEA107AE4)] public partial class ChannelAdminLogEventsFilter : ITLObject { [Flags] public enum Flags { join = 0x1, leave = 0x2, invite = 0x4, ban = 0x8, unban = 0x10, kick = 0x20, unkick = 0x40, @@ -4020,17 +4791,21 @@ namespace TL public Flags flags; } - [TLDef(0x5CE14175)] //popularContact#5ce14175 client_id:long importers:int = PopularContact + ///See + [TLDef(0x5CE14175)] public partial class PopularContact : ITLObject { public long client_id; public int importers; } + ///See public abstract partial class Messages_FavedStickersBase : ITLObject { } - [TLDef(0x9E8FA6D3)] //messages.favedStickersNotModified#9e8fa6d3 = messages.FavedStickers + ///See + [TLDef(0x9E8FA6D3)] public partial class Messages_FavedStickersNotModified : Messages_FavedStickersBase { } - [TLDef(0xF37F2F16)] //messages.favedStickers#f37f2f16 hash:int packs:Vector stickers:Vector = messages.FavedStickers + ///See + [TLDef(0xF37F2F16)] public partial class Messages_FavedStickers : Messages_FavedStickersBase { public int hash; @@ -4038,19 +4813,26 @@ namespace TL public DocumentBase[] stickers; } + ///See public abstract partial class RecentMeUrl : ITLObject { public string url; } - [TLDef(0x46E1D13D)] //recentMeUrlUnknown#46e1d13d url:string = RecentMeUrl + ///See + [TLDef(0x46E1D13D)] public partial class RecentMeUrlUnknown : RecentMeUrl { } - [TLDef(0x8DBC3336)] //recentMeUrlUser#8dbc3336 url:string user_id:int = RecentMeUrl + ///See + [TLDef(0x8DBC3336)] public partial class RecentMeUrlUser : RecentMeUrl { public int user_id; } - [TLDef(0xA01B22F9)] //recentMeUrlChat#a01b22f9 url:string chat_id:int = RecentMeUrl + ///See + [TLDef(0xA01B22F9)] public partial class RecentMeUrlChat : RecentMeUrl { public int chat_id; } - [TLDef(0xEB49081D)] //recentMeUrlChatInvite#eb49081d url:string chat_invite:ChatInvite = RecentMeUrl + ///See + [TLDef(0xEB49081D)] public partial class RecentMeUrlChatInvite : RecentMeUrl { public ChatInviteBase chat_invite; } - [TLDef(0xBC0A57DC)] //recentMeUrlStickerSet#bc0a57dc url:string set:StickerSetCovered = RecentMeUrl + ///See + [TLDef(0xBC0A57DC)] public partial class RecentMeUrlStickerSet : RecentMeUrl { public StickerSetCoveredBase set; } - [TLDef(0x0E0310D7)] //help.recentMeUrls#0e0310d7 urls:Vector chats:Vector users:Vector = help.RecentMeUrls + ///See + [TLDef(0x0E0310D7)] public partial class Help_RecentMeUrls : ITLObject { public RecentMeUrl[] urls; @@ -4058,7 +4840,8 @@ namespace TL public UserBase[] users; } - [TLDef(0x1CC6E91F)] //inputSingleMedia#1cc6e91f flags:# media:InputMedia random_id:long message:string entities:flags.0?Vector = InputSingleMedia + ///See + [TLDef(0x1CC6E91F)] public partial class InputSingleMedia : ITLObject { [Flags] public enum Flags { has_entities = 0x1 } @@ -4069,7 +4852,8 @@ namespace TL [IfFlag(0)] public MessageEntity[] entities; } - [TLDef(0xCAC943F2)] //webAuthorization#cac943f2 hash:long bot_id:int domain:string browser:string platform:string date_created:int date_active:int ip:string region:string = WebAuthorization + ///See + [TLDef(0xCAC943F2)] public partial class WebAuthorization : ITLObject { public long hash; @@ -4083,50 +4867,66 @@ namespace TL public string region; } - [TLDef(0xED56C9FC)] //account.webAuthorizations#ed56c9fc authorizations:Vector users:Vector = account.WebAuthorizations + ///See + [TLDef(0xED56C9FC)] public partial class Account_WebAuthorizations : ITLObject { public WebAuthorization[] authorizations; public UserBase[] users; } + ///See public abstract partial class InputMessage : ITLObject { } - [TLDef(0xA676A322)] //inputMessageID#a676a322 id:int = InputMessage + ///See + [TLDef(0xA676A322)] public partial class InputMessageID : InputMessage { public int id; } - [TLDef(0xBAD88395)] //inputMessageReplyTo#bad88395 id:int = InputMessage + ///See + [TLDef(0xBAD88395)] public partial class InputMessageReplyTo : InputMessage { public int id; } - [TLDef(0x86872538)] //inputMessagePinned#86872538 = InputMessage + ///See + [TLDef(0x86872538)] public partial class InputMessagePinned : InputMessage { } - [TLDef(0xACFA1A7E)] //inputMessageCallbackQuery#acfa1a7e id:int query_id:long = InputMessage + ///See + [TLDef(0xACFA1A7E)] public partial class InputMessageCallbackQuery : InputMessage { public int id; public long query_id; } + ///See public abstract partial class InputDialogPeerBase : ITLObject { } - [TLDef(0xFCAAFEB7)] //inputDialogPeer#fcaafeb7 peer:InputPeer = InputDialogPeer + ///See + [TLDef(0xFCAAFEB7)] public partial class InputDialogPeer : InputDialogPeerBase { public InputPeer peer; } - [TLDef(0x64600527)] //inputDialogPeerFolder#64600527 folder_id:int = InputDialogPeer + ///See + [TLDef(0x64600527)] public partial class InputDialogPeerFolder : InputDialogPeerBase { public int folder_id; } + ///See public abstract partial class DialogPeerBase : ITLObject { } - [TLDef(0xE56DBF05)] //dialogPeer#e56dbf05 peer:Peer = DialogPeer + ///See + [TLDef(0xE56DBF05)] public partial class DialogPeer : DialogPeerBase { public Peer peer; } - [TLDef(0x514519E2)] //dialogPeerFolder#514519e2 folder_id:int = DialogPeer + ///See + [TLDef(0x514519E2)] public partial class DialogPeerFolder : DialogPeerBase { public int folder_id; } + ///See public abstract partial class Messages_FoundStickerSetsBase : ITLObject { } - [TLDef(0x0D54B65D)] //messages.foundStickerSetsNotModified#0d54b65d = messages.FoundStickerSets + ///See + [TLDef(0x0D54B65D)] public partial class Messages_FoundStickerSetsNotModified : Messages_FoundStickerSetsBase { } - [TLDef(0x5108D648)] //messages.foundStickerSets#5108d648 hash:int sets:Vector = messages.FoundStickerSets + ///See + [TLDef(0x5108D648)] public partial class Messages_FoundStickerSets : Messages_FoundStickerSetsBase { public int hash; public StickerSetCoveredBase[] sets; } - [TLDef(0x6242C773)] //fileHash#6242c773 offset:int limit:int hash:bytes = FileHash + ///See + [TLDef(0x6242C773)] public partial class FileHash : ITLObject { public int offset; @@ -4134,25 +4934,31 @@ namespace TL public byte[] hash; } - [TLDef(0x75588B3F)] //inputClientProxy#75588b3f address:string port:int = InputClientProxy + ///See + [TLDef(0x75588B3F)] public partial class InputClientProxy : ITLObject { public string address; public int port; } + ///See public abstract partial class Help_TermsOfServiceUpdateBase : ITLObject { } - [TLDef(0xE3309F7F)] //help.termsOfServiceUpdateEmpty#e3309f7f expires:int = help.TermsOfServiceUpdate + ///See + [TLDef(0xE3309F7F)] public partial class Help_TermsOfServiceUpdateEmpty : Help_TermsOfServiceUpdateBase { public DateTime expires; } - [TLDef(0x28ECF961)] //help.termsOfServiceUpdate#28ecf961 expires:int terms_of_service:help.TermsOfService = help.TermsOfServiceUpdate + ///See + [TLDef(0x28ECF961)] public partial class Help_TermsOfServiceUpdate : Help_TermsOfServiceUpdateBase { public DateTime expires; public Help_TermsOfService terms_of_service; } + ///See public abstract partial class InputSecureFileBase : ITLObject { } - [TLDef(0x3334B0F0)] //inputSecureFileUploaded#3334b0f0 id:long parts:int md5_checksum:string file_hash:bytes secret:bytes = InputSecureFile + ///See + [TLDef(0x3334B0F0)] public partial class InputSecureFileUploaded : InputSecureFileBase { public long id; @@ -4161,17 +4967,21 @@ namespace TL public byte[] file_hash; public byte[] secret; } - [TLDef(0x5367E5BE)] //inputSecureFile#5367e5be id:long access_hash:long = InputSecureFile + ///See + [TLDef(0x5367E5BE)] public partial class InputSecureFile : InputSecureFileBase { public long id; public long access_hash; } + ///See public abstract partial class SecureFileBase : ITLObject { } - [TLDef(0x64199744)] //secureFileEmpty#64199744 = SecureFile + ///See + [TLDef(0x64199744)] public partial class SecureFileEmpty : SecureFileBase { } - [TLDef(0xE0277A62)] //secureFile#e0277a62 id:long access_hash:long size:int dc_id:int date:int file_hash:bytes secret:bytes = SecureFile + ///See + [TLDef(0xE0277A62)] public partial class SecureFile : SecureFileBase { public long id; @@ -4183,7 +4993,8 @@ namespace TL public byte[] secret; } - [TLDef(0x8AEABEC3)] //secureData#8aeabec3 data:bytes data_hash:bytes secret:bytes = SecureData + ///See + [TLDef(0x8AEABEC3)] public partial class SecureData : ITLObject { public byte[] data; @@ -4191,41 +5002,59 @@ namespace TL public byte[] secret; } + ///See public abstract partial class SecurePlainData : ITLObject { } - [TLDef(0x7D6099DD)] //securePlainPhone#7d6099dd phone:string = SecurePlainData + ///See + [TLDef(0x7D6099DD)] public partial class SecurePlainPhone : SecurePlainData { public string phone; } - [TLDef(0x21EC5A5F)] //securePlainEmail#21ec5a5f email:string = SecurePlainData + ///See + [TLDef(0x21EC5A5F)] public partial class SecurePlainEmail : SecurePlainData { public string email; } + ///See public abstract partial class SecureValueType : ITLObject { } - [TLDef(0x9D2A81E3)] //secureValueTypePersonalDetails#9d2a81e3 = SecureValueType + ///See + [TLDef(0x9D2A81E3)] public partial class SecureValueTypePersonalDetails : SecureValueType { } - [TLDef(0x3DAC6A00)] //secureValueTypePassport#3dac6a00 = SecureValueType + ///See + [TLDef(0x3DAC6A00)] public partial class SecureValueTypePassport : SecureValueType { } - [TLDef(0x06E425C4)] //secureValueTypeDriverLicense#06e425c4 = SecureValueType + ///See + [TLDef(0x06E425C4)] public partial class SecureValueTypeDriverLicense : SecureValueType { } - [TLDef(0xA0D0744B)] //secureValueTypeIdentityCard#a0d0744b = SecureValueType + ///See + [TLDef(0xA0D0744B)] public partial class SecureValueTypeIdentityCard : SecureValueType { } - [TLDef(0x99A48F23)] //secureValueTypeInternalPassport#99a48f23 = SecureValueType + ///See + [TLDef(0x99A48F23)] public partial class SecureValueTypeInternalPassport : SecureValueType { } - [TLDef(0xCBE31E26)] //secureValueTypeAddress#cbe31e26 = SecureValueType + ///See + [TLDef(0xCBE31E26)] public partial class SecureValueTypeAddress : SecureValueType { } - [TLDef(0xFC36954E)] //secureValueTypeUtilityBill#fc36954e = SecureValueType + ///See + [TLDef(0xFC36954E)] public partial class SecureValueTypeUtilityBill : SecureValueType { } - [TLDef(0x89137C0D)] //secureValueTypeBankStatement#89137c0d = SecureValueType + ///See + [TLDef(0x89137C0D)] public partial class SecureValueTypeBankStatement : SecureValueType { } - [TLDef(0x8B883488)] //secureValueTypeRentalAgreement#8b883488 = SecureValueType + ///See + [TLDef(0x8B883488)] public partial class SecureValueTypeRentalAgreement : SecureValueType { } - [TLDef(0x99E3806A)] //secureValueTypePassportRegistration#99e3806a = SecureValueType + ///See + [TLDef(0x99E3806A)] public partial class SecureValueTypePassportRegistration : SecureValueType { } - [TLDef(0xEA02EC33)] //secureValueTypeTemporaryRegistration#ea02ec33 = SecureValueType + ///See + [TLDef(0xEA02EC33)] public partial class SecureValueTypeTemporaryRegistration : SecureValueType { } - [TLDef(0xB320AADB)] //secureValueTypePhone#b320aadb = SecureValueType + ///See + [TLDef(0xB320AADB)] public partial class SecureValueTypePhone : SecureValueType { } - [TLDef(0x8E3CA7EE)] //secureValueTypeEmail#8e3ca7ee = SecureValueType + ///See + [TLDef(0x8E3CA7EE)] public partial class SecureValueTypeEmail : SecureValueType { } - [TLDef(0x187FA0CA)] //secureValue#187fa0ca flags:# type:SecureValueType data:flags.0?SecureData front_side:flags.1?SecureFile reverse_side:flags.2?SecureFile selfie:flags.3?SecureFile translation:flags.6?Vector files:flags.4?Vector plain_data:flags.5?SecurePlainData hash:bytes = SecureValue + ///See + [TLDef(0x187FA0CA)] public partial class SecureValue : ITLObject { [Flags] public enum Flags { has_data = 0x1, has_front_side = 0x2, has_reverse_side = 0x4, has_selfie = 0x8, has_files = 0x10, @@ -4242,7 +5071,8 @@ namespace TL public byte[] hash; } - [TLDef(0xDB21D0A7)] //inputSecureValue#db21d0a7 flags:# type:SecureValueType data:flags.0?SecureData front_side:flags.1?InputSecureFile reverse_side:flags.2?InputSecureFile selfie:flags.3?InputSecureFile translation:flags.6?Vector files:flags.4?Vector plain_data:flags.5?SecurePlainData = InputSecureValue + ///See + [TLDef(0xDB21D0A7)] public partial class InputSecureValue : ITLObject { [Flags] public enum Flags { has_data = 0x1, has_front_side = 0x2, has_reverse_side = 0x4, has_selfie = 0x8, has_files = 0x10, @@ -4258,15 +5088,18 @@ namespace TL [IfFlag(5)] public SecurePlainData plain_data; } - [TLDef(0xED1ECDB0)] //secureValueHash#ed1ecdb0 type:SecureValueType hash:bytes = SecureValueHash + ///See + [TLDef(0xED1ECDB0)] public partial class SecureValueHash : ITLObject { public SecureValueType type; public byte[] hash; } + ///See public abstract partial class SecureValueErrorBase : ITLObject { } - [TLDef(0xE8A40BD9)] //secureValueErrorData#e8a40bd9 type:SecureValueType data_hash:bytes field:string text:string = SecureValueError + ///See + [TLDef(0xE8A40BD9)] public partial class SecureValueErrorData : SecureValueErrorBase { public SecureValueType type; @@ -4274,56 +5107,64 @@ namespace TL public string field; public string text; } - [TLDef(0x00BE3DFA)] //secureValueErrorFrontSide#00be3dfa type:SecureValueType file_hash:bytes text:string = SecureValueError + ///See + [TLDef(0x00BE3DFA)] public partial class SecureValueErrorFrontSide : SecureValueErrorBase { public SecureValueType type; public byte[] file_hash; public string text; } - [TLDef(0x868A2AA5)] //secureValueErrorReverseSide#868a2aa5 type:SecureValueType file_hash:bytes text:string = SecureValueError + ///See + [TLDef(0x868A2AA5)] public partial class SecureValueErrorReverseSide : SecureValueErrorBase { public SecureValueType type; public byte[] file_hash; public string text; } - [TLDef(0xE537CED6)] //secureValueErrorSelfie#e537ced6 type:SecureValueType file_hash:bytes text:string = SecureValueError + ///See + [TLDef(0xE537CED6)] public partial class SecureValueErrorSelfie : SecureValueErrorBase { public SecureValueType type; public byte[] file_hash; public string text; } - [TLDef(0x7A700873)] //secureValueErrorFile#7a700873 type:SecureValueType file_hash:bytes text:string = SecureValueError + ///See + [TLDef(0x7A700873)] public partial class SecureValueErrorFile : SecureValueErrorBase { public SecureValueType type; public byte[] file_hash; public string text; } - [TLDef(0x666220E9)] //secureValueErrorFiles#666220e9 type:SecureValueType file_hash:Vector text:string = SecureValueError + ///See + [TLDef(0x666220E9)] public partial class SecureValueErrorFiles : SecureValueErrorBase { public SecureValueType type; public byte[][] file_hash; public string text; } - [TLDef(0x869D758F)] //secureValueError#869d758f type:SecureValueType hash:bytes text:string = SecureValueError + ///See + [TLDef(0x869D758F)] public partial class SecureValueError : SecureValueErrorBase { public SecureValueType type; public byte[] hash; public string text; } - [TLDef(0xA1144770)] //secureValueErrorTranslationFile#a1144770 type:SecureValueType file_hash:bytes text:string = SecureValueError + ///See + [TLDef(0xA1144770)] public partial class SecureValueErrorTranslationFile : SecureValueErrorBase { public SecureValueType type; public byte[] file_hash; public string text; } - [TLDef(0x34636DD8)] //secureValueErrorTranslationFiles#34636dd8 type:SecureValueType file_hash:Vector text:string = SecureValueError + ///See + [TLDef(0x34636DD8)] public partial class SecureValueErrorTranslationFiles : SecureValueErrorBase { public SecureValueType type; @@ -4331,7 +5172,8 @@ namespace TL public string text; } - [TLDef(0x33F0EA47)] //secureCredentialsEncrypted#33f0ea47 data:bytes hash:bytes secret:bytes = SecureCredentialsEncrypted + ///See + [TLDef(0x33F0EA47)] public partial class SecureCredentialsEncrypted : ITLObject { public byte[] data; @@ -4339,7 +5181,8 @@ namespace TL public byte[] secret; } - [TLDef(0xAD2E1CD8)] //account.authorizationForm#ad2e1cd8 flags:# required_types:Vector values:Vector errors:Vector users:Vector privacy_policy_url:flags.0?string = account.AuthorizationForm + ///See + [TLDef(0xAD2E1CD8)] public partial class Account_AuthorizationForm : ITLObject { [Flags] public enum Flags { has_privacy_policy_url = 0x1 } @@ -4351,17 +5194,21 @@ namespace TL [IfFlag(0)] public string privacy_policy_url; } - [TLDef(0x811F854F)] //account.sentEmailCode#811f854f email_pattern:string length:int = account.SentEmailCode + ///See + [TLDef(0x811F854F)] public partial class Account_SentEmailCode : ITLObject { public string email_pattern; public int length; } + ///See public abstract partial class Help_DeepLinkInfoBase : ITLObject { } - [TLDef(0x66AFA166)] //help.deepLinkInfoEmpty#66afa166 = help.DeepLinkInfo + ///See + [TLDef(0x66AFA166)] public partial class Help_DeepLinkInfoEmpty : Help_DeepLinkInfoBase { } - [TLDef(0x6A4EE832)] //help.deepLinkInfo#6a4ee832 flags:# update_app:flags.0?true message:string entities:flags.1?Vector = help.DeepLinkInfo + ///See + [TLDef(0x6A4EE832)] public partial class Help_DeepLinkInfo : Help_DeepLinkInfoBase { [Flags] public enum Flags { update_app = 0x1, has_entities = 0x2 } @@ -4370,8 +5217,10 @@ namespace TL [IfFlag(1)] public MessageEntity[] entities; } + ///See public abstract partial class SavedContact : ITLObject { } - [TLDef(0x1142BD56)] //savedPhoneContact#1142bd56 phone:string first_name:string last_name:string date:int = SavedContact + ///See + [TLDef(0x1142BD56)] public partial class SavedPhoneContact : SavedContact { public string phone; @@ -4380,13 +5229,17 @@ namespace TL public DateTime date; } - [TLDef(0x4DBA4501)] //account.takeout#4dba4501 id:long = account.Takeout + ///See + [TLDef(0x4DBA4501)] public partial class Account_Takeout : ITLObject { public long id; } + ///See public abstract partial class PasswordKdfAlgo : ITLObject { } - [TLDef(0xD45AB096)] //passwordKdfAlgoUnknown#d45ab096 = PasswordKdfAlgo + ///See + [TLDef(0xD45AB096)] public partial class PasswordKdfAlgoUnknown : PasswordKdfAlgo { } - [TLDef(0x3A912D4A)] //passwordKdfAlgoSHA256SHA256PBKDF2HMACSHA512iter100000SHA256ModPow#3a912d4a salt1:bytes salt2:bytes g:int p:bytes = PasswordKdfAlgo + ///See + [TLDef(0x3A912D4A)] public partial class PasswordKdfAlgoSHA256SHA256PBKDF2HMACSHA512iter100000SHA256ModPow : PasswordKdfAlgo { public byte[] salt1; @@ -4395,15 +5248,20 @@ namespace TL public byte[] p; } + ///See public abstract partial class SecurePasswordKdfAlgo : ITLObject { } - [TLDef(0x004A8537)] //securePasswordKdfAlgoUnknown#004a8537 = SecurePasswordKdfAlgo + ///See + [TLDef(0x004A8537)] public partial class SecurePasswordKdfAlgoUnknown : SecurePasswordKdfAlgo { } - [TLDef(0xBBF2DDA0)] //securePasswordKdfAlgoPBKDF2HMACSHA512iter100000#bbf2dda0 salt:bytes = SecurePasswordKdfAlgo + ///See + [TLDef(0xBBF2DDA0)] public partial class SecurePasswordKdfAlgoPBKDF2HMACSHA512iter100000 : SecurePasswordKdfAlgo { public byte[] salt; } - [TLDef(0x86471D92)] //securePasswordKdfAlgoSHA512#86471d92 salt:bytes = SecurePasswordKdfAlgo + ///See + [TLDef(0x86471D92)] public partial class SecurePasswordKdfAlgoSHA512 : SecurePasswordKdfAlgo { public byte[] salt; } - [TLDef(0x1527BCAC)] //secureSecretSettings#1527bcac secure_algo:SecurePasswordKdfAlgo secure_secret:bytes secure_secret_id:long = SecureSecretSettings + ///See + [TLDef(0x1527BCAC)] public partial class SecureSecretSettings : ITLObject { public SecurePasswordKdfAlgo secure_algo; @@ -4411,10 +5269,13 @@ namespace TL public long secure_secret_id; } + ///See public abstract partial class InputCheckPasswordSRPBase : ITLObject { } - [TLDef(0x9880F658)] //inputCheckPasswordEmpty#9880f658 = InputCheckPasswordSRP + ///See + [TLDef(0x9880F658)] public partial class InputCheckPasswordEmpty : InputCheckPasswordSRPBase { } - [TLDef(0xD27FF082)] //inputCheckPasswordSRP#d27ff082 srp_id:long A:bytes M1:bytes = InputCheckPasswordSRP + ///See + [TLDef(0xD27FF082)] public partial class InputCheckPasswordSRP : InputCheckPasswordSRPBase { public long srp_id; @@ -4422,28 +5283,35 @@ namespace TL public byte[] M1; } + ///See public abstract partial class SecureRequiredTypeBase : ITLObject { } - [TLDef(0x829D99DA)] //secureRequiredType#829d99da flags:# native_names:flags.0?true selfie_required:flags.1?true translation_required:flags.2?true type:SecureValueType = SecureRequiredType + ///See + [TLDef(0x829D99DA)] public partial class SecureRequiredType : SecureRequiredTypeBase { [Flags] public enum Flags { native_names = 0x1, selfie_required = 0x2, translation_required = 0x4 } public Flags flags; public SecureValueType type; } - [TLDef(0x027477B4)] //secureRequiredTypeOneOf#027477b4 types:Vector = SecureRequiredType + ///See + [TLDef(0x027477B4)] public partial class SecureRequiredTypeOneOf : SecureRequiredTypeBase { public SecureRequiredTypeBase[] types; } + ///See public abstract partial class Help_PassportConfigBase : ITLObject { } - [TLDef(0xBFB9F457)] //help.passportConfigNotModified#bfb9f457 = help.PassportConfig + ///See + [TLDef(0xBFB9F457)] public partial class Help_PassportConfigNotModified : Help_PassportConfigBase { } - [TLDef(0xA098D6AF)] //help.passportConfig#a098d6af hash:int countries_langs:DataJSON = help.PassportConfig + ///See + [TLDef(0xA098D6AF)] public partial class Help_PassportConfig : Help_PassportConfigBase { public int hash; public DataJSON countries_langs; } - [TLDef(0x1D1B1245)] //inputAppEvent#1d1b1245 time:double type:string peer:long data:JSONValue = InputAppEvent + ///See + [TLDef(0x1D1B1245)] public partial class InputAppEvent : ITLObject { public double time; @@ -4452,29 +5320,39 @@ namespace TL public JSONValue data; } + ///See public abstract partial class JSONObjectValue : ITLObject { } - [TLDef(0xC0DE1BD9)] //jsonObjectValue#c0de1bd9 key:string value:JSONValue = JSONObjectValue + ///See + [TLDef(0xC0DE1BD9)] public partial class JsonObjectValue : JSONObjectValue { public string key; public JSONValue value; } + ///See public abstract partial class JSONValue : ITLObject { } - [TLDef(0x3F6D7B68)] //jsonNull#3f6d7b68 = JSONValue + ///See + [TLDef(0x3F6D7B68)] public partial class JsonNull : JSONValue { } - [TLDef(0xC7345E6A)] //jsonBool#c7345e6a value:Bool = JSONValue + ///See + [TLDef(0xC7345E6A)] public partial class JsonBool : JSONValue { public bool value; } - [TLDef(0x2BE0DFA4)] //jsonNumber#2be0dfa4 value:double = JSONValue + ///See + [TLDef(0x2BE0DFA4)] public partial class JsonNumber : JSONValue { public double value; } - [TLDef(0xB71E767A)] //jsonString#b71e767a value:string = JSONValue + ///See + [TLDef(0xB71E767A)] public partial class JsonString : JSONValue { public string value; } - [TLDef(0xF7444763)] //jsonArray#f7444763 value:Vector = JSONValue + ///See + [TLDef(0xF7444763)] public partial class JsonArray : JSONValue { public JSONValue[] value; } - [TLDef(0x99C1D49D)] //jsonObject#99c1d49d value:Vector = JSONValue + ///See + [TLDef(0x99C1D49D)] public partial class JsonObject : JSONValue { public JSONObjectValue[] value; } - [TLDef(0x34566B6A)] //pageTableCell#34566b6a flags:# header:flags.0?true align_center:flags.3?true align_right:flags.4?true valign_middle:flags.5?true valign_bottom:flags.6?true text:flags.7?RichText colspan:flags.1?int rowspan:flags.2?int = PageTableCell + ///See + [TLDef(0x34566B6A)] public partial class PageTableCell : ITLObject { [Flags] public enum Flags { header = 0x1, has_colspan = 0x2, has_rowspan = 0x4, align_center = 0x8, align_right = 0x10, @@ -4485,29 +5363,38 @@ namespace TL [IfFlag(2)] public int rowspan; } - [TLDef(0xE0C0C5E5)] //pageTableRow#e0c0c5e5 cells:Vector = PageTableRow + ///See + [TLDef(0xE0C0C5E5)] public partial class PageTableRow : ITLObject { public PageTableCell[] cells; } - [TLDef(0x6F747657)] //pageCaption#6f747657 text:RichText credit:RichText = PageCaption + ///See + [TLDef(0x6F747657)] public partial class PageCaption : ITLObject { public RichText text; public RichText credit; } + ///See public abstract partial class PageListItem : ITLObject { } - [TLDef(0xB92FB6CD)] //pageListItemText#b92fb6cd text:RichText = PageListItem + ///See + [TLDef(0xB92FB6CD)] public partial class PageListItemText : PageListItem { public RichText text; } - [TLDef(0x25E073FC)] //pageListItemBlocks#25e073fc blocks:Vector = PageListItem + ///See + [TLDef(0x25E073FC)] public partial class PageListItemBlocks : PageListItem { public PageBlock[] blocks; } + ///See public abstract partial class PageListOrderedItem : ITLObject { public string num; } - [TLDef(0x5E068047)] //pageListOrderedItemText#5e068047 num:string text:RichText = PageListOrderedItem + ///See + [TLDef(0x5E068047)] public partial class PageListOrderedItemText : PageListOrderedItem { public RichText text; } - [TLDef(0x98DD8936)] //pageListOrderedItemBlocks#98dd8936 num:string blocks:Vector = PageListOrderedItem + ///See + [TLDef(0x98DD8936)] public partial class PageListOrderedItemBlocks : PageListOrderedItem { public PageBlock[] blocks; } - [TLDef(0xB390DC08)] //pageRelatedArticle#b390dc08 flags:# url:string webpage_id:long title:flags.0?string description:flags.1?string photo_id:flags.2?long author:flags.3?string published_date:flags.4?int = PageRelatedArticle + ///See + [TLDef(0xB390DC08)] public partial class PageRelatedArticle : ITLObject { [Flags] public enum Flags { has_title = 0x1, has_description = 0x2, has_photo_id = 0x4, has_author = 0x8, @@ -4522,7 +5409,8 @@ namespace TL [IfFlag(4)] public DateTime published_date; } - [TLDef(0x98657F0D)] //page#98657f0d flags:# part:flags.0?true rtl:flags.1?true v2:flags.2?true url:string blocks:Vector photos:Vector documents:Vector views:flags.3?int = Page + ///See + [TLDef(0x98657F0D)] public partial class Page : ITLObject { [Flags] public enum Flags { part = 0x1, rtl = 0x2, v2 = 0x4, has_views = 0x8 } @@ -4534,13 +5422,17 @@ namespace TL [IfFlag(3)] public int views; } - [TLDef(0x8C05F1C9)] //help.supportName#8c05f1c9 name:string = help.SupportName + ///See + [TLDef(0x8C05F1C9)] public partial class Help_SupportName : ITLObject { public string name; } + ///See public abstract partial class Help_UserInfoBase : ITLObject { } - [TLDef(0xF3AE2EED)] //help.userInfoEmpty#f3ae2eed = help.UserInfo + ///See + [TLDef(0xF3AE2EED)] public partial class Help_UserInfoEmpty : Help_UserInfoBase { } - [TLDef(0x01EB3758)] //help.userInfo#01eb3758 message:string entities:Vector author:string date:int = help.UserInfo + ///See + [TLDef(0x01EB3758)] public partial class Help_UserInfo : Help_UserInfoBase { public string message; @@ -4549,14 +5441,16 @@ namespace TL public DateTime date; } - [TLDef(0x6CA9C2E9)] //pollAnswer#6ca9c2e9 text:string option:bytes = PollAnswer + ///See + [TLDef(0x6CA9C2E9)] public partial class PollAnswer : ITLObject { public string text; public byte[] option; } - [TLDef(0x86E18161)] //poll#86e18161 id:long flags:# closed:flags.0?true public_voters:flags.1?true multiple_choice:flags.2?true quiz:flags.3?true question:string answers:Vector close_period:flags.4?int close_date:flags.5?int = Poll + ///See + [TLDef(0x86E18161)] public partial class Poll : ITLObject { [Flags] public enum Flags { closed = 0x1, public_voters = 0x2, multiple_choice = 0x4, quiz = 0x8, has_close_period = 0x10, @@ -4569,7 +5463,8 @@ namespace TL [IfFlag(5)] public DateTime close_date; } - [TLDef(0x3B6DDAD2)] //pollAnswerVoters#3b6ddad2 flags:# chosen:flags.0?true correct:flags.1?true option:bytes voters:int = PollAnswerVoters + ///See + [TLDef(0x3B6DDAD2)] public partial class PollAnswerVoters : ITLObject { [Flags] public enum Flags { chosen = 0x1, correct = 0x2 } @@ -4578,7 +5473,8 @@ namespace TL public int voters; } - [TLDef(0xBADCC1A3)] //pollResults#badcc1a3 flags:# min:flags.0?true results:flags.1?Vector total_voters:flags.2?int recent_voters:flags.3?Vector solution:flags.4?string solution_entities:flags.4?Vector = PollResults + ///See + [TLDef(0xBADCC1A3)] public partial class PollResults : ITLObject { [Flags] public enum Flags { min = 0x1, has_results = 0x2, has_total_voters = 0x4, has_recent_voters = 0x8, has_solution = 0x10 } @@ -4590,13 +5486,16 @@ namespace TL [IfFlag(4)] public MessageEntity[] solution_entities; } - [TLDef(0xF041E250)] //chatOnlines#f041e250 onlines:int = ChatOnlines + ///See + [TLDef(0xF041E250)] public partial class ChatOnlines : ITLObject { public int onlines; } - [TLDef(0x47A971E0)] //statsURL#47a971e0 url:string = StatsURL + ///See + [TLDef(0x47A971E0)] public partial class StatsURL : ITLObject { public string url; } - [TLDef(0x5FB224D5)] //chatAdminRights#5fb224d5 flags:# change_info:flags.0?true post_messages:flags.1?true edit_messages:flags.2?true delete_messages:flags.3?true ban_users:flags.4?true invite_users:flags.5?true pin_messages:flags.7?true add_admins:flags.9?true anonymous:flags.10?true manage_call:flags.11?true other:flags.12?true = ChatAdminRights + ///See + [TLDef(0x5FB224D5)] public partial class ChatAdminRights : ITLObject { [Flags] public enum Flags { change_info = 0x1, post_messages = 0x2, edit_messages = 0x4, delete_messages = 0x8, @@ -4605,7 +5504,8 @@ namespace TL public Flags flags; } - [TLDef(0x9F120418)] //chatBannedRights#9f120418 flags:# view_messages:flags.0?true send_messages:flags.1?true send_media:flags.2?true send_stickers:flags.3?true send_gifs:flags.4?true send_games:flags.5?true send_inline:flags.6?true embed_links:flags.7?true send_polls:flags.8?true change_info:flags.10?true invite_users:flags.15?true pin_messages:flags.17?true until_date:int = ChatBannedRights + ///See + [TLDef(0x9F120418)] public partial class ChatBannedRights : ITLObject { [Flags] public enum Flags { view_messages = 0x1, send_messages = 0x2, send_media = 0x4, send_stickers = 0x8, send_gifs = 0x10, @@ -4615,36 +5515,45 @@ namespace TL public DateTime until_date; } + ///See public abstract partial class InputWallPaperBase : ITLObject { } - [TLDef(0xE630B979)] //inputWallPaper#e630b979 id:long access_hash:long = InputWallPaper + ///See + [TLDef(0xE630B979)] public partial class InputWallPaper : InputWallPaperBase { public long id; public long access_hash; } - [TLDef(0x72091C80)] //inputWallPaperSlug#72091c80 slug:string = InputWallPaper + ///See + [TLDef(0x72091C80)] public partial class InputWallPaperSlug : InputWallPaperBase { public string slug; } - [TLDef(0x8427BBAC)] //inputWallPaperNoFile#8427bbac = InputWallPaper + ///See + [TLDef(0x8427BBAC)] public partial class InputWallPaperNoFile : InputWallPaperBase { } + ///See public abstract partial class Account_WallPapersBase : ITLObject { } - [TLDef(0x1C199183)] //account.wallPapersNotModified#1c199183 = account.WallPapers + ///See + [TLDef(0x1C199183)] public partial class Account_WallPapersNotModified : Account_WallPapersBase { } - [TLDef(0x702B65A9)] //account.wallPapers#702b65a9 hash:int wallpapers:Vector = account.WallPapers + ///See + [TLDef(0x702B65A9)] public partial class Account_WallPapers : Account_WallPapersBase { public int hash; public WallPaperBase[] wallpapers; } - [TLDef(0xDEBEBE83)] //codeSettings#debebe83 flags:# allow_flashcall:flags.0?true current_number:flags.1?true allow_app_hash:flags.4?true = CodeSettings + ///See + [TLDef(0xDEBEBE83)] public partial class CodeSettings : ITLObject { [Flags] public enum Flags { allow_flashcall = 0x1, current_number = 0x2, allow_app_hash = 0x10 } public Flags flags; } - [TLDef(0x05086CF8)] //wallPaperSettings#05086cf8 flags:# blur:flags.1?true motion:flags.2?true background_color:flags.0?int second_background_color:flags.4?int intensity:flags.3?int rotation:flags.4?int = WallPaperSettings + ///See + [TLDef(0x05086CF8)] public partial class WallPaperSettings : ITLObject { [Flags] public enum Flags { has_background_color = 0x1, blur = 0x2, motion = 0x4, has_intensity = 0x8, @@ -4656,7 +5565,8 @@ namespace TL [IfFlag(4)] public int rotation; } - [TLDef(0xE04232F3)] //autoDownloadSettings#e04232f3 flags:# disabled:flags.0?true video_preload_large:flags.1?true audio_preload_next:flags.2?true phonecalls_less_data:flags.3?true photo_size_max:int video_size_max:int file_size_max:int video_upload_maxbitrate:int = AutoDownloadSettings + ///See + [TLDef(0xE04232F3)] public partial class AutoDownloadSettings : ITLObject { [Flags] public enum Flags { disabled = 0x1, video_preload_large = 0x2, audio_preload_next = 0x4, phonecalls_less_data = 0x8 } @@ -4667,7 +5577,8 @@ namespace TL public int video_upload_maxbitrate; } - [TLDef(0x63CACF26)] //account.autoDownloadSettings#63cacf26 low:AutoDownloadSettings medium:AutoDownloadSettings high:AutoDownloadSettings = account.AutoDownloadSettings + ///See + [TLDef(0x63CACF26)] public partial class Account_AutoDownloadSettings : ITLObject { public AutoDownloadSettings low; @@ -4675,16 +5586,19 @@ namespace TL public AutoDownloadSettings high; } - [TLDef(0xD5B3B9F9)] //emojiKeyword#d5b3b9f9 keyword:string emoticons:Vector = EmojiKeyword + ///See + [TLDef(0xD5B3B9F9)] public partial class EmojiKeyword : ITLObject { public string keyword; public string[] emoticons; } - [TLDef(0x236DF622)] //emojiKeywordDeleted#236df622 keyword:string emoticons:Vector = EmojiKeyword + ///See + [TLDef(0x236DF622)] public partial class EmojiKeywordDeleted : EmojiKeyword { } - [TLDef(0x5CC761BD)] //emojiKeywordsDifference#5cc761bd lang_code:string from_version:int version:int keywords:Vector = EmojiKeywordsDifference + ///See + [TLDef(0x5CC761BD)] public partial class EmojiKeywordsDifference : ITLObject { public string lang_code; @@ -4693,21 +5607,26 @@ namespace TL public EmojiKeyword[] keywords; } - [TLDef(0xA575739D)] //emojiURL#a575739d url:string = EmojiURL + ///See + [TLDef(0xA575739D)] public partial class EmojiURL : ITLObject { public string url; } - [TLDef(0xB3FB5361)] //emojiLanguage#b3fb5361 lang_code:string = EmojiLanguage + ///See + [TLDef(0xB3FB5361)] public partial class EmojiLanguage : ITLObject { public string lang_code; } + ///See public abstract partial class FileLocation : ITLObject { } - [TLDef(0xBC7FC6CD)] //fileLocationToBeDeprecated#bc7fc6cd volume_id:long local_id:int = FileLocation + ///See + [TLDef(0xBC7FC6CD)] public partial class FileLocationToBeDeprecated : FileLocation { public long volume_id; public int local_id; } - [TLDef(0xFF544E65)] //folder#ff544e65 flags:# autofill_new_broadcasts:flags.0?true autofill_public_groups:flags.1?true autofill_new_correspondents:flags.2?true id:int title:string photo:flags.3?ChatPhoto = Folder + ///See + [TLDef(0xFF544E65)] public partial class Folder : ITLObject { [Flags] public enum Flags { autofill_new_broadcasts = 0x1, autofill_public_groups = 0x2, autofill_new_correspondents = 0x4, @@ -4718,21 +5637,24 @@ namespace TL [IfFlag(3)] public ChatPhotoBase photo; } - [TLDef(0xFBD2C296)] //inputFolderPeer#fbd2c296 peer:InputPeer folder_id:int = InputFolderPeer + ///See + [TLDef(0xFBD2C296)] public partial class InputFolderPeer : ITLObject { public InputPeer peer; public int folder_id; } - [TLDef(0xE9BAA668)] //folderPeer#e9baa668 peer:Peer folder_id:int = FolderPeer + ///See + [TLDef(0xE9BAA668)] public partial class FolderPeer : ITLObject { public Peer peer; public int folder_id; } - [TLDef(0xE844EBFF)] //messages.searchCounter#e844ebff flags:# inexact:flags.1?true filter:MessagesFilter count:int = messages.SearchCounter + ///See + [TLDef(0xE844EBFF)] public partial class Messages_SearchCounter : ITLObject { [Flags] public enum Flags { inexact = 0x2 } @@ -4741,8 +5663,10 @@ namespace TL public int count; } + ///See public abstract partial class UrlAuthResult : ITLObject { } - [TLDef(0x92D33A0E)] //urlAuthResultRequest#92d33a0e flags:# request_write_access:flags.0?true bot:User domain:string = UrlAuthResult + ///See + [TLDef(0x92D33A0E)] public partial class UrlAuthResultRequest : UrlAuthResult { [Flags] public enum Flags { request_write_access = 0x1 } @@ -4750,33 +5674,42 @@ namespace TL public UserBase bot; public string domain; } - [TLDef(0x8F8C0E4E)] //urlAuthResultAccepted#8f8c0e4e url:string = UrlAuthResult + ///See + [TLDef(0x8F8C0E4E)] public partial class UrlAuthResultAccepted : UrlAuthResult { public string url; } - [TLDef(0xA9D6DB1F)] //urlAuthResultDefault#a9d6db1f = UrlAuthResult + ///See + [TLDef(0xA9D6DB1F)] public partial class UrlAuthResultDefault : UrlAuthResult { } + ///See public abstract partial class ChannelLocationBase : ITLObject { } - [TLDef(0xBFB5AD8B)] //channelLocationEmpty#bfb5ad8b = ChannelLocation + ///See + [TLDef(0xBFB5AD8B)] public partial class ChannelLocationEmpty : ChannelLocationBase { } - [TLDef(0x209B82DB)] //channelLocation#209b82db geo_point:GeoPoint address:string = ChannelLocation + ///See + [TLDef(0x209B82DB)] public partial class ChannelLocation : ChannelLocationBase { public GeoPointBase geo_point; public string address; } + ///See public abstract partial class PeerLocatedBase : ITLObject { } - [TLDef(0xCA461B5D)] //peerLocated#ca461b5d peer:Peer expires:int distance:int = PeerLocated + ///See + [TLDef(0xCA461B5D)] public partial class PeerLocated : PeerLocatedBase { public Peer peer; public DateTime expires; public int distance; } - [TLDef(0xF8EC284B)] //peerSelfLocated#f8ec284b expires:int = PeerLocated + ///See + [TLDef(0xF8EC284B)] public partial class PeerSelfLocated : PeerLocatedBase { public DateTime expires; } - [TLDef(0xD072ACB4)] //restrictionReason#d072acb4 platform:string reason:string text:string = RestrictionReason + ///See + [TLDef(0xD072ACB4)] public partial class RestrictionReason : ITLObject { public string platform; @@ -4784,17 +5717,21 @@ namespace TL public string text; } + ///See public abstract partial class InputThemeBase : ITLObject { } - [TLDef(0x3C5693E9)] //inputTheme#3c5693e9 id:long access_hash:long = InputTheme + ///See + [TLDef(0x3C5693E9)] public partial class InputTheme : InputThemeBase { public long id; public long access_hash; } - [TLDef(0xF5890DF1)] //inputThemeSlug#f5890df1 slug:string = InputTheme + ///See + [TLDef(0xF5890DF1)] public partial class InputThemeSlug : InputThemeBase { public string slug; } - [TLDef(0x028F1114)] //theme#028f1114 flags:# creator:flags.0?true default:flags.1?true id:long access_hash:long slug:string title:string document:flags.2?Document settings:flags.3?ThemeSettings installs_count:int = Theme + ///See + [TLDef(0x028F1114)] public partial class Theme : ITLObject { [Flags] public enum Flags { creator = 0x1, default_ = 0x2, has_document = 0x4, has_settings = 0x8 } @@ -4808,40 +5745,49 @@ namespace TL public int installs_count; } + ///See public abstract partial class Account_ThemesBase : ITLObject { } - [TLDef(0xF41EB622)] //account.themesNotModified#f41eb622 = account.Themes + ///See + [TLDef(0xF41EB622)] public partial class Account_ThemesNotModified : Account_ThemesBase { } - [TLDef(0x7F676421)] //account.themes#7f676421 hash:int themes:Vector = account.Themes + ///See + [TLDef(0x7F676421)] public partial class Account_Themes : Account_ThemesBase { public int hash; public Theme[] themes; } + ///See public abstract partial class Auth_LoginTokenBase : ITLObject { } - [TLDef(0x629F1980)] //auth.loginToken#629f1980 expires:int token:bytes = auth.LoginToken + ///See + [TLDef(0x629F1980)] public partial class Auth_LoginToken : Auth_LoginTokenBase { public DateTime expires; public byte[] token; } - [TLDef(0x068E9916)] //auth.loginTokenMigrateTo#068e9916 dc_id:int token:bytes = auth.LoginToken + ///See + [TLDef(0x068E9916)] public partial class Auth_LoginTokenMigrateTo : Auth_LoginTokenBase { public int dc_id; public byte[] token; } - [TLDef(0x390D5C5E)] //auth.loginTokenSuccess#390d5c5e authorization:auth.Authorization = auth.LoginToken + ///See + [TLDef(0x390D5C5E)] public partial class Auth_LoginTokenSuccess : Auth_LoginTokenBase { public Auth_AuthorizationBase authorization; } - [TLDef(0x57E28221)] //account.contentSettings#57e28221 flags:# sensitive_enabled:flags.0?true sensitive_can_change:flags.1?true = account.ContentSettings + ///See + [TLDef(0x57E28221)] public partial class Account_ContentSettings : ITLObject { [Flags] public enum Flags { sensitive_enabled = 0x1, sensitive_can_change = 0x2 } public Flags flags; } - [TLDef(0xA927FEC5)] //messages.inactiveChats#a927fec5 dates:Vector chats:Vector users:Vector = messages.InactiveChats + ///See + [TLDef(0xA927FEC5)] public partial class Messages_InactiveChats : ITLObject { public int[] dates; @@ -4849,19 +5795,26 @@ namespace TL public UserBase[] users; } + ///See public abstract partial class BaseTheme : ITLObject { } - [TLDef(0xC3A12462)] //baseThemeClassic#c3a12462 = BaseTheme + ///See + [TLDef(0xC3A12462)] public partial class BaseThemeClassic : BaseTheme { } - [TLDef(0xFBD81688)] //baseThemeDay#fbd81688 = BaseTheme + ///See + [TLDef(0xFBD81688)] public partial class BaseThemeDay : BaseTheme { } - [TLDef(0xB7B31EA8)] //baseThemeNight#b7b31ea8 = BaseTheme + ///See + [TLDef(0xB7B31EA8)] public partial class BaseThemeNight : BaseTheme { } - [TLDef(0x6D5F77EE)] //baseThemeTinted#6d5f77ee = BaseTheme + ///See + [TLDef(0x6D5F77EE)] public partial class BaseThemeTinted : BaseTheme { } - [TLDef(0x5B11125A)] //baseThemeArctic#5b11125a = BaseTheme + ///See + [TLDef(0x5B11125A)] public partial class BaseThemeArctic : BaseTheme { } - [TLDef(0xBD507CD1)] //inputThemeSettings#bd507cd1 flags:# base_theme:BaseTheme accent_color:int message_top_color:flags.0?int message_bottom_color:flags.0?int wallpaper:flags.1?InputWallPaper wallpaper_settings:flags.1?WallPaperSettings = InputThemeSettings + ///See + [TLDef(0xBD507CD1)] public partial class InputThemeSettings : ITLObject { [Flags] public enum Flags { has_message_top_color = 0x1, has_wallpaper = 0x2 } @@ -4874,7 +5827,8 @@ namespace TL [IfFlag(1)] public WallPaperSettings wallpaper_settings; } - [TLDef(0x9C14984A)] //themeSettings#9c14984a flags:# base_theme:BaseTheme accent_color:int message_top_color:flags.0?int message_bottom_color:flags.0?int wallpaper:flags.1?WallPaper = ThemeSettings + ///See + [TLDef(0x9C14984A)] public partial class ThemeSettings : ITLObject { [Flags] public enum Flags { has_message_top_color = 0x1, has_wallpaper = 0x2 } @@ -4886,8 +5840,10 @@ namespace TL [IfFlag(1)] public WallPaperBase wallpaper; } + ///See public abstract partial class WebPageAttribute : ITLObject { } - [TLDef(0x54B56617)] //webPageAttributeTheme#54b56617 flags:# documents:flags.0?Vector settings:flags.1?ThemeSettings = WebPageAttribute + ///See + [TLDef(0x54B56617)] public partial class WebPageAttributeTheme : WebPageAttribute { [Flags] public enum Flags { has_documents = 0x1, has_settings = 0x2 } @@ -4896,21 +5852,25 @@ namespace TL [IfFlag(1)] public ThemeSettings settings; } + ///See public abstract partial class MessageUserVoteBase : ITLObject { } - [TLDef(0xA28E5559)] //messageUserVote#a28e5559 user_id:int option:bytes date:int = MessageUserVote + ///See + [TLDef(0xA28E5559)] public partial class MessageUserVote : MessageUserVoteBase { public int user_id; public byte[] option; public DateTime date; } - [TLDef(0x36377430)] //messageUserVoteInputOption#36377430 user_id:int date:int = MessageUserVote + ///See + [TLDef(0x36377430)] public partial class MessageUserVoteInputOption : MessageUserVoteBase { public int user_id; public DateTime date; } - [TLDef(0x0E8FE0DE)] //messageUserVoteMultiple#0e8fe0de user_id:int options:Vector date:int = MessageUserVote + ///See + [TLDef(0x0E8FE0DE)] public partial class MessageUserVoteMultiple : MessageUserVoteBase { public int user_id; @@ -4918,7 +5878,8 @@ namespace TL public DateTime date; } - [TLDef(0x0823F649)] //messages.votesList#0823f649 flags:# count:int votes:Vector users:Vector next_offset:flags.0?string = messages.VotesList + ///See + [TLDef(0x0823F649)] public partial class Messages_VotesList : ITLObject { [Flags] public enum Flags { has_next_offset = 0x1 } @@ -4929,21 +5890,24 @@ namespace TL [IfFlag(0)] public string next_offset; } - [TLDef(0xF568028A)] //bankCardOpenUrl#f568028a url:string name:string = BankCardOpenUrl + ///See + [TLDef(0xF568028A)] public partial class BankCardOpenUrl : ITLObject { public string url; public string name; } - [TLDef(0x3E24E573)] //payments.bankCardData#3e24e573 title:string open_urls:Vector = payments.BankCardData + ///See + [TLDef(0x3E24E573)] public partial class Payments_BankCardData : ITLObject { public string title; public BankCardOpenUrl[] open_urls; } - [TLDef(0x7438F7E8)] //dialogFilter#7438f7e8 flags:# contacts:flags.0?true non_contacts:flags.1?true groups:flags.2?true broadcasts:flags.3?true bots:flags.4?true exclude_muted:flags.11?true exclude_read:flags.12?true exclude_archived:flags.13?true id:int title:string emoticon:flags.25?string pinned_peers:Vector include_peers:Vector exclude_peers:Vector = DialogFilter + ///See + [TLDef(0x7438F7E8)] public partial class DialogFilter : ITLObject { [Flags] public enum Flags { contacts = 0x1, non_contacts = 0x2, groups = 0x4, broadcasts = 0x8, bots = 0x10, @@ -4957,40 +5921,48 @@ namespace TL public InputPeer[] exclude_peers; } - [TLDef(0x77744D4A)] //dialogFilterSuggested#77744d4a filter:DialogFilter description:string = DialogFilterSuggested + ///See + [TLDef(0x77744D4A)] public partial class DialogFilterSuggested : ITLObject { public DialogFilter filter; public string description; } - [TLDef(0xB637EDAF)] //statsDateRangeDays#b637edaf min_date:int max_date:int = StatsDateRangeDays + ///See + [TLDef(0xB637EDAF)] public partial class StatsDateRangeDays : ITLObject { public DateTime min_date; public DateTime max_date; } - [TLDef(0xCB43ACDE)] //statsAbsValueAndPrev#cb43acde current:double previous:double = StatsAbsValueAndPrev + ///See + [TLDef(0xCB43ACDE)] public partial class StatsAbsValueAndPrev : ITLObject { public double current; public double previous; } - [TLDef(0xCBCE2FE0)] //statsPercentValue#cbce2fe0 part:double total:double = StatsPercentValue + ///See + [TLDef(0xCBCE2FE0)] public partial class StatsPercentValue : ITLObject { public double part; public double total; } + ///See public abstract partial class StatsGraphBase : ITLObject { } - [TLDef(0x4A27EB2D)] //statsGraphAsync#4a27eb2d token:string = StatsGraph + ///See + [TLDef(0x4A27EB2D)] public partial class StatsGraphAsync : StatsGraphBase { public string token; } - [TLDef(0xBEDC9822)] //statsGraphError#bedc9822 error:string = StatsGraph + ///See + [TLDef(0xBEDC9822)] public partial class StatsGraphError : StatsGraphBase { public string error; } - [TLDef(0x8EA464B6)] //statsGraph#8ea464b6 flags:# json:DataJSON zoom_token:flags.0?string = StatsGraph + ///See + [TLDef(0x8EA464B6)] public partial class StatsGraph : StatsGraphBase { [Flags] public enum Flags { has_zoom_token = 0x1 } @@ -4999,7 +5971,8 @@ namespace TL [IfFlag(0)] public string zoom_token; } - [TLDef(0xAD4FC9BD)] //messageInteractionCounters#ad4fc9bd msg_id:int views:int forwards:int = MessageInteractionCounters + ///See + [TLDef(0xAD4FC9BD)] public partial class MessageInteractionCounters : ITLObject { public int msg_id; @@ -5007,7 +5980,8 @@ namespace TL public int forwards; } - [TLDef(0xBDF78394)] //stats.broadcastStats#bdf78394 period:StatsDateRangeDays followers:StatsAbsValueAndPrev views_per_post:StatsAbsValueAndPrev shares_per_post:StatsAbsValueAndPrev enabled_notifications:StatsPercentValue growth_graph:StatsGraph followers_graph:StatsGraph mute_graph:StatsGraph top_hours_graph:StatsGraph interactions_graph:StatsGraph iv_interactions_graph:StatsGraph views_by_source_graph:StatsGraph new_followers_by_source_graph:StatsGraph languages_graph:StatsGraph recent_message_interactions:Vector = stats.BroadcastStats + ///See + [TLDef(0xBDF78394)] public partial class Stats_BroadcastStats : ITLObject { public StatsDateRangeDays period; @@ -5027,10 +6001,13 @@ namespace TL public MessageInteractionCounters[] recent_message_interactions; } + ///See public abstract partial class Help_PromoDataBase : ITLObject { } - [TLDef(0x98F6AC75)] //help.promoDataEmpty#98f6ac75 expires:int = help.PromoData + ///See + [TLDef(0x98F6AC75)] public partial class Help_PromoDataEmpty : Help_PromoDataBase { public DateTime expires; } - [TLDef(0x8C39793F)] //help.promoData#8c39793f flags:# proxy:flags.0?true expires:int peer:Peer chats:Vector users:Vector psa_type:flags.1?string psa_message:flags.2?string = help.PromoData + ///See + [TLDef(0x8C39793F)] public partial class Help_PromoData : Help_PromoDataBase { [Flags] public enum Flags { proxy = 0x1, has_psa_type = 0x2, has_psa_message = 0x4 } @@ -5043,7 +6020,8 @@ namespace TL [IfFlag(2)] public string psa_message; } - [TLDef(0xE831C556)] //videoSize#e831c556 flags:# type:string location:FileLocation w:int h:int size:int video_start_ts:flags.0?double = VideoSize + ///See + [TLDef(0xE831C556)] public partial class VideoSize : ITLObject { [Flags] public enum Flags { has_video_start_ts = 0x1 } @@ -5056,7 +6034,8 @@ namespace TL [IfFlag(0)] public double video_start_ts; } - [TLDef(0x18F3D0F7)] //statsGroupTopPoster#18f3d0f7 user_id:int messages:int avg_chars:int = StatsGroupTopPoster + ///See + [TLDef(0x18F3D0F7)] public partial class StatsGroupTopPoster : ITLObject { public int user_id; @@ -5064,7 +6043,8 @@ namespace TL public int avg_chars; } - [TLDef(0x6014F412)] //statsGroupTopAdmin#6014f412 user_id:int deleted:int kicked:int banned:int = StatsGroupTopAdmin + ///See + [TLDef(0x6014F412)] public partial class StatsGroupTopAdmin : ITLObject { public int user_id; @@ -5073,14 +6053,16 @@ namespace TL public int banned; } - [TLDef(0x31962A4C)] //statsGroupTopInviter#31962a4c user_id:int invitations:int = StatsGroupTopInviter + ///See + [TLDef(0x31962A4C)] public partial class StatsGroupTopInviter : ITLObject { public int user_id; public int invitations; } - [TLDef(0xEF7FF916)] //stats.megagroupStats#ef7ff916 period:StatsDateRangeDays members:StatsAbsValueAndPrev messages:StatsAbsValueAndPrev viewers:StatsAbsValueAndPrev posters:StatsAbsValueAndPrev growth_graph:StatsGraph members_graph:StatsGraph new_members_by_source_graph:StatsGraph languages_graph:StatsGraph messages_graph:StatsGraph actions_graph:StatsGraph top_hours_graph:StatsGraph weekdays_graph:StatsGraph top_posters:Vector top_admins:Vector top_inviters:Vector users:Vector = stats.MegagroupStats + ///See + [TLDef(0xEF7FF916)] public partial class Stats_MegagroupStats : ITLObject { public StatsDateRangeDays period; @@ -5102,7 +6084,8 @@ namespace TL public UserBase[] users; } - [TLDef(0xBEA2F424)] //globalPrivacySettings#bea2f424 flags:# archive_and_mute_new_noncontact_peers:flags.0?Bool = GlobalPrivacySettings + ///See + [TLDef(0xBEA2F424)] public partial class GlobalPrivacySettings : ITLObject { [Flags] public enum Flags { has_archive_and_mute_new_noncontact_peers = 0x1 } @@ -5110,7 +6093,8 @@ namespace TL [IfFlag(0)] public bool archive_and_mute_new_noncontact_peers; } - [TLDef(0x4203C5EF)] //help.countryCode#4203c5ef flags:# country_code:string prefixes:flags.0?Vector patterns:flags.1?Vector = help.CountryCode + ///See + [TLDef(0x4203C5EF)] public partial class Help_CountryCode : ITLObject { [Flags] public enum Flags { has_prefixes = 0x1, has_patterns = 0x2 } @@ -5120,7 +6104,8 @@ namespace TL [IfFlag(1)] public string[] patterns; } - [TLDef(0xC3878E23)] //help.country#c3878e23 flags:# hidden:flags.0?true iso2:string default_name:string name:flags.1?string country_codes:Vector = help.Country + ///See + [TLDef(0xC3878E23)] public partial class Help_Country : ITLObject { [Flags] public enum Flags { hidden = 0x1, has_name = 0x2 } @@ -5131,17 +6116,21 @@ namespace TL public Help_CountryCode[] country_codes; } + ///See public abstract partial class Help_CountriesListBase : ITLObject { } - [TLDef(0x93CC1F32)] //help.countriesListNotModified#93cc1f32 = help.CountriesList + ///See + [TLDef(0x93CC1F32)] public partial class Help_CountriesListNotModified : Help_CountriesListBase { } - [TLDef(0x87D0759E)] //help.countriesList#87d0759e countries:Vector hash:int = help.CountriesList + ///See + [TLDef(0x87D0759E)] public partial class Help_CountriesList : Help_CountriesListBase { public Help_Country[] countries; public int hash; } - [TLDef(0x455B853D)] //messageViews#455b853d flags:# views:flags.0?int forwards:flags.1?int replies:flags.2?MessageReplies = MessageViews + ///See + [TLDef(0x455B853D)] public partial class MessageViews : ITLObject { [Flags] public enum Flags { has_views = 0x1, has_forwards = 0x2, has_replies = 0x4 } @@ -5151,7 +6140,8 @@ namespace TL [IfFlag(2)] public MessageReplies replies; } - [TLDef(0xB6C4F543)] //messages.messageViews#b6c4f543 views:Vector chats:Vector users:Vector = messages.MessageViews + ///See + [TLDef(0xB6C4F543)] public partial class Messages_MessageViews : ITLObject { public MessageViews[] views; @@ -5159,7 +6149,8 @@ namespace TL public UserBase[] users; } - [TLDef(0xF5DD8F9D)] //messages.discussionMessage#f5dd8f9d flags:# messages:Vector max_id:flags.0?int read_inbox_max_id:flags.1?int read_outbox_max_id:flags.2?int chats:Vector users:Vector = messages.DiscussionMessage + ///See + [TLDef(0xF5DD8F9D)] public partial class Messages_DiscussionMessage : ITLObject { [Flags] public enum Flags { has_max_id = 0x1, has_read_inbox_max_id = 0x2, has_read_outbox_max_id = 0x4 } @@ -5172,7 +6163,8 @@ namespace TL public UserBase[] users; } - [TLDef(0xA6D57763)] //messageReplyHeader#a6d57763 flags:# reply_to_msg_id:int reply_to_peer_id:flags.0?Peer reply_to_top_id:flags.1?int = MessageReplyHeader + ///See + [TLDef(0xA6D57763)] public partial class MessageReplyHeader : ITLObject { [Flags] public enum Flags { has_reply_to_peer_id = 0x1, has_reply_to_top_id = 0x2 } @@ -5182,7 +6174,8 @@ namespace TL [IfFlag(1)] public int reply_to_top_id; } - [TLDef(0x4128FAAC)] //messageReplies#4128faac flags:# comments:flags.0?true replies:int replies_pts:int recent_repliers:flags.1?Vector channel_id:flags.0?int max_id:flags.2?int read_max_id:flags.3?int = MessageReplies + ///See + [TLDef(0x4128FAAC)] public partial class MessageReplies : ITLObject { [Flags] public enum Flags { comments = 0x1, has_recent_repliers = 0x2, has_max_id = 0x4, has_read_max_id = 0x8 } @@ -5195,14 +6188,16 @@ namespace TL [IfFlag(3)] public int read_max_id; } - [TLDef(0xE8FD8014)] //peerBlocked#e8fd8014 peer_id:Peer date:int = PeerBlocked + ///See + [TLDef(0xE8FD8014)] public partial class PeerBlocked : ITLObject { public Peer peer_id; public DateTime date; } - [TLDef(0x8999F295)] //stats.messageStats#8999f295 views_graph:StatsGraph = stats.MessageStats + ///See + [TLDef(0x8999F295)] public partial class Stats_MessageStats : ITLObject { public StatsGraphBase views_graph; } } @@ -5213,7 +6208,7 @@ namespace WTelegram // ---functions--- public partial class Client { - //invokeAfterMsg#cb9f372d {X:Type} msg_id:long query:!X = X + ///See public Task InvokeAfterMsg(long msg_id, ITLFunction query) => CallAsync(writer => { @@ -5223,7 +6218,7 @@ namespace WTelegram // ---functions--- return "InvokeAfterMsg"; }); - //invokeAfterMsgs#3dc4b4f0 {X:Type} msg_ids:Vector query:!X = X + ///See public Task InvokeAfterMsgs(long[] msg_ids, ITLFunction query) => CallAsync(writer => { @@ -5233,7 +6228,7 @@ namespace WTelegram // ---functions--- return "InvokeAfterMsgs"; }); - //auth.sendCode#a677244f phone_number:string api_id:int api_hash:string settings:CodeSettings = auth.SentCode + ///See public Task Auth_SendCode(string phone_number, int api_id, string api_hash, CodeSettings settings) => CallAsync(writer => { @@ -5245,7 +6240,7 @@ namespace WTelegram // ---functions--- return "Auth_SendCode"; }); - //auth.signUp#80eee427 phone_number:string phone_code_hash:string first_name:string last_name:string = auth.Authorization + ///See public Task Auth_SignUp(string phone_number, string phone_code_hash, string first_name, string last_name) => CallAsync(writer => { @@ -5257,7 +6252,7 @@ namespace WTelegram // ---functions--- return "Auth_SignUp"; }); - //auth.signIn#bcd51581 phone_number:string phone_code_hash:string phone_code:string = auth.Authorization + ///See public Task Auth_SignIn(string phone_number, string phone_code_hash, string phone_code) => CallAsync(writer => { @@ -5268,7 +6263,7 @@ namespace WTelegram // ---functions--- return "Auth_SignIn"; }); - //auth.logOut#5717da40 = Bool + ///See public Task Auth_LogOut() => CallAsync(writer => { @@ -5276,7 +6271,7 @@ namespace WTelegram // ---functions--- return "Auth_LogOut"; }); - //auth.resetAuthorizations#9fab0d1a = Bool + ///See public Task Auth_ResetAuthorizations() => CallAsync(writer => { @@ -5284,7 +6279,7 @@ namespace WTelegram // ---functions--- return "Auth_ResetAuthorizations"; }); - //auth.exportAuthorization#e5bfffcd dc_id:int = auth.ExportedAuthorization + ///See public Task Auth_ExportAuthorization(int dc_id) => CallAsync(writer => { @@ -5293,7 +6288,7 @@ namespace WTelegram // ---functions--- return "Auth_ExportAuthorization"; }); - //auth.importAuthorization#e3ef9613 id:int bytes:bytes = auth.Authorization + ///See public Task Auth_ImportAuthorization(int id, byte[] bytes) => CallAsync(writer => { @@ -5303,7 +6298,7 @@ namespace WTelegram // ---functions--- return "Auth_ImportAuthorization"; }); - //auth.bindTempAuthKey#cdd42a05 perm_auth_key_id:long nonce:long expires_at:int encrypted_message:bytes = Bool + ///See public Task Auth_BindTempAuthKey(long perm_auth_key_id, long nonce, DateTime expires_at, byte[] encrypted_message) => CallAsync(writer => { @@ -5315,7 +6310,7 @@ namespace WTelegram // ---functions--- return "Auth_BindTempAuthKey"; }); - //account.registerDevice#68976c6f flags:# no_muted:flags.0?true token_type:int token:string app_sandbox:Bool secret:bytes other_uids:Vector = Bool + ///See public Task Account_RegisterDevice(int token_type, string token, bool app_sandbox, byte[] secret, int[] other_uids, bool no_muted = false) => CallAsync(writer => { @@ -5329,7 +6324,7 @@ namespace WTelegram // ---functions--- return "Account_RegisterDevice"; }); - //account.unregisterDevice#3076c4bf token_type:int token:string other_uids:Vector = Bool + ///See public Task Account_UnregisterDevice(int token_type, string token, int[] other_uids) => CallAsync(writer => { @@ -5340,7 +6335,7 @@ namespace WTelegram // ---functions--- return "Account_UnregisterDevice"; }); - //account.updateNotifySettings#84be5b93 peer:InputNotifyPeer settings:InputPeerNotifySettings = Bool + ///See public Task Account_UpdateNotifySettings(InputNotifyPeerBase peer, InputPeerNotifySettings settings) => CallAsync(writer => { @@ -5350,7 +6345,7 @@ namespace WTelegram // ---functions--- return "Account_UpdateNotifySettings"; }); - //account.getNotifySettings#12b3ad31 peer:InputNotifyPeer = PeerNotifySettings + ///See public Task Account_GetNotifySettings(InputNotifyPeerBase peer) => CallAsync(writer => { @@ -5359,7 +6354,7 @@ namespace WTelegram // ---functions--- return "Account_GetNotifySettings"; }); - //account.resetNotifySettings#db7e1747 = Bool + ///See public Task Account_ResetNotifySettings() => CallAsync(writer => { @@ -5367,7 +6362,7 @@ namespace WTelegram // ---functions--- return "Account_ResetNotifySettings"; }); - //account.updateProfile#78515775 flags:# first_name:flags.0?string last_name:flags.1?string about:flags.2?string = User + ///See public Task Account_UpdateProfile(string first_name = null, string last_name = null, string about = null) => CallAsync(writer => { @@ -5382,7 +6377,7 @@ namespace WTelegram // ---functions--- return "Account_UpdateProfile"; }); - //account.updateStatus#6628562c offline:Bool = Bool + ///See public Task Account_UpdateStatus(bool offline) => CallAsync(writer => { @@ -5391,7 +6386,7 @@ namespace WTelegram // ---functions--- return "Account_UpdateStatus"; }); - //account.getWallPapers#aabb1763 hash:int = account.WallPapers + ///See public Task Account_GetWallPapers(int hash) => CallAsync(writer => { @@ -5400,7 +6395,7 @@ namespace WTelegram // ---functions--- return "Account_GetWallPapers"; }); - //account.reportPeer#ae189d5f peer:InputPeer reason:ReportReason = Bool + ///See public Task Account_ReportPeer(InputPeer peer, ReportReason reason) => CallAsync(writer => { @@ -5410,7 +6405,7 @@ namespace WTelegram // ---functions--- return "Account_ReportPeer"; }); - //users.getUsers#0d91a548 id:Vector = Vector + ///See public Task Users_GetUsers(InputUserBase[] id) => CallAsync(writer => { @@ -5419,7 +6414,7 @@ namespace WTelegram // ---functions--- return "Users_GetUsers"; }); - //users.getFullUser#ca30a5b1 id:InputUser = UserFull + ///See public Task Users_GetFullUser(InputUserBase id) => CallAsync(writer => { @@ -5428,7 +6423,7 @@ namespace WTelegram // ---functions--- return "Users_GetFullUser"; }); - //contacts.getContactIDs#2caa4a42 hash:int = Vector + ///See public Task Contacts_GetContactIDs(int hash) => CallAsync(writer => { @@ -5437,7 +6432,7 @@ namespace WTelegram // ---functions--- return "Contacts_GetContactIDs"; }); - //contacts.getStatuses#c4a353ee = Vector + ///See public Task Contacts_GetStatuses() => CallAsync(writer => { @@ -5445,7 +6440,7 @@ namespace WTelegram // ---functions--- return "Contacts_GetStatuses"; }); - //contacts.getContacts#c023849f hash:int = contacts.Contacts + ///See public Task Contacts_GetContacts(int hash) => CallAsync(writer => { @@ -5454,7 +6449,7 @@ namespace WTelegram // ---functions--- return "Contacts_GetContacts"; }); - //contacts.importContacts#2c800be5 contacts:Vector = contacts.ImportedContacts + ///See public Task Contacts_ImportContacts(InputContact[] contacts) => CallAsync(writer => { @@ -5463,7 +6458,7 @@ namespace WTelegram // ---functions--- return "Contacts_ImportContacts"; }); - //contacts.deleteContacts#096a0e00 id:Vector = Updates + ///See public Task Contacts_DeleteContacts(InputUserBase[] id) => CallAsync(writer => { @@ -5472,7 +6467,7 @@ namespace WTelegram // ---functions--- return "Contacts_DeleteContacts"; }); - //contacts.deleteByPhones#1013fd9e phones:Vector = Bool + ///See public Task Contacts_DeleteByPhones(string[] phones) => CallAsync(writer => { @@ -5481,7 +6476,7 @@ namespace WTelegram // ---functions--- return "Contacts_DeleteByPhones"; }); - //contacts.block#68cc1411 id:InputPeer = Bool + ///See public Task Contacts_Block(InputPeer id) => CallAsync(writer => { @@ -5490,7 +6485,7 @@ namespace WTelegram // ---functions--- return "Contacts_Block"; }); - //contacts.unblock#bea65d50 id:InputPeer = Bool + ///See public Task Contacts_Unblock(InputPeer id) => CallAsync(writer => { @@ -5499,7 +6494,7 @@ namespace WTelegram // ---functions--- return "Contacts_Unblock"; }); - //contacts.getBlocked#f57c350f offset:int limit:int = contacts.Blocked + ///See public Task Contacts_GetBlocked(int offset, int limit) => CallAsync(writer => { @@ -5509,7 +6504,7 @@ namespace WTelegram // ---functions--- return "Contacts_GetBlocked"; }); - //messages.getMessages#63c66506 id:Vector = messages.Messages + ///See public Task Messages_GetMessages(InputMessage[] id) => CallAsync(writer => { @@ -5518,7 +6513,7 @@ namespace WTelegram // ---functions--- return "Messages_GetMessages"; }); - //messages.getDialogs#a0ee3b73 flags:# exclude_pinned:flags.0?true folder_id:flags.1?int offset_date:int offset_id:int offset_peer:InputPeer limit:int hash:int = messages.Dialogs + ///See public Task Messages_GetDialogs(DateTime offset_date, int offset_id, InputPeer offset_peer, int limit, int hash, bool exclude_pinned = false, int? folder_id = null) => CallAsync(writer => { @@ -5534,7 +6529,7 @@ namespace WTelegram // ---functions--- return "Messages_GetDialogs"; }); - //messages.getHistory#dcbb8260 peer:InputPeer offset_id:int offset_date:int add_offset:int limit:int max_id:int min_id:int hash:int = messages.Messages + ///See public Task Messages_GetHistory(InputPeer peer, int offset_id, DateTime offset_date, int add_offset, int limit, int max_id, int min_id, int hash) => CallAsync(writer => { @@ -5550,7 +6545,7 @@ namespace WTelegram // ---functions--- return "Messages_GetHistory"; }); - //messages.search#0c352eec flags:# peer:InputPeer q:string from_id:flags.0?InputPeer top_msg_id:flags.1?int filter:MessagesFilter min_date:int max_date:int offset_id:int add_offset:int limit:int max_id:int min_id:int hash:int = messages.Messages + ///See public Task Messages_Search(InputPeer peer, string q, MessagesFilter filter, DateTime min_date, DateTime max_date, int offset_id, int add_offset, int limit, int max_id, int min_id, int hash, InputPeer from_id = null, int? top_msg_id = null) => CallAsync(writer => { @@ -5574,7 +6569,7 @@ namespace WTelegram // ---functions--- return "Messages_Search"; }); - //messages.readHistory#0e306d3a peer:InputPeer max_id:int = messages.AffectedMessages + ///See public Task Messages_ReadHistory(InputPeer peer, int max_id) => CallAsync(writer => { @@ -5584,7 +6579,7 @@ namespace WTelegram // ---functions--- return "Messages_ReadHistory"; }); - //messages.deleteHistory#1c015b09 flags:# just_clear:flags.0?true revoke:flags.1?true peer:InputPeer max_id:int = messages.AffectedHistory + ///See public Task Messages_DeleteHistory(InputPeer peer, int max_id, bool just_clear = false, bool revoke = false) => CallAsync(writer => { @@ -5595,7 +6590,7 @@ namespace WTelegram // ---functions--- return "Messages_DeleteHistory"; }); - //messages.deleteMessages#e58e95d2 flags:# revoke:flags.0?true id:Vector = messages.AffectedMessages + ///See public Task Messages_DeleteMessages(int[] id, bool revoke = false) => CallAsync(writer => { @@ -5605,7 +6600,7 @@ namespace WTelegram // ---functions--- return "Messages_DeleteMessages"; }); - //messages.receivedMessages#05a954c0 max_id:int = Vector + ///See public Task Messages_ReceivedMessages(int max_id) => CallAsync(writer => { @@ -5614,7 +6609,7 @@ namespace WTelegram // ---functions--- return "Messages_ReceivedMessages"; }); - //messages.setTyping#58943ee2 flags:# peer:InputPeer top_msg_id:flags.0?int action:SendMessageAction = Bool + ///See public Task Messages_SetTyping(InputPeer peer, SendMessageAction action, int? top_msg_id = null) => CallAsync(writer => { @@ -5627,7 +6622,7 @@ namespace WTelegram // ---functions--- return "Messages_SetTyping"; }); - //messages.sendMessage#520c3870 flags:# no_webpage:flags.1?true silent:flags.5?true background:flags.6?true clear_draft:flags.7?true peer:InputPeer reply_to_msg_id:flags.0?int message:string random_id:long reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector schedule_date:flags.10?int = Updates + ///See public Task Messages_SendMessage(InputPeer peer, string message, long random_id, bool no_webpage = false, bool silent = false, bool background = false, bool clear_draft = false, int? reply_to_msg_id = null, ReplyMarkup reply_markup = null, MessageEntity[] entities = null, DateTime? schedule_date = null) => CallAsync(writer => { @@ -5647,7 +6642,7 @@ namespace WTelegram // ---functions--- return "Messages_SendMessage"; }); - //messages.sendMedia#3491eba9 flags:# silent:flags.5?true background:flags.6?true clear_draft:flags.7?true peer:InputPeer reply_to_msg_id:flags.0?int media:InputMedia message:string random_id:long reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector schedule_date:flags.10?int = Updates + ///See public Task Messages_SendMedia(InputPeer peer, InputMedia media, string message, long random_id, bool silent = false, bool background = false, bool clear_draft = false, int? reply_to_msg_id = null, ReplyMarkup reply_markup = null, MessageEntity[] entities = null, DateTime? schedule_date = null) => CallAsync(writer => { @@ -5668,7 +6663,7 @@ namespace WTelegram // ---functions--- return "Messages_SendMedia"; }); - //messages.forwardMessages#d9fee60e flags:# silent:flags.5?true background:flags.6?true with_my_score:flags.8?true from_peer:InputPeer id:Vector random_id:Vector to_peer:InputPeer schedule_date:flags.10?int = Updates + ///See public Task Messages_ForwardMessages(InputPeer from_peer, int[] id, long[] random_id, InputPeer to_peer, bool silent = false, bool background = false, bool with_my_score = false, DateTime? schedule_date = null) => CallAsync(writer => { @@ -5683,7 +6678,7 @@ namespace WTelegram // ---functions--- return "Messages_ForwardMessages"; }); - //messages.reportSpam#cf1592db peer:InputPeer = Bool + ///See public Task Messages_ReportSpam(InputPeer peer) => CallAsync(writer => { @@ -5692,7 +6687,7 @@ namespace WTelegram // ---functions--- return "Messages_ReportSpam"; }); - //messages.getPeerSettings#3672e09c peer:InputPeer = PeerSettings + ///See public Task Messages_GetPeerSettings(InputPeer peer) => CallAsync(writer => { @@ -5701,7 +6696,7 @@ namespace WTelegram // ---functions--- return "Messages_GetPeerSettings"; }); - //messages.report#bd82b658 peer:InputPeer id:Vector reason:ReportReason = Bool + ///See public Task Messages_Report(InputPeer peer, int[] id, ReportReason reason) => CallAsync(writer => { @@ -5712,7 +6707,7 @@ namespace WTelegram // ---functions--- return "Messages_Report"; }); - //messages.getChats#3c6aa187 id:Vector = messages.Chats + ///See public Task Messages_GetChats(int[] id) => CallAsync(writer => { @@ -5721,7 +6716,7 @@ namespace WTelegram // ---functions--- return "Messages_GetChats"; }); - //messages.getFullChat#3b831c66 chat_id:int = messages.ChatFull + ///See public Task Messages_GetFullChat(int chat_id) => CallAsync(writer => { @@ -5730,7 +6725,7 @@ namespace WTelegram // ---functions--- return "Messages_GetFullChat"; }); - //messages.editChatTitle#dc452855 chat_id:int title:string = Updates + ///See public Task Messages_EditChatTitle(int chat_id, string title) => CallAsync(writer => { @@ -5740,7 +6735,7 @@ namespace WTelegram // ---functions--- return "Messages_EditChatTitle"; }); - //messages.editChatPhoto#ca4c79d8 chat_id:int photo:InputChatPhoto = Updates + ///See public Task Messages_EditChatPhoto(int chat_id, InputChatPhotoBase photo) => CallAsync(writer => { @@ -5750,7 +6745,7 @@ namespace WTelegram // ---functions--- return "Messages_EditChatPhoto"; }); - //messages.addChatUser#f9a0aa09 chat_id:int user_id:InputUser fwd_limit:int = Updates + ///See public Task Messages_AddChatUser(int chat_id, InputUserBase user_id, int fwd_limit) => CallAsync(writer => { @@ -5761,7 +6756,7 @@ namespace WTelegram // ---functions--- return "Messages_AddChatUser"; }); - //messages.deleteChatUser#e0611f16 chat_id:int user_id:InputUser = Updates + ///See public Task Messages_DeleteChatUser(int chat_id, InputUserBase user_id) => CallAsync(writer => { @@ -5771,7 +6766,7 @@ namespace WTelegram // ---functions--- return "Messages_DeleteChatUser"; }); - //messages.createChat#09cb126e users:Vector title:string = Updates + ///See public Task Messages_CreateChat(InputUserBase[] users, string title) => CallAsync(writer => { @@ -5781,7 +6776,7 @@ namespace WTelegram // ---functions--- return "Messages_CreateChat"; }); - //updates.getState#edd4882a = updates.State + ///See public Task Updates_GetState() => CallAsync(writer => { @@ -5789,7 +6784,7 @@ namespace WTelegram // ---functions--- return "Updates_GetState"; }); - //updates.getDifference#25939651 flags:# pts:int pts_total_limit:flags.0?int date:int qts:int = updates.Difference + ///See public Task Updates_GetDifference(int pts, DateTime date, int qts, int? pts_total_limit = null) => CallAsync(writer => { @@ -5803,7 +6798,7 @@ namespace WTelegram // ---functions--- return "Updates_GetDifference"; }); - //photos.updateProfilePhoto#72d4742c id:InputPhoto = photos.Photo + ///See public Task Photos_UpdateProfilePhoto(InputPhotoBase id) => CallAsync(writer => { @@ -5812,7 +6807,7 @@ namespace WTelegram // ---functions--- return "Photos_UpdateProfilePhoto"; }); - //photos.uploadProfilePhoto#89f30f69 flags:# file:flags.0?InputFile video:flags.1?InputFile video_start_ts:flags.2?double = photos.Photo + ///See public Task Photos_UploadProfilePhoto(InputFileBase file = null, InputFileBase video = null, double? video_start_ts = null) => CallAsync(writer => { @@ -5827,7 +6822,7 @@ namespace WTelegram // ---functions--- return "Photos_UploadProfilePhoto"; }); - //photos.deletePhotos#87cf7f2f id:Vector = Vector + ///See public Task Photos_DeletePhotos(InputPhotoBase[] id) => CallAsync(writer => { @@ -5836,7 +6831,7 @@ namespace WTelegram // ---functions--- return "Photos_DeletePhotos"; }); - //upload.saveFilePart#b304a621 file_id:long file_part:int bytes:bytes = Bool + ///See public Task Upload_SaveFilePart(long file_id, int file_part, byte[] bytes) => CallAsync(writer => { @@ -5847,7 +6842,7 @@ namespace WTelegram // ---functions--- return "Upload_SaveFilePart"; }); - //upload.getFile#b15a9afc flags:# precise:flags.0?true cdn_supported:flags.1?true location:InputFileLocation offset:int limit:int = upload.File + ///See public Task Upload_GetFile(InputFileLocationBase location, int offset, int limit, bool precise = false, bool cdn_supported = false) => CallAsync(writer => { @@ -5859,7 +6854,7 @@ namespace WTelegram // ---functions--- return "Upload_GetFile"; }); - //help.getConfig#c4f9186b = Config + ///See public Task Help_GetConfig() => CallAsync(Help_GetConfig); public static string Help_GetConfig(BinaryWriter writer) { @@ -5867,7 +6862,7 @@ namespace WTelegram // ---functions--- return "Help_GetConfig"; } - //help.getNearestDc#1fb33026 = NearestDc + ///See public Task Help_GetNearestDc() => CallAsync(writer => { @@ -5875,7 +6870,7 @@ namespace WTelegram // ---functions--- return "Help_GetNearestDc"; }); - //help.getAppUpdate#522d5a7d source:string = help.AppUpdate + ///See public Task Help_GetAppUpdate(string source) => CallAsync(writer => { @@ -5884,7 +6879,7 @@ namespace WTelegram // ---functions--- return "Help_GetAppUpdate"; }); - //help.getInviteText#4d392343 = help.InviteText + ///See public Task Help_GetInviteText() => CallAsync(writer => { @@ -5892,7 +6887,7 @@ namespace WTelegram // ---functions--- return "Help_GetInviteText"; }); - //photos.getUserPhotos#91cd32a8 user_id:InputUser offset:int max_id:long limit:int = photos.Photos + ///See public Task Photos_GetUserPhotos(InputUserBase user_id, int offset, long max_id, int limit) => CallAsync(writer => { @@ -5904,7 +6899,7 @@ namespace WTelegram // ---functions--- return "Photos_GetUserPhotos"; }); - //messages.getDhConfig#26cf8950 version:int random_length:int = messages.DhConfig + ///See public Task Messages_GetDhConfig(int version, int random_length) => CallAsync(writer => { @@ -5914,7 +6909,7 @@ namespace WTelegram // ---functions--- return "Messages_GetDhConfig"; }); - //messages.requestEncryption#f64daf43 user_id:InputUser random_id:int g_a:bytes = EncryptedChat + ///See public Task Messages_RequestEncryption(InputUserBase user_id, int random_id, byte[] g_a) => CallAsync(writer => { @@ -5925,7 +6920,7 @@ namespace WTelegram // ---functions--- return "Messages_RequestEncryption"; }); - //messages.acceptEncryption#3dbc0415 peer:InputEncryptedChat g_b:bytes key_fingerprint:long = EncryptedChat + ///See public Task Messages_AcceptEncryption(InputEncryptedChat peer, byte[] g_b, long key_fingerprint) => CallAsync(writer => { @@ -5936,7 +6931,7 @@ namespace WTelegram // ---functions--- return "Messages_AcceptEncryption"; }); - //messages.discardEncryption#edd923c5 chat_id:int = Bool + ///See public Task Messages_DiscardEncryption(int chat_id) => CallAsync(writer => { @@ -5945,7 +6940,7 @@ namespace WTelegram // ---functions--- return "Messages_DiscardEncryption"; }); - //messages.setEncryptedTyping#791451ed peer:InputEncryptedChat typing:Bool = Bool + ///See public Task Messages_SetEncryptedTyping(InputEncryptedChat peer, bool typing) => CallAsync(writer => { @@ -5955,7 +6950,7 @@ namespace WTelegram // ---functions--- return "Messages_SetEncryptedTyping"; }); - //messages.readEncryptedHistory#7f4b690a peer:InputEncryptedChat max_date:int = Bool + ///See public Task Messages_ReadEncryptedHistory(InputEncryptedChat peer, DateTime max_date) => CallAsync(writer => { @@ -5965,7 +6960,7 @@ namespace WTelegram // ---functions--- return "Messages_ReadEncryptedHistory"; }); - //messages.sendEncrypted#44fa7a15 flags:# silent:flags.0?true peer:InputEncryptedChat random_id:long data:bytes = messages.SentEncryptedMessage + ///See public Task Messages_SendEncrypted(InputEncryptedChat peer, long random_id, byte[] data, bool silent = false) => CallAsync(writer => { @@ -5977,7 +6972,7 @@ namespace WTelegram // ---functions--- return "Messages_SendEncrypted"; }); - //messages.sendEncryptedFile#5559481d flags:# silent:flags.0?true peer:InputEncryptedChat random_id:long data:bytes file:InputEncryptedFile = messages.SentEncryptedMessage + ///See public Task Messages_SendEncryptedFile(InputEncryptedChat peer, long random_id, byte[] data, InputEncryptedFileBase file, bool silent = false) => CallAsync(writer => { @@ -5990,7 +6985,7 @@ namespace WTelegram // ---functions--- return "Messages_SendEncryptedFile"; }); - //messages.sendEncryptedService#32d439a4 peer:InputEncryptedChat random_id:long data:bytes = messages.SentEncryptedMessage + ///See public Task Messages_SendEncryptedService(InputEncryptedChat peer, long random_id, byte[] data) => CallAsync(writer => { @@ -6001,7 +6996,7 @@ namespace WTelegram // ---functions--- return "Messages_SendEncryptedService"; }); - //messages.receivedQueue#55a5bb66 max_qts:int = Vector + ///See public Task Messages_ReceivedQueue(int max_qts) => CallAsync(writer => { @@ -6010,7 +7005,7 @@ namespace WTelegram // ---functions--- return "Messages_ReceivedQueue"; }); - //messages.reportEncryptedSpam#4b0c8c0f peer:InputEncryptedChat = Bool + ///See public Task Messages_ReportEncryptedSpam(InputEncryptedChat peer) => CallAsync(writer => { @@ -6019,7 +7014,7 @@ namespace WTelegram // ---functions--- return "Messages_ReportEncryptedSpam"; }); - //upload.saveBigFilePart#de7b673d file_id:long file_part:int file_total_parts:int bytes:bytes = Bool + ///See public Task Upload_SaveBigFilePart(long file_id, int file_part, int file_total_parts, byte[] bytes) => CallAsync(writer => { @@ -6031,7 +7026,7 @@ namespace WTelegram // ---functions--- return "Upload_SaveBigFilePart"; }); - //initConnection#c1cd5ea9 {X:Type} flags:# api_id:int device_model:string system_version:string app_version:string system_lang_code:string lang_pack:string lang_code:string proxy:flags.0?InputClientProxy params:flags.1?JSONValue query:!X = X + ///See public static ITLFunction InitConnection(int api_id, string device_model, string system_version, string app_version, string system_lang_code, string lang_pack, string lang_code, ITLFunction query, InputClientProxy proxy = null, JSONValue params_ = null) => writer => { @@ -6052,7 +7047,7 @@ namespace WTelegram // ---functions--- return "InitConnection"; }; - //help.getSupport#9cdf08cd = help.Support + ///See public Task Help_GetSupport() => CallAsync(writer => { @@ -6060,7 +7055,7 @@ namespace WTelegram // ---functions--- return "Help_GetSupport"; }); - //messages.readMessageContents#36a73f77 id:Vector = messages.AffectedMessages + ///See public Task Messages_ReadMessageContents(int[] id) => CallAsync(writer => { @@ -6069,7 +7064,7 @@ namespace WTelegram // ---functions--- return "Messages_ReadMessageContents"; }); - //account.checkUsername#2714d86c username:string = Bool + ///See public Task Account_CheckUsername(string username) => CallAsync(writer => { @@ -6078,7 +7073,7 @@ namespace WTelegram // ---functions--- return "Account_CheckUsername"; }); - //account.updateUsername#3e0bdd7c username:string = User + ///See public Task Account_UpdateUsername(string username) => CallAsync(writer => { @@ -6087,7 +7082,7 @@ namespace WTelegram // ---functions--- return "Account_UpdateUsername"; }); - //contacts.search#11f812d8 q:string limit:int = contacts.Found + ///See public Task Contacts_Search(string q, int limit) => CallAsync(writer => { @@ -6097,7 +7092,7 @@ namespace WTelegram // ---functions--- return "Contacts_Search"; }); - //account.getPrivacy#dadbc950 key:InputPrivacyKey = account.PrivacyRules + ///See public Task Account_GetPrivacy(InputPrivacyKey key) => CallAsync(writer => { @@ -6106,7 +7101,7 @@ namespace WTelegram // ---functions--- return "Account_GetPrivacy"; }); - //account.setPrivacy#c9f81ce8 key:InputPrivacyKey rules:Vector = account.PrivacyRules + ///See public Task Account_SetPrivacy(InputPrivacyKey key, InputPrivacyRule[] rules) => CallAsync(writer => { @@ -6116,7 +7111,7 @@ namespace WTelegram // ---functions--- return "Account_SetPrivacy"; }); - //account.deleteAccount#418d4e0b reason:string = Bool + ///See public Task Account_DeleteAccount(string reason) => CallAsync(writer => { @@ -6125,7 +7120,7 @@ namespace WTelegram // ---functions--- return "Account_DeleteAccount"; }); - //account.getAccountTTL#08fc711d = AccountDaysTTL + ///See public Task Account_GetAccountTTL() => CallAsync(writer => { @@ -6133,7 +7128,7 @@ namespace WTelegram // ---functions--- return "Account_GetAccountTTL"; }); - //account.setAccountTTL#2442485e ttl:AccountDaysTTL = Bool + ///See public Task Account_SetAccountTTL(AccountDaysTTL ttl) => CallAsync(writer => { @@ -6142,7 +7137,7 @@ namespace WTelegram // ---functions--- return "Account_SetAccountTTL"; }); - //invokeWithLayer#da9b0d0d {X:Type} layer:int query:!X = X + ///See public Task InvokeWithLayer(int layer, ITLFunction query) => CallAsync(writer => { @@ -6152,7 +7147,7 @@ namespace WTelegram // ---functions--- return "InvokeWithLayer"; }); - //contacts.resolveUsername#f93ccba3 username:string = contacts.ResolvedPeer + ///See public Task Contacts_ResolveUsername(string username) => CallAsync(writer => { @@ -6161,7 +7156,7 @@ namespace WTelegram // ---functions--- return "Contacts_ResolveUsername"; }); - //account.sendChangePhoneCode#82574ae5 phone_number:string settings:CodeSettings = auth.SentCode + ///See public Task Account_SendChangePhoneCode(string phone_number, CodeSettings settings) => CallAsync(writer => { @@ -6171,7 +7166,7 @@ namespace WTelegram // ---functions--- return "Account_SendChangePhoneCode"; }); - //account.changePhone#70c32edb phone_number:string phone_code_hash:string phone_code:string = User + ///See public Task Account_ChangePhone(string phone_number, string phone_code_hash, string phone_code) => CallAsync(writer => { @@ -6182,7 +7177,7 @@ namespace WTelegram // ---functions--- return "Account_ChangePhone"; }); - //messages.getStickers#043d4f2c emoticon:string hash:int = messages.Stickers + ///See public Task Messages_GetStickers(string emoticon, int hash) => CallAsync(writer => { @@ -6192,7 +7187,7 @@ namespace WTelegram // ---functions--- return "Messages_GetStickers"; }); - //messages.getAllStickers#1c9618b1 hash:int = messages.AllStickers + ///See public Task Messages_GetAllStickers(int hash) => CallAsync(writer => { @@ -6201,7 +7196,7 @@ namespace WTelegram // ---functions--- return "Messages_GetAllStickers"; }); - //account.updateDeviceLocked#38df3532 period:int = Bool + ///See public Task Account_UpdateDeviceLocked(int period) => CallAsync(writer => { @@ -6210,7 +7205,7 @@ namespace WTelegram // ---functions--- return "Account_UpdateDeviceLocked"; }); - //auth.importBotAuthorization#67a3ff2c flags:int api_id:int api_hash:string bot_auth_token:string = auth.Authorization + ///See public Task Auth_ImportBotAuthorization(int flags, int api_id, string api_hash, string bot_auth_token) => CallAsync(writer => { @@ -6222,7 +7217,7 @@ namespace WTelegram // ---functions--- return "Auth_ImportBotAuthorization"; }); - //messages.getWebPagePreview#8b68b0cc flags:# message:string entities:flags.3?Vector = MessageMedia + ///See public Task Messages_GetWebPagePreview(string message, MessageEntity[] entities = null) => CallAsync(writer => { @@ -6234,7 +7229,7 @@ namespace WTelegram // ---functions--- return "Messages_GetWebPagePreview"; }); - //account.getAuthorizations#e320c158 = account.Authorizations + ///See public Task Account_GetAuthorizations() => CallAsync(writer => { @@ -6242,7 +7237,7 @@ namespace WTelegram // ---functions--- return "Account_GetAuthorizations"; }); - //account.resetAuthorization#df77f3bc hash:long = Bool + ///See public Task Account_ResetAuthorization(long hash) => CallAsync(writer => { @@ -6251,7 +7246,7 @@ namespace WTelegram // ---functions--- return "Account_ResetAuthorization"; }); - //account.getPassword#548a30f5 = account.Password + ///See public Task Account_GetPassword() => CallAsync(writer => { @@ -6259,7 +7254,7 @@ namespace WTelegram // ---functions--- return "Account_GetPassword"; }); - //account.getPasswordSettings#9cd4eaf9 password:InputCheckPasswordSRP = account.PasswordSettings + ///See public Task Account_GetPasswordSettings(InputCheckPasswordSRPBase password) => CallAsync(writer => { @@ -6268,7 +7263,7 @@ namespace WTelegram // ---functions--- return "Account_GetPasswordSettings"; }); - //account.updatePasswordSettings#a59b102f password:InputCheckPasswordSRP new_settings:account.PasswordInputSettings = Bool + ///See public Task Account_UpdatePasswordSettings(InputCheckPasswordSRPBase password, Account_PasswordInputSettings new_settings) => CallAsync(writer => { @@ -6278,7 +7273,7 @@ namespace WTelegram // ---functions--- return "Account_UpdatePasswordSettings"; }); - //auth.checkPassword#d18b4d16 password:InputCheckPasswordSRP = auth.Authorization + ///See public Task Auth_CheckPassword(InputCheckPasswordSRPBase password) => CallAsync(writer => { @@ -6287,7 +7282,7 @@ namespace WTelegram // ---functions--- return "Auth_CheckPassword"; }); - //auth.requestPasswordRecovery#d897bc66 = auth.PasswordRecovery + ///See public Task Auth_RequestPasswordRecovery() => CallAsync(writer => { @@ -6295,7 +7290,7 @@ namespace WTelegram // ---functions--- return "Auth_RequestPasswordRecovery"; }); - //auth.recoverPassword#4ea56e92 code:string = auth.Authorization + ///See public Task Auth_RecoverPassword(string code) => CallAsync(writer => { @@ -6304,7 +7299,7 @@ namespace WTelegram // ---functions--- return "Auth_RecoverPassword"; }); - //invokeWithoutUpdates#bf9459b7 {X:Type} query:!X = X + ///See public Task InvokeWithoutUpdates(ITLFunction query) => CallAsync(writer => { @@ -6313,7 +7308,7 @@ namespace WTelegram // ---functions--- return "InvokeWithoutUpdates"; }); - //messages.exportChatInvite#0df7534c peer:InputPeer = ExportedChatInvite + ///See public Task Messages_ExportChatInvite(InputPeer peer) => CallAsync(writer => { @@ -6322,7 +7317,7 @@ namespace WTelegram // ---functions--- return "Messages_ExportChatInvite"; }); - //messages.checkChatInvite#3eadb1bb hash:string = ChatInvite + ///See public Task Messages_CheckChatInvite(string hash) => CallAsync(writer => { @@ -6331,7 +7326,7 @@ namespace WTelegram // ---functions--- return "Messages_CheckChatInvite"; }); - //messages.importChatInvite#6c50051c hash:string = Updates + ///See public Task Messages_ImportChatInvite(string hash) => CallAsync(writer => { @@ -6340,7 +7335,7 @@ namespace WTelegram // ---functions--- return "Messages_ImportChatInvite"; }); - //messages.getStickerSet#2619a90e stickerset:InputStickerSet = messages.StickerSet + ///See public Task Messages_GetStickerSet(InputStickerSet stickerset) => CallAsync(writer => { @@ -6349,7 +7344,7 @@ namespace WTelegram // ---functions--- return "Messages_GetStickerSet"; }); - //messages.installStickerSet#c78fe460 stickerset:InputStickerSet archived:Bool = messages.StickerSetInstallResult + ///See public Task Messages_InstallStickerSet(InputStickerSet stickerset, bool archived) => CallAsync(writer => { @@ -6359,7 +7354,7 @@ namespace WTelegram // ---functions--- return "Messages_InstallStickerSet"; }); - //messages.uninstallStickerSet#f96e55de stickerset:InputStickerSet = Bool + ///See public Task Messages_UninstallStickerSet(InputStickerSet stickerset) => CallAsync(writer => { @@ -6368,7 +7363,7 @@ namespace WTelegram // ---functions--- return "Messages_UninstallStickerSet"; }); - //messages.startBot#e6df7378 bot:InputUser peer:InputPeer random_id:long start_param:string = Updates + ///See public Task Messages_StartBot(InputUserBase bot, InputPeer peer, long random_id, string start_param) => CallAsync(writer => { @@ -6380,7 +7375,7 @@ namespace WTelegram // ---functions--- return "Messages_StartBot"; }); - //help.getAppChangelog#9010ef6f prev_app_version:string = Updates + ///See public Task Help_GetAppChangelog(string prev_app_version) => CallAsync(writer => { @@ -6389,7 +7384,7 @@ namespace WTelegram // ---functions--- return "Help_GetAppChangelog"; }); - //messages.getMessagesViews#5784d3e1 peer:InputPeer id:Vector increment:Bool = messages.MessageViews + ///See public Task Messages_GetMessagesViews(InputPeer peer, int[] id, bool increment) => CallAsync(writer => { @@ -6400,7 +7395,7 @@ namespace WTelegram // ---functions--- return "Messages_GetMessagesViews"; }); - //channels.readHistory#cc104937 channel:InputChannel max_id:int = Bool + ///See public Task Channels_ReadHistory(InputChannelBase channel, int max_id) => CallAsync(writer => { @@ -6410,7 +7405,7 @@ namespace WTelegram // ---functions--- return "Channels_ReadHistory"; }); - //channels.deleteMessages#84c1fd4e channel:InputChannel id:Vector = messages.AffectedMessages + ///See public Task Channels_DeleteMessages(InputChannelBase channel, int[] id) => CallAsync(writer => { @@ -6420,7 +7415,7 @@ namespace WTelegram // ---functions--- return "Channels_DeleteMessages"; }); - //channels.deleteUserHistory#d10dd71b channel:InputChannel user_id:InputUser = messages.AffectedHistory + ///See public Task Channels_DeleteUserHistory(InputChannelBase channel, InputUserBase user_id) => CallAsync(writer => { @@ -6430,7 +7425,7 @@ namespace WTelegram // ---functions--- return "Channels_DeleteUserHistory"; }); - //channels.reportSpam#fe087810 channel:InputChannel user_id:InputUser id:Vector = Bool + ///See public Task Channels_ReportSpam(InputChannelBase channel, InputUserBase user_id, int[] id) => CallAsync(writer => { @@ -6441,7 +7436,7 @@ namespace WTelegram // ---functions--- return "Channels_ReportSpam"; }); - //channels.getMessages#ad8c9a23 channel:InputChannel id:Vector = messages.Messages + ///See public Task Channels_GetMessages(InputChannelBase channel, InputMessage[] id) => CallAsync(writer => { @@ -6451,7 +7446,7 @@ namespace WTelegram // ---functions--- return "Channels_GetMessages"; }); - //channels.getParticipants#123e05e9 channel:InputChannel filter:ChannelParticipantsFilter offset:int limit:int hash:int = channels.ChannelParticipants + ///See public Task Channels_GetParticipants(InputChannelBase channel, ChannelParticipantsFilter filter, int offset, int limit, int hash) => CallAsync(writer => { @@ -6464,7 +7459,7 @@ namespace WTelegram // ---functions--- return "Channels_GetParticipants"; }); - //channels.getParticipant#546dd7a6 channel:InputChannel user_id:InputUser = channels.ChannelParticipant + ///See public Task Channels_GetParticipant(InputChannelBase channel, InputUserBase user_id) => CallAsync(writer => { @@ -6474,7 +7469,7 @@ namespace WTelegram // ---functions--- return "Channels_GetParticipant"; }); - //channels.getChannels#0a7f6bbb id:Vector = messages.Chats + ///See public Task Channels_GetChannels(InputChannelBase[] id) => CallAsync(writer => { @@ -6483,7 +7478,7 @@ namespace WTelegram // ---functions--- return "Channels_GetChannels"; }); - //channels.getFullChannel#08736a09 channel:InputChannel = messages.ChatFull + ///See public Task Channels_GetFullChannel(InputChannelBase channel) => CallAsync(writer => { @@ -6492,7 +7487,7 @@ namespace WTelegram // ---functions--- return "Channels_GetFullChannel"; }); - //channels.createChannel#3d5fb10f flags:# broadcast:flags.0?true megagroup:flags.1?true for_import:flags.3?true title:string about:string geo_point:flags.2?InputGeoPoint address:flags.2?string = Updates + ///See public Task Channels_CreateChannel(string title, string about, bool broadcast = false, bool megagroup = false, bool for_import = false, InputGeoPointBase geo_point = null, string address = null) => CallAsync(writer => { @@ -6507,7 +7502,7 @@ namespace WTelegram // ---functions--- return "Channels_CreateChannel"; }); - //channels.editAdmin#d33c8902 channel:InputChannel user_id:InputUser admin_rights:ChatAdminRights rank:string = Updates + ///See public Task Channels_EditAdmin(InputChannelBase channel, InputUserBase user_id, ChatAdminRights admin_rights, string rank) => CallAsync(writer => { @@ -6519,7 +7514,7 @@ namespace WTelegram // ---functions--- return "Channels_EditAdmin"; }); - //channels.editTitle#566decd0 channel:InputChannel title:string = Updates + ///See public Task Channels_EditTitle(InputChannelBase channel, string title) => CallAsync(writer => { @@ -6529,7 +7524,7 @@ namespace WTelegram // ---functions--- return "Channels_EditTitle"; }); - //channels.editPhoto#f12e57c9 channel:InputChannel photo:InputChatPhoto = Updates + ///See public Task Channels_EditPhoto(InputChannelBase channel, InputChatPhotoBase photo) => CallAsync(writer => { @@ -6539,7 +7534,7 @@ namespace WTelegram // ---functions--- return "Channels_EditPhoto"; }); - //channels.checkUsername#10e6bd2c channel:InputChannel username:string = Bool + ///See public Task Channels_CheckUsername(InputChannelBase channel, string username) => CallAsync(writer => { @@ -6549,7 +7544,7 @@ namespace WTelegram // ---functions--- return "Channels_CheckUsername"; }); - //channels.updateUsername#3514b3de channel:InputChannel username:string = Bool + ///See public Task Channels_UpdateUsername(InputChannelBase channel, string username) => CallAsync(writer => { @@ -6559,7 +7554,7 @@ namespace WTelegram // ---functions--- return "Channels_UpdateUsername"; }); - //channels.joinChannel#24b524c5 channel:InputChannel = Updates + ///See public Task Channels_JoinChannel(InputChannelBase channel) => CallAsync(writer => { @@ -6568,7 +7563,7 @@ namespace WTelegram // ---functions--- return "Channels_JoinChannel"; }); - //channels.leaveChannel#f836aa95 channel:InputChannel = Updates + ///See public Task Channels_LeaveChannel(InputChannelBase channel) => CallAsync(writer => { @@ -6577,7 +7572,7 @@ namespace WTelegram // ---functions--- return "Channels_LeaveChannel"; }); - //channels.inviteToChannel#199f3a6c channel:InputChannel users:Vector = Updates + ///See public Task Channels_InviteToChannel(InputChannelBase channel, InputUserBase[] users) => CallAsync(writer => { @@ -6587,7 +7582,7 @@ namespace WTelegram // ---functions--- return "Channels_InviteToChannel"; }); - //channels.deleteChannel#c0111fe3 channel:InputChannel = Updates + ///See public Task Channels_DeleteChannel(InputChannelBase channel) => CallAsync(writer => { @@ -6596,7 +7591,7 @@ namespace WTelegram // ---functions--- return "Channels_DeleteChannel"; }); - //updates.getChannelDifference#03173d78 flags:# force:flags.0?true channel:InputChannel filter:ChannelMessagesFilter pts:int limit:int = updates.ChannelDifference + ///See public Task Updates_GetChannelDifference(InputChannelBase channel, ChannelMessagesFilterBase filter, int pts, int limit, bool force = false) => CallAsync(writer => { @@ -6609,7 +7604,7 @@ namespace WTelegram // ---functions--- return "Updates_GetChannelDifference"; }); - //messages.editChatAdmin#a9e69f2e chat_id:int user_id:InputUser is_admin:Bool = Bool + ///See public Task Messages_EditChatAdmin(int chat_id, InputUserBase user_id, bool is_admin) => CallAsync(writer => { @@ -6620,7 +7615,7 @@ namespace WTelegram // ---functions--- return "Messages_EditChatAdmin"; }); - //messages.migrateChat#15a3b8e3 chat_id:int = Updates + ///See public Task Messages_MigrateChat(int chat_id) => CallAsync(writer => { @@ -6629,7 +7624,7 @@ namespace WTelegram // ---functions--- return "Messages_MigrateChat"; }); - //messages.searchGlobal#4bc6589a flags:# folder_id:flags.0?int q:string filter:MessagesFilter min_date:int max_date:int offset_rate:int offset_peer:InputPeer offset_id:int limit:int = messages.Messages + ///See public Task Messages_SearchGlobal(string q, MessagesFilter filter, DateTime min_date, DateTime max_date, int offset_rate, InputPeer offset_peer, int offset_id, int limit, int? folder_id = null) => CallAsync(writer => { @@ -6648,7 +7643,7 @@ namespace WTelegram // ---functions--- return "Messages_SearchGlobal"; }); - //messages.reorderStickerSets#78337739 flags:# masks:flags.0?true order:Vector = Bool + ///See public Task Messages_ReorderStickerSets(long[] order, bool masks = false) => CallAsync(writer => { @@ -6658,7 +7653,7 @@ namespace WTelegram // ---functions--- return "Messages_ReorderStickerSets"; }); - //messages.getDocumentByHash#338e2464 sha256:bytes size:int mime_type:string = Document + ///See public Task Messages_GetDocumentByHash(byte[] sha256, int size, string mime_type) => CallAsync(writer => { @@ -6669,7 +7664,7 @@ namespace WTelegram // ---functions--- return "Messages_GetDocumentByHash"; }); - //messages.getSavedGifs#83bf3d52 hash:int = messages.SavedGifs + ///See public Task Messages_GetSavedGifs(int hash) => CallAsync(writer => { @@ -6678,7 +7673,7 @@ namespace WTelegram // ---functions--- return "Messages_GetSavedGifs"; }); - //messages.saveGif#327a30cb id:InputDocument unsave:Bool = Bool + ///See public Task Messages_SaveGif(InputDocumentBase id, bool unsave) => CallAsync(writer => { @@ -6688,7 +7683,7 @@ namespace WTelegram // ---functions--- return "Messages_SaveGif"; }); - //messages.getInlineBotResults#514e999d flags:# bot:InputUser peer:InputPeer geo_point:flags.0?InputGeoPoint query:string offset:string = messages.BotResults + ///See public Task Messages_GetInlineBotResults(InputUserBase bot, InputPeer peer, string query, string offset, InputGeoPointBase geo_point = null) => CallAsync(writer => { @@ -6703,7 +7698,7 @@ namespace WTelegram // ---functions--- return "Messages_GetInlineBotResults"; }); - //messages.setInlineBotResults#eb5ea206 flags:# gallery:flags.0?true private:flags.1?true query_id:long results:Vector cache_time:int next_offset:flags.2?string switch_pm:flags.3?InlineBotSwitchPM = Bool + ///See public Task Messages_SetInlineBotResults(long query_id, InputBotInlineResultBase[] results, DateTime cache_time, bool gallery = false, bool private_ = false, string next_offset = null, InlineBotSwitchPM switch_pm = null) => CallAsync(writer => { @@ -6719,7 +7714,7 @@ namespace WTelegram // ---functions--- return "Messages_SetInlineBotResults"; }); - //messages.sendInlineBotResult#220815b0 flags:# silent:flags.5?true background:flags.6?true clear_draft:flags.7?true hide_via:flags.11?true peer:InputPeer reply_to_msg_id:flags.0?int random_id:long query_id:long id:string schedule_date:flags.10?int = Updates + ///See public Task Messages_SendInlineBotResult(InputPeer peer, long random_id, long query_id, string id, bool silent = false, bool background = false, bool clear_draft = false, bool hide_via = false, int? reply_to_msg_id = null, DateTime? schedule_date = null) => CallAsync(writer => { @@ -6736,7 +7731,7 @@ namespace WTelegram // ---functions--- return "Messages_SendInlineBotResult"; }); - //channels.exportMessageLink#e63fadeb flags:# grouped:flags.0?true thread:flags.1?true channel:InputChannel id:int = ExportedMessageLink + ///See public Task Channels_ExportMessageLink(InputChannelBase channel, int id, bool grouped = false, bool thread = false) => CallAsync(writer => { @@ -6747,7 +7742,7 @@ namespace WTelegram // ---functions--- return "Channels_ExportMessageLink"; }); - //channels.toggleSignatures#1f69b606 channel:InputChannel enabled:Bool = Updates + ///See public Task Channels_ToggleSignatures(InputChannelBase channel, bool enabled) => CallAsync(writer => { @@ -6757,7 +7752,7 @@ namespace WTelegram // ---functions--- return "Channels_ToggleSignatures"; }); - //auth.resendCode#3ef1a9bf phone_number:string phone_code_hash:string = auth.SentCode + ///See public Task Auth_ResendCode(string phone_number, string phone_code_hash) => CallAsync(writer => { @@ -6767,7 +7762,7 @@ namespace WTelegram // ---functions--- return "Auth_ResendCode"; }); - //auth.cancelCode#1f040578 phone_number:string phone_code_hash:string = Bool + ///See public Task Auth_CancelCode(string phone_number, string phone_code_hash) => CallAsync(writer => { @@ -6777,7 +7772,7 @@ namespace WTelegram // ---functions--- return "Auth_CancelCode"; }); - //messages.getMessageEditData#fda68d36 peer:InputPeer id:int = messages.MessageEditData + ///See public Task Messages_GetMessageEditData(InputPeer peer, int id) => CallAsync(writer => { @@ -6787,7 +7782,7 @@ namespace WTelegram // ---functions--- return "Messages_GetMessageEditData"; }); - //messages.editMessage#48f71778 flags:# no_webpage:flags.1?true peer:InputPeer id:int message:flags.11?string media:flags.14?InputMedia reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector schedule_date:flags.15?int = Updates + ///See public Task Messages_EditMessage(InputPeer peer, int id, bool no_webpage = false, string message = null, InputMedia media = null, ReplyMarkup reply_markup = null, MessageEntity[] entities = null, DateTime? schedule_date = null) => CallAsync(writer => { @@ -6808,7 +7803,7 @@ namespace WTelegram // ---functions--- return "Messages_EditMessage"; }); - //messages.editInlineBotMessage#83557dba flags:# no_webpage:flags.1?true id:InputBotInlineMessageID message:flags.11?string media:flags.14?InputMedia reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector = Bool + ///See public Task Messages_EditInlineBotMessage(InputBotInlineMessageID id, bool no_webpage = false, string message = null, InputMedia media = null, ReplyMarkup reply_markup = null, MessageEntity[] entities = null) => CallAsync(writer => { @@ -6826,7 +7821,7 @@ namespace WTelegram // ---functions--- return "Messages_EditInlineBotMessage"; }); - //messages.getBotCallbackAnswer#9342ca07 flags:# game:flags.1?true peer:InputPeer msg_id:int data:flags.0?bytes password:flags.2?InputCheckPasswordSRP = messages.BotCallbackAnswer + ///See public Task Messages_GetBotCallbackAnswer(InputPeer peer, int msg_id, bool game = false, byte[] data = null, InputCheckPasswordSRPBase password = null) => CallAsync(writer => { @@ -6841,7 +7836,7 @@ namespace WTelegram // ---functions--- return "Messages_GetBotCallbackAnswer"; }); - //messages.setBotCallbackAnswer#d58f130a flags:# alert:flags.1?true query_id:long message:flags.0?string url:flags.2?string cache_time:int = Bool + ///See public Task Messages_SetBotCallbackAnswer(long query_id, DateTime cache_time, bool alert = false, string message = null, string url = null) => CallAsync(writer => { @@ -6856,7 +7851,7 @@ namespace WTelegram // ---functions--- return "Messages_SetBotCallbackAnswer"; }); - //contacts.getTopPeers#d4982db5 flags:# correspondents:flags.0?true bots_pm:flags.1?true bots_inline:flags.2?true phone_calls:flags.3?true forward_users:flags.4?true forward_chats:flags.5?true groups:flags.10?true channels:flags.15?true offset:int limit:int hash:int = contacts.TopPeers + ///See public Task Contacts_GetTopPeers(int offset, int limit, int hash, bool correspondents = false, bool bots_pm = false, bool bots_inline = false, bool phone_calls = false, bool forward_users = false, bool forward_chats = false, bool groups = false, bool channels = false) => CallAsync(writer => { @@ -6868,7 +7863,7 @@ namespace WTelegram // ---functions--- return "Contacts_GetTopPeers"; }); - //contacts.resetTopPeerRating#1ae373ac category:TopPeerCategory peer:InputPeer = Bool + ///See public Task Contacts_ResetTopPeerRating(TopPeerCategory category, InputPeer peer) => CallAsync(writer => { @@ -6878,7 +7873,7 @@ namespace WTelegram // ---functions--- return "Contacts_ResetTopPeerRating"; }); - //messages.getPeerDialogs#e470bcfd peers:Vector = messages.PeerDialogs + ///See public Task Messages_GetPeerDialogs(InputDialogPeerBase[] peers) => CallAsync(writer => { @@ -6887,7 +7882,7 @@ namespace WTelegram // ---functions--- return "Messages_GetPeerDialogs"; }); - //messages.saveDraft#bc39e14b flags:# no_webpage:flags.1?true reply_to_msg_id:flags.0?int peer:InputPeer message:string entities:flags.3?Vector = Bool + ///See public Task Messages_SaveDraft(InputPeer peer, string message, bool no_webpage = false, int? reply_to_msg_id = null, MessageEntity[] entities = null) => CallAsync(writer => { @@ -6902,7 +7897,7 @@ namespace WTelegram // ---functions--- return "Messages_SaveDraft"; }); - //messages.getAllDrafts#6a3f8d65 = Updates + ///See public Task Messages_GetAllDrafts() => CallAsync(writer => { @@ -6910,7 +7905,7 @@ namespace WTelegram // ---functions--- return "Messages_GetAllDrafts"; }); - //messages.getFeaturedStickers#2dacca4f hash:int = messages.FeaturedStickers + ///See public Task Messages_GetFeaturedStickers(int hash) => CallAsync(writer => { @@ -6919,7 +7914,7 @@ namespace WTelegram // ---functions--- return "Messages_GetFeaturedStickers"; }); - //messages.readFeaturedStickers#5b118126 id:Vector = Bool + ///See public Task Messages_ReadFeaturedStickers(long[] id) => CallAsync(writer => { @@ -6928,7 +7923,7 @@ namespace WTelegram // ---functions--- return "Messages_ReadFeaturedStickers"; }); - //messages.getRecentStickers#5ea192c9 flags:# attached:flags.0?true hash:int = messages.RecentStickers + ///See public Task Messages_GetRecentStickers(int hash, bool attached = false) => CallAsync(writer => { @@ -6938,7 +7933,7 @@ namespace WTelegram // ---functions--- return "Messages_GetRecentStickers"; }); - //messages.saveRecentSticker#392718f8 flags:# attached:flags.0?true id:InputDocument unsave:Bool = Bool + ///See public Task Messages_SaveRecentSticker(InputDocumentBase id, bool unsave, bool attached = false) => CallAsync(writer => { @@ -6949,7 +7944,7 @@ namespace WTelegram // ---functions--- return "Messages_SaveRecentSticker"; }); - //messages.clearRecentStickers#8999602d flags:# attached:flags.0?true = Bool + ///See public Task Messages_ClearRecentStickers(bool attached = false) => CallAsync(writer => { @@ -6958,7 +7953,7 @@ namespace WTelegram // ---functions--- return "Messages_ClearRecentStickers"; }); - //messages.getArchivedStickers#57f17692 flags:# masks:flags.0?true offset_id:long limit:int = messages.ArchivedStickers + ///See public Task Messages_GetArchivedStickers(long offset_id, int limit, bool masks = false) => CallAsync(writer => { @@ -6969,7 +7964,7 @@ namespace WTelegram // ---functions--- return "Messages_GetArchivedStickers"; }); - //account.sendConfirmPhoneCode#1b3faa88 hash:string settings:CodeSettings = auth.SentCode + ///See public Task Account_SendConfirmPhoneCode(string hash, CodeSettings settings) => CallAsync(writer => { @@ -6979,7 +7974,7 @@ namespace WTelegram // ---functions--- return "Account_SendConfirmPhoneCode"; }); - //account.confirmPhone#5f2178c3 phone_code_hash:string phone_code:string = Bool + ///See public Task Account_ConfirmPhone(string phone_code_hash, string phone_code) => CallAsync(writer => { @@ -6989,7 +7984,7 @@ namespace WTelegram // ---functions--- return "Account_ConfirmPhone"; }); - //channels.getAdminedPublicChannels#f8b036af flags:# by_location:flags.0?true check_limit:flags.1?true = messages.Chats + ///See public Task Channels_GetAdminedPublicChannels(bool by_location = false, bool check_limit = false) => CallAsync(writer => { @@ -6998,7 +7993,7 @@ namespace WTelegram // ---functions--- return "Channels_GetAdminedPublicChannels"; }); - //messages.getMaskStickers#65b8c79f hash:int = messages.AllStickers + ///See public Task Messages_GetMaskStickers(int hash) => CallAsync(writer => { @@ -7007,7 +8002,7 @@ namespace WTelegram // ---functions--- return "Messages_GetMaskStickers"; }); - //messages.getAttachedStickers#cc5b67cc media:InputStickeredMedia = Vector + ///See public Task Messages_GetAttachedStickers(InputStickeredMedia media) => CallAsync(writer => { @@ -7016,7 +8011,7 @@ namespace WTelegram // ---functions--- return "Messages_GetAttachedStickers"; }); - //auth.dropTempAuthKeys#8e48a188 except_auth_keys:Vector = Bool + ///See public Task Auth_DropTempAuthKeys(long[] except_auth_keys) => CallAsync(writer => { @@ -7025,7 +8020,7 @@ namespace WTelegram // ---functions--- return "Auth_DropTempAuthKeys"; }); - //messages.setGameScore#8ef8ecc0 flags:# edit_message:flags.0?true force:flags.1?true peer:InputPeer id:int user_id:InputUser score:int = Updates + ///See public Task Messages_SetGameScore(InputPeer peer, int id, InputUserBase user_id, int score, bool edit_message = false, bool force = false) => CallAsync(writer => { @@ -7038,7 +8033,7 @@ namespace WTelegram // ---functions--- return "Messages_SetGameScore"; }); - //messages.setInlineGameScore#15ad9f64 flags:# edit_message:flags.0?true force:flags.1?true id:InputBotInlineMessageID user_id:InputUser score:int = Bool + ///See public Task Messages_SetInlineGameScore(InputBotInlineMessageID id, InputUserBase user_id, int score, bool edit_message = false, bool force = false) => CallAsync(writer => { @@ -7050,7 +8045,7 @@ namespace WTelegram // ---functions--- return "Messages_SetInlineGameScore"; }); - //messages.getGameHighScores#e822649d peer:InputPeer id:int user_id:InputUser = messages.HighScores + ///See public Task Messages_GetGameHighScores(InputPeer peer, int id, InputUserBase user_id) => CallAsync(writer => { @@ -7061,7 +8056,7 @@ namespace WTelegram // ---functions--- return "Messages_GetGameHighScores"; }); - //messages.getInlineGameHighScores#0f635e1b id:InputBotInlineMessageID user_id:InputUser = messages.HighScores + ///See public Task Messages_GetInlineGameHighScores(InputBotInlineMessageID id, InputUserBase user_id) => CallAsync(writer => { @@ -7071,7 +8066,7 @@ namespace WTelegram // ---functions--- return "Messages_GetInlineGameHighScores"; }); - //messages.getCommonChats#0d0a48c4 user_id:InputUser max_id:int limit:int = messages.Chats + ///See public Task Messages_GetCommonChats(InputUserBase user_id, int max_id, int limit) => CallAsync(writer => { @@ -7082,7 +8077,7 @@ namespace WTelegram // ---functions--- return "Messages_GetCommonChats"; }); - //messages.getAllChats#eba80ff0 except_ids:Vector = messages.Chats + ///See public Task Messages_GetAllChats(int[] except_ids) => CallAsync(writer => { @@ -7091,7 +8086,7 @@ namespace WTelegram // ---functions--- return "Messages_GetAllChats"; }); - //help.setBotUpdatesStatus#ec22cfcd pending_updates_count:int message:string = Bool + ///See public Task Help_SetBotUpdatesStatus(int pending_updates_count, string message) => CallAsync(writer => { @@ -7101,7 +8096,7 @@ namespace WTelegram // ---functions--- return "Help_SetBotUpdatesStatus"; }); - //messages.getWebPage#32ca8f91 url:string hash:int = WebPage + ///See public Task Messages_GetWebPage(string url, int hash) => CallAsync(writer => { @@ -7111,7 +8106,7 @@ namespace WTelegram // ---functions--- return "Messages_GetWebPage"; }); - //messages.toggleDialogPin#a731e257 flags:# pinned:flags.0?true peer:InputDialogPeer = Bool + ///See public Task Messages_ToggleDialogPin(InputDialogPeerBase peer, bool pinned = false) => CallAsync(writer => { @@ -7121,7 +8116,7 @@ namespace WTelegram // ---functions--- return "Messages_ToggleDialogPin"; }); - //messages.reorderPinnedDialogs#3b1adf37 flags:# force:flags.0?true folder_id:int order:Vector = Bool + ///See public Task Messages_ReorderPinnedDialogs(int folder_id, InputDialogPeerBase[] order, bool force = false) => CallAsync(writer => { @@ -7132,7 +8127,7 @@ namespace WTelegram // ---functions--- return "Messages_ReorderPinnedDialogs"; }); - //messages.getPinnedDialogs#d6b94df2 folder_id:int = messages.PeerDialogs + ///See public Task Messages_GetPinnedDialogs(int folder_id) => CallAsync(writer => { @@ -7141,7 +8136,7 @@ namespace WTelegram // ---functions--- return "Messages_GetPinnedDialogs"; }); - //bots.sendCustomRequest#aa2769ed custom_method:string params:DataJSON = DataJSON + ///See public Task Bots_SendCustomRequest(string custom_method, DataJSON params_) => CallAsync(writer => { @@ -7151,7 +8146,7 @@ namespace WTelegram // ---functions--- return "Bots_SendCustomRequest"; }); - //bots.answerWebhookJSONQuery#e6213f4d query_id:long data:DataJSON = Bool + ///See public Task Bots_AnswerWebhookJSONQuery(long query_id, DataJSON data) => CallAsync(writer => { @@ -7161,7 +8156,7 @@ namespace WTelegram // ---functions--- return "Bots_AnswerWebhookJSONQuery"; }); - //upload.getWebFile#24e6818d location:InputWebFileLocation offset:int limit:int = upload.WebFile + ///See public Task Upload_GetWebFile(InputWebFileLocationBase location, int offset, int limit) => CallAsync(writer => { @@ -7172,7 +8167,7 @@ namespace WTelegram // ---functions--- return "Upload_GetWebFile"; }); - //payments.getPaymentForm#99f09745 msg_id:int = payments.PaymentForm + ///See public Task Payments_GetPaymentForm(int msg_id) => CallAsync(writer => { @@ -7181,7 +8176,7 @@ namespace WTelegram // ---functions--- return "Payments_GetPaymentForm"; }); - //payments.getPaymentReceipt#a092a980 msg_id:int = payments.PaymentReceipt + ///See public Task Payments_GetPaymentReceipt(int msg_id) => CallAsync(writer => { @@ -7190,7 +8185,7 @@ namespace WTelegram // ---functions--- return "Payments_GetPaymentReceipt"; }); - //payments.validateRequestedInfo#770a8e74 flags:# save:flags.0?true msg_id:int info:PaymentRequestedInfo = payments.ValidatedRequestedInfo + ///See public Task Payments_ValidateRequestedInfo(int msg_id, PaymentRequestedInfo info, bool save = false) => CallAsync(writer => { @@ -7201,7 +8196,7 @@ namespace WTelegram // ---functions--- return "Payments_ValidateRequestedInfo"; }); - //payments.sendPaymentForm#2b8879b3 flags:# msg_id:int requested_info_id:flags.0?string shipping_option_id:flags.1?string credentials:InputPaymentCredentials = payments.PaymentResult + ///See public Task Payments_SendPaymentForm(int msg_id, InputPaymentCredentialsBase credentials, string requested_info_id = null, string shipping_option_id = null) => CallAsync(writer => { @@ -7216,7 +8211,7 @@ namespace WTelegram // ---functions--- return "Payments_SendPaymentForm"; }); - //account.getTmpPassword#449e0b51 password:InputCheckPasswordSRP period:int = account.TmpPassword + ///See public Task Account_GetTmpPassword(InputCheckPasswordSRPBase password, int period) => CallAsync(writer => { @@ -7226,7 +8221,7 @@ namespace WTelegram // ---functions--- return "Account_GetTmpPassword"; }); - //payments.getSavedInfo#227d824b = payments.SavedInfo + ///See public Task Payments_GetSavedInfo() => CallAsync(writer => { @@ -7234,7 +8229,7 @@ namespace WTelegram // ---functions--- return "Payments_GetSavedInfo"; }); - //payments.clearSavedInfo#d83d70c1 flags:# credentials:flags.0?true info:flags.1?true = Bool + ///See public Task Payments_ClearSavedInfo(bool credentials = false, bool info = false) => CallAsync(writer => { @@ -7243,7 +8238,7 @@ namespace WTelegram // ---functions--- return "Payments_ClearSavedInfo"; }); - //messages.setBotShippingResults#e5f672fa flags:# query_id:long error:flags.0?string shipping_options:flags.1?Vector = Bool + ///See public Task Messages_SetBotShippingResults(long query_id, string error = null, ShippingOption[] shipping_options = null) => CallAsync(writer => { @@ -7257,7 +8252,7 @@ namespace WTelegram // ---functions--- return "Messages_SetBotShippingResults"; }); - //messages.setBotPrecheckoutResults#09c2dd95 flags:# success:flags.1?true query_id:long error:flags.0?string = Bool + ///See public Task Messages_SetBotPrecheckoutResults(long query_id, bool success = false, string error = null) => CallAsync(writer => { @@ -7269,7 +8264,7 @@ namespace WTelegram // ---functions--- return "Messages_SetBotPrecheckoutResults"; }); - //stickers.createStickerSet#f1036780 flags:# masks:flags.0?true animated:flags.1?true user_id:InputUser title:string short_name:string thumb:flags.2?InputDocument stickers:Vector = messages.StickerSet + ///See public Task Stickers_CreateStickerSet(InputUserBase user_id, string title, string short_name, InputStickerSetItem[] stickers, bool masks = false, bool animated = false, InputDocumentBase thumb = null) => CallAsync(writer => { @@ -7284,7 +8279,7 @@ namespace WTelegram // ---functions--- return "Stickers_CreateStickerSet"; }); - //stickers.removeStickerFromSet#f7760f51 sticker:InputDocument = messages.StickerSet + ///See public Task Stickers_RemoveStickerFromSet(InputDocumentBase sticker) => CallAsync(writer => { @@ -7293,7 +8288,7 @@ namespace WTelegram // ---functions--- return "Stickers_RemoveStickerFromSet"; }); - //stickers.changeStickerPosition#ffb6d4ca sticker:InputDocument position:int = messages.StickerSet + ///See public Task Stickers_ChangeStickerPosition(InputDocumentBase sticker, int position) => CallAsync(writer => { @@ -7303,7 +8298,7 @@ namespace WTelegram // ---functions--- return "Stickers_ChangeStickerPosition"; }); - //stickers.addStickerToSet#8653febe stickerset:InputStickerSet sticker:InputStickerSetItem = messages.StickerSet + ///See public Task Stickers_AddStickerToSet(InputStickerSet stickerset, InputStickerSetItem sticker) => CallAsync(writer => { @@ -7313,7 +8308,7 @@ namespace WTelegram // ---functions--- return "Stickers_AddStickerToSet"; }); - //messages.uploadMedia#519bc2b1 peer:InputPeer media:InputMedia = MessageMedia + ///See public Task Messages_UploadMedia(InputPeer peer, InputMedia media) => CallAsync(writer => { @@ -7323,7 +8318,7 @@ namespace WTelegram // ---functions--- return "Messages_UploadMedia"; }); - //phone.getCallConfig#55451fa9 = DataJSON + ///See public Task Phone_GetCallConfig() => CallAsync(writer => { @@ -7331,7 +8326,7 @@ namespace WTelegram // ---functions--- return "Phone_GetCallConfig"; }); - //phone.requestCall#42ff96ed flags:# video:flags.0?true user_id:InputUser random_id:int g_a_hash:bytes protocol:PhoneCallProtocol = phone.PhoneCall + ///See public Task Phone_RequestCall(InputUserBase user_id, int random_id, byte[] g_a_hash, PhoneCallProtocol protocol, bool video = false) => CallAsync(writer => { @@ -7344,7 +8339,7 @@ namespace WTelegram // ---functions--- return "Phone_RequestCall"; }); - //phone.acceptCall#3bd2b4a0 peer:InputPhoneCall g_b:bytes protocol:PhoneCallProtocol = phone.PhoneCall + ///See public Task Phone_AcceptCall(InputPhoneCall peer, byte[] g_b, PhoneCallProtocol protocol) => CallAsync(writer => { @@ -7355,7 +8350,7 @@ namespace WTelegram // ---functions--- return "Phone_AcceptCall"; }); - //phone.confirmCall#2efe1722 peer:InputPhoneCall g_a:bytes key_fingerprint:long protocol:PhoneCallProtocol = phone.PhoneCall + ///See public Task Phone_ConfirmCall(InputPhoneCall peer, byte[] g_a, long key_fingerprint, PhoneCallProtocol protocol) => CallAsync(writer => { @@ -7367,7 +8362,7 @@ namespace WTelegram // ---functions--- return "Phone_ConfirmCall"; }); - //phone.receivedCall#17d54f61 peer:InputPhoneCall = Bool + ///See public Task Phone_ReceivedCall(InputPhoneCall peer) => CallAsync(writer => { @@ -7376,7 +8371,7 @@ namespace WTelegram // ---functions--- return "Phone_ReceivedCall"; }); - //phone.discardCall#b2cbc1c0 flags:# video:flags.0?true peer:InputPhoneCall duration:int reason:PhoneCallDiscardReason connection_id:long = Updates + ///See public Task Phone_DiscardCall(InputPhoneCall peer, int duration, PhoneCallDiscardReason reason, long connection_id, bool video = false) => CallAsync(writer => { @@ -7389,7 +8384,7 @@ namespace WTelegram // ---functions--- return "Phone_DiscardCall"; }); - //phone.setCallRating#59ead627 flags:# user_initiative:flags.0?true peer:InputPhoneCall rating:int comment:string = Updates + ///See public Task Phone_SetCallRating(InputPhoneCall peer, int rating, string comment, bool user_initiative = false) => CallAsync(writer => { @@ -7401,7 +8396,7 @@ namespace WTelegram // ---functions--- return "Phone_SetCallRating"; }); - //phone.saveCallDebug#277add7e peer:InputPhoneCall debug:DataJSON = Bool + ///See public Task Phone_SaveCallDebug(InputPhoneCall peer, DataJSON debug) => CallAsync(writer => { @@ -7411,7 +8406,7 @@ namespace WTelegram // ---functions--- return "Phone_SaveCallDebug"; }); - //upload.getCdnFile#2000bcc3 file_token:bytes offset:int limit:int = upload.CdnFile + ///See public Task Upload_GetCdnFile(byte[] file_token, int offset, int limit) => CallAsync(writer => { @@ -7422,7 +8417,7 @@ namespace WTelegram // ---functions--- return "Upload_GetCdnFile"; }); - //upload.reuploadCdnFile#9b2754a8 file_token:bytes request_token:bytes = Vector + ///See public Task Upload_ReuploadCdnFile(byte[] file_token, byte[] request_token) => CallAsync(writer => { @@ -7432,7 +8427,7 @@ namespace WTelegram // ---functions--- return "Upload_ReuploadCdnFile"; }); - //help.getCdnConfig#52029342 = CdnConfig + ///See public Task Help_GetCdnConfig() => CallAsync(writer => { @@ -7440,7 +8435,7 @@ namespace WTelegram // ---functions--- return "Help_GetCdnConfig"; }); - //langpack.getLangPack#f2f2330a lang_pack:string lang_code:string = LangPackDifference + ///See public Task Langpack_GetLangPack(string lang_pack, string lang_code) => CallAsync(writer => { @@ -7450,7 +8445,7 @@ namespace WTelegram // ---functions--- return "Langpack_GetLangPack"; }); - //langpack.getStrings#efea3803 lang_pack:string lang_code:string keys:Vector = Vector + ///See public Task Langpack_GetStrings(string lang_pack, string lang_code, string[] keys) => CallAsync(writer => { @@ -7461,7 +8456,7 @@ namespace WTelegram // ---functions--- return "Langpack_GetStrings"; }); - //langpack.getDifference#cd984aa5 lang_pack:string lang_code:string from_version:int = LangPackDifference + ///See public Task Langpack_GetDifference(string lang_pack, string lang_code, int from_version) => CallAsync(writer => { @@ -7472,7 +8467,7 @@ namespace WTelegram // ---functions--- return "Langpack_GetDifference"; }); - //langpack.getLanguages#42c6978f lang_pack:string = Vector + ///See public Task Langpack_GetLanguages(string lang_pack) => CallAsync(writer => { @@ -7481,7 +8476,7 @@ namespace WTelegram // ---functions--- return "Langpack_GetLanguages"; }); - //channels.editBanned#72796912 channel:InputChannel user_id:InputUser banned_rights:ChatBannedRights = Updates + ///See public Task Channels_EditBanned(InputChannelBase channel, InputUserBase user_id, ChatBannedRights banned_rights) => CallAsync(writer => { @@ -7492,7 +8487,7 @@ namespace WTelegram // ---functions--- return "Channels_EditBanned"; }); - //channels.getAdminLog#33ddf480 flags:# channel:InputChannel q:string events_filter:flags.0?ChannelAdminLogEventsFilter admins:flags.1?Vector max_id:long min_id:long limit:int = channels.AdminLogResults + ///See public Task Channels_GetAdminLog(InputChannelBase channel, string q, long max_id, long min_id, int limit, ChannelAdminLogEventsFilter events_filter = null, InputUserBase[] admins = null) => CallAsync(writer => { @@ -7510,7 +8505,7 @@ namespace WTelegram // ---functions--- return "Channels_GetAdminLog"; }); - //upload.getCdnFileHashes#4da54231 file_token:bytes offset:int = Vector + ///See public Task Upload_GetCdnFileHashes(byte[] file_token, int offset) => CallAsync(writer => { @@ -7520,7 +8515,7 @@ namespace WTelegram // ---functions--- return "Upload_GetCdnFileHashes"; }); - //messages.sendScreenshotNotification#c97df020 peer:InputPeer reply_to_msg_id:int random_id:long = Updates + ///See public Task Messages_SendScreenshotNotification(InputPeer peer, int reply_to_msg_id, long random_id) => CallAsync(writer => { @@ -7531,7 +8526,7 @@ namespace WTelegram // ---functions--- return "Messages_SendScreenshotNotification"; }); - //channels.setStickers#ea8ca4f9 channel:InputChannel stickerset:InputStickerSet = Bool + ///See public Task Channels_SetStickers(InputChannelBase channel, InputStickerSet stickerset) => CallAsync(writer => { @@ -7541,7 +8536,7 @@ namespace WTelegram // ---functions--- return "Channels_SetStickers"; }); - //messages.getFavedStickers#21ce0b0e hash:int = messages.FavedStickers + ///See public Task Messages_GetFavedStickers(int hash) => CallAsync(writer => { @@ -7550,7 +8545,7 @@ namespace WTelegram // ---functions--- return "Messages_GetFavedStickers"; }); - //messages.faveSticker#b9ffc55b id:InputDocument unfave:Bool = Bool + ///See public Task Messages_FaveSticker(InputDocumentBase id, bool unfave) => CallAsync(writer => { @@ -7560,7 +8555,7 @@ namespace WTelegram // ---functions--- return "Messages_FaveSticker"; }); - //channels.readMessageContents#eab5dc38 channel:InputChannel id:Vector = Bool + ///See public Task Channels_ReadMessageContents(InputChannelBase channel, int[] id) => CallAsync(writer => { @@ -7570,7 +8565,7 @@ namespace WTelegram // ---functions--- return "Channels_ReadMessageContents"; }); - //contacts.resetSaved#879537f1 = Bool + ///See public Task Contacts_ResetSaved() => CallAsync(writer => { @@ -7578,7 +8573,7 @@ namespace WTelegram // ---functions--- return "Contacts_ResetSaved"; }); - //messages.getUnreadMentions#46578472 peer:InputPeer offset_id:int add_offset:int limit:int max_id:int min_id:int = messages.Messages + ///See public Task Messages_GetUnreadMentions(InputPeer peer, int offset_id, int add_offset, int limit, int max_id, int min_id) => CallAsync(writer => { @@ -7592,7 +8587,7 @@ namespace WTelegram // ---functions--- return "Messages_GetUnreadMentions"; }); - //channels.deleteHistory#af369d42 channel:InputChannel max_id:int = Bool + ///See public Task Channels_DeleteHistory(InputChannelBase channel, int max_id) => CallAsync(writer => { @@ -7602,7 +8597,7 @@ namespace WTelegram // ---functions--- return "Channels_DeleteHistory"; }); - //help.getRecentMeUrls#3dc0f114 referer:string = help.RecentMeUrls + ///See public Task Help_GetRecentMeUrls(string referer) => CallAsync(writer => { @@ -7611,7 +8606,7 @@ namespace WTelegram // ---functions--- return "Help_GetRecentMeUrls"; }); - //channels.togglePreHistoryHidden#eabbb94c channel:InputChannel enabled:Bool = Updates + ///See public Task Channels_TogglePreHistoryHidden(InputChannelBase channel, bool enabled) => CallAsync(writer => { @@ -7621,7 +8616,7 @@ namespace WTelegram // ---functions--- return "Channels_TogglePreHistoryHidden"; }); - //messages.readMentions#0f0189d3 peer:InputPeer = messages.AffectedHistory + ///See public Task Messages_ReadMentions(InputPeer peer) => CallAsync(writer => { @@ -7630,7 +8625,7 @@ namespace WTelegram // ---functions--- return "Messages_ReadMentions"; }); - //messages.getRecentLocations#bbc45b09 peer:InputPeer limit:int hash:int = messages.Messages + ///See public Task Messages_GetRecentLocations(InputPeer peer, int limit, int hash) => CallAsync(writer => { @@ -7641,7 +8636,7 @@ namespace WTelegram // ---functions--- return "Messages_GetRecentLocations"; }); - //messages.sendMultiMedia#cc0110cb flags:# silent:flags.5?true background:flags.6?true clear_draft:flags.7?true peer:InputPeer reply_to_msg_id:flags.0?int multi_media:Vector schedule_date:flags.10?int = Updates + ///See public Task Messages_SendMultiMedia(InputPeer peer, InputSingleMedia[] multi_media, bool silent = false, bool background = false, bool clear_draft = false, int? reply_to_msg_id = null, DateTime? schedule_date = null) => CallAsync(writer => { @@ -7656,7 +8651,7 @@ namespace WTelegram // ---functions--- return "Messages_SendMultiMedia"; }); - //messages.uploadEncryptedFile#5057c497 peer:InputEncryptedChat file:InputEncryptedFile = EncryptedFile + ///See public Task Messages_UploadEncryptedFile(InputEncryptedChat peer, InputEncryptedFileBase file) => CallAsync(writer => { @@ -7666,7 +8661,7 @@ namespace WTelegram // ---functions--- return "Messages_UploadEncryptedFile"; }); - //account.getWebAuthorizations#182e6d6f = account.WebAuthorizations + ///See public Task Account_GetWebAuthorizations() => CallAsync(writer => { @@ -7674,7 +8669,7 @@ namespace WTelegram // ---functions--- return "Account_GetWebAuthorizations"; }); - //account.resetWebAuthorization#2d01b9ef hash:long = Bool + ///See public Task Account_ResetWebAuthorization(long hash) => CallAsync(writer => { @@ -7683,7 +8678,7 @@ namespace WTelegram // ---functions--- return "Account_ResetWebAuthorization"; }); - //account.resetWebAuthorizations#682d2594 = Bool + ///See public Task Account_ResetWebAuthorizations() => CallAsync(writer => { @@ -7691,7 +8686,7 @@ namespace WTelegram // ---functions--- return "Account_ResetWebAuthorizations"; }); - //messages.searchStickerSets#c2b7d08b flags:# exclude_featured:flags.0?true q:string hash:int = messages.FoundStickerSets + ///See public Task Messages_SearchStickerSets(string q, int hash, bool exclude_featured = false) => CallAsync(writer => { @@ -7702,7 +8697,7 @@ namespace WTelegram // ---functions--- return "Messages_SearchStickerSets"; }); - //upload.getFileHashes#c7025931 location:InputFileLocation offset:int = Vector + ///See public Task Upload_GetFileHashes(InputFileLocationBase location, int offset) => CallAsync(writer => { @@ -7712,7 +8707,7 @@ namespace WTelegram // ---functions--- return "Upload_GetFileHashes"; }); - //help.getTermsOfServiceUpdate#2ca51fd1 = help.TermsOfServiceUpdate + ///See public Task Help_GetTermsOfServiceUpdate() => CallAsync(writer => { @@ -7720,7 +8715,7 @@ namespace WTelegram // ---functions--- return "Help_GetTermsOfServiceUpdate"; }); - //help.acceptTermsOfService#ee72f79a id:DataJSON = Bool + ///See public Task Help_AcceptTermsOfService(DataJSON id) => CallAsync(writer => { @@ -7729,7 +8724,7 @@ namespace WTelegram // ---functions--- return "Help_AcceptTermsOfService"; }); - //account.getAllSecureValues#b288bc7d = Vector + ///See public Task Account_GetAllSecureValues() => CallAsync(writer => { @@ -7737,7 +8732,7 @@ namespace WTelegram // ---functions--- return "Account_GetAllSecureValues"; }); - //account.getSecureValue#73665bc2 types:Vector = Vector + ///See public Task Account_GetSecureValue(SecureValueType[] types) => CallAsync(writer => { @@ -7746,7 +8741,7 @@ namespace WTelegram // ---functions--- return "Account_GetSecureValue"; }); - //account.saveSecureValue#899fe31d value:InputSecureValue secure_secret_id:long = SecureValue + ///See public Task Account_SaveSecureValue(InputSecureValue value, long secure_secret_id) => CallAsync(writer => { @@ -7756,7 +8751,7 @@ namespace WTelegram // ---functions--- return "Account_SaveSecureValue"; }); - //account.deleteSecureValue#b880bc4b types:Vector = Bool + ///See public Task Account_DeleteSecureValue(SecureValueType[] types) => CallAsync(writer => { @@ -7765,7 +8760,7 @@ namespace WTelegram // ---functions--- return "Account_DeleteSecureValue"; }); - //users.setSecureValueErrors#90c894b5 id:InputUser errors:Vector = Bool + ///See public Task Users_SetSecureValueErrors(InputUserBase id, SecureValueErrorBase[] errors) => CallAsync(writer => { @@ -7775,7 +8770,7 @@ namespace WTelegram // ---functions--- return "Users_SetSecureValueErrors"; }); - //account.getAuthorizationForm#b86ba8e1 bot_id:int scope:string public_key:string = account.AuthorizationForm + ///See public Task Account_GetAuthorizationForm(int bot_id, string scope, string public_key) => CallAsync(writer => { @@ -7786,7 +8781,7 @@ namespace WTelegram // ---functions--- return "Account_GetAuthorizationForm"; }); - //account.acceptAuthorization#e7027c94 bot_id:int scope:string public_key:string value_hashes:Vector credentials:SecureCredentialsEncrypted = Bool + ///See public Task Account_AcceptAuthorization(int bot_id, string scope, string public_key, SecureValueHash[] value_hashes, SecureCredentialsEncrypted credentials) => CallAsync(writer => { @@ -7799,7 +8794,7 @@ namespace WTelegram // ---functions--- return "Account_AcceptAuthorization"; }); - //account.sendVerifyPhoneCode#a5a356f9 phone_number:string settings:CodeSettings = auth.SentCode + ///See public Task Account_SendVerifyPhoneCode(string phone_number, CodeSettings settings) => CallAsync(writer => { @@ -7809,7 +8804,7 @@ namespace WTelegram // ---functions--- return "Account_SendVerifyPhoneCode"; }); - //account.verifyPhone#4dd3a7f6 phone_number:string phone_code_hash:string phone_code:string = Bool + ///See public Task Account_VerifyPhone(string phone_number, string phone_code_hash, string phone_code) => CallAsync(writer => { @@ -7820,7 +8815,7 @@ namespace WTelegram // ---functions--- return "Account_VerifyPhone"; }); - //account.sendVerifyEmailCode#7011509f email:string = account.SentEmailCode + ///See public Task Account_SendVerifyEmailCode(string email) => CallAsync(writer => { @@ -7829,7 +8824,7 @@ namespace WTelegram // ---functions--- return "Account_SendVerifyEmailCode"; }); - //account.verifyEmail#ecba39db email:string code:string = Bool + ///See public Task Account_VerifyEmail(string email, string code) => CallAsync(writer => { @@ -7839,7 +8834,7 @@ namespace WTelegram // ---functions--- return "Account_VerifyEmail"; }); - //help.getDeepLinkInfo#3fedc75f path:string = help.DeepLinkInfo + ///See public Task Help_GetDeepLinkInfo(string path) => CallAsync(writer => { @@ -7848,7 +8843,7 @@ namespace WTelegram // ---functions--- return "Help_GetDeepLinkInfo"; }); - //contacts.getSaved#82f1e39f = Vector + ///See public Task Contacts_GetSaved() => CallAsync(writer => { @@ -7856,7 +8851,7 @@ namespace WTelegram // ---functions--- return "Contacts_GetSaved"; }); - //channels.getLeftChannels#8341ecc0 offset:int = messages.Chats + ///See public Task Channels_GetLeftChannels(int offset) => CallAsync(writer => { @@ -7865,7 +8860,7 @@ namespace WTelegram // ---functions--- return "Channels_GetLeftChannels"; }); - //account.initTakeoutSession#f05b4804 flags:# contacts:flags.0?true message_users:flags.1?true message_chats:flags.2?true message_megagroups:flags.3?true message_channels:flags.4?true files:flags.5?true file_max_size:flags.5?int = account.Takeout + ///See public Task Account_InitTakeoutSession(bool contacts = false, bool message_users = false, bool message_chats = false, bool message_megagroups = false, bool message_channels = false, bool files = false, int? file_max_size = null) => CallAsync(writer => { @@ -7876,7 +8871,7 @@ namespace WTelegram // ---functions--- return "Account_InitTakeoutSession"; }); - //account.finishTakeoutSession#1d2652ee flags:# success:flags.0?true = Bool + ///See public Task Account_FinishTakeoutSession(bool success = false) => CallAsync(writer => { @@ -7885,7 +8880,7 @@ namespace WTelegram // ---functions--- return "Account_FinishTakeoutSession"; }); - //messages.getSplitRanges#1cff7e08 = Vector + ///See public Task Messages_GetSplitRanges() => CallAsync(writer => { @@ -7893,7 +8888,7 @@ namespace WTelegram // ---functions--- return "Messages_GetSplitRanges"; }); - //invokeWithMessagesRange#365275f2 {X:Type} range:MessageRange query:!X = X + ///See public Task InvokeWithMessagesRange(MessageRange range, ITLFunction query) => CallAsync(writer => { @@ -7903,7 +8898,7 @@ namespace WTelegram // ---functions--- return "InvokeWithMessagesRange"; }); - //invokeWithTakeout#aca9fd2e {X:Type} takeout_id:long query:!X = X + ///See public Task InvokeWithTakeout(long takeout_id, ITLFunction query) => CallAsync(writer => { @@ -7913,7 +8908,7 @@ namespace WTelegram // ---functions--- return "InvokeWithTakeout"; }); - //messages.markDialogUnread#c286d98f flags:# unread:flags.0?true peer:InputDialogPeer = Bool + ///See public Task Messages_MarkDialogUnread(InputDialogPeerBase peer, bool unread = false) => CallAsync(writer => { @@ -7923,7 +8918,7 @@ namespace WTelegram // ---functions--- return "Messages_MarkDialogUnread"; }); - //messages.getDialogUnreadMarks#22e24e22 = Vector + ///See public Task Messages_GetDialogUnreadMarks() => CallAsync(writer => { @@ -7931,7 +8926,7 @@ namespace WTelegram // ---functions--- return "Messages_GetDialogUnreadMarks"; }); - //contacts.toggleTopPeers#8514bdda enabled:Bool = Bool + ///See public Task Contacts_ToggleTopPeers(bool enabled) => CallAsync(writer => { @@ -7940,7 +8935,7 @@ namespace WTelegram // ---functions--- return "Contacts_ToggleTopPeers"; }); - //messages.clearAllDrafts#7e58ee9c = Bool + ///See public Task Messages_ClearAllDrafts() => CallAsync(writer => { @@ -7948,7 +8943,7 @@ namespace WTelegram // ---functions--- return "Messages_ClearAllDrafts"; }); - //help.getAppConfig#98914110 = JSONValue + ///See public Task Help_GetAppConfig() => CallAsync(writer => { @@ -7956,7 +8951,7 @@ namespace WTelegram // ---functions--- return "Help_GetAppConfig"; }); - //help.saveAppLog#6f02f748 events:Vector = Bool + ///See public Task Help_SaveAppLog(InputAppEvent[] events) => CallAsync(writer => { @@ -7965,7 +8960,7 @@ namespace WTelegram // ---functions--- return "Help_SaveAppLog"; }); - //help.getPassportConfig#c661ad08 hash:int = help.PassportConfig + ///See public Task Help_GetPassportConfig(int hash) => CallAsync(writer => { @@ -7974,7 +8969,7 @@ namespace WTelegram // ---functions--- return "Help_GetPassportConfig"; }); - //langpack.getLanguage#6a596502 lang_pack:string lang_code:string = LangPackLanguage + ///See public Task Langpack_GetLanguage(string lang_pack, string lang_code) => CallAsync(writer => { @@ -7984,7 +8979,7 @@ namespace WTelegram // ---functions--- return "Langpack_GetLanguage"; }); - //messages.updatePinnedMessage#d2aaf7ec flags:# silent:flags.0?true unpin:flags.1?true pm_oneside:flags.2?true peer:InputPeer id:int = Updates + ///See public Task Messages_UpdatePinnedMessage(InputPeer peer, int id, bool silent = false, bool unpin = false, bool pm_oneside = false) => CallAsync(writer => { @@ -7995,7 +8990,7 @@ namespace WTelegram // ---functions--- return "Messages_UpdatePinnedMessage"; }); - //account.confirmPasswordEmail#8fdf1920 code:string = Bool + ///See public Task Account_ConfirmPasswordEmail(string code) => CallAsync(writer => { @@ -8004,7 +8999,7 @@ namespace WTelegram // ---functions--- return "Account_ConfirmPasswordEmail"; }); - //account.resendPasswordEmail#7a7f2a15 = Bool + ///See public Task Account_ResendPasswordEmail() => CallAsync(writer => { @@ -8012,7 +9007,7 @@ namespace WTelegram // ---functions--- return "Account_ResendPasswordEmail"; }); - //account.cancelPasswordEmail#c1cbd5b6 = Bool + ///See public Task Account_CancelPasswordEmail() => CallAsync(writer => { @@ -8020,7 +9015,7 @@ namespace WTelegram // ---functions--- return "Account_CancelPasswordEmail"; }); - //help.getSupportName#d360e72c = help.SupportName + ///See public Task Help_GetSupportName() => CallAsync(writer => { @@ -8028,7 +9023,7 @@ namespace WTelegram // ---functions--- return "Help_GetSupportName"; }); - //help.getUserInfo#038a08d3 user_id:InputUser = help.UserInfo + ///See public Task Help_GetUserInfo(InputUserBase user_id) => CallAsync(writer => { @@ -8037,7 +9032,7 @@ namespace WTelegram // ---functions--- return "Help_GetUserInfo"; }); - //help.editUserInfo#66b91b70 user_id:InputUser message:string entities:Vector = help.UserInfo + ///See public Task Help_EditUserInfo(InputUserBase user_id, string message, MessageEntity[] entities) => CallAsync(writer => { @@ -8048,7 +9043,7 @@ namespace WTelegram // ---functions--- return "Help_EditUserInfo"; }); - //account.getContactSignUpNotification#9f07c728 = Bool + ///See public Task Account_GetContactSignUpNotification() => CallAsync(writer => { @@ -8056,7 +9051,7 @@ namespace WTelegram // ---functions--- return "Account_GetContactSignUpNotification"; }); - //account.setContactSignUpNotification#cff43f61 silent:Bool = Bool + ///See public Task Account_SetContactSignUpNotification(bool silent) => CallAsync(writer => { @@ -8065,7 +9060,7 @@ namespace WTelegram // ---functions--- return "Account_SetContactSignUpNotification"; }); - //account.getNotifyExceptions#53577479 flags:# compare_sound:flags.1?true peer:flags.0?InputNotifyPeer = Updates + ///See public Task Account_GetNotifyExceptions(bool compare_sound = false, InputNotifyPeerBase peer = null) => CallAsync(writer => { @@ -8076,7 +9071,7 @@ namespace WTelegram // ---functions--- return "Account_GetNotifyExceptions"; }); - //messages.sendVote#10ea6184 peer:InputPeer msg_id:int options:Vector = Updates + ///See public Task Messages_SendVote(InputPeer peer, int msg_id, byte[][] options) => CallAsync(writer => { @@ -8087,7 +9082,7 @@ namespace WTelegram // ---functions--- return "Messages_SendVote"; }); - //messages.getPollResults#73bb643b peer:InputPeer msg_id:int = Updates + ///See public Task Messages_GetPollResults(InputPeer peer, int msg_id) => CallAsync(writer => { @@ -8097,7 +9092,7 @@ namespace WTelegram // ---functions--- return "Messages_GetPollResults"; }); - //messages.getOnlines#6e2be050 peer:InputPeer = ChatOnlines + ///See public Task Messages_GetOnlines(InputPeer peer) => CallAsync(writer => { @@ -8106,7 +9101,7 @@ namespace WTelegram // ---functions--- return "Messages_GetOnlines"; }); - //messages.getStatsURL#812c2ae6 flags:# dark:flags.0?true peer:InputPeer params:string = StatsURL + ///See public Task Messages_GetStatsURL(InputPeer peer, string params_, bool dark = false) => CallAsync(writer => { @@ -8117,7 +9112,7 @@ namespace WTelegram // ---functions--- return "Messages_GetStatsURL"; }); - //messages.editChatAbout#def60797 peer:InputPeer about:string = Bool + ///See public Task Messages_EditChatAbout(InputPeer peer, string about) => CallAsync(writer => { @@ -8127,7 +9122,7 @@ namespace WTelegram // ---functions--- return "Messages_EditChatAbout"; }); - //messages.editChatDefaultBannedRights#a5866b41 peer:InputPeer banned_rights:ChatBannedRights = Updates + ///See public Task Messages_EditChatDefaultBannedRights(InputPeer peer, ChatBannedRights banned_rights) => CallAsync(writer => { @@ -8137,7 +9132,7 @@ namespace WTelegram // ---functions--- return "Messages_EditChatDefaultBannedRights"; }); - //account.getWallPaper#fc8ddbea wallpaper:InputWallPaper = WallPaper + ///See public Task Account_GetWallPaper(InputWallPaperBase wallpaper) => CallAsync(writer => { @@ -8146,7 +9141,7 @@ namespace WTelegram // ---functions--- return "Account_GetWallPaper"; }); - //account.uploadWallPaper#dd853661 file:InputFile mime_type:string settings:WallPaperSettings = WallPaper + ///See public Task Account_UploadWallPaper(InputFileBase file, string mime_type, WallPaperSettings settings) => CallAsync(writer => { @@ -8157,7 +9152,7 @@ namespace WTelegram // ---functions--- return "Account_UploadWallPaper"; }); - //account.saveWallPaper#6c5a5b37 wallpaper:InputWallPaper unsave:Bool settings:WallPaperSettings = Bool + ///See public Task Account_SaveWallPaper(InputWallPaperBase wallpaper, bool unsave, WallPaperSettings settings) => CallAsync(writer => { @@ -8168,7 +9163,7 @@ namespace WTelegram // ---functions--- return "Account_SaveWallPaper"; }); - //account.installWallPaper#feed5769 wallpaper:InputWallPaper settings:WallPaperSettings = Bool + ///See public Task Account_InstallWallPaper(InputWallPaperBase wallpaper, WallPaperSettings settings) => CallAsync(writer => { @@ -8178,7 +9173,7 @@ namespace WTelegram // ---functions--- return "Account_InstallWallPaper"; }); - //account.resetWallPapers#bb3b9804 = Bool + ///See public Task Account_ResetWallPapers() => CallAsync(writer => { @@ -8186,7 +9181,7 @@ namespace WTelegram // ---functions--- return "Account_ResetWallPapers"; }); - //account.getAutoDownloadSettings#56da0b3f = account.AutoDownloadSettings + ///See public Task Account_GetAutoDownloadSettings() => CallAsync(writer => { @@ -8194,7 +9189,7 @@ namespace WTelegram // ---functions--- return "Account_GetAutoDownloadSettings"; }); - //account.saveAutoDownloadSettings#76f36233 flags:# low:flags.0?true high:flags.1?true settings:AutoDownloadSettings = Bool + ///See public Task Account_SaveAutoDownloadSettings(AutoDownloadSettings settings, bool low = false, bool high = false) => CallAsync(writer => { @@ -8204,7 +9199,7 @@ namespace WTelegram // ---functions--- return "Account_SaveAutoDownloadSettings"; }); - //messages.getEmojiKeywords#35a0e062 lang_code:string = EmojiKeywordsDifference + ///See public Task Messages_GetEmojiKeywords(string lang_code) => CallAsync(writer => { @@ -8213,7 +9208,7 @@ namespace WTelegram // ---functions--- return "Messages_GetEmojiKeywords"; }); - //messages.getEmojiKeywordsDifference#1508b6af lang_code:string from_version:int = EmojiKeywordsDifference + ///See public Task Messages_GetEmojiKeywordsDifference(string lang_code, int from_version) => CallAsync(writer => { @@ -8223,7 +9218,7 @@ namespace WTelegram // ---functions--- return "Messages_GetEmojiKeywordsDifference"; }); - //messages.getEmojiKeywordsLanguages#4e9963b2 lang_codes:Vector = Vector + ///See public Task Messages_GetEmojiKeywordsLanguages(string[] lang_codes) => CallAsync(writer => { @@ -8232,7 +9227,7 @@ namespace WTelegram // ---functions--- return "Messages_GetEmojiKeywordsLanguages"; }); - //messages.getEmojiURL#d5b10c26 lang_code:string = EmojiURL + ///See public Task Messages_GetEmojiURL(string lang_code) => CallAsync(writer => { @@ -8241,7 +9236,7 @@ namespace WTelegram // ---functions--- return "Messages_GetEmojiURL"; }); - //folders.editPeerFolders#6847d0ab folder_peers:Vector = Updates + ///See public Task Folders_EditPeerFolders(InputFolderPeer[] folder_peers) => CallAsync(writer => { @@ -8250,7 +9245,7 @@ namespace WTelegram // ---functions--- return "Folders_EditPeerFolders"; }); - //folders.deleteFolder#1c295881 folder_id:int = Updates + ///See public Task Folders_DeleteFolder(int folder_id) => CallAsync(writer => { @@ -8259,7 +9254,7 @@ namespace WTelegram // ---functions--- return "Folders_DeleteFolder"; }); - //messages.getSearchCounters#732eef00 peer:InputPeer filters:Vector = Vector + ///See public Task Messages_GetSearchCounters(InputPeer peer, MessagesFilter[] filters) => CallAsync(writer => { @@ -8269,7 +9264,7 @@ namespace WTelegram // ---functions--- return "Messages_GetSearchCounters"; }); - //channels.getGroupsForDiscussion#f5dad378 = messages.Chats + ///See public Task Channels_GetGroupsForDiscussion() => CallAsync(writer => { @@ -8277,7 +9272,7 @@ namespace WTelegram // ---functions--- return "Channels_GetGroupsForDiscussion"; }); - //channels.setDiscussionGroup#40582bb2 broadcast:InputChannel group:InputChannel = Bool + ///See public Task Channels_SetDiscussionGroup(InputChannelBase broadcast, InputChannelBase group) => CallAsync(writer => { @@ -8287,7 +9282,7 @@ namespace WTelegram // ---functions--- return "Channels_SetDiscussionGroup"; }); - //messages.requestUrlAuth#e33f5613 peer:InputPeer msg_id:int button_id:int = UrlAuthResult + ///See public Task Messages_RequestUrlAuth(InputPeer peer, int msg_id, int button_id) => CallAsync(writer => { @@ -8298,7 +9293,7 @@ namespace WTelegram // ---functions--- return "Messages_RequestUrlAuth"; }); - //messages.acceptUrlAuth#f729ea98 flags:# write_allowed:flags.0?true peer:InputPeer msg_id:int button_id:int = UrlAuthResult + ///See public Task Messages_AcceptUrlAuth(InputPeer peer, int msg_id, int button_id, bool write_allowed = false) => CallAsync(writer => { @@ -8310,7 +9305,7 @@ namespace WTelegram // ---functions--- return "Messages_AcceptUrlAuth"; }); - //messages.hidePeerSettingsBar#4facb138 peer:InputPeer = Bool + ///See public Task Messages_HidePeerSettingsBar(InputPeer peer) => CallAsync(writer => { @@ -8319,7 +9314,7 @@ namespace WTelegram // ---functions--- return "Messages_HidePeerSettingsBar"; }); - //contacts.addContact#e8f463d0 flags:# add_phone_privacy_exception:flags.0?true id:InputUser first_name:string last_name:string phone:string = Updates + ///See public Task Contacts_AddContact(InputUserBase id, string first_name, string last_name, string phone, bool add_phone_privacy_exception = false) => CallAsync(writer => { @@ -8332,7 +9327,7 @@ namespace WTelegram // ---functions--- return "Contacts_AddContact"; }); - //contacts.acceptContact#f831a20f id:InputUser = Updates + ///See public Task Contacts_AcceptContact(InputUserBase id) => CallAsync(writer => { @@ -8341,7 +9336,7 @@ namespace WTelegram // ---functions--- return "Contacts_AcceptContact"; }); - //channels.editCreator#8f38cd1f channel:InputChannel user_id:InputUser password:InputCheckPasswordSRP = Updates + ///See public Task Channels_EditCreator(InputChannelBase channel, InputUserBase user_id, InputCheckPasswordSRPBase password) => CallAsync(writer => { @@ -8352,7 +9347,7 @@ namespace WTelegram // ---functions--- return "Channels_EditCreator"; }); - //contacts.getLocated#d348bc44 flags:# background:flags.1?true geo_point:InputGeoPoint self_expires:flags.0?int = Updates + ///See public Task Contacts_GetLocated(InputGeoPointBase geo_point, bool background = false, int? self_expires = null) => CallAsync(writer => { @@ -8364,7 +9359,7 @@ namespace WTelegram // ---functions--- return "Contacts_GetLocated"; }); - //channels.editLocation#58e63f6d channel:InputChannel geo_point:InputGeoPoint address:string = Bool + ///See public Task Channels_EditLocation(InputChannelBase channel, InputGeoPointBase geo_point, string address) => CallAsync(writer => { @@ -8375,7 +9370,7 @@ namespace WTelegram // ---functions--- return "Channels_EditLocation"; }); - //channels.toggleSlowMode#edd49ef0 channel:InputChannel seconds:int = Updates + ///See public Task Channels_ToggleSlowMode(InputChannelBase channel, int seconds) => CallAsync(writer => { @@ -8385,7 +9380,7 @@ namespace WTelegram // ---functions--- return "Channels_ToggleSlowMode"; }); - //messages.getScheduledHistory#e2c2685b peer:InputPeer hash:int = messages.Messages + ///See public Task Messages_GetScheduledHistory(InputPeer peer, int hash) => CallAsync(writer => { @@ -8395,7 +9390,7 @@ namespace WTelegram // ---functions--- return "Messages_GetScheduledHistory"; }); - //messages.getScheduledMessages#bdbb0464 peer:InputPeer id:Vector = messages.Messages + ///See public Task Messages_GetScheduledMessages(InputPeer peer, int[] id) => CallAsync(writer => { @@ -8405,7 +9400,7 @@ namespace WTelegram // ---functions--- return "Messages_GetScheduledMessages"; }); - //messages.sendScheduledMessages#bd38850a peer:InputPeer id:Vector = Updates + ///See public Task Messages_SendScheduledMessages(InputPeer peer, int[] id) => CallAsync(writer => { @@ -8415,7 +9410,7 @@ namespace WTelegram // ---functions--- return "Messages_SendScheduledMessages"; }); - //messages.deleteScheduledMessages#59ae2b16 peer:InputPeer id:Vector = Updates + ///See public Task Messages_DeleteScheduledMessages(InputPeer peer, int[] id) => CallAsync(writer => { @@ -8425,7 +9420,7 @@ namespace WTelegram // ---functions--- return "Messages_DeleteScheduledMessages"; }); - //account.uploadTheme#1c3db333 flags:# file:InputFile thumb:flags.0?InputFile file_name:string mime_type:string = Document + ///See public Task Account_UploadTheme(InputFileBase file, string file_name, string mime_type, InputFileBase thumb = null) => CallAsync(writer => { @@ -8439,7 +9434,7 @@ namespace WTelegram // ---functions--- return "Account_UploadTheme"; }); - //account.createTheme#8432c21f flags:# slug:string title:string document:flags.2?InputDocument settings:flags.3?InputThemeSettings = Theme + ///See public Task Account_CreateTheme(string slug, string title, InputDocumentBase document = null, InputThemeSettings settings = null) => CallAsync(writer => { @@ -8454,7 +9449,7 @@ namespace WTelegram // ---functions--- return "Account_CreateTheme"; }); - //account.updateTheme#5cb367d5 flags:# format:string theme:InputTheme slug:flags.0?string title:flags.1?string document:flags.2?InputDocument settings:flags.3?InputThemeSettings = Theme + ///See public Task Account_UpdateTheme(string format, InputThemeBase theme, string slug = null, string title = null, InputDocumentBase document = null, InputThemeSettings settings = null) => CallAsync(writer => { @@ -8473,7 +9468,7 @@ namespace WTelegram // ---functions--- return "Account_UpdateTheme"; }); - //account.saveTheme#f257106c theme:InputTheme unsave:Bool = Bool + ///See public Task Account_SaveTheme(InputThemeBase theme, bool unsave) => CallAsync(writer => { @@ -8483,7 +9478,7 @@ namespace WTelegram // ---functions--- return "Account_SaveTheme"; }); - //account.installTheme#7ae43737 flags:# dark:flags.0?true format:flags.1?string theme:flags.1?InputTheme = Bool + ///See public Task Account_InstallTheme(bool dark = false, string format = null, InputThemeBase theme = null) => CallAsync(writer => { @@ -8496,7 +9491,7 @@ namespace WTelegram // ---functions--- return "Account_InstallTheme"; }); - //account.getTheme#8d9d742b format:string theme:InputTheme document_id:long = Theme + ///See public Task Account_GetTheme(string format, InputThemeBase theme, long document_id) => CallAsync(writer => { @@ -8507,7 +9502,7 @@ namespace WTelegram // ---functions--- return "Account_GetTheme"; }); - //account.getThemes#285946f8 format:string hash:int = account.Themes + ///See public Task Account_GetThemes(string format, int hash) => CallAsync(writer => { @@ -8517,7 +9512,7 @@ namespace WTelegram // ---functions--- return "Account_GetThemes"; }); - //auth.exportLoginToken#b1b41517 api_id:int api_hash:string except_ids:Vector = auth.LoginToken + ///See public Task Auth_ExportLoginToken(int api_id, string api_hash, int[] except_ids) => CallAsync(writer => { @@ -8528,7 +9523,7 @@ namespace WTelegram // ---functions--- return "Auth_ExportLoginToken"; }); - //auth.importLoginToken#95ac5ce4 token:bytes = auth.LoginToken + ///See public Task Auth_ImportLoginToken(byte[] token) => CallAsync(writer => { @@ -8537,7 +9532,7 @@ namespace WTelegram // ---functions--- return "Auth_ImportLoginToken"; }); - //auth.acceptLoginToken#e894ad4d token:bytes = Authorization + ///See public Task Auth_AcceptLoginToken(byte[] token) => CallAsync(writer => { @@ -8546,7 +9541,7 @@ namespace WTelegram // ---functions--- return "Auth_AcceptLoginToken"; }); - //account.setContentSettings#b574b16b flags:# sensitive_enabled:flags.0?true = Bool + ///See public Task Account_SetContentSettings(bool sensitive_enabled = false) => CallAsync(writer => { @@ -8555,7 +9550,7 @@ namespace WTelegram // ---functions--- return "Account_SetContentSettings"; }); - //account.getContentSettings#8b9b4dae = account.ContentSettings + ///See public Task Account_GetContentSettings() => CallAsync(writer => { @@ -8563,7 +9558,7 @@ namespace WTelegram // ---functions--- return "Account_GetContentSettings"; }); - //channels.getInactiveChannels#11e831ee = messages.InactiveChats + ///See public Task Channels_GetInactiveChannels() => CallAsync(writer => { @@ -8571,7 +9566,7 @@ namespace WTelegram // ---functions--- return "Channels_GetInactiveChannels"; }); - //account.getMultiWallPapers#65ad71dc wallpapers:Vector = Vector + ///See public Task Account_GetMultiWallPapers(InputWallPaperBase[] wallpapers) => CallAsync(writer => { @@ -8580,7 +9575,7 @@ namespace WTelegram // ---functions--- return "Account_GetMultiWallPapers"; }); - //messages.getPollVotes#b86e380e flags:# peer:InputPeer id:int option:flags.0?bytes offset:flags.1?string limit:int = messages.VotesList + ///See public Task Messages_GetPollVotes(InputPeer peer, int id, int limit, byte[] option = null, string offset = null) => CallAsync(writer => { @@ -8596,7 +9591,7 @@ namespace WTelegram // ---functions--- return "Messages_GetPollVotes"; }); - //messages.toggleStickerSets#b5052fea flags:# uninstall:flags.0?true archive:flags.1?true unarchive:flags.2?true stickersets:Vector = Bool + ///See public Task Messages_ToggleStickerSets(InputStickerSet[] stickersets, bool uninstall = false, bool archive = false, bool unarchive = false) => CallAsync(writer => { @@ -8606,7 +9601,7 @@ namespace WTelegram // ---functions--- return "Messages_ToggleStickerSets"; }); - //payments.getBankCardData#2e79d779 number:string = payments.BankCardData + ///See public Task Payments_GetBankCardData(string number) => CallAsync(writer => { @@ -8615,7 +9610,7 @@ namespace WTelegram // ---functions--- return "Payments_GetBankCardData"; }); - //messages.getDialogFilters#f19ed96d = Vector + ///See public Task Messages_GetDialogFilters() => CallAsync(writer => { @@ -8623,7 +9618,7 @@ namespace WTelegram // ---functions--- return "Messages_GetDialogFilters"; }); - //messages.getSuggestedDialogFilters#a29cd42c = Vector + ///See public Task Messages_GetSuggestedDialogFilters() => CallAsync(writer => { @@ -8631,7 +9626,7 @@ namespace WTelegram // ---functions--- return "Messages_GetSuggestedDialogFilters"; }); - //messages.updateDialogFilter#1ad4a04a flags:# id:int filter:flags.0?DialogFilter = Bool + ///See public Task Messages_UpdateDialogFilter(int id, DialogFilter filter = null) => CallAsync(writer => { @@ -8643,7 +9638,7 @@ namespace WTelegram // ---functions--- return "Messages_UpdateDialogFilter"; }); - //messages.updateDialogFiltersOrder#c563c1e4 order:Vector = Bool + ///See public Task Messages_UpdateDialogFiltersOrder(int[] order) => CallAsync(writer => { @@ -8652,7 +9647,7 @@ namespace WTelegram // ---functions--- return "Messages_UpdateDialogFiltersOrder"; }); - //stats.getBroadcastStats#ab42441a flags:# dark:flags.0?true channel:InputChannel = stats.BroadcastStats + ///See public Task Stats_GetBroadcastStats(InputChannelBase channel, bool dark = false) => CallAsync(writer => { @@ -8662,7 +9657,7 @@ namespace WTelegram // ---functions--- return "Stats_GetBroadcastStats"; }); - //stats.loadAsyncGraph#621d5fa0 flags:# token:string x:flags.0?long = StatsGraph + ///See public Task Stats_LoadAsyncGraph(string token, long? x = null) => CallAsync(writer => { @@ -8674,7 +9669,7 @@ namespace WTelegram // ---functions--- return "Stats_LoadAsyncGraph"; }); - //stickers.setStickerSetThumb#9a364e30 stickerset:InputStickerSet thumb:InputDocument = messages.StickerSet + ///See public Task Stickers_SetStickerSetThumb(InputStickerSet stickerset, InputDocumentBase thumb) => CallAsync(writer => { @@ -8684,7 +9679,7 @@ namespace WTelegram // ---functions--- return "Stickers_SetStickerSetThumb"; }); - //bots.setBotCommands#805d46f6 commands:Vector = Bool + ///See public Task Bots_SetBotCommands(BotCommand[] commands) => CallAsync(writer => { @@ -8693,7 +9688,7 @@ namespace WTelegram // ---functions--- return "Bots_SetBotCommands"; }); - //messages.getOldFeaturedStickers#5fe7025b offset:int limit:int hash:int = messages.FeaturedStickers + ///See public Task Messages_GetOldFeaturedStickers(int offset, int limit, int hash) => CallAsync(writer => { @@ -8704,7 +9699,7 @@ namespace WTelegram // ---functions--- return "Messages_GetOldFeaturedStickers"; }); - //help.getPromoData#c0977421 = help.PromoData + ///See public Task Help_GetPromoData() => CallAsync(writer => { @@ -8712,7 +9707,7 @@ namespace WTelegram // ---functions--- return "Help_GetPromoData"; }); - //help.hidePromoData#1e251c95 peer:InputPeer = Bool + ///See public Task Help_HidePromoData(InputPeer peer) => CallAsync(writer => { @@ -8721,7 +9716,7 @@ namespace WTelegram // ---functions--- return "Help_HidePromoData"; }); - //phone.sendSignalingData#ff7a9383 peer:InputPhoneCall data:bytes = Bool + ///See public Task Phone_SendSignalingData(InputPhoneCall peer, byte[] data) => CallAsync(writer => { @@ -8731,7 +9726,7 @@ namespace WTelegram // ---functions--- return "Phone_SendSignalingData"; }); - //stats.getMegagroupStats#dcdf8607 flags:# dark:flags.0?true channel:InputChannel = stats.MegagroupStats + ///See public Task Stats_GetMegagroupStats(InputChannelBase channel, bool dark = false) => CallAsync(writer => { @@ -8741,7 +9736,7 @@ namespace WTelegram // ---functions--- return "Stats_GetMegagroupStats"; }); - //account.getGlobalPrivacySettings#eb2b4cf6 = GlobalPrivacySettings + ///See public Task Account_GetGlobalPrivacySettings() => CallAsync(writer => { @@ -8749,7 +9744,7 @@ namespace WTelegram // ---functions--- return "Account_GetGlobalPrivacySettings"; }); - //account.setGlobalPrivacySettings#1edaaac2 settings:GlobalPrivacySettings = GlobalPrivacySettings + ///See public Task Account_SetGlobalPrivacySettings(GlobalPrivacySettings settings) => CallAsync(writer => { @@ -8758,7 +9753,7 @@ namespace WTelegram // ---functions--- return "Account_SetGlobalPrivacySettings"; }); - //help.dismissSuggestion#077fa99f suggestion:string = Bool + ///See public Task Help_DismissSuggestion(string suggestion) => CallAsync(writer => { @@ -8767,7 +9762,7 @@ namespace WTelegram // ---functions--- return "Help_DismissSuggestion"; }); - //help.getCountriesList#735787a8 lang_code:string hash:int = help.CountriesList + ///See public Task Help_GetCountriesList(string lang_code, int hash) => CallAsync(writer => { @@ -8777,7 +9772,7 @@ namespace WTelegram // ---functions--- return "Help_GetCountriesList"; }); - //messages.getReplies#24b581ba peer:InputPeer msg_id:int offset_id:int offset_date:int add_offset:int limit:int max_id:int min_id:int hash:int = messages.Messages + ///See public Task Messages_GetReplies(InputPeer peer, int msg_id, int offset_id, DateTime offset_date, int add_offset, int limit, int max_id, int min_id, int hash) => CallAsync(writer => { @@ -8794,7 +9789,7 @@ namespace WTelegram // ---functions--- return "Messages_GetReplies"; }); - //messages.getDiscussionMessage#446972fd peer:InputPeer msg_id:int = messages.DiscussionMessage + ///See public Task Messages_GetDiscussionMessage(InputPeer peer, int msg_id) => CallAsync(writer => { @@ -8804,7 +9799,7 @@ namespace WTelegram // ---functions--- return "Messages_GetDiscussionMessage"; }); - //messages.readDiscussion#f731a9f4 peer:InputPeer msg_id:int read_max_id:int = Bool + ///See public Task Messages_ReadDiscussion(InputPeer peer, int msg_id, int read_max_id) => CallAsync(writer => { @@ -8815,7 +9810,7 @@ namespace WTelegram // ---functions--- return "Messages_ReadDiscussion"; }); - //contacts.blockFromReplies#29a8962c flags:# delete_message:flags.0?true delete_history:flags.1?true report_spam:flags.2?true msg_id:int = Updates + ///See public Task Contacts_BlockFromReplies(int msg_id, bool delete_message = false, bool delete_history = false, bool report_spam = false) => CallAsync(writer => { @@ -8825,7 +9820,7 @@ namespace WTelegram // ---functions--- return "Contacts_BlockFromReplies"; }); - //stats.getMessagePublicForwards#5630281b channel:InputChannel msg_id:int offset_rate:int offset_peer:InputPeer offset_id:int limit:int = messages.Messages + ///See public Task Stats_GetMessagePublicForwards(InputChannelBase channel, int msg_id, int offset_rate, InputPeer offset_peer, int offset_id, int limit) => CallAsync(writer => { @@ -8839,7 +9834,7 @@ namespace WTelegram // ---functions--- return "Stats_GetMessagePublicForwards"; }); - //stats.getMessageStats#b6e0a3f5 flags:# dark:flags.0?true channel:InputChannel msg_id:int = stats.MessageStats + ///See public Task Stats_GetMessageStats(InputChannelBase channel, int msg_id, bool dark = false) => CallAsync(writer => { @@ -8850,7 +9845,7 @@ namespace WTelegram // ---functions--- return "Stats_GetMessageStats"; }); - //messages.unpinAllMessages#f025bc8b peer:InputPeer = messages.AffectedHistory + ///See public Task Messages_UnpinAllMessages(InputPeer peer) => CallAsync(writer => { diff --git a/src/TL.Secret.cs b/src/TL.Secret.cs index df0f405..7d699c9 100644 --- a/src/TL.Secret.cs +++ b/src/TL.Secret.cs @@ -5,8 +5,10 @@ namespace TL { namespace Layer8 { + ///See public abstract partial class DecryptedMessageBase : ITLObject { } - [TLDef(0x1F814F1F)] //decryptedMessage#1f814f1f random_id:long random_bytes:bytes message:string media:DecryptedMessageMedia = DecryptedMessage + ///See + [TLDef(0x1F814F1F)] public partial class DecryptedMessage : DecryptedMessageBase { public long random_id; @@ -14,7 +16,8 @@ namespace TL public string message; public DecryptedMessageMedia media; } - [TLDef(0xAA48327D)] //decryptedMessageService#aa48327d random_id:long random_bytes:bytes action:DecryptedMessageAction = DecryptedMessage + ///See + [TLDef(0xAA48327D)] public partial class DecryptedMessageService : DecryptedMessageBase { public long random_id; @@ -22,10 +25,13 @@ namespace TL public DecryptedMessageAction action; } + ///See public abstract partial class DecryptedMessageMedia : ITLObject { } - [TLDef(0x089F5C4A)] //decryptedMessageMediaEmpty#089f5c4a = DecryptedMessageMedia + ///See + [TLDef(0x089F5C4A)] public partial class DecryptedMessageMediaEmpty : DecryptedMessageMedia { } - [TLDef(0x32798A8C)] //decryptedMessageMediaPhoto#32798a8c thumb:bytes thumb_w:int thumb_h:int w:int h:int size:int key:bytes iv:bytes = DecryptedMessageMedia + ///See + [TLDef(0x32798A8C)] public partial class DecryptedMessageMediaPhoto : DecryptedMessageMedia { public byte[] thumb; @@ -37,7 +43,8 @@ namespace TL public byte[] key; public byte[] iv; } - [TLDef(0x4CEE6EF3)] //decryptedMessageMediaVideo#4cee6ef3 thumb:bytes thumb_w:int thumb_h:int duration:int w:int h:int size:int key:bytes iv:bytes = DecryptedMessageMedia + ///See + [TLDef(0x4CEE6EF3)] public partial class DecryptedMessageMediaVideo : DecryptedMessageMedia { public byte[] thumb; @@ -50,13 +57,15 @@ namespace TL public byte[] key; public byte[] iv; } - [TLDef(0x35480A59)] //decryptedMessageMediaGeoPoint#35480a59 lat:double long:double = DecryptedMessageMedia + ///See + [TLDef(0x35480A59)] public partial class DecryptedMessageMediaGeoPoint : DecryptedMessageMedia { public double lat; public double long_; } - [TLDef(0x588A0A97)] //decryptedMessageMediaContact#588a0a97 phone_number:string first_name:string last_name:string user_id:int = DecryptedMessageMedia + ///See + [TLDef(0x588A0A97)] public partial class DecryptedMessageMediaContact : DecryptedMessageMedia { public string phone_number; @@ -64,7 +73,8 @@ namespace TL public string last_name; public int user_id; } - [TLDef(0xB095434B)] //decryptedMessageMediaDocument#b095434b thumb:bytes thumb_w:int thumb_h:int file_name:string mime_type:string size:int key:bytes iv:bytes = DecryptedMessageMedia + ///See + [TLDef(0xB095434B)] public partial class DecryptedMessageMediaDocument : DecryptedMessageMedia { public byte[] thumb; @@ -76,7 +86,8 @@ namespace TL public byte[] key; public byte[] iv; } - [TLDef(0x6080758F)] //decryptedMessageMediaAudio#6080758f duration:int size:int key:bytes iv:bytes = DecryptedMessageMedia + ///See + [TLDef(0x6080758F)] public partial class DecryptedMessageMediaAudio : DecryptedMessageMedia { public int duration; @@ -85,23 +96,31 @@ namespace TL public byte[] iv; } + ///See public abstract partial class DecryptedMessageAction : ITLObject { } - [TLDef(0xA1733AEC)] //decryptedMessageActionSetMessageTTL#a1733aec ttl_seconds:int = DecryptedMessageAction + ///See + [TLDef(0xA1733AEC)] public partial class DecryptedMessageActionSetMessageTTL : DecryptedMessageAction { public int ttl_seconds; } - [TLDef(0x0C4F40BE)] //decryptedMessageActionReadMessages#0c4f40be random_ids:Vector = DecryptedMessageAction + ///See + [TLDef(0x0C4F40BE)] public partial class DecryptedMessageActionReadMessages : DecryptedMessageAction { public long[] random_ids; } - [TLDef(0x65614304)] //decryptedMessageActionDeleteMessages#65614304 random_ids:Vector = DecryptedMessageAction + ///See + [TLDef(0x65614304)] public partial class DecryptedMessageActionDeleteMessages : DecryptedMessageAction { public long[] random_ids; } - [TLDef(0x8AC1F475)] //decryptedMessageActionScreenshotMessages#8ac1f475 random_ids:Vector = DecryptedMessageAction + ///See + [TLDef(0x8AC1F475)] public partial class DecryptedMessageActionScreenshotMessages : DecryptedMessageAction { public long[] random_ids; } - [TLDef(0x6719E45C)] //decryptedMessageActionFlushHistory#6719e45c = DecryptedMessageAction + ///See + [TLDef(0x6719E45C)] public partial class DecryptedMessageActionFlushHistory : DecryptedMessageAction { } } namespace Layer17 { + ///See public abstract partial class DecryptedMessageBase : ITLObject { } - [TLDef(0x204D3878)] //decryptedMessage#204d3878 random_id:long ttl:int message:string media:DecryptedMessageMedia = DecryptedMessage + ///See + [TLDef(0x204D3878)] public partial class DecryptedMessage : DecryptedMessageBase { public long random_id; @@ -109,15 +128,18 @@ namespace TL public string message; public DecryptedMessageMedia media; } - [TLDef(0x73164160)] //decryptedMessageService#73164160 random_id:long action:DecryptedMessageAction = DecryptedMessage + ///See + [TLDef(0x73164160)] public partial class DecryptedMessageService : DecryptedMessageBase { public long random_id; public DecryptedMessageAction action; } + ///See public abstract partial class DecryptedMessageMedia : ITLObject { } - [TLDef(0x524A415D)] //decryptedMessageMediaVideo#524a415d thumb:bytes thumb_w:int thumb_h:int duration:int mime_type:string w:int h:int size:int key:bytes iv:bytes = DecryptedMessageMedia + ///See + [TLDef(0x524A415D)] public partial class DecryptedMessageMediaVideo : DecryptedMessageMedia { public byte[] thumb; @@ -131,7 +153,8 @@ namespace TL public byte[] key; public byte[] iv; } - [TLDef(0x57E0A9CB)] //decryptedMessageMediaAudio#57e0a9cb duration:int mime_type:string size:int key:bytes iv:bytes = DecryptedMessageMedia + ///See + [TLDef(0x57E0A9CB)] public partial class DecryptedMessageMediaAudio : DecryptedMessageMedia { public int duration; @@ -141,7 +164,8 @@ namespace TL public byte[] iv; } - [TLDef(0x1BE31789)] //decryptedMessageLayer#1be31789 random_bytes:bytes layer:int in_seq_no:int out_seq_no:int message:DecryptedMessage = DecryptedMessageLayer + ///See + [TLDef(0x1BE31789)] public partial class DecryptedMessageLayer : ITLObject { public byte[] random_bytes; @@ -151,78 +175,97 @@ namespace TL public DecryptedMessageBase message; } - [TLDef(0x92042FF7)] //sendMessageUploadVideoAction#92042ff7 = SendMessageAction + ///See + [TLDef(0x92042FF7)] public partial class SendMessageUploadVideoAction : SendMessageAction { } - [TLDef(0xE6AC8A6F)] //sendMessageUploadAudioAction#e6ac8a6f = SendMessageAction + ///See + [TLDef(0xE6AC8A6F)] public partial class SendMessageUploadAudioAction : SendMessageAction { } - [TLDef(0x990A3C1A)] //sendMessageUploadPhotoAction#990a3c1a = SendMessageAction + ///See + [TLDef(0x990A3C1A)] public partial class SendMessageUploadPhotoAction : SendMessageAction { } - [TLDef(0x8FAEE98E)] //sendMessageUploadDocumentAction#8faee98e = SendMessageAction + ///See + [TLDef(0x8FAEE98E)] public partial class SendMessageUploadDocumentAction : SendMessageAction { } + ///See public abstract partial class DecryptedMessageAction : ITLObject { } - [TLDef(0x511110B0)] //decryptedMessageActionResend#511110b0 start_seq_no:int end_seq_no:int = DecryptedMessageAction + ///See + [TLDef(0x511110B0)] public partial class DecryptedMessageActionResend : DecryptedMessageAction { public int start_seq_no; public int end_seq_no; } - [TLDef(0xF3048883)] //decryptedMessageActionNotifyLayer#f3048883 layer:int = DecryptedMessageAction + ///See + [TLDef(0xF3048883)] public partial class DecryptedMessageActionNotifyLayer : DecryptedMessageAction { public int layer; } - [TLDef(0xCCB27641)] //decryptedMessageActionTyping#ccb27641 action:SendMessageAction = DecryptedMessageAction + ///See + [TLDef(0xCCB27641)] public partial class DecryptedMessageActionTyping : DecryptedMessageAction { public SendMessageAction action; } } namespace Layer20 { + ///See public abstract partial class DecryptedMessageAction : ITLObject { } - [TLDef(0xF3C9611B)] //decryptedMessageActionRequestKey#f3c9611b exchange_id:long g_a:bytes = DecryptedMessageAction + ///See + [TLDef(0xF3C9611B)] public partial class DecryptedMessageActionRequestKey : DecryptedMessageAction { public long exchange_id; public byte[] g_a; } - [TLDef(0x6FE1735B)] //decryptedMessageActionAcceptKey#6fe1735b exchange_id:long g_b:bytes key_fingerprint:long = DecryptedMessageAction + ///See + [TLDef(0x6FE1735B)] public partial class DecryptedMessageActionAcceptKey : DecryptedMessageAction { public long exchange_id; public byte[] g_b; public long key_fingerprint; } - [TLDef(0xDD05EC6B)] //decryptedMessageActionAbortKey#dd05ec6b exchange_id:long = DecryptedMessageAction + ///See + [TLDef(0xDD05EC6B)] public partial class DecryptedMessageActionAbortKey : DecryptedMessageAction { public long exchange_id; } - [TLDef(0xEC2E0B9B)] //decryptedMessageActionCommitKey#ec2e0b9b exchange_id:long key_fingerprint:long = DecryptedMessageAction + ///See + [TLDef(0xEC2E0B9B)] public partial class DecryptedMessageActionCommitKey : DecryptedMessageAction { public long exchange_id; public long key_fingerprint; } - [TLDef(0xA82FDD63)] //decryptedMessageActionNoop#a82fdd63 = DecryptedMessageAction + ///See + [TLDef(0xA82FDD63)] public partial class DecryptedMessageActionNoop : DecryptedMessageAction { } } namespace Layer23 { - [TLDef(0xFB0A5727)] //documentAttributeSticker#fb0a5727 = DocumentAttribute + ///See + [TLDef(0xFB0A5727)] public partial class DocumentAttributeSticker : DocumentAttribute { } - [TLDef(0x5910CCCB)] //documentAttributeVideo#5910cccb duration:int w:int h:int = DocumentAttribute + ///See + [TLDef(0x5910CCCB)] public partial class DocumentAttributeVideo : DocumentAttribute { public int duration; public int w; public int h; } - [TLDef(0x051448E5)] //documentAttributeAudio#051448e5 duration:int = DocumentAttribute + ///See + [TLDef(0x051448E5)] public partial class DocumentAttributeAudio : DocumentAttribute { public int duration; } - [TLDef(0x7C596B46)] //fileLocationUnavailable#7c596b46 volume_id:long local_id:int secret:long = FileLocation + ///See + [TLDef(0x7C596B46)] public partial class FileLocationUnavailable : FileLocation { public long volume_id; public int local_id; public long secret; } - [TLDef(0x53D69076)] //fileLocation#53d69076 dc_id:int volume_id:long local_id:int secret:long = FileLocation + ///See + [TLDef(0x53D69076)] public partial class FileLocation_ : FileLocation { public int dc_id; @@ -231,8 +274,10 @@ namespace TL public long secret; } + ///See public abstract partial class DecryptedMessageMedia : ITLObject { } - [TLDef(0xFA95B0DD)] //decryptedMessageMediaExternalDocument#fa95b0dd id:long access_hash:long date:int mime_type:string size:int thumb:PhotoSize dc_id:int attributes:Vector = DecryptedMessageMedia + ///See + [TLDef(0xFA95B0DD)] public partial class DecryptedMessageMediaExternalDocument : DecryptedMessageMedia { public long id; @@ -248,7 +293,8 @@ namespace TL namespace Layer45 { - [TLDef(0x36B091DE)] //decryptedMessage#36b091de flags:# random_id:long ttl:int message:string media:flags.9?DecryptedMessageMedia entities:flags.7?Vector via_bot_name:flags.11?string reply_to_random_id:flags.3?long = DecryptedMessage + ///See + [TLDef(0x36B091DE)] public partial class DecryptedMessage : ITLObject { [Flags] public enum Flags { has_reply_to_random_id = 0x8, has_entities = 0x80, has_media = 0x200, has_via_bot_name = 0x800 } @@ -262,8 +308,10 @@ namespace TL [IfFlag(3)] public long reply_to_random_id; } + ///See public abstract partial class DecryptedMessageMedia : ITLObject { } - [TLDef(0xF1FA8D78)] //decryptedMessageMediaPhoto#f1fa8d78 thumb:bytes thumb_w:int thumb_h:int w:int h:int size:int key:bytes iv:bytes caption:string = DecryptedMessageMedia + ///See + [TLDef(0xF1FA8D78)] public partial class DecryptedMessageMediaPhoto : DecryptedMessageMedia { public byte[] thumb; @@ -276,7 +324,8 @@ namespace TL public byte[] iv; public string caption; } - [TLDef(0x970C8C0E)] //decryptedMessageMediaVideo#970c8c0e thumb:bytes thumb_w:int thumb_h:int duration:int mime_type:string w:int h:int size:int key:bytes iv:bytes caption:string = DecryptedMessageMedia + ///See + [TLDef(0x970C8C0E)] public partial class DecryptedMessageMediaVideo : DecryptedMessageMedia { public byte[] thumb; @@ -291,7 +340,8 @@ namespace TL public byte[] iv; public string caption; } - [TLDef(0x7AFE8AE2)] //decryptedMessageMediaDocument#7afe8ae2 thumb:bytes thumb_w:int thumb_h:int mime_type:string size:int key:bytes iv:bytes attributes:Vector caption:string = DecryptedMessageMedia + ///See + [TLDef(0x7AFE8AE2)] public partial class DecryptedMessageMediaDocument : DecryptedMessageMedia { public byte[] thumb; @@ -304,7 +354,8 @@ namespace TL public DocumentAttribute[] attributes; public string caption; } - [TLDef(0x8A0DF56F)] //decryptedMessageMediaVenue#8a0df56f lat:double long:double title:string address:string provider:string venue_id:string = DecryptedMessageMedia + ///See + [TLDef(0x8A0DF56F)] public partial class DecryptedMessageMediaVenue : DecryptedMessageMedia { public double lat; @@ -314,16 +365,19 @@ namespace TL public string provider; public string venue_id; } - [TLDef(0xE50511D8)] //decryptedMessageMediaWebPage#e50511d8 url:string = DecryptedMessageMedia + ///See + [TLDef(0xE50511D8)] public partial class DecryptedMessageMediaWebPage : DecryptedMessageMedia { public string url; } - [TLDef(0x3A556302)] //documentAttributeSticker#3a556302 alt:string stickerset:InputStickerSet = DocumentAttribute + ///See + [TLDef(0x3A556302)] public partial class DocumentAttributeSticker : DocumentAttribute { public string alt; public InputStickerSet stickerset; } - [TLDef(0xDED218E0)] //documentAttributeAudio#ded218e0 duration:int title:string performer:string = DocumentAttribute + ///See + [TLDef(0xDED218E0)] public partial class DocumentAttributeAudio : DocumentAttribute { public int duration; @@ -337,13 +391,15 @@ namespace TL namespace Layer66 { - [TLDef(0xBB718624)] //sendMessageUploadRoundAction#bb718624 = SendMessageAction + ///See + [TLDef(0xBB718624)] public partial class SendMessageUploadRoundAction : SendMessageAction { } } namespace Layer73 { - [TLDef(0x91CC4674)] //decryptedMessage#91cc4674 flags:# random_id:long ttl:int message:string media:flags.9?DecryptedMessageMedia entities:flags.7?Vector via_bot_name:flags.11?string reply_to_random_id:flags.3?long grouped_id:flags.17?long = DecryptedMessage + ///See + [TLDef(0x91CC4674)] public partial class DecryptedMessage : ITLObject { [Flags] public enum Flags { has_reply_to_random_id = 0x8, has_entities = 0x80, has_media = 0x200, has_via_bot_name = 0x800, diff --git a/src/TL.Table.cs b/src/TL.Table.cs index 0fadf28..989e86d 100644 --- a/src/TL.Table.cs +++ b/src/TL.Table.cs @@ -51,6 +51,8 @@ namespace TL [0x0A9F2259] = typeof(DestroyAuthKeyNone), [0xEA109B13] = typeof(DestroyAuthKeyFail), // from TL.Schema: + [0xBC799737] = typeof(BoolFalse), + [0x997275B5] = typeof(BoolTrue), [0x3FEDD339] = typeof(True), [0xC4B9F9BB] = typeof(Error), [0x56730BCC] = typeof(Null),