diff --git a/Generator.cs b/Generator.cs index 9d9e174..0fa7403 100644 --- a/Generator.cs +++ b/Generator.cs @@ -2,262 +2,317 @@ using System.Collections.Generic; using System.IO; using System.Linq; +using System.Net.Http; using System.Text.Json; +using System.Text.RegularExpressions; +using System.Threading.Tasks; namespace WTelegram { - public static class Generator + public class Generator { //TODO: generate BinaryReader/Writer serialization directly to avoid using Reflection //TODO: generate partial class with methods for functions instead of exposing request classes + readonly Dictionary ctorToTypes = new(); + readonly HashSet allTypes = new(); + readonly Dictionary> typeInfosByLayer = new(); + Dictionary typeInfos; + int currentLayer; + string tabIndent; - public static void FromJson(string jsonPath, string outputCs, string tableCs = null) + public async Task FromWeb() { + Console.WriteLine("Fetch web pages..."); + //using var http = new HttpClient(); + //var html = await http.GetStringAsync("https://core.telegram.org/api/layers"); + var html = await Task.FromResult("#layer-121"); + 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")); + 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"); + } + + public void FromJson(string jsonPath, string outputCs, string tableCs = null) + { + Console.WriteLine("Parsing " + jsonPath); var schema = JsonSerializer.Deserialize(File.ReadAllText(jsonPath)); using var sw = File.CreateText(outputCs); sw.WriteLine("using System;"); sw.WriteLine(); sw.WriteLine("namespace TL"); sw.Write("{"); - string tabIndent = "\t"; - Dictionary typeInfos = new(); - foreach (var ctor in schema.constructors) + tabIndent = "\t"; + var layers = schema.constructors.GroupBy(c => c.layer).OrderBy(g => g.Key); + foreach (var layer in layers) { - var structName = CSharpName(ctor.predicate); - var typeInfo = typeInfos.GetOrCreate(ctor.type); - if (typeInfo.ReturnName == null) typeInfo.ReturnName = CSharpName(ctor.type); - typeInfo.Structs.Add(ctor); - if (structName == typeInfo.ReturnName) typeInfo.SameName = ctor; - } - typeInfos.Remove("Bool"); - typeInfos.Remove("Vector t"); - foreach (var (name, typeInfo) in typeInfos) - { - if (typeInfo.SameName == null) + typeInfos = typeInfosByLayer.GetOrCreate(layer.Key); + if (layer.Key != 0) { - typeInfo.NeedAbstract = -1; - if (typeInfo.Structs.Count > 1) + sw.WriteLine(); + sw.WriteLine("\tnamespace Layer" + layer.Key); + sw.Write("\t{"); + tabIndent += "\t"; + } + string layerPrefix = layer.Key == 0 ? "" : $"Layer{layer.Key}."; + foreach (var ctor in layer) + { + if (ctorToTypes.ContainsKey(ctor.ID)) continue; + if (ctor.type is "Bool" or "Vector t") continue; + var structName = CSharpName(ctor.predicate); + ctorToTypes[ctor.ID] = layerPrefix + structName; + var typeInfo = typeInfos.GetOrCreate(ctor.type); + if (ctor.ID == 0x5BB8E511) { ctorToTypes[ctor.ID] = structName = ctor.predicate = ctor.type = "_Message"; } + if (typeInfo.ReturnName == null) typeInfo.ReturnName = CSharpName(ctor.type); + typeInfo.Structs.Add(ctor); + if (structName == typeInfo.ReturnName) typeInfo.SameName = ctor; + } + foreach (var (name, typeInfo) in typeInfos) + { + if (allTypes.Contains(typeInfo.ReturnName)) { typeInfo.NeedAbstract = -2; continue; } + if (typeInfo.SameName == null) { - List fakeCtorParams = new(); - while (typeInfo.Structs[0].@params.Length > fakeCtorParams.Count) + typeInfo.NeedAbstract = -1; + if (typeInfo.Structs.Count > 1) { - fakeCtorParams.Add(typeInfo.Structs[0].@params[fakeCtorParams.Count]); - if (!typeInfo.Structs.All(ctor => HasPrefix(ctor, fakeCtorParams))) + List fakeCtorParams = new(); + while (typeInfo.Structs[0].@params.Length > fakeCtorParams.Count) { - fakeCtorParams.RemoveAt(fakeCtorParams.Count - 1); - break; + fakeCtorParams.Add(typeInfo.Structs[0].@params[fakeCtorParams.Count]); + if (!typeInfo.Structs.All(ctor => HasPrefix(ctor, fakeCtorParams))) + { + fakeCtorParams.RemoveAt(fakeCtorParams.Count - 1); + break; + } + } + if (fakeCtorParams.Count > 0) + { + typeInfo.Structs.Insert(0, typeInfo.SameName = new Constructor + { id = null, @params = fakeCtorParams.ToArray(), predicate = typeInfo.ReturnName, type = typeInfo.ReturnName }); + typeInfo.NeedAbstract = fakeCtorParams.Count; } } - if (fakeCtorParams.Count > 0) + } + else if (typeInfo.Structs.Count > 1) + { + typeInfo.NeedAbstract = typeInfo.SameName.@params.Length; + foreach (var ctor in typeInfo.Structs) { - typeInfo.Structs.Insert(0, typeInfo.SameName = new Constructor - { id = null, @params = fakeCtorParams.ToArray(), predicate = typeInfo.ReturnName, type = typeInfo.ReturnName }); - typeInfo.NeedAbstract = fakeCtorParams.Count; + if (ctor == typeInfo.SameName) continue; + if (!HasPrefix(ctor, typeInfo.SameName.@params)) { typeInfo.NeedAbstract = -1; typeInfo.ReturnName += "Base"; break; } } } } - else if (typeInfo.Structs.Count > 1) + foreach (var typeInfo in typeInfos.Values) + WriteTypeInfo(sw, typeInfo, jsonPath, layerPrefix, false); + if (layer.Key != 0) { - typeInfo.NeedAbstract = typeInfo.SameName.@params.Length; - foreach (var ctor in typeInfo.Structs) - { - if (ctor == typeInfo.SameName) continue; - if (!HasPrefix(ctor, typeInfo.SameName.@params)) { typeInfo.NeedAbstract = -1; typeInfo.ReturnName += "Base"; break; } - } + sw.WriteLine("\t}"); + tabIndent = tabIndent[1..]; } } - foreach (var typeInfo in typeInfos.Values) - WriteTypeInfo(sw, typeInfo); + if (typeInfosByLayer[0]["Message"].SameName.ID == 0x5BB8E511) typeInfosByLayer[0].Remove("Message"); sw.WriteLine(); - sw.WriteLine("\tpublic static partial class Fn // ---functions---"); - sw.Write("\t{"); - tabIndent = "\t\t"; var methods = new List(); - foreach (var method in schema.methods) + if (schema.methods.Length != 0) { - var typeInfo = new TypeInfo { ReturnName = method.type }; - typeInfo.Structs.Add(new Constructor { id = method.id, @params = method.@params, predicate = method.method, type = method.type }); - methods.Add(typeInfo); - WriteTypeInfo(sw, typeInfo, true); + typeInfos = typeInfosByLayer[0]; + sw.WriteLine("\tpublic static partial class Fn // ---functions---"); + sw.Write("\t{"); + tabIndent = "\t\t"; + foreach (var method in schema.methods) + { + var typeInfo = new TypeInfo { ReturnName = method.type }; + typeInfo.Structs.Add(new Constructor { id = method.id, @params = method.@params, predicate = method.method, type = method.type }); + methods.Add(typeInfo); + WriteTypeInfo(sw, typeInfo, jsonPath, "", true); + } + sw.WriteLine("\t}"); } - sw.WriteLine("\t}"); sw.WriteLine("}"); - if (tableCs != null) UpdateTable(); + if (tableCs != null) UpdateTable(jsonPath, tableCs, methods); + } - void WriteTypeInfo(StreamWriter sw, TypeInfo typeInfo, bool isMethod = false) + void WriteTypeInfo(StreamWriter sw, TypeInfo typeInfo, string definedIn, string layerPrefix, bool isMethod) + { + var parentClass = typeInfo.NeedAbstract != 0 ? typeInfo.ReturnName : "ITLObject"; + var genericType = typeInfo.ReturnName.Length == 1 ? $"<{typeInfo.ReturnName}>" : null; + if (isMethod) parentClass = $"ITLFunction<{MapType(typeInfo.ReturnName, "")}>"; + bool needNewLine = true; + if (typeInfo.NeedAbstract == -1 && allTypes.Add(layerPrefix + parentClass)) { - var parentClass = typeInfo.NeedAbstract != 0 ? typeInfo.ReturnName : "ITLObject"; - var genericType = typeInfo.ReturnName.Length == 1 ? $"<{typeInfo.ReturnName}>" : null; - if (isMethod) - parentClass = $"ITLFunction<{MapType(typeInfo.ReturnName, "")}>"; + needNewLine = false; sw.WriteLine(); - if (typeInfo.NeedAbstract == -1) - sw.WriteLine($"{tabIndent}public abstract class {parentClass} : ITLObject {{ }}"); - int skipParams = 0; - foreach (var ctor in typeInfo.Structs) + sw.WriteLine($"{tabIndent}public abstract class {parentClass} : ITLObject {{ }}"); + } + int skipParams = 0; + foreach (var ctor in typeInfo.Structs) + { + string className = CSharpName(ctor.predicate) + genericType; + //if (typeInfo.ReturnName == "SendMessageAction") System.Diagnostics.Debugger.Break(); + if (layerPrefix != "" && className == parentClass) { className += "_"; ctorToTypes[ctor.ID] = layerPrefix + className; } + if (!allTypes.Add(layerPrefix + className)) continue; + if (needNewLine) { needNewLine = false; sw.WriteLine(); } + if (ctor.id == null) + sw.Write($"{tabIndent}public abstract class {className} : ITLObject"); + else { - string className = CSharpName(ctor.predicate) + genericType; - if (ctor.id == null) - sw.Write($"{tabIndent}public abstract 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}"); + sw.Write($"{tabIndent}public class {className} : "); + sw.Write(skipParams == 0 && typeInfo.NeedAbstract > 0 ? "ITLObject" : parentClass); + } + var parms = ctor.@params.Skip(skipParams).ToArray(); + if (parms.Length == 0) + { + sw.WriteLine(" { }"); + continue; + } + var hasFlagEnum = parms.Any(p => p.type.StartsWith("flags.")); + bool multiline = hasFlagEnum || parms.Length > 1; + if (multiline) + { + sw.WriteLine(); + sw.WriteLine(tabIndent + "{"); + } + else + sw.Write(" { "); + if (hasFlagEnum) + { + var list = new SortedList(); + foreach (var parm in parms) { - int ctorId = int.Parse(ctor.id); - sw.Write($"{tabIndent}[TLDef(0x{ctorId:X8})] //{ctor.predicate}#{ctorId: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 class {className} : "); - sw.Write(skipParams == 0 && typeInfo.NeedAbstract > 0 ? "ITLObject" : parentClass); - } - var parms = ctor.@params.Skip(skipParams).ToArray(); - if (parms.Length == 0) - { - sw.WriteLine(" { }"); - continue; - } - var hasFlagEnum = parms.Any(p => p.type.StartsWith("flags.")); - bool multiline = hasFlagEnum || parms.Length > 1; - if (multiline) - { - sw.WriteLine(); - sw.WriteLine(tabIndent + "{"); - } - else - sw.Write(" { "); - if (hasFlagEnum) - { - var list = new SortedList(); - foreach (var parm in parms) - { - if (!parm.type.StartsWith("flags.") || !parm.type.EndsWith("?true")) continue; - var mask = 1 << int.Parse(parm.type[6..parm.type.IndexOf('?')]); - if (!list.ContainsKey(mask)) list[mask] = MapName(parm.name); - } - foreach (var parm in parms) - { - if (!parm.type.StartsWith("flags.") || parm.type.EndsWith("?true")) continue; - var mask = 1 << int.Parse(parm.type[6..parm.type.IndexOf('?')]); - if (list.ContainsKey(mask)) continue; - var name = MapName("has_" + parm.name); - if (list.Values.Contains(name)) name += "_field"; - list[mask] = name; - } - string line = tabIndent + "\t[Flags] public enum Flags { "; - foreach (var (mask, name) in list) - { - var str = $"{name} = 0x{mask:X}, "; - if (line.Length + str.Length + tabIndent.Length * 3 >= 134) { sw.WriteLine(line); line = tabIndent + "\t\t"; } - line += str; - } - sw.WriteLine(line.TrimEnd(',', ' ') + " }"); + if (!parm.type.StartsWith("flags.") || !parm.type.EndsWith("?true")) continue; + var mask = 1 << int.Parse(parm.type[6..parm.type.IndexOf('?')]); + if (!list.ContainsKey(mask)) list[mask] = MapName(parm.name); } foreach (var parm in parms) { - if (parm.type.EndsWith("?true")) continue; - if (multiline) sw.Write(tabIndent + "\t"); - if (parm.type == "#") - sw.Write($"public {(hasFlagEnum ? "Flags" : "int")} {parm.name};"); - else - { - if (parm.type.StartsWith("flags.")) - { - int qm = parm.type.IndexOf('?'); - sw.Write($"[IfFlag({parm.type[6..qm]})] public {MapType(parm.type[(qm + 1)..], parm.name)} {MapName(parm.name)};"); - } - else - sw.Write($"public {MapType(parm.type, parm.name)} {MapName(parm.name)};"); - } - if (multiline) sw.WriteLine(); + if (!parm.type.StartsWith("flags.") || parm.type.EndsWith("?true")) continue; + var mask = 1 << int.Parse(parm.type[6..parm.type.IndexOf('?')]); + if (list.ContainsKey(mask)) continue; + var name = MapName("has_" + parm.name); + if (list.Values.Contains(name)) name += "_field"; + list[mask] = name; } - - if (ctorNeedClone.Contains(className)) - sw.WriteLine($"{tabIndent}\tpublic {className} Clone() => ({className})MemberwiseClone();"); - if (multiline) - sw.WriteLine(tabIndent + "}"); - else - sw.WriteLine(" }"); - skipParams = typeInfo.NeedAbstract; - } - string MapName(string name) => name switch - { - "out" => "out_", - "static" => "static_", - "long" => "long_", - "default" => "default_", - "public" => "public_", - "params" => "params_", - "private" => "private_", - _ => name - }; - - string MapType(string type, string name) - { - if (type.StartsWith("Vector<", StringComparison.OrdinalIgnoreCase)) - return MapType(type[7..^1], name) + "[]"; - else if (type == "Bool") - return "bool"; - else if (type == "bytes") - return "byte[]"; - else if (type == "int128") - return "Int128"; - else if (type == "int256") - return "Int256"; - else if (type == "Object") - return "ITLObject"; - else if (type == "!X") - return "ITLFunction"; - else if (typeInfos.TryGetValue(type, out var typeInfo)) - return typeInfo.ReturnName; - else if (type == "int") + string line = tabIndent + "\t[Flags] public enum Flags { "; + foreach (var (mask, name) in list) { - var name2 = '_' + name + '_'; - if (name2.EndsWith("_date_") || name2.EndsWith("_time_") || name2 == "_expires_" || name2 == "_now_" || name2.StartsWith("_valid_")) - return "DateTime"; - else - return "int"; + var str = $"{name} = 0x{mask:X}, "; + if (line.Length + str.Length + tabIndent.Length * 3 >= 134) { sw.WriteLine(line); line = tabIndent + "\t\t"; } + line += str; } - else if (type == "string") - return name.StartsWith("md5") ? "byte[]" : "string"; - else - return type; + sw.WriteLine(line.TrimEnd(',', ' ') + " }"); + } + foreach (var parm in parms) + { + if (parm.type.EndsWith("?true")) continue; + if (multiline) sw.Write(tabIndent + "\t"); + if (parm.type == "#") + sw.Write($"public {(hasFlagEnum ? "Flags" : "int")} {parm.name};"); + else + { + if (parm.type.StartsWith("flags.")) + { + int qm = parm.type.IndexOf('?'); + sw.Write($"[IfFlag({parm.type[6..qm]})] public {MapType(parm.type[(qm + 1)..], parm.name)} {MapName(parm.name)};"); + } + else + sw.Write($"public {MapType(parm.type, parm.name)} {MapName(parm.name)};"); + } + if (multiline) sw.WriteLine(); } - } - void UpdateTable() + if (ctorNeedClone.Contains(className)) + sw.WriteLine($"{tabIndent}\tpublic {className} Clone() => ({className})MemberwiseClone();"); + if (multiline) + sw.WriteLine(tabIndent + "}"); + else + sw.WriteLine(" }"); + skipParams = typeInfo.NeedAbstract; + } + string MapName(string name) => name switch { - var myTag = $"\t\t\t// from {Path.GetFileNameWithoutExtension(jsonPath)}:"; - using (var sr = new StreamReader(tableCs)) - using (var sw = new StreamWriter(tableCs + ".new")) + "out" => "out_", + "static" => "static_", + "long" => "long_", + "default" => "default_", + "public" => "public_", + "params" => "params_", + "private" => "private_", + _ => name + }; + + string MapType(string type, string name) + { + if (type.StartsWith("Vector<", StringComparison.OrdinalIgnoreCase)) + return MapType(type[7..^1], name) + "[]"; + else if (type == "Bool") + return "bool"; + else if (type == "bytes") + return "byte[]"; + else if (type == "int128") + return "Int128"; + else if (type == "int256") + return "Int256"; + else if (type == "Object") + return "ITLObject"; + else if (type == "!X") + return "ITLFunction"; + else if (typeInfos.TryGetValue(type, out var typeInfo)) + return typeInfo.ReturnName; + else if (type == "int") { - string line; - while ((line = sr.ReadLine()) != null) - { - sw.WriteLine(line); - if (line == myTag) - { - foreach (var typeInfo in typeInfos.Values) - foreach (var ctor in typeInfo.Structs) - if (ctor.id != null) - sw.WriteLine($"\t\t\t[0x{int.Parse(ctor.id):X8}] = typeof({CSharpName(ctor.predicate)}),"); - foreach (var typeInfo in methods) - foreach (var ctor in typeInfo.Structs) - { - var generic = typeInfo.ReturnName.Length == 1 ? "<>" : ""; - sw.WriteLine($"\t\t\t[0x{int.Parse(ctor.id):X8}] = typeof(Fn.{CSharpName(ctor.predicate)}{generic}),"); - } - while ((line = sr.ReadLine()) != null) - if (line.StartsWith("\t\t\t// ")) - break; - sw.WriteLine(line); - } - } + var name2 = '_' + name + '_'; + if (name2.EndsWith("_date_") || name2.EndsWith("_time_") || name2 == "_expires_" || name2 == "_now_" || name2.StartsWith("_valid_")) + return "DateTime"; + else + return "int"; } - File.Replace(tableCs + ".new", tableCs, null); + else if (type == "string") + return name.StartsWith("md5") ? "byte[]" : "string"; + else + return type; } } + void UpdateTable(string jsonPath, string tableCs, List methods) + { + var myTag = $"\t\t\t// from {Path.GetFileNameWithoutExtension(jsonPath)}:"; + var seen_ids = new HashSet(); + using (var sr = new StreamReader(tableCs)) + using (var sw = new StreamWriter(tableCs + ".new")) + { + string line; + while ((line = sr.ReadLine()) != null) + { + if (currentLayer != 0 && line.StartsWith("\t\tpublic const int Layer")) + sw.WriteLine($"\t\tpublic const int Layer = {currentLayer};\t\t\t\t// fetched {DateTime.UtcNow}"); + else + sw.WriteLine(line); + if (line == myTag) + { + foreach (var ctor in ctorToTypes) + if (seen_ids.Add(ctor.Key)) + sw.WriteLine($"\t\t\t[0x{ctor.Key:X8}] = typeof({ctor.Value}),"); + while ((line = sr.ReadLine()) != null) + if (line.StartsWith("\t\t\t// ")) + break; + sw.WriteLine(line); + } + else if (line.StartsWith("\t\t\t[0x")) + seen_ids.Add(int.Parse(line[6..14], System.Globalization.NumberStyles.HexNumber)); + } + } + File.Replace(tableCs + ".new", tableCs, null); + } + static readonly HashSet ctorNeedClone = new() { /*"User"*/ }; private static bool HasPrefix(Constructor ctor, IList prefixParams) @@ -301,6 +356,9 @@ namespace WTelegram public string predicate { get; set; } public Param[] @params { get; set; } public string type { get; set; } + public int layer { get; set; } + + public int ID => int.Parse(id); } public class Param diff --git a/TL.MTProto.cs b/TL.MTProto.cs index 7513db9..e4f778a 100644 --- a/TL.MTProto.cs +++ b/TL.MTProto.cs @@ -113,7 +113,7 @@ namespace TL public int bytes; } - [TLDef(0x949D9DC)] //future_salt#0949d9dc valid_since:int valid_until:int salt:long = FutureSalt + [TLDef(0x0949D9DC)] //future_salt#0949d9dc valid_since:int valid_until:int salt:long = FutureSalt public class FutureSalt : ITLObject { public DateTime valid_since; diff --git a/TL.Secret.cs b/TL.Secret.cs index f355cd1..2ff7a95 100644 --- a/TL.Secret.cs +++ b/TL.Secret.cs @@ -2,181 +2,361 @@ using System; namespace TL { - public abstract class DecryptedMessageBase : ITLObject { } - [TLDef(0x1F814F1F)] //decryptedMessage#1f814f1f random_id:long random_bytes:bytes message:string media:DecryptedMessageMedia = DecryptedMessage - public class DecryptedMessage : DecryptedMessageBase + namespace Layer8 { - public long random_id; - public byte[] random_bytes; - public string message; - public DecryptedMessageMedia media; - } - [TLDef(0xAA48327D)] //decryptedMessageService#aa48327d random_id:long random_bytes:bytes action:DecryptedMessageAction = DecryptedMessage - public class DecryptedMessageService : DecryptedMessageBase - { - public long random_id; - public byte[] random_bytes; - public DecryptedMessageAction action; + public abstract class DecryptedMessageBase : ITLObject { } + [TLDef(0x1F814F1F)] //decryptedMessage#1f814f1f random_id:long random_bytes:bytes message:string media:DecryptedMessageMedia = DecryptedMessage + public class DecryptedMessage : DecryptedMessageBase + { + public long random_id; + public byte[] random_bytes; + public string message; + public DecryptedMessageMedia media; + } + [TLDef(0xAA48327D)] //decryptedMessageService#aa48327d random_id:long random_bytes:bytes action:DecryptedMessageAction = DecryptedMessage + public class DecryptedMessageService : DecryptedMessageBase + { + public long random_id; + public byte[] random_bytes; + public DecryptedMessageAction action; + } + + public abstract class DecryptedMessageMedia : ITLObject { } + [TLDef(0x089F5C4A)] //decryptedMessageMediaEmpty#089f5c4a = DecryptedMessageMedia + public 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 + public class DecryptedMessageMediaPhoto : DecryptedMessageMedia + { + public byte[] thumb; + public int thumb_w; + public int thumb_h; + public int w; + public int h; + public int size; + 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 + public class DecryptedMessageMediaVideo : DecryptedMessageMedia + { + public byte[] thumb; + public int thumb_w; + public int thumb_h; + public int duration; + public int w; + public int h; + public int size; + public byte[] key; + public byte[] iv; + } + [TLDef(0x35480A59)] //decryptedMessageMediaGeoPoint#35480a59 lat:double long:double = DecryptedMessageMedia + public 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 + public class DecryptedMessageMediaContact : DecryptedMessageMedia + { + public string phone_number; + public string first_name; + 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 + public class DecryptedMessageMediaDocument : DecryptedMessageMedia + { + public byte[] thumb; + public int thumb_w; + public int thumb_h; + public string file_name; + public string mime_type; + public int size; + public byte[] key; + public byte[] iv; + } + [TLDef(0x6080758F)] //decryptedMessageMediaAudio#6080758f duration:int size:int key:bytes iv:bytes = DecryptedMessageMedia + public class DecryptedMessageMediaAudio : DecryptedMessageMedia + { + public int duration; + public int size; + public byte[] key; + public byte[] iv; + } + + public abstract class DecryptedMessageAction : ITLObject { } + [TLDef(0xA1733AEC)] //decryptedMessageActionSetMessageTTL#a1733aec ttl_seconds:int = DecryptedMessageAction + public class DecryptedMessageActionSetMessageTTL : DecryptedMessageAction { public int ttl_seconds; } + [TLDef(0x0C4F40BE)] //decryptedMessageActionReadMessages#0c4f40be random_ids:Vector = DecryptedMessageAction + public class DecryptedMessageActionReadMessages : DecryptedMessageAction { public long[] random_ids; } + [TLDef(0x65614304)] //decryptedMessageActionDeleteMessages#65614304 random_ids:Vector = DecryptedMessageAction + public class DecryptedMessageActionDeleteMessages : DecryptedMessageAction { public long[] random_ids; } + [TLDef(0x8AC1F475)] //decryptedMessageActionScreenshotMessages#8ac1f475 random_ids:Vector = DecryptedMessageAction + public class DecryptedMessageActionScreenshotMessages : DecryptedMessageAction { public long[] random_ids; } + [TLDef(0x6719E45C)] //decryptedMessageActionFlushHistory#6719e45c = DecryptedMessageAction + public class DecryptedMessageActionFlushHistory : DecryptedMessageAction { } } - public abstract class DecryptedMessageMedia : ITLObject { } - [TLDef(0x089F5C4A)] //decryptedMessageMediaEmpty#089f5c4a = DecryptedMessageMedia - public 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 - public class DecryptedMessageMediaPhoto : DecryptedMessageMedia + namespace Layer17 { - public byte[] thumb; - public int thumb_w; - public int thumb_h; - public int w; - public int h; - public int size; - 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 - public class DecryptedMessageMediaVideo : DecryptedMessageMedia - { - public byte[] thumb; - public int thumb_w; - public int thumb_h; - public int duration; - public int w; - public int h; - public int size; - public byte[] key; - public byte[] iv; - } - [TLDef(0x35480A59)] //decryptedMessageMediaGeoPoint#35480a59 lat:double long:double = DecryptedMessageMedia - public 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 - public class DecryptedMessageMediaContact : DecryptedMessageMedia - { - public string phone_number; - public string first_name; - 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 - public class DecryptedMessageMediaDocument : DecryptedMessageMedia - { - public byte[] thumb; - public int thumb_w; - public int thumb_h; - public string file_name; - public string mime_type; - public int size; - public byte[] key; - public byte[] iv; - } - [TLDef(0x6080758F)] //decryptedMessageMediaAudio#6080758f duration:int size:int key:bytes iv:bytes = DecryptedMessageMedia - public class DecryptedMessageMediaAudio : DecryptedMessageMedia - { - public int duration; - public int size; - public byte[] key; - public byte[] iv; - } - [TLDef(0xFA95B0DD)] //decryptedMessageMediaExternalDocument#fa95b0dd id:long access_hash:long date:int mime_type:string size:int thumb:PhotoSize dc_id:int attributes:Vector = DecryptedMessageMedia - public class DecryptedMessageMediaExternalDocument : DecryptedMessageMedia - { - public long id; - public long access_hash; - public DateTime date; - public string mime_type; - public int size; - public PhotoSizeBase thumb; - public int dc_id; - public DocumentAttribute[] attributes; - } - [TLDef(0x8A0DF56F)] //decryptedMessageMediaVenue#8a0df56f lat:double long:double title:string address:string provider:string venue_id:string = DecryptedMessageMedia - public class DecryptedMessageMediaVenue : DecryptedMessageMedia - { - public double lat; - public double long_; - public string title; - public string address; - public string provider; - public string venue_id; - } - [TLDef(0xE50511D8)] //decryptedMessageMediaWebPage#e50511d8 url:string = DecryptedMessageMedia - public class DecryptedMessageMediaWebPage : DecryptedMessageMedia { public string url; } + public abstract class DecryptedMessageBase : ITLObject { } + [TLDef(0x204D3878)] //decryptedMessage#204d3878 random_id:long ttl:int message:string media:DecryptedMessageMedia = DecryptedMessage + public class DecryptedMessage : DecryptedMessageBase + { + public long random_id; + public int ttl; + public string message; + public DecryptedMessageMedia media; + } + [TLDef(0x73164160)] //decryptedMessageService#73164160 random_id:long action:DecryptedMessageAction = DecryptedMessage + public class DecryptedMessageService : DecryptedMessageBase + { + public long random_id; + public DecryptedMessageAction action; + } - public abstract class DecryptedMessageAction : ITLObject { } - [TLDef(0xA1733AEC)] //decryptedMessageActionSetMessageTTL#a1733aec ttl_seconds:int = DecryptedMessageAction - public class DecryptedMessageActionSetMessageTTL : DecryptedMessageAction { public int ttl_seconds; } - [TLDef(0x0C4F40BE)] //decryptedMessageActionReadMessages#0c4f40be random_ids:Vector = DecryptedMessageAction - public class DecryptedMessageActionReadMessages : DecryptedMessageAction { public long[] random_ids; } - [TLDef(0x65614304)] //decryptedMessageActionDeleteMessages#65614304 random_ids:Vector = DecryptedMessageAction - public class DecryptedMessageActionDeleteMessages : DecryptedMessageAction { public long[] random_ids; } - [TLDef(0x8AC1F475)] //decryptedMessageActionScreenshotMessages#8ac1f475 random_ids:Vector = DecryptedMessageAction - public class DecryptedMessageActionScreenshotMessages : DecryptedMessageAction { public long[] random_ids; } - [TLDef(0x6719E45C)] //decryptedMessageActionFlushHistory#6719e45c = DecryptedMessageAction - public class DecryptedMessageActionFlushHistory : DecryptedMessageAction { } - [TLDef(0x511110B0)] //decryptedMessageActionResend#511110b0 start_seq_no:int end_seq_no:int = DecryptedMessageAction - public class DecryptedMessageActionResend : DecryptedMessageAction - { - public int start_seq_no; - public int end_seq_no; - } - [TLDef(0xF3048883)] //decryptedMessageActionNotifyLayer#f3048883 layer:int = DecryptedMessageAction - public class DecryptedMessageActionNotifyLayer : DecryptedMessageAction { public int layer; } - [TLDef(0xCCB27641)] //decryptedMessageActionTyping#ccb27641 action:SendMessageAction = DecryptedMessageAction - public class DecryptedMessageActionTyping : DecryptedMessageAction { public SendMessageAction action; } - [TLDef(0xF3C9611B)] //decryptedMessageActionRequestKey#f3c9611b exchange_id:long g_a:bytes = DecryptedMessageAction - public 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 - public class DecryptedMessageActionAcceptKey : DecryptedMessageAction - { - public long exchange_id; - public byte[] g_b; - public long key_fingerprint; - } - [TLDef(0xDD05EC6B)] //decryptedMessageActionAbortKey#dd05ec6b exchange_id:long = DecryptedMessageAction - public class DecryptedMessageActionAbortKey : DecryptedMessageAction { public long exchange_id; } - [TLDef(0xEC2E0B9B)] //decryptedMessageActionCommitKey#ec2e0b9b exchange_id:long key_fingerprint:long = DecryptedMessageAction - public class DecryptedMessageActionCommitKey : DecryptedMessageAction - { - public long exchange_id; - public long key_fingerprint; - } - [TLDef(0xA82FDD63)] //decryptedMessageActionNoop#a82fdd63 = DecryptedMessageAction - public class DecryptedMessageActionNoop : DecryptedMessageAction { } + public abstract 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 + public class DecryptedMessageMediaVideo : DecryptedMessageMedia + { + public byte[] thumb; + public int thumb_w; + public int thumb_h; + public int duration; + public string mime_type; + public int w; + public int h; + public int size; + public byte[] key; + public byte[] iv; + } + [TLDef(0x57E0A9CB)] //decryptedMessageMediaAudio#57e0a9cb duration:int mime_type:string size:int key:bytes iv:bytes = DecryptedMessageMedia + public class DecryptedMessageMediaAudio : DecryptedMessageMedia + { + public int duration; + public string mime_type; + public int size; + public byte[] key; + public byte[] iv; + } - [TLDef(0x1BE31789)] //decryptedMessageLayer#1be31789 random_bytes:bytes layer:int in_seq_no:int out_seq_no:int message:DecryptedMessage = DecryptedMessageLayer - public class DecryptedMessageLayer : ITLObject - { - public byte[] random_bytes; - public int layer; - public int in_seq_no; - public int out_seq_no; - public DecryptedMessageBase message; + [TLDef(0x1BE31789)] //decryptedMessageLayer#1be31789 random_bytes:bytes layer:int in_seq_no:int out_seq_no:int message:DecryptedMessage = DecryptedMessageLayer + public class DecryptedMessageLayer : ITLObject + { + public byte[] random_bytes; + public int layer; + public int in_seq_no; + public int out_seq_no; + public DecryptedMessageBase message; + } + + [TLDef(0x92042FF7)] //sendMessageUploadVideoAction#92042ff7 = SendMessageAction + public class SendMessageUploadVideoAction : SendMessageAction { } + [TLDef(0xE6AC8A6F)] //sendMessageUploadAudioAction#e6ac8a6f = SendMessageAction + public class SendMessageUploadAudioAction : SendMessageAction { } + [TLDef(0x990A3C1A)] //sendMessageUploadPhotoAction#990a3c1a = SendMessageAction + public class SendMessageUploadPhotoAction : SendMessageAction { } + [TLDef(0x8FAEE98E)] //sendMessageUploadDocumentAction#8faee98e = SendMessageAction + public class SendMessageUploadDocumentAction : SendMessageAction { } + + public abstract class DecryptedMessageAction : ITLObject { } + [TLDef(0x511110B0)] //decryptedMessageActionResend#511110b0 start_seq_no:int end_seq_no:int = DecryptedMessageAction + public class DecryptedMessageActionResend : DecryptedMessageAction + { + public int start_seq_no; + public int end_seq_no; + } + [TLDef(0xF3048883)] //decryptedMessageActionNotifyLayer#f3048883 layer:int = DecryptedMessageAction + public class DecryptedMessageActionNotifyLayer : DecryptedMessageAction { public int layer; } + [TLDef(0xCCB27641)] //decryptedMessageActionTyping#ccb27641 action:SendMessageAction = DecryptedMessageAction + public class DecryptedMessageActionTyping : DecryptedMessageAction { public SendMessageAction action; } } - [TLDef(0x7C596B46)] //fileLocationUnavailable#7c596b46 volume_id:long local_id:int secret:long = FileLocation - public class FileLocationUnavailable : FileLocation + namespace Layer20 { - 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 - public class FileLocation_ : FileLocation - { - public int dc_id; - public long volume_id; - public int local_id; - public long secret; + public abstract class DecryptedMessageAction : ITLObject { } + [TLDef(0xF3C9611B)] //decryptedMessageActionRequestKey#f3c9611b exchange_id:long g_a:bytes = DecryptedMessageAction + public 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 + public class DecryptedMessageActionAcceptKey : DecryptedMessageAction + { + public long exchange_id; + public byte[] g_b; + public long key_fingerprint; + } + [TLDef(0xDD05EC6B)] //decryptedMessageActionAbortKey#dd05ec6b exchange_id:long = DecryptedMessageAction + public class DecryptedMessageActionAbortKey : DecryptedMessageAction { public long exchange_id; } + [TLDef(0xEC2E0B9B)] //decryptedMessageActionCommitKey#ec2e0b9b exchange_id:long key_fingerprint:long = DecryptedMessageAction + public class DecryptedMessageActionCommitKey : DecryptedMessageAction + { + public long exchange_id; + public long key_fingerprint; + } + [TLDef(0xA82FDD63)] //decryptedMessageActionNoop#a82fdd63 = DecryptedMessageAction + public class DecryptedMessageActionNoop : DecryptedMessageAction { } } - public static partial class Fn // ---functions--- + namespace Layer23 + { + [TLDef(0xFB0A5727)] //documentAttributeSticker#fb0a5727 = DocumentAttribute + public class DocumentAttributeSticker : DocumentAttribute { } + [TLDef(0x5910CCCB)] //documentAttributeVideo#5910cccb duration:int w:int h:int = DocumentAttribute + public class DocumentAttributeVideo : DocumentAttribute + { + public int duration; + public int w; + public int h; + } + [TLDef(0x051448E5)] //documentAttributeAudio#051448e5 duration:int = DocumentAttribute + public class DocumentAttributeAudio : DocumentAttribute { public int duration; } + + [TLDef(0x7C596B46)] //fileLocationUnavailable#7c596b46 volume_id:long local_id:int secret:long = FileLocation + public 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 + public class FileLocation_ : FileLocation + { + public int dc_id; + public long volume_id; + public int local_id; + public long secret; + } + + public abstract 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 + public class DecryptedMessageMediaExternalDocument : DecryptedMessageMedia + { + public long id; + public long access_hash; + public DateTime date; + public string mime_type; + public int size; + public PhotoSize thumb; + public int dc_id; + public DocumentAttribute[] attributes; + } + } + + 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 + public class DecryptedMessage : ITLObject + { + [Flags] public enum Flags { has_reply_to_random_id = 0x8, has_entities = 0x80, has_media = 0x200, has_via_bot_name = 0x800 } + public Flags flags; + public long random_id; + public int ttl; + public string message; + [IfFlag(9)] public DecryptedMessageMedia media; + [IfFlag(7)] public MessageEntity[] entities; + [IfFlag(11)] public string via_bot_name; + [IfFlag(3)] public long reply_to_random_id; + } + + public abstract 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 + public class DecryptedMessageMediaPhoto : DecryptedMessageMedia + { + public byte[] thumb; + public int thumb_w; + public int thumb_h; + public int w; + public int h; + public int size; + public byte[] key; + 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 + public class DecryptedMessageMediaVideo : DecryptedMessageMedia + { + public byte[] thumb; + public int thumb_w; + public int thumb_h; + public int duration; + public string mime_type; + public int w; + public int h; + public int size; + public byte[] key; + 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 + public class DecryptedMessageMediaDocument : DecryptedMessageMedia + { + public byte[] thumb; + public int thumb_w; + public int thumb_h; + public string mime_type; + public int size; + public byte[] key; + public byte[] iv; + public DocumentAttribute[] attributes; + public string caption; + } + [TLDef(0x8A0DF56F)] //decryptedMessageMediaVenue#8a0df56f lat:double long:double title:string address:string provider:string venue_id:string = DecryptedMessageMedia + public class DecryptedMessageMediaVenue : DecryptedMessageMedia + { + public double lat; + public double long_; + public string title; + public string address; + public string provider; + public string venue_id; + } + [TLDef(0xE50511D8)] //decryptedMessageMediaWebPage#e50511d8 url:string = DecryptedMessageMedia + public class DecryptedMessageMediaWebPage : DecryptedMessageMedia { public string url; } + + [TLDef(0x3A556302)] //documentAttributeSticker#3a556302 alt:string stickerset:InputStickerSet = DocumentAttribute + public class DocumentAttributeSticker : DocumentAttribute + { + public string alt; + public InputStickerSet stickerset; + } + [TLDef(0xDED218E0)] //documentAttributeAudio#ded218e0 duration:int title:string performer:string = DocumentAttribute + public class DocumentAttributeAudio : DocumentAttribute + { + public int duration; + public string title; + public string performer; + } + } + + namespace Layer46 { } + + namespace Layer66 + { + [TLDef(0xBB718624)] //sendMessageUploadRoundAction#bb718624 = SendMessageAction + public 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 + public class DecryptedMessage : ITLObject + { + [Flags] public enum Flags { has_reply_to_random_id = 0x8, has_entities = 0x80, has_media = 0x200, has_via_bot_name = 0x800, + has_grouped_id = 0x20000 } + public Flags flags; + public long random_id; + public int ttl; + public string message; + [IfFlag(9)] public Layer45.DecryptedMessageMedia media; + [IfFlag(7)] public MessageEntity[] entities; + [IfFlag(11)] public string via_bot_name; + [IfFlag(3)] public long reply_to_random_id; + [IfFlag(17)] public long grouped_id; + } + } + } diff --git a/TL.Table.cs b/TL.Table.cs index 00b1694..60db95a 100644 --- a/TL.Table.cs +++ b/TL.Table.cs @@ -5,6 +5,9 @@ namespace TL { static partial class Schema { + public const int Layer = 121; // fetched 07/08/2021 01:34:33 + public const int VectorCtor = 0x1CB5C415; + internal readonly static Dictionary Table = new() { // from TL.MTProto: @@ -30,7 +33,7 @@ namespace TL [0x62D350C9] = typeof(DestroySessionNone), [0x9EC20908] = typeof(NewSessionCreated), [0x73F1F8DC] = typeof(MsgContainer), - [0x5BB8E511] = typeof(Message), + [0x5BB8E511] = typeof(_Message), [0xE06046B2] = typeof(MsgCopy), [0x3072CFA1] = typeof(GzipPacked), [0x62D6B459] = typeof(MsgsAck), @@ -45,16 +48,6 @@ namespace TL [0xF660E1D4] = typeof(DestroyAuthKeyOk), [0x0A9F2259] = typeof(DestroyAuthKeyNone), [0xEA109B13] = typeof(DestroyAuthKeyFail), - [0xBE7E8EF1] = typeof(Fn.ReqPQmulti), - [0xD712E4BE] = typeof(Fn.ReqDHParams), - [0xF5045F1F] = typeof(Fn.SetClientDHParams), - [0x58E4A740] = typeof(Fn.ReqRpcDropAnswer), - [0xB921BD04] = typeof(Fn.GetFutureSalts), - [0x7ABE77EC] = typeof(Fn.Ping), - [0xF3427B8C] = typeof(Fn.PingDelayDisconnect), - [0xE7512126] = typeof(Fn.DestroySession), - [0x9299359F] = typeof(Fn.HttpWait), - [0xD1435160] = typeof(Fn.DestroyAuthKey), // from TL.Schema: [0x3FEDD339] = typeof(True), [0xC4B9F9BB] = typeof(Error), @@ -62,32 +55,15 @@ namespace TL [0x7F3B18EA] = typeof(InputPeerEmpty), [0x7DA07EC9] = typeof(InputPeerSelf), [0x179BE863] = typeof(InputPeerChat), - [0x7B8E7DE6] = typeof(InputPeerUser), - [0x20ADAEF8] = typeof(InputPeerChannel), - [0x17BAE2E6] = typeof(InputPeerUserFromMessage), - [0x9C95F7BB] = typeof(InputPeerChannelFromMessage), [0xB98886CF] = typeof(InputUserEmpty), [0xF7C1B13F] = typeof(InputUserSelf), - [0xD8292816] = typeof(InputUser), - [0x2D117597] = typeof(InputUserFromMessage), [0xF392B7F4] = typeof(InputPhoneContact), [0xF52FF27F] = typeof(InputFile), - [0xFA4F0BB5] = typeof(InputFileBig), [0x9664F57F] = typeof(InputMediaEmpty), [0x1E287D04] = typeof(InputMediaUploadedPhoto), [0xB3BA0635] = typeof(InputMediaPhoto), [0xF9C44144] = typeof(InputMediaGeoPoint), [0xF8AB7DFB] = typeof(InputMediaContact), - [0x5B38C6C1] = typeof(InputMediaUploadedDocument), - [0x23AB23D2] = typeof(InputMediaDocument), - [0xC13D1C11] = typeof(InputMediaVenue), - [0xE5BBFE1A] = typeof(InputMediaPhotoExternal), - [0xFB52DC99] = typeof(InputMediaDocumentExternal), - [0xD33F43F3] = typeof(InputMediaGame), - [0xF4E096C3] = typeof(InputMediaInvoice), - [0x971FA843] = typeof(InputMediaGeoLive), - [0x0F94E5F1] = typeof(InputMediaPoll), - [0xE66FBF7B] = typeof(InputMediaDice), [0x1CA48F57] = typeof(InputChatPhotoEmpty), [0xC642724E] = typeof(InputChatUploadedPhoto), [0x8953AD37] = typeof(InputChatPhoto), @@ -96,17 +72,8 @@ namespace TL [0x1CD7BF0D] = typeof(InputPhotoEmpty), [0x3BB3B94A] = typeof(InputPhoto), [0xDFDAABE1] = typeof(InputFileLocation), - [0xF5235D55] = typeof(InputEncryptedFileLocation), - [0xBAD07584] = typeof(InputDocumentFileLocation), - [0xCBC7EE28] = typeof(InputSecureFileLocation), - [0x29BE5899] = typeof(InputTakeoutFileLocation), - [0x40181FFE] = typeof(InputPhotoFileLocation), - [0xD83466F3] = typeof(InputPhotoLegacyFileLocation), - [0x27D69997] = typeof(InputPeerPhotoFileLocation), - [0x0DBAEAE9] = typeof(InputStickerSetThumb), [0x9DB1BC6D] = typeof(PeerUser), [0xBAD0E5BB] = typeof(PeerChat), - [0xBDDDE532] = typeof(PeerChannel), [0xAA963B05] = typeof(Storage_FileUnknown), [0x40BC6F52] = typeof(Storage_FilePartial), [0x007EFE0E] = typeof(Storage_FileJpeg), @@ -118,25 +85,16 @@ namespace TL [0xB3CEA0E4] = typeof(Storage_FileMp4), [0x1081464C] = typeof(Storage_FileWebp), [0x200250BA] = typeof(UserEmpty), - [0x938458C1] = typeof(User), [0x4F11BAE1] = typeof(UserProfilePhotoEmpty), [0x69D3AB26] = typeof(UserProfilePhoto), [0x09D05049] = typeof(UserStatusEmpty), [0xEDB93949] = typeof(UserStatusOnline), [0x008C703F] = typeof(UserStatusOffline), - [0xE26F42F1] = typeof(UserStatusRecently), - [0x07BF09FC] = typeof(UserStatusLastWeek), - [0x77EBC742] = typeof(UserStatusLastMonth), [0x9BA2D800] = typeof(ChatEmpty), [0x3BDA1BDE] = typeof(Chat), [0x07328BDB] = typeof(ChatForbidden), - [0xD31A961E] = typeof(Channel), - [0x289DA732] = typeof(ChannelForbidden), [0x1B7C9DB3] = typeof(ChatFull), - [0xF0E6672A] = typeof(ChannelFull), [0xC8D7493E] = typeof(ChatParticipant), - [0xDA13538A] = typeof(ChatParticipantCreator), - [0xE2D6E436] = typeof(ChatParticipantAdmin), [0xFC900C2B] = typeof(ChatParticipantsForbidden), [0x3F460FED] = typeof(ChatParticipants), [0x37C1011C] = typeof(ChatPhotoEmpty), @@ -149,14 +107,6 @@ namespace TL [0x56E0D474] = typeof(MessageMediaGeo), [0xCBF24940] = typeof(MessageMediaContact), [0x9F84F49E] = typeof(MessageMediaUnsupported), - [0x9CB070D7] = typeof(MessageMediaDocument), - [0xA32DD600] = typeof(MessageMediaWebPage), - [0x2EC0533F] = typeof(MessageMediaVenue), - [0xFDB19008] = typeof(MessageMediaGame), - [0x84551347] = typeof(MessageMediaInvoice), - [0xB940C666] = typeof(MessageMediaGeoLive), - [0x4BD6E798] = typeof(MessageMediaPoll), - [0x3F7EE58B] = typeof(MessageMediaDice), [0xB6AEF7B0] = typeof(MessageActionEmpty), [0xA6638B9A] = typeof(MessageActionChatCreate), [0xB5A1CE5A] = typeof(MessageActionChatEditTitle), @@ -164,55 +114,29 @@ namespace TL [0x95E3FBEF] = typeof(MessageActionChatDeletePhoto), [0x488A7337] = typeof(MessageActionChatAddUser), [0xB2AE9B0C] = typeof(MessageActionChatDeleteUser), - [0xF89CF5E8] = typeof(MessageActionChatJoinedByLink), - [0x95D2AC92] = typeof(MessageActionChannelCreate), - [0x51BDB021] = typeof(MessageActionChatMigrateTo), - [0xB055EAEE] = typeof(MessageActionChannelMigrateFrom), - [0x94BD38ED] = typeof(MessageActionPinMessage), - [0x9FBAB604] = typeof(MessageActionHistoryClear), - [0x92A72876] = typeof(MessageActionGameScore), - [0x8F31B327] = typeof(MessageActionPaymentSentMe), - [0x40699CD0] = typeof(MessageActionPaymentSent), - [0x80E11A7F] = typeof(MessageActionPhoneCall), - [0x4792929B] = typeof(MessageActionScreenshotTaken), - [0xFAE69F56] = typeof(MessageActionCustomAction), - [0xABE9AFFE] = typeof(MessageActionBotAllowed), - [0x1B287353] = typeof(MessageActionSecureValuesSentMe), - [0xD95C6154] = typeof(MessageActionSecureValuesSent), - [0xF3F25F76] = typeof(MessageActionContactSignUp), - [0x98E0D697] = typeof(MessageActionGeoProximityReached), [0x2C171F72] = typeof(Dialog), - [0x71BD134C] = typeof(DialogFolder), [0x2331B22D] = typeof(PhotoEmpty), [0xFB197A65] = typeof(Photo), [0x0E17E23C] = typeof(PhotoSizeEmpty), [0x77BFB61B] = typeof(PhotoSize), [0xE9A734FA] = typeof(PhotoCachedSize), - [0xE0B0BC2E] = typeof(PhotoStrippedSize), - [0x5AA86A51] = typeof(PhotoSizeProgressive), - [0xD8214D41] = typeof(PhotoPathSize), [0x1117DD5F] = typeof(GeoPointEmpty), [0xB2A2F663] = typeof(GeoPoint), [0x5E002502] = typeof(Auth_SentCode), [0xCD050916] = typeof(Auth_Authorization), - [0x44747E9A] = typeof(Auth_AuthorizationSignUpRequired), [0xDF969C2D] = typeof(Auth_ExportedAuthorization), [0xB8BC5B0C] = typeof(InputNotifyPeer), [0x193B4417] = typeof(InputNotifyUsers), [0x4A95E84E] = typeof(InputNotifyChats), - [0xB1DB7C7E] = typeof(InputNotifyBroadcasts), [0x9C3D198E] = typeof(InputPeerNotifySettings), [0xAF509D20] = typeof(PeerNotifySettings), [0x733F2961] = typeof(PeerSettings), [0xA437C3ED] = typeof(WallPaper), - [0x8AF40B25] = typeof(WallPaperNoFile), [0x58DBCAB8] = typeof(InputReportReasonSpam), [0x1E22C78D] = typeof(InputReportReasonViolence), [0x2E59D922] = typeof(InputReportReasonPornography), [0xADF44EE3] = typeof(InputReportReasonChildAbuse), [0xE1746D0A] = typeof(InputReportReasonOther), - [0x9B89F93A] = typeof(InputReportReasonCopyright), - [0xDBD4FEED] = typeof(InputReportReasonGeoIrrelevant), [0xEDF17C12] = typeof(UserFull), [0xF911C994] = typeof(Contact), [0xD0028438] = typeof(ImportedContact), @@ -224,13 +148,9 @@ namespace TL [0xE1664194] = typeof(Contacts_BlockedSlice), [0x15BA6C40] = typeof(Messages_Dialogs), [0x71E094F3] = typeof(Messages_DialogsSlice), - [0xF0E3E596] = typeof(Messages_DialogsNotModified), [0x8C718E87] = typeof(Messages_Messages), [0x3A54685E] = typeof(Messages_MessagesSlice), - [0x64479808] = typeof(Messages_ChannelMessages), - [0x74535F21] = typeof(Messages_MessagesNotModified), [0x64FF9FD5] = typeof(Messages_Chats), - [0x9CD81144] = typeof(Messages_ChatsSlice), [0xE5D7D19C] = typeof(Messages_ChatFull), [0xB45C69D1] = typeof(Messages_AffectedHistory), [0x57E2F66C] = typeof(InputMessagesFilterEmpty), @@ -240,16 +160,6 @@ namespace TL [0x9EDDF188] = typeof(InputMessagesFilterDocument), [0x7EF0DD87] = typeof(InputMessagesFilterUrl), [0xFFC86587] = typeof(InputMessagesFilterGif), - [0x50F5C392] = typeof(InputMessagesFilterVoice), - [0x3751B49E] = typeof(InputMessagesFilterMusic), - [0x3A20ECB8] = typeof(InputMessagesFilterChatPhotos), - [0x80C99768] = typeof(InputMessagesFilterPhoneCalls), - [0x7A7C17A4] = typeof(InputMessagesFilterRoundVoice), - [0xB549DA53] = typeof(InputMessagesFilterRoundVideo), - [0xC1F8E69A] = typeof(InputMessagesFilterMyMentions), - [0xE7026D0D] = typeof(InputMessagesFilterGeo), - [0xE062DB83] = typeof(InputMessagesFilterContacts), - [0x1BB00451] = typeof(InputMessagesFilterPinned), [0x1F2B0AFD] = typeof(UpdateNewMessage), [0x4E90BFD6] = typeof(UpdateMessageID), [0xA20DB0E5] = typeof(UpdateDeleteMessages), @@ -259,104 +169,30 @@ namespace TL [0x1BFBD823] = typeof(UpdateUserStatus), [0xA7332B73] = typeof(UpdateUserName), [0x95313B0C] = typeof(UpdateUserPhoto), - [0x12BCBD9A] = typeof(UpdateNewEncryptedMessage), - [0x1710F156] = typeof(UpdateEncryptedChatTyping), - [0xB4A2E88D] = typeof(UpdateEncryption), - [0x38FE25B7] = typeof(UpdateEncryptedMessagesRead), - [0xEA4B0E5C] = typeof(UpdateChatParticipantAdd), - [0x6E5F8C22] = typeof(UpdateChatParticipantDelete), - [0x8E5E9873] = typeof(UpdateDcOptions), - [0xBEC268EF] = typeof(UpdateNotifySettings), - [0xEBE46819] = typeof(UpdateServiceNotification), - [0xEE3B272A] = typeof(UpdatePrivacy), - [0x12B9417B] = typeof(UpdateUserPhone), - [0x9C974FDF] = typeof(UpdateReadHistoryInbox), - [0x2F2F21BF] = typeof(UpdateReadHistoryOutbox), - [0x7F891213] = typeof(UpdateWebPage), - [0x68C13933] = typeof(UpdateReadMessagesContents), - [0xEB0467FB] = typeof(UpdateChannelTooLong), - [0xB6D45656] = typeof(UpdateChannel), - [0x62BA04D9] = typeof(UpdateNewChannelMessage), - [0x330B5424] = typeof(UpdateReadChannelInbox), - [0xC37521C9] = typeof(UpdateDeleteChannelMessages), - [0x98A12B4B] = typeof(UpdateChannelMessageViews), - [0xB6901959] = typeof(UpdateChatParticipantAdmin), - [0x688A30AA] = typeof(UpdateNewStickerSet), - [0x0BB2D201] = typeof(UpdateStickerSetsOrder), - [0x43AE3DEC] = typeof(UpdateStickerSets), - [0x9375341E] = typeof(UpdateSavedGifs), - [0x54826690] = typeof(UpdateBotInlineQuery), - [0x0E48F964] = typeof(UpdateBotInlineSend), - [0x1B3F4DF7] = typeof(UpdateEditChannelMessage), - [0xE73547E1] = typeof(UpdateBotCallbackQuery), - [0xE40370A3] = typeof(UpdateEditMessage), - [0xF9D27A5A] = typeof(UpdateInlineBotCallbackQuery), - [0x25D6C9C7] = typeof(UpdateReadChannelOutbox), - [0xEE2BB969] = typeof(UpdateDraftMessage), - [0x571D2742] = typeof(UpdateReadFeaturedStickers), - [0x9A422C20] = typeof(UpdateRecentStickers), - [0xA229DD06] = typeof(UpdateConfig), - [0x3354678F] = typeof(UpdatePtsChanged), - [0x40771900] = typeof(UpdateChannelWebPage), - [0x6E6FE51C] = typeof(UpdateDialogPinned), - [0xFA0F3CA2] = typeof(UpdatePinnedDialogs), - [0x8317C0C3] = typeof(UpdateBotWebhookJSON), - [0x9B9240A6] = typeof(UpdateBotWebhookJSONQuery), - [0xE0CDC940] = typeof(UpdateBotShippingQuery), - [0x5D2F3AA9] = typeof(UpdateBotPrecheckoutQuery), - [0xAB0F6B1E] = typeof(UpdatePhoneCall), - [0x46560264] = typeof(UpdateLangPackTooLong), - [0x56022F4D] = typeof(UpdateLangPack), - [0xE511996D] = typeof(UpdateFavedStickers), - [0x89893B45] = typeof(UpdateChannelReadMessagesContents), - [0x7084A7BE] = typeof(UpdateContactsReset), - [0x70DB6837] = typeof(UpdateChannelAvailableMessages), - [0xE16459C3] = typeof(UpdateDialogUnreadMark), - [0xACA1657B] = typeof(UpdateMessagePoll), - [0x54C01850] = typeof(UpdateChatDefaultBannedRights), - [0x19360DC0] = typeof(UpdateFolderPeers), - [0x6A7E7366] = typeof(UpdatePeerSettings), - [0xB4AFCFB0] = typeof(UpdatePeerLocated), - [0x39A51DFB] = typeof(UpdateNewScheduledMessage), - [0x90866CEE] = typeof(UpdateDeleteScheduledMessages), - [0x8216FBA3] = typeof(UpdateTheme), - [0x871FB939] = typeof(UpdateGeoLiveViewed), - [0x564FE691] = typeof(UpdateLoginToken), - [0x42F88F2C] = typeof(UpdateMessagePollVote), - [0x26FFDE7D] = typeof(UpdateDialogFilter), - [0xA5D72105] = typeof(UpdateDialogFilterOrder), - [0x3504914F] = typeof(UpdateDialogFilters), - [0x2661BF09] = typeof(UpdatePhoneCallSignalingData), - [0x6E8A84DF] = typeof(UpdateChannelMessageForwards), - [0x1CC7DE54] = typeof(UpdateReadChannelDiscussionInbox), - [0x4638A26C] = typeof(UpdateReadChannelDiscussionOutbox), - [0x246A4B22] = typeof(UpdatePeerBlocked), - [0xFF2ABE9F] = typeof(UpdateChannelUserTyping), - [0xED85EAB5] = typeof(UpdatePinnedMessages), - [0x8588878B] = typeof(UpdatePinnedChannelMessages), [0xA56C2A3E] = typeof(Updates_State), [0x5D75A138] = typeof(Updates_DifferenceEmpty), [0x00F49CA0] = typeof(Updates_Difference), [0xA8FB1981] = typeof(Updates_DifferenceSlice), - [0x4AFE8F6D] = typeof(Updates_DifferenceTooLong), [0xE317AF7E] = typeof(UpdatesTooLong), [0x2296D2C8] = typeof(UpdateShortMessage), [0x402D5DBB] = typeof(UpdateShortChatMessage), [0x78D4DEC1] = typeof(UpdateShort), [0x725B04C3] = typeof(UpdatesCombined), [0x74AE4240] = typeof(Updates), - [0x11F1331C] = typeof(UpdateShortSentMessage), [0x8DCA6AA5] = typeof(Photos_Photos), [0x15051F54] = typeof(Photos_PhotosSlice), [0x20212CA8] = typeof(Photos_Photo), [0x096A18D5] = typeof(Upload_File), - [0xF18CDA44] = typeof(Upload_FileCdnRedirect), [0x18B7A10D] = typeof(DcOption), [0x330B4067] = typeof(Config), [0x8E1A1775] = typeof(NearestDc), [0x1DA7158F] = typeof(Help_AppUpdate), [0xC45A6536] = typeof(Help_NoAppUpdate), [0x18CB9F78] = typeof(Help_InviteText), + [0x12BCBD9A] = typeof(UpdateNewEncryptedMessage), + [0x1710F156] = typeof(UpdateEncryptedChatTyping), + [0xB4A2E88D] = typeof(UpdateEncryption), + [0x38FE25B7] = typeof(UpdateEncryptedMessagesRead), [0xAB7EC0A0] = typeof(EncryptedChatEmpty), [0x3BF703DC] = typeof(EncryptedChatWaiting), [0x62718A82] = typeof(EncryptedChatRequested), @@ -368,22 +204,31 @@ namespace TL [0x1837C364] = typeof(InputEncryptedFileEmpty), [0x64BD0306] = typeof(InputEncryptedFileUploaded), [0x5A17B5E5] = typeof(InputEncryptedFile), - [0x2DC173C8] = typeof(InputEncryptedFileBigUploaded), + [0xF5235D55] = typeof(InputEncryptedFileLocation), [0xED18C118] = typeof(EncryptedMessage), [0x23734B06] = typeof(EncryptedMessageService), [0xC0E24635] = typeof(Messages_DhConfigNotModified), [0x2C221EDD] = typeof(Messages_DhConfig), [0x560F8935] = typeof(Messages_SentEncryptedMessage), [0x9493FF32] = typeof(Messages_SentEncryptedFile), + [0xFA4F0BB5] = typeof(InputFileBig), + [0x2DC173C8] = typeof(InputEncryptedFileBigUploaded), + [0xEA4B0E5C] = typeof(UpdateChatParticipantAdd), + [0x6E5F8C22] = typeof(UpdateChatParticipantDelete), + [0x8E5E9873] = typeof(UpdateDcOptions), + [0x5B38C6C1] = typeof(InputMediaUploadedDocument), + [0x23AB23D2] = typeof(InputMediaDocument), + [0x9CB070D7] = typeof(MessageMediaDocument), [0x72F0EAAE] = typeof(InputDocumentEmpty), [0x1ABFB575] = typeof(InputDocument), + [0xBAD07584] = typeof(InputDocumentFileLocation), [0x36F8C871] = typeof(DocumentEmpty), [0x1E87342B] = typeof(Document), [0x17C6B5F6] = typeof(Help_Support), [0x9FD40BD8] = typeof(NotifyPeer), [0xB4C83B4C] = typeof(NotifyUsers), [0xC007CEC3] = typeof(NotifyChats), - [0xD612E8EF] = typeof(NotifyBroadcasts), + [0xBEC268EF] = typeof(UpdateNotifySettings), [0x16BF744E] = typeof(SendMessageTypingAction), [0xFD5EC8F5] = typeof(SendMessageCancelAction), [0xA187D66F] = typeof(SendMessageRecordVideoAction), @@ -394,98 +239,78 @@ namespace TL [0xAA0CD9E4] = typeof(SendMessageUploadDocumentAction), [0x176F8BA1] = typeof(SendMessageGeoLocationAction), [0x628CBC6F] = typeof(SendMessageChooseContactAction), - [0xDD6A8F48] = typeof(SendMessageGamePlayAction), - [0x88F27FBC] = typeof(SendMessageRecordRoundAction), - [0x243E1C66] = typeof(SendMessageUploadRoundAction), [0xB3134D9D] = typeof(Contacts_Found), + [0xEBE46819] = typeof(UpdateServiceNotification), + [0xE26F42F1] = typeof(UserStatusRecently), + [0x07BF09FC] = typeof(UserStatusLastWeek), + [0x77EBC742] = typeof(UserStatusLastMonth), + [0xEE3B272A] = typeof(UpdatePrivacy), [0x4F96CB18] = typeof(InputPrivacyKeyStatusTimestamp), - [0xBDFB0426] = typeof(InputPrivacyKeyChatInvite), - [0xFABADC5F] = typeof(InputPrivacyKeyPhoneCall), - [0xDB9E70D2] = typeof(InputPrivacyKeyPhoneP2P), - [0xA4DD4C08] = typeof(InputPrivacyKeyForwards), - [0x5719BACC] = typeof(InputPrivacyKeyProfilePhoto), - [0x0352DAFA] = typeof(InputPrivacyKeyPhoneNumber), - [0xD1219BDD] = typeof(InputPrivacyKeyAddedByPhone), [0xBC2EAB30] = typeof(PrivacyKeyStatusTimestamp), - [0x500E6DFA] = typeof(PrivacyKeyChatInvite), - [0x3D662B7B] = typeof(PrivacyKeyPhoneCall), - [0x39491CC8] = typeof(PrivacyKeyPhoneP2P), - [0x69EC56A3] = typeof(PrivacyKeyForwards), - [0x96151FED] = typeof(PrivacyKeyProfilePhoto), - [0xD19AE46D] = typeof(PrivacyKeyPhoneNumber), - [0x42FFD42B] = typeof(PrivacyKeyAddedByPhone), [0x0D09E07B] = typeof(InputPrivacyValueAllowContacts), [0x184B35CE] = typeof(InputPrivacyValueAllowAll), [0x131CC67F] = typeof(InputPrivacyValueAllowUsers), [0x0BA52007] = typeof(InputPrivacyValueDisallowContacts), [0xD66B66C9] = typeof(InputPrivacyValueDisallowAll), [0x90110467] = typeof(InputPrivacyValueDisallowUsers), - [0x4C81C1BA] = typeof(InputPrivacyValueAllowChatParticipants), - [0xD82363AF] = typeof(InputPrivacyValueDisallowChatParticipants), [0xFFFE1BAC] = typeof(PrivacyValueAllowContacts), [0x65427B82] = typeof(PrivacyValueAllowAll), [0x4D5BBE0C] = typeof(PrivacyValueAllowUsers), [0xF888FA1A] = typeof(PrivacyValueDisallowContacts), [0x8B73E763] = typeof(PrivacyValueDisallowAll), [0x0C7F49B7] = typeof(PrivacyValueDisallowUsers), - [0x18BE796B] = typeof(PrivacyValueAllowChatParticipants), - [0xACAE0690] = typeof(PrivacyValueDisallowChatParticipants), [0x50A04E45] = typeof(Account_PrivacyRules), [0xB8D0AFDF] = typeof(AccountDaysTTL), + [0x12B9417B] = typeof(UpdateUserPhone), [0x6C37C15C] = typeof(DocumentAttributeImageSize), [0x11B58939] = typeof(DocumentAttributeAnimated), [0x6319D612] = typeof(DocumentAttributeSticker), [0x0EF02CE6] = typeof(DocumentAttributeVideo), [0x9852F9C6] = typeof(DocumentAttributeAudio), [0x15590068] = typeof(DocumentAttributeFilename), - [0x9801D2F7] = typeof(DocumentAttributeHasStickers), [0xF1749A22] = typeof(Messages_StickersNotModified), [0xE4599BBD] = typeof(Messages_Stickers), [0x12B299D4] = typeof(StickerPack), [0xE86602C3] = typeof(Messages_AllStickersNotModified), [0xEDFD405F] = typeof(Messages_AllStickers), + [0x9C974FDF] = typeof(UpdateReadHistoryInbox), + [0x2F2F21BF] = typeof(UpdateReadHistoryOutbox), [0x84D19185] = typeof(Messages_AffectedMessages), + [0x7F891213] = typeof(UpdateWebPage), [0xEB1477E8] = typeof(WebPageEmpty), [0xC586DA1C] = typeof(WebPagePending), [0xE89C45B2] = typeof(WebPage), - [0x7311CA11] = typeof(WebPageNotModified), + [0xA32DD600] = typeof(MessageMediaWebPage), [0xAD01D61D] = typeof(Authorization), [0x1250ABDE] = typeof(Account_Authorizations), [0xAD2641F8] = typeof(Account_Password), [0x9A5C33E5] = typeof(Account_PasswordSettings), [0xC23727C9] = typeof(Account_PasswordInputSettings), [0x137948A5] = typeof(Auth_PasswordRecovery), + [0xC13D1C11] = typeof(InputMediaVenue), + [0x2EC0533F] = typeof(MessageMediaVenue), [0xA384B779] = typeof(ReceivedNotifyMessage), [0x69DF3769] = typeof(ChatInviteEmpty), [0xFC2E05BC] = typeof(ChatInviteExported), [0x5A686D7C] = typeof(ChatInviteAlready), [0xDFC2F58E] = typeof(ChatInvite), - [0x61695CB0] = typeof(ChatInvitePeek), + [0xF89CF5E8] = typeof(MessageActionChatJoinedByLink), + [0x68C13933] = typeof(UpdateReadMessagesContents), [0xFFB62B95] = typeof(InputStickerSetEmpty), [0x9DE7A269] = typeof(InputStickerSetID), [0x861CC8A0] = typeof(InputStickerSetShortName), - [0x028703C8] = typeof(InputStickerSetAnimatedEmoji), - [0xE67F520E] = typeof(InputStickerSetDice), [0xEEB46F27] = typeof(StickerSet), [0xB60A24A6] = typeof(Messages_StickerSet), + [0x938458C1] = typeof(User), [0xC27AC8C7] = typeof(BotCommand), [0x98E81D3A] = typeof(BotInfo), [0xA2FA4880] = typeof(KeyboardButton), - [0x258AFF05] = typeof(KeyboardButtonUrl), - [0x35BBDB6B] = typeof(KeyboardButtonCallback), - [0xB16A6C29] = typeof(KeyboardButtonRequestPhone), - [0xFC796B3F] = typeof(KeyboardButtonRequestGeoLocation), - [0x0568A748] = typeof(KeyboardButtonSwitchInline), - [0x50F41CCF] = typeof(KeyboardButtonGame), - [0xAFD93FBB] = typeof(KeyboardButtonBuy), - [0x10B78D29] = typeof(KeyboardButtonUrlAuth), - [0xD02E7FD4] = typeof(InputKeyboardButtonUrlAuth), - [0xBBC7515D] = typeof(KeyboardButtonRequestPoll), [0x77608B83] = typeof(KeyboardButtonRow), [0xA03E5B85] = typeof(ReplyKeyboardHide), [0xF4108AA0] = typeof(ReplyKeyboardForceReply), [0x3502758C] = typeof(ReplyKeyboardMarkup), - [0x48A30254] = typeof(ReplyInlineMarkup), + [0x7B8E7DE6] = typeof(InputPeerUser), + [0xD8292816] = typeof(InputUser), [0xBB92BA95] = typeof(MessageEntityUnknown), [0xFA04579D] = typeof(MessageEntityMention), [0x6F635B0D] = typeof(MessageEntityHashtag), @@ -497,19 +322,24 @@ namespace TL [0x28A20571] = typeof(MessageEntityCode), [0x73924BE0] = typeof(MessageEntityPre), [0x76A6D327] = typeof(MessageEntityTextUrl), - [0x352DCA58] = typeof(MessageEntityMentionName), - [0x208E68C9] = typeof(InputMessageEntityMentionName), - [0x9B69E34B] = typeof(MessageEntityPhone), - [0x4C4E743F] = typeof(MessageEntityCashtag), - [0x9C4E7E8B] = typeof(MessageEntityUnderline), - [0xBF0693D4] = typeof(MessageEntityStrike), - [0x020DF5D0] = typeof(MessageEntityBlockquote), - [0x761E6AF4] = typeof(MessageEntityBankCard), + [0x11F1331C] = typeof(UpdateShortSentMessage), [0xEE8C1E86] = typeof(InputChannelEmpty), [0xAFEB712E] = typeof(InputChannel), - [0x2A286531] = typeof(InputChannelFromMessage), + [0xBDDDE532] = typeof(PeerChannel), + [0x20ADAEF8] = typeof(InputPeerChannel), + [0xD31A961E] = typeof(Channel), + [0x289DA732] = typeof(ChannelForbidden), [0x7F077AD9] = typeof(Contacts_ResolvedPeer), + [0xF0E6672A] = typeof(ChannelFull), [0x0AE30253] = typeof(MessageRange), + [0x64479808] = typeof(Messages_ChannelMessages), + [0x95D2AC92] = typeof(MessageActionChannelCreate), + [0xEB0467FB] = typeof(UpdateChannelTooLong), + [0xB6D45656] = typeof(UpdateChannel), + [0x62BA04D9] = typeof(UpdateNewChannelMessage), + [0x330B5424] = typeof(UpdateReadChannelInbox), + [0xC37521C9] = typeof(UpdateDeleteChannelMessages), + [0x98A12B4B] = typeof(UpdateChannelMessageViews), [0x3E11AFFB] = typeof(Updates_ChannelDifferenceEmpty), [0xA4BCC6FE] = typeof(Updates_ChannelDifferenceTooLong), [0x2064674E] = typeof(Updates_ChannelDifference), @@ -518,43 +348,41 @@ namespace TL [0x15EBAC1D] = typeof(ChannelParticipant), [0xA3289A6D] = typeof(ChannelParticipantSelf), [0x447DCA4B] = typeof(ChannelParticipantCreator), - [0xCCBEBBAF] = typeof(ChannelParticipantAdmin), - [0x1C0FACAF] = typeof(ChannelParticipantBanned), - [0xC3C6796B] = typeof(ChannelParticipantLeft), [0xDE3F3C79] = typeof(ChannelParticipantsRecent), [0xB4608969] = typeof(ChannelParticipantsAdmins), [0xA3B54985] = typeof(ChannelParticipantsKicked), - [0xB0D1865B] = typeof(ChannelParticipantsBots), - [0x1427A5E1] = typeof(ChannelParticipantsBanned), - [0x0656AC4B] = typeof(ChannelParticipantsSearch), - [0xBB6AE88D] = typeof(ChannelParticipantsContacts), - [0xE04B5CEB] = typeof(ChannelParticipantsMentions), [0xF56EE2A8] = typeof(Channels_ChannelParticipants), - [0xF0173FE9] = typeof(Channels_ChannelParticipantsNotModified), [0xD0D9B163] = typeof(Channels_ChannelParticipant), + [0xDA13538A] = typeof(ChatParticipantCreator), + [0xE2D6E436] = typeof(ChatParticipantAdmin), + [0xB6901959] = typeof(UpdateChatParticipantAdmin), + [0x51BDB021] = typeof(MessageActionChatMigrateTo), + [0xB055EAEE] = typeof(MessageActionChannelMigrateFrom), + [0xB0D1865B] = typeof(ChannelParticipantsBots), [0x780A0310] = typeof(Help_TermsOfService), + [0x688A30AA] = typeof(UpdateNewStickerSet), + [0x0BB2D201] = typeof(UpdateStickerSetsOrder), + [0x43AE3DEC] = typeof(UpdateStickerSets), [0xE8025CA2] = typeof(Messages_SavedGifsNotModified), [0x2E0709A5] = typeof(Messages_SavedGifs), + [0x9375341E] = typeof(UpdateSavedGifs), [0x3380C786] = typeof(InputBotInlineMessageMediaAuto), [0x3DCD7A87] = typeof(InputBotInlineMessageText), - [0x96929A85] = typeof(InputBotInlineMessageMediaGeo), - [0x417BBF11] = typeof(InputBotInlineMessageMediaVenue), - [0xA6EDBFFD] = typeof(InputBotInlineMessageMediaContact), - [0x4B425864] = typeof(InputBotInlineMessageGame), [0x88BF9319] = typeof(InputBotInlineResult), - [0xA8D864A7] = typeof(InputBotInlineResultPhoto), - [0xFFF8FDC4] = typeof(InputBotInlineResultDocument), - [0x4FA417F2] = typeof(InputBotInlineResultGame), [0x764CF810] = typeof(BotInlineMessageMediaAuto), [0x8C7F65E2] = typeof(BotInlineMessageText), - [0x051846FD] = typeof(BotInlineMessageMediaGeo), - [0x8A86659C] = typeof(BotInlineMessageMediaVenue), - [0x18D1CDC2] = typeof(BotInlineMessageMediaContact), [0x11965F3A] = typeof(BotInlineResult), - [0x17DB940B] = typeof(BotInlineMediaResult), [0x947CA848] = typeof(Messages_BotResults), + [0x54826690] = typeof(UpdateBotInlineQuery), + [0x0E48F964] = typeof(UpdateBotInlineSend), + [0x50F5C392] = typeof(InputMessagesFilterVoice), + [0x3751B49E] = typeof(InputMessagesFilterMusic), + [0xBDFB0426] = typeof(InputPrivacyKeyChatInvite), + [0x500E6DFA] = typeof(PrivacyKeyChatInvite), [0x5DAB1AF4] = typeof(ExportedMessageLink), [0x5F777DCE] = typeof(MessageFwdHeader), + [0x1B3F4DF7] = typeof(UpdateEditChannelMessage), + [0x94BD38ED] = typeof(MessageActionPinMessage), [0x72A3158C] = typeof(Auth_CodeTypeSms), [0x741CD3E3] = typeof(Auth_CodeTypeCall), [0x226CCEFB] = typeof(Auth_CodeTypeFlashCall), @@ -562,9 +390,27 @@ namespace TL [0xC000BBA2] = typeof(Auth_SentCodeTypeSms), [0x5353E5A7] = typeof(Auth_SentCodeTypeCall), [0xAB03C6D9] = typeof(Auth_SentCodeTypeFlashCall), + [0x258AFF05] = typeof(KeyboardButtonUrl), + [0x35BBDB6B] = typeof(KeyboardButtonCallback), + [0xB16A6C29] = typeof(KeyboardButtonRequestPhone), + [0xFC796B3F] = typeof(KeyboardButtonRequestGeoLocation), + [0x0568A748] = typeof(KeyboardButtonSwitchInline), + [0x48A30254] = typeof(ReplyInlineMarkup), [0x36585EA4] = typeof(Messages_BotCallbackAnswer), + [0xE73547E1] = typeof(UpdateBotCallbackQuery), [0x26B5DDE6] = typeof(Messages_MessageEditData), + [0xE40370A3] = typeof(UpdateEditMessage), + [0x96929A85] = typeof(InputBotInlineMessageMediaGeo), + [0x417BBF11] = typeof(InputBotInlineMessageMediaVenue), + [0xA6EDBFFD] = typeof(InputBotInlineMessageMediaContact), + [0x051846FD] = typeof(BotInlineMessageMediaGeo), + [0x8A86659C] = typeof(BotInlineMessageMediaVenue), + [0x18D1CDC2] = typeof(BotInlineMessageMediaContact), + [0xA8D864A7] = typeof(InputBotInlineResultPhoto), + [0xFFF8FDC4] = typeof(InputBotInlineResultDocument), + [0x17DB940B] = typeof(BotInlineMediaResult), [0x890C3D89] = typeof(InputBotInlineMessageID), + [0xF9D27A5A] = typeof(UpdateInlineBotCallbackQuery), [0x3C20629F] = typeof(InlineBotSwitchPM), [0x3371C354] = typeof(Messages_PeerDialogs), [0xEDCDC05B] = typeof(TopPeer), @@ -573,32 +419,50 @@ namespace TL [0x0637B7ED] = typeof(TopPeerCategoryCorrespondents), [0xBD17A14A] = typeof(TopPeerCategoryGroups), [0x161D9628] = typeof(TopPeerCategoryChannels), - [0x1E76A78C] = typeof(TopPeerCategoryPhoneCalls), - [0xA8406CA9] = typeof(TopPeerCategoryForwardUsers), - [0xFBEEC0F0] = typeof(TopPeerCategoryForwardChats), [0xFB834291] = typeof(TopPeerCategoryPeers), [0xDE266EF5] = typeof(Contacts_TopPeersNotModified), [0x70B772A8] = typeof(Contacts_TopPeers), - [0xB52C939D] = typeof(Contacts_TopPeersDisabled), + [0x352DCA58] = typeof(MessageEntityMentionName), + [0x208E68C9] = typeof(InputMessageEntityMentionName), + [0x3A20ECB8] = typeof(InputMessagesFilterChatPhotos), + [0x25D6C9C7] = typeof(UpdateReadChannelOutbox), + [0xEE2BB969] = typeof(UpdateDraftMessage), [0x1B0C841A] = typeof(DraftMessageEmpty), [0xFD8E711F] = typeof(DraftMessage), + [0x9FBAB604] = typeof(MessageActionHistoryClear), [0xC6DC0C66] = typeof(Messages_FeaturedStickersNotModified), [0xB6ABC341] = typeof(Messages_FeaturedStickers), + [0x571D2742] = typeof(UpdateReadFeaturedStickers), [0x0B17F890] = typeof(Messages_RecentStickersNotModified), [0x22F3AFB3] = typeof(Messages_RecentStickers), + [0x9A422C20] = typeof(UpdateRecentStickers), [0x4FCBA9C8] = typeof(Messages_ArchivedStickers), [0x38641628] = typeof(Messages_StickerSetInstallResultSuccess), [0x35E410A8] = typeof(Messages_StickerSetInstallResultArchive), [0x6410A5D2] = typeof(StickerSetCovered), + [0xA229DD06] = typeof(UpdateConfig), + [0x3354678F] = typeof(UpdatePtsChanged), + [0xE5BBFE1A] = typeof(InputMediaPhotoExternal), + [0xFB52DC99] = typeof(InputMediaDocumentExternal), [0x3407E51B] = typeof(StickerSetMultiCovered), [0xAED6DBB2] = typeof(MaskCoords), + [0x9801D2F7] = typeof(DocumentAttributeHasStickers), [0x4A992157] = typeof(InputStickeredMediaPhoto), [0x0438865B] = typeof(InputStickeredMediaDocument), [0xBDF9653B] = typeof(Game), + [0x4FA417F2] = typeof(InputBotInlineResultGame), + [0x4B425864] = typeof(InputBotInlineMessageGame), + [0xFDB19008] = typeof(MessageMediaGame), + [0xD33F43F3] = typeof(InputMediaGame), [0x032C3E77] = typeof(InputGameID), [0xC331E80A] = typeof(InputGameShortName), + [0x50F41CCF] = typeof(KeyboardButtonGame), + [0x92A72876] = typeof(MessageActionGameScore), [0x58FFFCD0] = typeof(HighScore), [0x9A3BFD99] = typeof(Messages_HighScores), + [0x4AFE8F6D] = typeof(Updates_DifferenceTooLong), + [0x40771900] = typeof(UpdateChannelWebPage), + [0x9CD81144] = typeof(Messages_ChatsSlice), [0xDC3D824F] = typeof(TextEmpty), [0x744694E0] = typeof(TextPlain), [0x6724ABC4] = typeof(TextBold), @@ -609,12 +473,6 @@ namespace TL [0x3C2884C1] = typeof(TextUrl), [0xDE5A0DD6] = typeof(TextEmail), [0x7E6260D7] = typeof(TextConcat), - [0xED6A8504] = typeof(TextSubscript), - [0xC7FB5E01] = typeof(TextSuperscript), - [0x034B8621] = typeof(TextMarked), - [0x1CCB966A] = typeof(TextPhone), - [0x081CCF4F] = typeof(TextImage), - [0x35553762] = typeof(TextAnchor), [0x13567E8A] = typeof(PageBlockUnsupported), [0x70ABC3FD] = typeof(PageBlockTitle), [0x8FFA9A1F] = typeof(PageBlockSubtitle), @@ -636,44 +494,47 @@ namespace TL [0xF259A80B] = typeof(PageBlockEmbedPost), [0x65A0FA4D] = typeof(PageBlockCollage), [0x031F9590] = typeof(PageBlockSlideshow), - [0xEF1751B5] = typeof(PageBlockChannel), - [0x804361EA] = typeof(PageBlockAudio), - [0x1E148390] = typeof(PageBlockKicker), - [0xBF4DEA82] = typeof(PageBlockTable), - [0x9A8AE1E1] = typeof(PageBlockOrderedList), - [0x76768BED] = typeof(PageBlockDetails), - [0x16115A96] = typeof(PageBlockRelatedArticles), - [0xA44F3EF6] = typeof(PageBlockMap), + [0x7311CA11] = typeof(WebPageNotModified), + [0xFABADC5F] = typeof(InputPrivacyKeyPhoneCall), + [0x3D662B7B] = typeof(PrivacyKeyPhoneCall), + [0xDD6A8F48] = typeof(SendMessageGamePlayAction), [0x85E42301] = typeof(PhoneCallDiscardReasonMissed), [0xE095C1A0] = typeof(PhoneCallDiscardReasonDisconnect), [0x57ADC690] = typeof(PhoneCallDiscardReasonHangup), [0xFAF7E8C9] = typeof(PhoneCallDiscardReasonBusy), + [0x6E6FE51C] = typeof(UpdateDialogPinned), + [0xFA0F3CA2] = typeof(UpdatePinnedDialogs), [0x7D748D04] = typeof(DataJSON), + [0x8317C0C3] = typeof(UpdateBotWebhookJSON), + [0x9B9240A6] = typeof(UpdateBotWebhookJSONQuery), [0xCB296BF8] = typeof(LabeledPrice), [0xC30AA358] = typeof(Invoice), + [0xF4E096C3] = typeof(InputMediaInvoice), [0xEA02C27E] = typeof(PaymentCharge), + [0x8F31B327] = typeof(MessageActionPaymentSentMe), + [0x84551347] = typeof(MessageMediaInvoice), [0x1E8CAAEB] = typeof(PostAddress), [0x909C3F94] = typeof(PaymentRequestedInfo), + [0xAFD93FBB] = typeof(KeyboardButtonBuy), + [0x40699CD0] = typeof(MessageActionPaymentSent), [0xCDC27A1F] = typeof(PaymentSavedCredentialsCard), [0x1C570ED1] = typeof(WebDocument), - [0xF9C8BCC6] = typeof(WebDocumentNoProxy), [0x9BED434D] = typeof(InputWebDocument), [0xC239D686] = typeof(InputWebFileLocation), - [0x9F2221C9] = typeof(InputWebFileGeoPointLocation), [0x21E753BC] = typeof(Upload_WebFile), [0x3F56AEA3] = typeof(Payments_PaymentForm), [0xD1451883] = typeof(Payments_ValidatedRequestedInfo), [0x4E5F810D] = typeof(Payments_PaymentResult), - [0xD8411139] = typeof(Payments_PaymentVerificationNeeded), [0x500911E1] = typeof(Payments_PaymentReceipt), [0xFB8FE43C] = typeof(Payments_SavedInfo), [0xC10EB2CF] = typeof(InputPaymentCredentialsSaved), [0x3417D728] = typeof(InputPaymentCredentials), - [0x0AA1C39F] = typeof(InputPaymentCredentialsApplePay), - [0xCA05D50E] = typeof(InputPaymentCredentialsAndroidPay), [0xDB64FD34] = typeof(Account_TmpPassword), [0xB6213CDF] = typeof(ShippingOption), + [0xE0CDC940] = typeof(UpdateBotShippingQuery), + [0x5D2F3AA9] = typeof(UpdateBotPrecheckoutQuery), [0xFFA0A496] = typeof(InputStickerSetItem), + [0xAB0F6B1E] = typeof(UpdatePhoneCall), [0x1E36FDED] = typeof(InputPhoneCall), [0x5366C915] = typeof(PhoneCallEmpty), [0x1B8F4AD1] = typeof(PhoneCallWaiting), @@ -682,18 +543,31 @@ namespace TL [0x8742AE7F] = typeof(PhoneCall), [0x50CA4DE1] = typeof(PhoneCallDiscarded), [0x9D4C17C0] = typeof(PhoneConnection), - [0x635FE375] = typeof(PhoneConnectionWebrtc), [0xFC878FC8] = typeof(PhoneCallProtocol), [0xEC82E140] = typeof(Phone_PhoneCall), + [0x80C99768] = typeof(InputMessagesFilterPhoneCalls), + [0x80E11A7F] = typeof(MessageActionPhoneCall), + [0x7A7C17A4] = typeof(InputMessagesFilterRoundVoice), + [0xB549DA53] = typeof(InputMessagesFilterRoundVideo), + [0x88F27FBC] = typeof(SendMessageRecordRoundAction), + [0x243E1C66] = typeof(SendMessageUploadRoundAction), + [0xF18CDA44] = typeof(Upload_FileCdnRedirect), [0xEEA8E46E] = typeof(Upload_CdnFileReuploadNeeded), [0xA99FCA4F] = typeof(Upload_CdnFile), [0xC982EABA] = typeof(CdnPublicKey), [0x5725E40A] = typeof(CdnConfig), + [0xEF1751B5] = typeof(PageBlockChannel), [0xCAD181F6] = typeof(LangPackString), [0x6C47AC9F] = typeof(LangPackStringPluralized), [0x2979EEB2] = typeof(LangPackStringDeleted), [0xF385C1F6] = typeof(LangPackDifference), [0xEECA5CE3] = typeof(LangPackLanguage), + [0x46560264] = typeof(UpdateLangPackTooLong), + [0x56022F4D] = typeof(UpdateLangPack), + [0xCCBEBBAF] = typeof(ChannelParticipantAdmin), + [0x1C0FACAF] = typeof(ChannelParticipantBanned), + [0x1427A5E1] = typeof(ChannelParticipantsBanned), + [0x0656AC4B] = typeof(ChannelParticipantsSearch), [0xE6DFB825] = typeof(ChannelAdminLogEventActionChangeTitle), [0x55188A2E] = typeof(ChannelAdminLogEventActionChangeAbout), [0x6A4AFC38] = typeof(ChannelAdminLogEventActionChangeUsername), @@ -708,44 +582,58 @@ namespace TL [0xE31C34D8] = typeof(ChannelAdminLogEventActionParticipantInvite), [0xE6D83D7E] = typeof(ChannelAdminLogEventActionParticipantToggleBan), [0xD5676710] = typeof(ChannelAdminLogEventActionParticipantToggleAdmin), - [0xB1C3CAA7] = typeof(ChannelAdminLogEventActionChangeStickerSet), - [0x5F5C95F1] = typeof(ChannelAdminLogEventActionTogglePreHistoryHidden), - [0x2DF5FC0A] = typeof(ChannelAdminLogEventActionDefaultBannedRights), - [0x8F079643] = typeof(ChannelAdminLogEventActionStopPoll), - [0xA26F881B] = typeof(ChannelAdminLogEventActionChangeLinkedChat), - [0x0E6B76AE] = typeof(ChannelAdminLogEventActionChangeLocation), - [0x53909779] = typeof(ChannelAdminLogEventActionToggleSlowMode), [0x3B5A3E40] = typeof(ChannelAdminLogEvent), [0xED8AF74D] = typeof(Channels_AdminLogResults), [0xEA107AE4] = typeof(ChannelAdminLogEventsFilter), + [0x1E76A78C] = typeof(TopPeerCategoryPhoneCalls), + [0x804361EA] = typeof(PageBlockAudio), [0x5CE14175] = typeof(PopularContact), + [0x4792929B] = typeof(MessageActionScreenshotTaken), [0x9E8FA6D3] = typeof(Messages_FavedStickersNotModified), [0xF37F2F16] = typeof(Messages_FavedStickers), + [0xE511996D] = typeof(UpdateFavedStickers), + [0x89893B45] = typeof(UpdateChannelReadMessagesContents), + [0xC1F8E69A] = typeof(InputMessagesFilterMyMentions), + [0x7084A7BE] = typeof(UpdateContactsReset), + [0xB1C3CAA7] = typeof(ChannelAdminLogEventActionChangeStickerSet), + [0xFAE69F56] = typeof(MessageActionCustomAction), + [0x0AA1C39F] = typeof(InputPaymentCredentialsApplePay), + [0xCA05D50E] = typeof(InputPaymentCredentialsAndroidPay), + [0xE7026D0D] = typeof(InputMessagesFilterGeo), + [0xE062DB83] = typeof(InputMessagesFilterContacts), + [0x70DB6837] = typeof(UpdateChannelAvailableMessages), + [0x5F5C95F1] = typeof(ChannelAdminLogEventActionTogglePreHistoryHidden), + [0x971FA843] = typeof(InputMediaGeoLive), + [0xB940C666] = typeof(MessageMediaGeoLive), [0x46E1D13D] = typeof(RecentMeUrlUnknown), [0x8DBC3336] = typeof(RecentMeUrlUser), [0xA01B22F9] = typeof(RecentMeUrlChat), [0xEB49081D] = typeof(RecentMeUrlChatInvite), [0xBC0A57DC] = typeof(RecentMeUrlStickerSet), [0x0E0310D7] = typeof(Help_RecentMeUrls), + [0xF0173FE9] = typeof(Channels_ChannelParticipantsNotModified), + [0x74535F21] = typeof(Messages_MessagesNotModified), [0x1CC6E91F] = typeof(InputSingleMedia), [0xCAC943F2] = typeof(WebAuthorization), [0xED56C9FC] = typeof(Account_WebAuthorizations), [0xA676A322] = typeof(InputMessageID), [0xBAD88395] = typeof(InputMessageReplyTo), [0x86872538] = typeof(InputMessagePinned), - [0xACFA1A7E] = typeof(InputMessageCallbackQuery), + [0x9B69E34B] = typeof(MessageEntityPhone), + [0x4C4E743F] = typeof(MessageEntityCashtag), + [0xABE9AFFE] = typeof(MessageActionBotAllowed), [0xFCAAFEB7] = typeof(InputDialogPeer), - [0x64600527] = typeof(InputDialogPeerFolder), [0xE56DBF05] = typeof(DialogPeer), - [0x514519E2] = typeof(DialogPeerFolder), [0x0D54B65D] = typeof(Messages_FoundStickerSetsNotModified), [0x5108D648] = typeof(Messages_FoundStickerSets), [0x6242C773] = typeof(FileHash), + [0xF9C8BCC6] = typeof(WebDocumentNoProxy), [0x75588B3F] = typeof(InputClientProxy), [0xE3309F7F] = typeof(Help_TermsOfServiceUpdateEmpty), [0x28ECF961] = typeof(Help_TermsOfServiceUpdate), [0x3334B0F0] = typeof(InputSecureFileUploaded), [0x5367E5BE] = typeof(InputSecureFile), + [0xCBC7EE28] = typeof(InputSecureFileLocation), [0x64199744] = typeof(SecureFileEmpty), [0xE0277A62] = typeof(SecureFile), [0x8AEABEC3] = typeof(SecureData), @@ -773,24 +661,32 @@ namespace TL [0xE537CED6] = typeof(SecureValueErrorSelfie), [0x7A700873] = typeof(SecureValueErrorFile), [0x666220E9] = typeof(SecureValueErrorFiles), - [0x869D758F] = typeof(SecureValueError), - [0xA1144770] = typeof(SecureValueErrorTranslationFile), - [0x34636DD8] = typeof(SecureValueErrorTranslationFiles), [0x33F0EA47] = typeof(SecureCredentialsEncrypted), [0xAD2E1CD8] = typeof(Account_AuthorizationForm), [0x811F854F] = typeof(Account_SentEmailCode), + [0x1B287353] = typeof(MessageActionSecureValuesSentMe), + [0xD95C6154] = typeof(MessageActionSecureValuesSent), [0x66AFA166] = typeof(Help_DeepLinkInfoEmpty), [0x6A4EE832] = typeof(Help_DeepLinkInfo), [0x1142BD56] = typeof(SavedPhoneContact), [0x4DBA4501] = typeof(Account_Takeout), + [0x29BE5899] = typeof(InputTakeoutFileLocation), + [0xE16459C3] = typeof(UpdateDialogUnreadMark), + [0xF0E3E596] = typeof(Messages_DialogsNotModified), + [0x9F2221C9] = typeof(InputWebFileGeoPointLocation), + [0xB52C939D] = typeof(Contacts_TopPeersDisabled), + [0x9B89F93A] = typeof(InputReportReasonCopyright), [0xD45AB096] = typeof(PasswordKdfAlgoUnknown), - [0x3A912D4A] = typeof(PasswordKdfAlgoSHA256SHA256PBKDF2HMACSHA512iter100000SHA256ModPow), [0x004A8537] = typeof(SecurePasswordKdfAlgoUnknown), [0xBBF2DDA0] = typeof(SecurePasswordKdfAlgoPBKDF2HMACSHA512iter100000), [0x86471D92] = typeof(SecurePasswordKdfAlgoSHA512), [0x1527BCAC] = typeof(SecureSecretSettings), + [0x3A912D4A] = typeof(PasswordKdfAlgoSHA256SHA256PBKDF2HMACSHA512iter100000SHA256ModPow), [0x9880F658] = typeof(InputCheckPasswordEmpty), [0xD27FF082] = typeof(InputCheckPasswordSRP), + [0x869D758F] = typeof(SecureValueError), + [0xA1144770] = typeof(SecureValueErrorTranslationFile), + [0x34636DD8] = typeof(SecureValueErrorTranslationFiles), [0x829D99DA] = typeof(SecureRequiredType), [0x027477B4] = typeof(SecureRequiredTypeOneOf), [0xBFB9F457] = typeof(Help_PassportConfigNotModified), @@ -803,29 +699,53 @@ namespace TL [0xB71E767A] = typeof(JsonString), [0xF7444763] = typeof(JsonArray), [0x99C1D49D] = typeof(JsonObject), + [0xB1DB7C7E] = typeof(InputNotifyBroadcasts), + [0xD612E8EF] = typeof(NotifyBroadcasts), + [0xED6A8504] = typeof(TextSubscript), + [0xC7FB5E01] = typeof(TextSuperscript), + [0x034B8621] = typeof(TextMarked), + [0x1CCB966A] = typeof(TextPhone), + [0x081CCF4F] = typeof(TextImage), + [0x1E148390] = typeof(PageBlockKicker), [0x34566B6A] = typeof(PageTableCell), [0xE0C0C5E5] = typeof(PageTableRow), + [0xBF4DEA82] = typeof(PageBlockTable), [0x6F747657] = typeof(PageCaption), [0xB92FB6CD] = typeof(PageListItemText), [0x25E073FC] = typeof(PageListItemBlocks), [0x5E068047] = typeof(PageListOrderedItemText), [0x98DD8936] = typeof(PageListOrderedItemBlocks), + [0x9A8AE1E1] = typeof(PageBlockOrderedList), + [0x76768BED] = typeof(PageBlockDetails), [0xB390DC08] = typeof(PageRelatedArticle), + [0x16115A96] = typeof(PageBlockRelatedArticles), + [0xA44F3EF6] = typeof(PageBlockMap), [0x98657F0D] = typeof(Page), + [0xDB9E70D2] = typeof(InputPrivacyKeyPhoneP2P), + [0x39491CC8] = typeof(PrivacyKeyPhoneP2P), + [0x35553762] = typeof(TextAnchor), [0x8C05F1C9] = typeof(Help_SupportName), [0xF3AE2EED] = typeof(Help_UserInfoEmpty), [0x01EB3758] = typeof(Help_UserInfo), + [0xF3F25F76] = typeof(MessageActionContactSignUp), + [0xACA1657B] = typeof(UpdateMessagePoll), [0x6CA9C2E9] = typeof(PollAnswer), [0x86E18161] = typeof(Poll), [0x3B6DDAD2] = typeof(PollAnswerVoters), [0xBADCC1A3] = typeof(PollResults), + [0x0F94E5F1] = typeof(InputMediaPoll), + [0x4BD6E798] = typeof(MessageMediaPoll), [0xF041E250] = typeof(ChatOnlines), [0x47A971E0] = typeof(StatsURL), + [0xE0B0BC2E] = typeof(PhotoStrippedSize), [0x5FB224D5] = typeof(ChatAdminRights), [0x9F120418] = typeof(ChatBannedRights), + [0x54C01850] = typeof(UpdateChatDefaultBannedRights), [0xE630B979] = typeof(InputWallPaper), [0x72091C80] = typeof(InputWallPaperSlug), - [0x8427BBAC] = typeof(InputWallPaperNoFile), + [0xBB6AE88D] = typeof(ChannelParticipantsContacts), + [0x2DF5FC0A] = typeof(ChannelAdminLogEventActionDefaultBannedRights), + [0x8F079643] = typeof(ChannelAdminLogEventActionStopPoll), [0x1C199183] = typeof(Account_WallPapersNotModified), [0x702B65A9] = typeof(Account_WallPapers), [0xDEBEBE83] = typeof(CodeSettings), @@ -837,24 +757,68 @@ namespace TL [0x5CC761BD] = typeof(EmojiKeywordsDifference), [0xA575739D] = typeof(EmojiURL), [0xB3FB5361] = typeof(EmojiLanguage), + [0xA4DD4C08] = typeof(InputPrivacyKeyForwards), + [0x69EC56A3] = typeof(PrivacyKeyForwards), + [0x5719BACC] = typeof(InputPrivacyKeyProfilePhoto), + [0x96151FED] = typeof(PrivacyKeyProfilePhoto), [0xBC7FC6CD] = typeof(FileLocationToBeDeprecated), + [0x40181FFE] = typeof(InputPhotoFileLocation), + [0xD83466F3] = typeof(InputPhotoLegacyFileLocation), + [0x27D69997] = typeof(InputPeerPhotoFileLocation), + [0x0DBAEAE9] = typeof(InputStickerSetThumb), [0xFF544E65] = typeof(Folder), + [0x71BD134C] = typeof(DialogFolder), + [0x64600527] = typeof(InputDialogPeerFolder), + [0x514519E2] = typeof(DialogPeerFolder), [0xFBD2C296] = typeof(InputFolderPeer), [0xE9BAA668] = typeof(FolderPeer), + [0x19360DC0] = typeof(UpdateFolderPeers), + [0x2D117597] = typeof(InputUserFromMessage), + [0x2A286531] = typeof(InputChannelFromMessage), + [0x17BAE2E6] = typeof(InputPeerUserFromMessage), + [0x9C95F7BB] = typeof(InputPeerChannelFromMessage), + [0x0352DAFA] = typeof(InputPrivacyKeyPhoneNumber), + [0xD19AE46D] = typeof(PrivacyKeyPhoneNumber), + [0xA8406CA9] = typeof(TopPeerCategoryForwardUsers), + [0xFBEEC0F0] = typeof(TopPeerCategoryForwardChats), + [0xA26F881B] = typeof(ChannelAdminLogEventActionChangeLinkedChat), [0xE844EBFF] = typeof(Messages_SearchCounter), + [0x10B78D29] = typeof(KeyboardButtonUrlAuth), + [0xD02E7FD4] = typeof(InputKeyboardButtonUrlAuth), [0x92D33A0E] = typeof(UrlAuthResultRequest), [0x8F8C0E4E] = typeof(UrlAuthResultAccepted), [0xA9D6DB1F] = typeof(UrlAuthResultDefault), + [0x4C81C1BA] = typeof(InputPrivacyValueAllowChatParticipants), + [0xD82363AF] = typeof(InputPrivacyValueDisallowChatParticipants), + [0x18BE796B] = typeof(PrivacyValueAllowChatParticipants), + [0xACAE0690] = typeof(PrivacyValueDisallowChatParticipants), + [0x9C4E7E8B] = typeof(MessageEntityUnderline), + [0xBF0693D4] = typeof(MessageEntityStrike), + [0x020DF5D0] = typeof(MessageEntityBlockquote), + [0x6A7E7366] = typeof(UpdatePeerSettings), [0xBFB5AD8B] = typeof(ChannelLocationEmpty), [0x209B82DB] = typeof(ChannelLocation), [0xCA461B5D] = typeof(PeerLocated), - [0xF8EC284B] = typeof(PeerSelfLocated), + [0xB4AFCFB0] = typeof(UpdatePeerLocated), + [0x0E6B76AE] = typeof(ChannelAdminLogEventActionChangeLocation), + [0xDBD4FEED] = typeof(InputReportReasonGeoIrrelevant), + [0x53909779] = typeof(ChannelAdminLogEventActionToggleSlowMode), + [0x44747E9A] = typeof(Auth_AuthorizationSignUpRequired), + [0xD8411139] = typeof(Payments_PaymentVerificationNeeded), + [0x028703C8] = typeof(InputStickerSetAnimatedEmoji), + [0x39A51DFB] = typeof(UpdateNewScheduledMessage), + [0x90866CEE] = typeof(UpdateDeleteScheduledMessages), [0xD072ACB4] = typeof(RestrictionReason), [0x3C5693E9] = typeof(InputTheme), [0xF5890DF1] = typeof(InputThemeSlug), [0x028F1114] = typeof(Theme), [0xF41EB622] = typeof(Account_ThemesNotModified), [0x7F676421] = typeof(Account_Themes), + [0x8216FBA3] = typeof(UpdateTheme), + [0xD1219BDD] = typeof(InputPrivacyKeyAddedByPhone), + [0x42FFD42B] = typeof(PrivacyKeyAddedByPhone), + [0x871FB939] = typeof(UpdateGeoLiveViewed), + [0x564FE691] = typeof(UpdateLoginToken), [0x629F1980] = typeof(Auth_LoginToken), [0x068E9916] = typeof(Auth_LoginTokenMigrateTo), [0x390D5C5E] = typeof(Auth_LoginTokenSuccess), @@ -865,17 +829,26 @@ namespace TL [0xB7B31EA8] = typeof(BaseThemeNight), [0x6D5F77EE] = typeof(BaseThemeTinted), [0x5B11125A] = typeof(BaseThemeArctic), + [0x8427BBAC] = typeof(InputWallPaperNoFile), + [0x8AF40B25] = typeof(WallPaperNoFile), [0xBD507CD1] = typeof(InputThemeSettings), [0x9C14984A] = typeof(ThemeSettings), [0x54B56617] = typeof(WebPageAttributeTheme), + [0x42F88F2C] = typeof(UpdateMessagePollVote), [0xA28E5559] = typeof(MessageUserVote), [0x36377430] = typeof(MessageUserVoteInputOption), [0x0E8FE0DE] = typeof(MessageUserVoteMultiple), [0x0823F649] = typeof(Messages_VotesList), + [0xBBC7515D] = typeof(KeyboardButtonRequestPoll), + [0x761E6AF4] = typeof(MessageEntityBankCard), [0xF568028A] = typeof(BankCardOpenUrl), [0x3E24E573] = typeof(Payments_BankCardData), + [0xF8EC284B] = typeof(PeerSelfLocated), [0x7438F7E8] = typeof(DialogFilter), [0x77744D4A] = typeof(DialogFilterSuggested), + [0x26FFDE7D] = typeof(UpdateDialogFilter), + [0xA5D72105] = typeof(UpdateDialogFilterOrder), + [0x3504914F] = typeof(UpdateDialogFilters), [0xB637EDAF] = typeof(StatsDateRangeDays), [0xCB43ACDE] = typeof(StatsAbsValueAndPrev), [0xCBCE2FE0] = typeof(StatsPercentValue), @@ -884,404 +857,93 @@ namespace TL [0x8EA464B6] = typeof(StatsGraph), [0xAD4FC9BD] = typeof(MessageInteractionCounters), [0xBDF78394] = typeof(Stats_BroadcastStats), + [0xE66FBF7B] = typeof(InputMediaDice), + [0x3F7EE58B] = typeof(MessageMediaDice), + [0xE67F520E] = typeof(InputStickerSetDice), [0x98F6AC75] = typeof(Help_PromoDataEmpty), [0x8C39793F] = typeof(Help_PromoData), [0xE831C556] = typeof(VideoSize), + [0x2661BF09] = typeof(UpdatePhoneCallSignalingData), + [0x61695CB0] = typeof(ChatInvitePeek), [0x18F3D0F7] = typeof(StatsGroupTopPoster), [0x6014F412] = typeof(StatsGroupTopAdmin), [0x31962A4C] = typeof(StatsGroupTopInviter), [0xEF7FF916] = typeof(Stats_MegagroupStats), [0xBEA2F424] = typeof(GlobalPrivacySettings), + [0x635FE375] = typeof(PhoneConnectionWebrtc), [0x4203C5EF] = typeof(Help_CountryCode), [0xC3878E23] = typeof(Help_Country), [0x93CC1F32] = typeof(Help_CountriesListNotModified), [0x87D0759E] = typeof(Help_CountriesList), [0x455B853D] = typeof(MessageViews), + [0x6E8A84DF] = typeof(UpdateChannelMessageForwards), + [0x5AA86A51] = typeof(PhotoSizeProgressive), [0xB6C4F543] = typeof(Messages_MessageViews), + [0x1CC7DE54] = typeof(UpdateReadChannelDiscussionInbox), + [0x4638A26C] = typeof(UpdateReadChannelDiscussionOutbox), [0xF5DD8F9D] = typeof(Messages_DiscussionMessage), [0xA6D57763] = typeof(MessageReplyHeader), [0x4128FAAC] = typeof(MessageReplies), + [0x246A4B22] = typeof(UpdatePeerBlocked), [0xE8FD8014] = typeof(PeerBlocked), + [0xFF2ABE9F] = typeof(UpdateChannelUserTyping), + [0xACFA1A7E] = typeof(InputMessageCallbackQuery), + [0xC3C6796B] = typeof(ChannelParticipantLeft), + [0xE04B5CEB] = typeof(ChannelParticipantsMentions), + [0xED85EAB5] = typeof(UpdatePinnedMessages), + [0x8588878B] = typeof(UpdatePinnedChannelMessages), + [0x1BB00451] = typeof(InputMessagesFilterPinned), [0x8999F295] = typeof(Stats_MessageStats), - [0xCB9F372D] = typeof(Fn.InvokeAfterMsg<>), - [0x3DC4B4F0] = typeof(Fn.InvokeAfterMsgs<>), - [0xA677244F] = typeof(Fn.Auth_SendCode), - [0x80EEE427] = typeof(Fn.Auth_SignUp), - [0xBCD51581] = typeof(Fn.Auth_SignIn), - [0x5717DA40] = typeof(Fn.Auth_LogOut), - [0x9FAB0D1A] = typeof(Fn.Auth_ResetAuthorizations), - [0xE5BFFFCD] = typeof(Fn.Auth_ExportAuthorization), - [0xE3EF9613] = typeof(Fn.Auth_ImportAuthorization), - [0xCDD42A05] = typeof(Fn.Auth_BindTempAuthKey), - [0x68976C6F] = typeof(Fn.Account_RegisterDevice), - [0x3076C4BF] = typeof(Fn.Account_UnregisterDevice), - [0x84BE5B93] = typeof(Fn.Account_UpdateNotifySettings), - [0x12B3AD31] = typeof(Fn.Account_GetNotifySettings), - [0xDB7E1747] = typeof(Fn.Account_ResetNotifySettings), - [0x78515775] = typeof(Fn.Account_UpdateProfile), - [0x6628562C] = typeof(Fn.Account_UpdateStatus), - [0xAABB1763] = typeof(Fn.Account_GetWallPapers), - [0xAE189D5F] = typeof(Fn.Account_ReportPeer), - [0x0D91A548] = typeof(Fn.Users_GetUsers), - [0xCA30A5B1] = typeof(Fn.Users_GetFullUser), - [0x2CAA4A42] = typeof(Fn.Contacts_GetContactIDs), - [0xC4A353EE] = typeof(Fn.Contacts_GetStatuses), - [0xC023849F] = typeof(Fn.Contacts_GetContacts), - [0x2C800BE5] = typeof(Fn.Contacts_ImportContacts), - [0x096A0E00] = typeof(Fn.Contacts_DeleteContacts), - [0x1013FD9E] = typeof(Fn.Contacts_DeleteByPhones), - [0x68CC1411] = typeof(Fn.Contacts_Block), - [0xBEA65D50] = typeof(Fn.Contacts_Unblock), - [0xF57C350F] = typeof(Fn.Contacts_GetBlocked), - [0x63C66506] = typeof(Fn.Messages_GetMessages), - [0xA0EE3B73] = typeof(Fn.Messages_GetDialogs), - [0xDCBB8260] = typeof(Fn.Messages_GetHistory), - [0x0C352EEC] = typeof(Fn.Messages_Search), - [0x0E306D3A] = typeof(Fn.Messages_ReadHistory), - [0x1C015B09] = typeof(Fn.Messages_DeleteHistory), - [0xE58E95D2] = typeof(Fn.Messages_DeleteMessages), - [0x05A954C0] = typeof(Fn.Messages_ReceivedMessages), - [0x58943EE2] = typeof(Fn.Messages_SetTyping), - [0x520C3870] = typeof(Fn.Messages_SendMessage), - [0x3491EBA9] = typeof(Fn.Messages_SendMedia), - [0xD9FEE60E] = typeof(Fn.Messages_ForwardMessages), - [0xCF1592DB] = typeof(Fn.Messages_ReportSpam), - [0x3672E09C] = typeof(Fn.Messages_GetPeerSettings), - [0xBD82B658] = typeof(Fn.Messages_Report), - [0x3C6AA187] = typeof(Fn.Messages_GetChats), - [0x3B831C66] = typeof(Fn.Messages_GetFullChat), - [0xDC452855] = typeof(Fn.Messages_EditChatTitle), - [0xCA4C79D8] = typeof(Fn.Messages_EditChatPhoto), - [0xF9A0AA09] = typeof(Fn.Messages_AddChatUser), - [0xE0611F16] = typeof(Fn.Messages_DeleteChatUser), - [0x09CB126E] = typeof(Fn.Messages_CreateChat), - [0xEDD4882A] = typeof(Fn.Updates_GetState), - [0x25939651] = typeof(Fn.Updates_GetDifference), - [0x72D4742C] = typeof(Fn.Photos_UpdateProfilePhoto), - [0x89F30F69] = typeof(Fn.Photos_UploadProfilePhoto), - [0x87CF7F2F] = typeof(Fn.Photos_DeletePhotos), - [0xB304A621] = typeof(Fn.Upload_SaveFilePart), - [0xB15A9AFC] = typeof(Fn.Upload_GetFile), - [0xC4F9186B] = typeof(Fn.Help_GetConfig), - [0x1FB33026] = typeof(Fn.Help_GetNearestDc), - [0x522D5A7D] = typeof(Fn.Help_GetAppUpdate), - [0x4D392343] = typeof(Fn.Help_GetInviteText), - [0x91CD32A8] = typeof(Fn.Photos_GetUserPhotos), - [0x26CF8950] = typeof(Fn.Messages_GetDhConfig), - [0xF64DAF43] = typeof(Fn.Messages_RequestEncryption), - [0x3DBC0415] = typeof(Fn.Messages_AcceptEncryption), - [0xEDD923C5] = typeof(Fn.Messages_DiscardEncryption), - [0x791451ED] = typeof(Fn.Messages_SetEncryptedTyping), - [0x7F4B690A] = typeof(Fn.Messages_ReadEncryptedHistory), - [0x44FA7A15] = typeof(Fn.Messages_SendEncrypted), - [0x5559481D] = typeof(Fn.Messages_SendEncryptedFile), - [0x32D439A4] = typeof(Fn.Messages_SendEncryptedService), - [0x55A5BB66] = typeof(Fn.Messages_ReceivedQueue), - [0x4B0C8C0F] = typeof(Fn.Messages_ReportEncryptedSpam), - [0xDE7B673D] = typeof(Fn.Upload_SaveBigFilePart), - [0xC1CD5EA9] = typeof(Fn.InitConnection<>), - [0x9CDF08CD] = typeof(Fn.Help_GetSupport), - [0x36A73F77] = typeof(Fn.Messages_ReadMessageContents), - [0x2714D86C] = typeof(Fn.Account_CheckUsername), - [0x3E0BDD7C] = typeof(Fn.Account_UpdateUsername), - [0x11F812D8] = typeof(Fn.Contacts_Search), - [0xDADBC950] = typeof(Fn.Account_GetPrivacy), - [0xC9F81CE8] = typeof(Fn.Account_SetPrivacy), - [0x418D4E0B] = typeof(Fn.Account_DeleteAccount), - [0x08FC711D] = typeof(Fn.Account_GetAccountTTL), - [0x2442485E] = typeof(Fn.Account_SetAccountTTL), - [0xDA9B0D0D] = typeof(Fn.InvokeWithLayer<>), - [0xF93CCBA3] = typeof(Fn.Contacts_ResolveUsername), - [0x82574AE5] = typeof(Fn.Account_SendChangePhoneCode), - [0x70C32EDB] = typeof(Fn.Account_ChangePhone), - [0x043D4F2C] = typeof(Fn.Messages_GetStickers), - [0x1C9618B1] = typeof(Fn.Messages_GetAllStickers), - [0x38DF3532] = typeof(Fn.Account_UpdateDeviceLocked), - [0x67A3FF2C] = typeof(Fn.Auth_ImportBotAuthorization), - [0x8B68B0CC] = typeof(Fn.Messages_GetWebPagePreview), - [0xE320C158] = typeof(Fn.Account_GetAuthorizations), - [0xDF77F3BC] = typeof(Fn.Account_ResetAuthorization), - [0x548A30F5] = typeof(Fn.Account_GetPassword), - [0x9CD4EAF9] = typeof(Fn.Account_GetPasswordSettings), - [0xA59B102F] = typeof(Fn.Account_UpdatePasswordSettings), - [0xD18B4D16] = typeof(Fn.Auth_CheckPassword), - [0xD897BC66] = typeof(Fn.Auth_RequestPasswordRecovery), - [0x4EA56E92] = typeof(Fn.Auth_RecoverPassword), - [0xBF9459B7] = typeof(Fn.InvokeWithoutUpdates<>), - [0x0DF7534C] = typeof(Fn.Messages_ExportChatInvite), - [0x3EADB1BB] = typeof(Fn.Messages_CheckChatInvite), - [0x6C50051C] = typeof(Fn.Messages_ImportChatInvite), - [0x2619A90E] = typeof(Fn.Messages_GetStickerSet), - [0xC78FE460] = typeof(Fn.Messages_InstallStickerSet), - [0xF96E55DE] = typeof(Fn.Messages_UninstallStickerSet), - [0xE6DF7378] = typeof(Fn.Messages_StartBot), - [0x9010EF6F] = typeof(Fn.Help_GetAppChangelog), - [0x5784D3E1] = typeof(Fn.Messages_GetMessagesViews), - [0xCC104937] = typeof(Fn.Channels_ReadHistory), - [0x84C1FD4E] = typeof(Fn.Channels_DeleteMessages), - [0xD10DD71B] = typeof(Fn.Channels_DeleteUserHistory), - [0xFE087810] = typeof(Fn.Channels_ReportSpam), - [0xAD8C9A23] = typeof(Fn.Channels_GetMessages), - [0x123E05E9] = typeof(Fn.Channels_GetParticipants), - [0x546DD7A6] = typeof(Fn.Channels_GetParticipant), - [0x0A7F6BBB] = typeof(Fn.Channels_GetChannels), - [0x08736A09] = typeof(Fn.Channels_GetFullChannel), - [0x3D5FB10F] = typeof(Fn.Channels_CreateChannel), - [0xD33C8902] = typeof(Fn.Channels_EditAdmin), - [0x566DECD0] = typeof(Fn.Channels_EditTitle), - [0xF12E57C9] = typeof(Fn.Channels_EditPhoto), - [0x10E6BD2C] = typeof(Fn.Channels_CheckUsername), - [0x3514B3DE] = typeof(Fn.Channels_UpdateUsername), - [0x24B524C5] = typeof(Fn.Channels_JoinChannel), - [0xF836AA95] = typeof(Fn.Channels_LeaveChannel), - [0x199F3A6C] = typeof(Fn.Channels_InviteToChannel), - [0xC0111FE3] = typeof(Fn.Channels_DeleteChannel), - [0x03173D78] = typeof(Fn.Updates_GetChannelDifference), - [0xA9E69F2E] = typeof(Fn.Messages_EditChatAdmin), - [0x15A3B8E3] = typeof(Fn.Messages_MigrateChat), - [0x4BC6589A] = typeof(Fn.Messages_SearchGlobal), - [0x78337739] = typeof(Fn.Messages_ReorderStickerSets), - [0x338E2464] = typeof(Fn.Messages_GetDocumentByHash), - [0x83BF3D52] = typeof(Fn.Messages_GetSavedGifs), - [0x327A30CB] = typeof(Fn.Messages_SaveGif), - [0x514E999D] = typeof(Fn.Messages_GetInlineBotResults), - [0xEB5EA206] = typeof(Fn.Messages_SetInlineBotResults), - [0x220815B0] = typeof(Fn.Messages_SendInlineBotResult), - [0xE63FADEB] = typeof(Fn.Channels_ExportMessageLink), - [0x1F69B606] = typeof(Fn.Channels_ToggleSignatures), - [0x3EF1A9BF] = typeof(Fn.Auth_ResendCode), - [0x1F040578] = typeof(Fn.Auth_CancelCode), - [0xFDA68D36] = typeof(Fn.Messages_GetMessageEditData), - [0x48F71778] = typeof(Fn.Messages_EditMessage), - [0x83557DBA] = typeof(Fn.Messages_EditInlineBotMessage), - [0x9342CA07] = typeof(Fn.Messages_GetBotCallbackAnswer), - [0xD58F130A] = typeof(Fn.Messages_SetBotCallbackAnswer), - [0xD4982DB5] = typeof(Fn.Contacts_GetTopPeers), - [0x1AE373AC] = typeof(Fn.Contacts_ResetTopPeerRating), - [0xE470BCFD] = typeof(Fn.Messages_GetPeerDialogs), - [0xBC39E14B] = typeof(Fn.Messages_SaveDraft), - [0x6A3F8D65] = typeof(Fn.Messages_GetAllDrafts), - [0x2DACCA4F] = typeof(Fn.Messages_GetFeaturedStickers), - [0x5B118126] = typeof(Fn.Messages_ReadFeaturedStickers), - [0x5EA192C9] = typeof(Fn.Messages_GetRecentStickers), - [0x392718F8] = typeof(Fn.Messages_SaveRecentSticker), - [0x8999602D] = typeof(Fn.Messages_ClearRecentStickers), - [0x57F17692] = typeof(Fn.Messages_GetArchivedStickers), - [0x1B3FAA88] = typeof(Fn.Account_SendConfirmPhoneCode), - [0x5F2178C3] = typeof(Fn.Account_ConfirmPhone), - [0xF8B036AF] = typeof(Fn.Channels_GetAdminedPublicChannels), - [0x65B8C79F] = typeof(Fn.Messages_GetMaskStickers), - [0xCC5B67CC] = typeof(Fn.Messages_GetAttachedStickers), - [0x8E48A188] = typeof(Fn.Auth_DropTempAuthKeys), - [0x8EF8ECC0] = typeof(Fn.Messages_SetGameScore), - [0x15AD9F64] = typeof(Fn.Messages_SetInlineGameScore), - [0xE822649D] = typeof(Fn.Messages_GetGameHighScores), - [0x0F635E1B] = typeof(Fn.Messages_GetInlineGameHighScores), - [0x0D0A48C4] = typeof(Fn.Messages_GetCommonChats), - [0xEBA80FF0] = typeof(Fn.Messages_GetAllChats), - [0xEC22CFCD] = typeof(Fn.Help_SetBotUpdatesStatus), - [0x32CA8F91] = typeof(Fn.Messages_GetWebPage), - [0xA731E257] = typeof(Fn.Messages_ToggleDialogPin), - [0x3B1ADF37] = typeof(Fn.Messages_ReorderPinnedDialogs), - [0xD6B94DF2] = typeof(Fn.Messages_GetPinnedDialogs), - [0xAA2769ED] = typeof(Fn.Bots_SendCustomRequest), - [0xE6213F4D] = typeof(Fn.Bots_AnswerWebhookJSONQuery), - [0x24E6818D] = typeof(Fn.Upload_GetWebFile), - [0x99F09745] = typeof(Fn.Payments_GetPaymentForm), - [0xA092A980] = typeof(Fn.Payments_GetPaymentReceipt), - [0x770A8E74] = typeof(Fn.Payments_ValidateRequestedInfo), - [0x2B8879B3] = typeof(Fn.Payments_SendPaymentForm), - [0x449E0B51] = typeof(Fn.Account_GetTmpPassword), - [0x227D824B] = typeof(Fn.Payments_GetSavedInfo), - [0xD83D70C1] = typeof(Fn.Payments_ClearSavedInfo), - [0xE5F672FA] = typeof(Fn.Messages_SetBotShippingResults), - [0x09C2DD95] = typeof(Fn.Messages_SetBotPrecheckoutResults), - [0xF1036780] = typeof(Fn.Stickers_CreateStickerSet), - [0xF7760F51] = typeof(Fn.Stickers_RemoveStickerFromSet), - [0xFFB6D4CA] = typeof(Fn.Stickers_ChangeStickerPosition), - [0x8653FEBE] = typeof(Fn.Stickers_AddStickerToSet), - [0x519BC2B1] = typeof(Fn.Messages_UploadMedia), - [0x55451FA9] = typeof(Fn.Phone_GetCallConfig), - [0x42FF96ED] = typeof(Fn.Phone_RequestCall), - [0x3BD2B4A0] = typeof(Fn.Phone_AcceptCall), - [0x2EFE1722] = typeof(Fn.Phone_ConfirmCall), - [0x17D54F61] = typeof(Fn.Phone_ReceivedCall), - [0xB2CBC1C0] = typeof(Fn.Phone_DiscardCall), - [0x59EAD627] = typeof(Fn.Phone_SetCallRating), - [0x277ADD7E] = typeof(Fn.Phone_SaveCallDebug), - [0x2000BCC3] = typeof(Fn.Upload_GetCdnFile), - [0x9B2754A8] = typeof(Fn.Upload_ReuploadCdnFile), - [0x52029342] = typeof(Fn.Help_GetCdnConfig), - [0xF2F2330A] = typeof(Fn.Langpack_GetLangPack), - [0xEFEA3803] = typeof(Fn.Langpack_GetStrings), - [0xCD984AA5] = typeof(Fn.Langpack_GetDifference), - [0x42C6978F] = typeof(Fn.Langpack_GetLanguages), - [0x72796912] = typeof(Fn.Channels_EditBanned), - [0x33DDF480] = typeof(Fn.Channels_GetAdminLog), - [0x4DA54231] = typeof(Fn.Upload_GetCdnFileHashes), - [0xC97DF020] = typeof(Fn.Messages_SendScreenshotNotification), - [0xEA8CA4F9] = typeof(Fn.Channels_SetStickers), - [0x21CE0B0E] = typeof(Fn.Messages_GetFavedStickers), - [0xB9FFC55B] = typeof(Fn.Messages_FaveSticker), - [0xEAB5DC38] = typeof(Fn.Channels_ReadMessageContents), - [0x879537F1] = typeof(Fn.Contacts_ResetSaved), - [0x46578472] = typeof(Fn.Messages_GetUnreadMentions), - [0xAF369D42] = typeof(Fn.Channels_DeleteHistory), - [0x3DC0F114] = typeof(Fn.Help_GetRecentMeUrls), - [0xEABBB94C] = typeof(Fn.Channels_TogglePreHistoryHidden), - [0x0F0189D3] = typeof(Fn.Messages_ReadMentions), - [0xBBC45B09] = typeof(Fn.Messages_GetRecentLocations), - [0xCC0110CB] = typeof(Fn.Messages_SendMultiMedia), - [0x5057C497] = typeof(Fn.Messages_UploadEncryptedFile), - [0x182E6D6F] = typeof(Fn.Account_GetWebAuthorizations), - [0x2D01B9EF] = typeof(Fn.Account_ResetWebAuthorization), - [0x682D2594] = typeof(Fn.Account_ResetWebAuthorizations), - [0xC2B7D08B] = typeof(Fn.Messages_SearchStickerSets), - [0xC7025931] = typeof(Fn.Upload_GetFileHashes), - [0x2CA51FD1] = typeof(Fn.Help_GetTermsOfServiceUpdate), - [0xEE72F79A] = typeof(Fn.Help_AcceptTermsOfService), - [0xB288BC7D] = typeof(Fn.Account_GetAllSecureValues), - [0x73665BC2] = typeof(Fn.Account_GetSecureValue), - [0x899FE31D] = typeof(Fn.Account_SaveSecureValue), - [0xB880BC4B] = typeof(Fn.Account_DeleteSecureValue), - [0x90C894B5] = typeof(Fn.Users_SetSecureValueErrors), - [0xB86BA8E1] = typeof(Fn.Account_GetAuthorizationForm), - [0xE7027C94] = typeof(Fn.Account_AcceptAuthorization), - [0xA5A356F9] = typeof(Fn.Account_SendVerifyPhoneCode), - [0x4DD3A7F6] = typeof(Fn.Account_VerifyPhone), - [0x7011509F] = typeof(Fn.Account_SendVerifyEmailCode), - [0xECBA39DB] = typeof(Fn.Account_VerifyEmail), - [0x3FEDC75F] = typeof(Fn.Help_GetDeepLinkInfo), - [0x82F1E39F] = typeof(Fn.Contacts_GetSaved), - [0x8341ECC0] = typeof(Fn.Channels_GetLeftChannels), - [0xF05B4804] = typeof(Fn.Account_InitTakeoutSession), - [0x1D2652EE] = typeof(Fn.Account_FinishTakeoutSession), - [0x1CFF7E08] = typeof(Fn.Messages_GetSplitRanges), - [0x365275F2] = typeof(Fn.InvokeWithMessagesRange<>), - [0xACA9FD2E] = typeof(Fn.InvokeWithTakeout<>), - [0xC286D98F] = typeof(Fn.Messages_MarkDialogUnread), - [0x22E24E22] = typeof(Fn.Messages_GetDialogUnreadMarks), - [0x8514BDDA] = typeof(Fn.Contacts_ToggleTopPeers), - [0x7E58EE9C] = typeof(Fn.Messages_ClearAllDrafts), - [0x98914110] = typeof(Fn.Help_GetAppConfig), - [0x6F02F748] = typeof(Fn.Help_SaveAppLog), - [0xC661AD08] = typeof(Fn.Help_GetPassportConfig), - [0x6A596502] = typeof(Fn.Langpack_GetLanguage), - [0xD2AAF7EC] = typeof(Fn.Messages_UpdatePinnedMessage), - [0x8FDF1920] = typeof(Fn.Account_ConfirmPasswordEmail), - [0x7A7F2A15] = typeof(Fn.Account_ResendPasswordEmail), - [0xC1CBD5B6] = typeof(Fn.Account_CancelPasswordEmail), - [0xD360E72C] = typeof(Fn.Help_GetSupportName), - [0x038A08D3] = typeof(Fn.Help_GetUserInfo), - [0x66B91B70] = typeof(Fn.Help_EditUserInfo), - [0x9F07C728] = typeof(Fn.Account_GetContactSignUpNotification), - [0xCFF43F61] = typeof(Fn.Account_SetContactSignUpNotification), - [0x53577479] = typeof(Fn.Account_GetNotifyExceptions), - [0x10EA6184] = typeof(Fn.Messages_SendVote), - [0x73BB643B] = typeof(Fn.Messages_GetPollResults), - [0x6E2BE050] = typeof(Fn.Messages_GetOnlines), - [0x812C2AE6] = typeof(Fn.Messages_GetStatsURL), - [0xDEF60797] = typeof(Fn.Messages_EditChatAbout), - [0xA5866B41] = typeof(Fn.Messages_EditChatDefaultBannedRights), - [0xFC8DDBEA] = typeof(Fn.Account_GetWallPaper), - [0xDD853661] = typeof(Fn.Account_UploadWallPaper), - [0x6C5A5B37] = typeof(Fn.Account_SaveWallPaper), - [0xFEED5769] = typeof(Fn.Account_InstallWallPaper), - [0xBB3B9804] = typeof(Fn.Account_ResetWallPapers), - [0x56DA0B3F] = typeof(Fn.Account_GetAutoDownloadSettings), - [0x76F36233] = typeof(Fn.Account_SaveAutoDownloadSettings), - [0x35A0E062] = typeof(Fn.Messages_GetEmojiKeywords), - [0x1508B6AF] = typeof(Fn.Messages_GetEmojiKeywordsDifference), - [0x4E9963B2] = typeof(Fn.Messages_GetEmojiKeywordsLanguages), - [0xD5B10C26] = typeof(Fn.Messages_GetEmojiURL), - [0x6847D0AB] = typeof(Fn.Folders_EditPeerFolders), - [0x1C295881] = typeof(Fn.Folders_DeleteFolder), - [0x732EEF00] = typeof(Fn.Messages_GetSearchCounters), - [0xF5DAD378] = typeof(Fn.Channels_GetGroupsForDiscussion), - [0x40582BB2] = typeof(Fn.Channels_SetDiscussionGroup), - [0xE33F5613] = typeof(Fn.Messages_RequestUrlAuth), - [0xF729EA98] = typeof(Fn.Messages_AcceptUrlAuth), - [0x4FACB138] = typeof(Fn.Messages_HidePeerSettingsBar), - [0xE8F463D0] = typeof(Fn.Contacts_AddContact), - [0xF831A20F] = typeof(Fn.Contacts_AcceptContact), - [0x8F38CD1F] = typeof(Fn.Channels_EditCreator), - [0xD348BC44] = typeof(Fn.Contacts_GetLocated), - [0x58E63F6D] = typeof(Fn.Channels_EditLocation), - [0xEDD49EF0] = typeof(Fn.Channels_ToggleSlowMode), - [0xE2C2685B] = typeof(Fn.Messages_GetScheduledHistory), - [0xBDBB0464] = typeof(Fn.Messages_GetScheduledMessages), - [0xBD38850A] = typeof(Fn.Messages_SendScheduledMessages), - [0x59AE2B16] = typeof(Fn.Messages_DeleteScheduledMessages), - [0x1C3DB333] = typeof(Fn.Account_UploadTheme), - [0x8432C21F] = typeof(Fn.Account_CreateTheme), - [0x5CB367D5] = typeof(Fn.Account_UpdateTheme), - [0xF257106C] = typeof(Fn.Account_SaveTheme), - [0x7AE43737] = typeof(Fn.Account_InstallTheme), - [0x8D9D742B] = typeof(Fn.Account_GetTheme), - [0x285946F8] = typeof(Fn.Account_GetThemes), - [0xB1B41517] = typeof(Fn.Auth_ExportLoginToken), - [0x95AC5CE4] = typeof(Fn.Auth_ImportLoginToken), - [0xE894AD4D] = typeof(Fn.Auth_AcceptLoginToken), - [0xB574B16B] = typeof(Fn.Account_SetContentSettings), - [0x8B9B4DAE] = typeof(Fn.Account_GetContentSettings), - [0x11E831EE] = typeof(Fn.Channels_GetInactiveChannels), - [0x65AD71DC] = typeof(Fn.Account_GetMultiWallPapers), - [0xB86E380E] = typeof(Fn.Messages_GetPollVotes), - [0xB5052FEA] = typeof(Fn.Messages_ToggleStickerSets), - [0x2E79D779] = typeof(Fn.Payments_GetBankCardData), - [0xF19ED96D] = typeof(Fn.Messages_GetDialogFilters), - [0xA29CD42C] = typeof(Fn.Messages_GetSuggestedDialogFilters), - [0x1AD4A04A] = typeof(Fn.Messages_UpdateDialogFilter), - [0xC563C1E4] = typeof(Fn.Messages_UpdateDialogFiltersOrder), - [0xAB42441A] = typeof(Fn.Stats_GetBroadcastStats), - [0x621D5FA0] = typeof(Fn.Stats_LoadAsyncGraph), - [0x9A364E30] = typeof(Fn.Stickers_SetStickerSetThumb), - [0x805D46F6] = typeof(Fn.Bots_SetBotCommands), - [0x5FE7025B] = typeof(Fn.Messages_GetOldFeaturedStickers), - [0xC0977421] = typeof(Fn.Help_GetPromoData), - [0x1E251C95] = typeof(Fn.Help_HidePromoData), - [0xFF7A9383] = typeof(Fn.Phone_SendSignalingData), - [0xDCDF8607] = typeof(Fn.Stats_GetMegagroupStats), - [0xEB2B4CF6] = typeof(Fn.Account_GetGlobalPrivacySettings), - [0x1EDAAAC2] = typeof(Fn.Account_SetGlobalPrivacySettings), - [0x077FA99F] = typeof(Fn.Help_DismissSuggestion), - [0x735787A8] = typeof(Fn.Help_GetCountriesList), - [0x24B581BA] = typeof(Fn.Messages_GetReplies), - [0x446972FD] = typeof(Fn.Messages_GetDiscussionMessage), - [0xF731A9F4] = typeof(Fn.Messages_ReadDiscussion), - [0x29A8962C] = typeof(Fn.Contacts_BlockFromReplies), - [0x5630281B] = typeof(Fn.Stats_GetMessagePublicForwards), - [0xB6E0A3F5] = typeof(Fn.Stats_GetMessageStats), - [0xF025BC8B] = typeof(Fn.Messages_UnpinAllMessages), + [0x98E0D697] = typeof(MessageActionGeoProximityReached), + [0xD8214D41] = typeof(PhotoPathSize), // from TL.Secret: - [0x1F814F1F] = typeof(DecryptedMessage), - [0xAA48327D] = typeof(DecryptedMessageService), - [0x089F5C4A] = typeof(DecryptedMessageMediaEmpty), - [0x32798A8C] = typeof(DecryptedMessageMediaPhoto), - [0x4CEE6EF3] = typeof(DecryptedMessageMediaVideo), - [0x35480A59] = typeof(DecryptedMessageMediaGeoPoint), - [0x588A0A97] = typeof(DecryptedMessageMediaContact), - [0xB095434B] = typeof(DecryptedMessageMediaDocument), - [0x6080758F] = typeof(DecryptedMessageMediaAudio), - [0xFA95B0DD] = typeof(DecryptedMessageMediaExternalDocument), - [0x8A0DF56F] = typeof(DecryptedMessageMediaVenue), - [0xE50511D8] = typeof(DecryptedMessageMediaWebPage), - [0xA1733AEC] = typeof(DecryptedMessageActionSetMessageTTL), - [0x0C4F40BE] = typeof(DecryptedMessageActionReadMessages), - [0x65614304] = typeof(DecryptedMessageActionDeleteMessages), - [0x8AC1F475] = typeof(DecryptedMessageActionScreenshotMessages), - [0x6719E45C] = typeof(DecryptedMessageActionFlushHistory), - [0x511110B0] = typeof(DecryptedMessageActionResend), - [0xF3048883] = typeof(DecryptedMessageActionNotifyLayer), - [0xCCB27641] = typeof(DecryptedMessageActionTyping), - [0xF3C9611B] = typeof(DecryptedMessageActionRequestKey), - [0x6FE1735B] = typeof(DecryptedMessageActionAcceptKey), - [0xDD05EC6B] = typeof(DecryptedMessageActionAbortKey), - [0xEC2E0B9B] = typeof(DecryptedMessageActionCommitKey), - [0xA82FDD63] = typeof(DecryptedMessageActionNoop), - [0x1BE31789] = typeof(DecryptedMessageLayer), - [0x7C596B46] = typeof(FileLocationUnavailable), - [0x53D69076] = typeof(FileLocation_), + [0x1F814F1F] = typeof(Layer8.DecryptedMessage), + [0xAA48327D] = typeof(Layer8.DecryptedMessageService), + [0x089F5C4A] = typeof(Layer8.DecryptedMessageMediaEmpty), + [0x32798A8C] = typeof(Layer8.DecryptedMessageMediaPhoto), + [0x4CEE6EF3] = typeof(Layer8.DecryptedMessageMediaVideo), + [0x35480A59] = typeof(Layer8.DecryptedMessageMediaGeoPoint), + [0x588A0A97] = typeof(Layer8.DecryptedMessageMediaContact), + [0xA1733AEC] = typeof(Layer8.DecryptedMessageActionSetMessageTTL), + [0xB095434B] = typeof(Layer8.DecryptedMessageMediaDocument), + [0x6080758F] = typeof(Layer8.DecryptedMessageMediaAudio), + [0x0C4F40BE] = typeof(Layer8.DecryptedMessageActionReadMessages), + [0x65614304] = typeof(Layer8.DecryptedMessageActionDeleteMessages), + [0x8AC1F475] = typeof(Layer8.DecryptedMessageActionScreenshotMessages), + [0x6719E45C] = typeof(Layer8.DecryptedMessageActionFlushHistory), + [0x204D3878] = typeof(Layer17.DecryptedMessage), + [0x73164160] = typeof(Layer17.DecryptedMessageService), + [0x524A415D] = typeof(Layer17.DecryptedMessageMediaVideo), + [0x57E0A9CB] = typeof(Layer17.DecryptedMessageMediaAudio), + [0x1BE31789] = typeof(Layer17.DecryptedMessageLayer), + [0x92042FF7] = typeof(Layer17.SendMessageUploadVideoAction), + [0xE6AC8A6F] = typeof(Layer17.SendMessageUploadAudioAction), + [0x990A3C1A] = typeof(Layer17.SendMessageUploadPhotoAction), + [0x8FAEE98E] = typeof(Layer17.SendMessageUploadDocumentAction), + [0x511110B0] = typeof(Layer17.DecryptedMessageActionResend), + [0xF3048883] = typeof(Layer17.DecryptedMessageActionNotifyLayer), + [0xCCB27641] = typeof(Layer17.DecryptedMessageActionTyping), + [0xF3C9611B] = typeof(Layer20.DecryptedMessageActionRequestKey), + [0x6FE1735B] = typeof(Layer20.DecryptedMessageActionAcceptKey), + [0xDD05EC6B] = typeof(Layer20.DecryptedMessageActionAbortKey), + [0xEC2E0B9B] = typeof(Layer20.DecryptedMessageActionCommitKey), + [0xA82FDD63] = typeof(Layer20.DecryptedMessageActionNoop), + [0xFB0A5727] = typeof(Layer23.DocumentAttributeSticker), + [0x5910CCCB] = typeof(Layer23.DocumentAttributeVideo), + [0x051448E5] = typeof(Layer23.DocumentAttributeAudio), + [0x7C596B46] = typeof(Layer23.FileLocationUnavailable), + [0x53D69076] = typeof(Layer23.FileLocation_), + [0xFA95B0DD] = typeof(Layer23.DecryptedMessageMediaExternalDocument), + [0x36B091DE] = typeof(Layer45.DecryptedMessage), + [0xF1FA8D78] = typeof(Layer45.DecryptedMessageMediaPhoto), + [0x970C8C0E] = typeof(Layer45.DecryptedMessageMediaVideo), + [0x7AFE8AE2] = typeof(Layer45.DecryptedMessageMediaDocument), + [0x3A556302] = typeof(Layer45.DocumentAttributeSticker), + [0xDED218E0] = typeof(Layer45.DocumentAttributeAudio), + [0x8A0DF56F] = typeof(Layer45.DecryptedMessageMediaVenue), + [0xE50511D8] = typeof(Layer45.DecryptedMessageMediaWebPage), + [0xBB718624] = typeof(Layer66.SendMessageUploadRoundAction), + [0x91CC4674] = typeof(Layer73.DecryptedMessage), // The End }; } diff --git a/TL.cs b/TL.cs index 8e76f79..342e022 100644 --- a/TL.cs +++ b/TL.cs @@ -15,9 +15,6 @@ namespace TL public static partial class Schema { - public const int Layer = 121; - public const int VectorCtor = 0x1CB5C415; - internal static byte[] Serialize(ITLObject msg) { using var memStream = new MemoryStream(1024);