mirror of
https://github.com/wiz0u/WTelegramClient.git
synced 2026-02-24 08:24:22 +01:00
More nullable ctors (*NotModified)
This commit is contained in:
parent
d4c373d95f
commit
d7b4afb1ee
|
|
@ -131,7 +131,8 @@ namespace WTelegram
|
|||
}
|
||||
if (typeInfo.Structs.All(ctor => ctor.@params.Length == 0))
|
||||
typeInfo.AsEnum = true;
|
||||
var nullable = typeInfo.Structs.Where(c => c.predicate.EndsWith("Empty") || c.predicate.EndsWith("Unknown")).ToList();
|
||||
var nullable = typeInfo.Structs.Where(c => c.predicate == "help.noAppUpdate" ||
|
||||
c.predicate.EndsWith("Empty") || c.predicate.EndsWith("Unknown") || c.predicate.EndsWith("NotModified")).ToList();
|
||||
if (nullable.Count == 1 && nullable[0].@params.Length == 0 && !typeInfo.AsEnum)
|
||||
{
|
||||
typeInfo.Nullable = nullable[0];
|
||||
|
|
@ -253,9 +254,9 @@ namespace WTelegram
|
|||
if (ctorId == 0) // abstract parent
|
||||
{
|
||||
if (currentJson != "TL.MTProto")
|
||||
sw.WriteLine($"{tabIndent}///<summary>See <a href=\"https://core.telegram.org/type/{typeInfo.Structs[0].type}\"/></summary>");
|
||||
sw.WriteLine($"{tabIndent}///<summary>See <a href=\"https://corefork.telegram.org/type/{typeInfo.Structs[0].type}\"/></summary>");
|
||||
if (typeInfo.Nullable != null)
|
||||
sw.WriteLine($"{tabIndent}///<remarks>a <c>null</c> value means <a href=\"https://core.telegram.org/constructor/{typeInfo.Nullable.predicate}\">{typeInfo.Nullable.predicate}</a></remarks>");
|
||||
sw.WriteLine($"{tabIndent}///<remarks>a <c>null</c> value means <a href=\"https://corefork.telegram.org/constructor/{typeInfo.Nullable.predicate}\">{typeInfo.Nullable.predicate}</a></remarks>");
|
||||
if (typeInfo.AsEnum)
|
||||
{
|
||||
WriteTypeAsEnum(sw, typeInfo);
|
||||
|
|
@ -301,9 +302,9 @@ namespace WTelegram
|
|||
}
|
||||
if (currentJson != "TL.MTProto")
|
||||
{
|
||||
sw.WriteLine($"{tabIndent}///<summary>See <a href=\"https://core.telegram.org/constructor/{ctor.predicate}\"/></summary>");
|
||||
sw.WriteLine($"{tabIndent}///<summary>See <a href=\"https://corefork.telegram.org/constructor/{ctor.predicate}\"/></summary>");
|
||||
if (typeInfo.Nullable != null && ctor == typeInfo.MainClass)
|
||||
sw.WriteLine($"{tabIndent}///<remarks>a <c>null</c> value means <a href=\"https://core.telegram.org/constructor/{typeInfo.Nullable.predicate}\">{typeInfo.Nullable.predicate}</a></remarks>");
|
||||
sw.WriteLine($"{tabIndent}///<remarks>a <c>null</c> value means <a href=\"https://corefork.telegram.org/constructor/{typeInfo.Nullable.predicate}\">{typeInfo.Nullable.predicate}</a></remarks>");
|
||||
sw.WriteLine($"{tabIndent}[TLDef(0x{ctor.ID:X8}{tldefReverse})]");
|
||||
}
|
||||
else
|
||||
|
|
@ -419,7 +420,7 @@ namespace WTelegram
|
|||
if (!allTypes.Add(className)) continue;
|
||||
if (lowercase) className = className.ToLowerInvariant();
|
||||
ctorToTypes.Remove(ctor.ID);
|
||||
sw.WriteLine($"{tabIndent}\t///<summary>See <a href=\"https://core.telegram.org/constructor/{ctor.predicate}\"/></summary>");
|
||||
sw.WriteLine($"{tabIndent}\t///<summary>See <a href=\"https://corefork.telegram.org/constructor/{ctor.predicate}\"/></summary>");
|
||||
sw.WriteLine($"{tabIndent}\t{className[prefixLen..]} = 0x{ctor.ID:X8},");
|
||||
}
|
||||
sw.WriteLine($"{tabIndent}}}");
|
||||
|
|
@ -515,7 +516,7 @@ namespace WTelegram
|
|||
var callAsync = "CallAsync";
|
||||
if (method.type.Length == 1 && style != 1) funcName += $"<{returnType}>";
|
||||
if (currentJson != "TL.MTProto")
|
||||
sw.WriteLine($"{tabIndent}///<summary>See <a href=\"https://core.telegram.org/method/{method.method}\"/></summary>");
|
||||
sw.WriteLine($"{tabIndent}///<summary>See <a href=\"https://corefork.telegram.org/method/{method.method}\"/></summary>");
|
||||
else
|
||||
{
|
||||
if (method.type is not "FutureSalts" and not "Pong") callAsync = "CallBareAsync";
|
||||
|
|
|
|||
|
|
@ -91,11 +91,11 @@ namespace TL
|
|||
|
||||
public enum DestroyAuthKeyRes : uint
|
||||
{
|
||||
///<summary>See <a href="https://core.telegram.org/constructor/destroy_auth_key_ok"/></summary>
|
||||
///<summary>See <a href="https://corefork.telegram.org/constructor/destroy_auth_key_ok"/></summary>
|
||||
Ok = 0xF660E1D4,
|
||||
///<summary>See <a href="https://core.telegram.org/constructor/destroy_auth_key_none"/></summary>
|
||||
///<summary>See <a href="https://corefork.telegram.org/constructor/destroy_auth_key_none"/></summary>
|
||||
None = 0x0A9F2259,
|
||||
///<summary>See <a href="https://core.telegram.org/constructor/destroy_auth_key_fail"/></summary>
|
||||
///<summary>See <a href="https://corefork.telegram.org/constructor/destroy_auth_key_fail"/></summary>
|
||||
Fail = 0xEA109B13,
|
||||
}
|
||||
|
||||
|
|
|
|||
3026
src/TL.Schema.cs
3026
src/TL.Schema.cs
File diff suppressed because it is too large
Load diff
106
src/TL.Secret.cs
106
src/TL.Secret.cs
|
|
@ -6,22 +6,22 @@ namespace TL
|
|||
using BinaryWriter = System.IO.BinaryWriter;
|
||||
using Client = WTelegram.Client;
|
||||
|
||||
///<summary>See <a href="https://core.telegram.org/type/DecryptedMessage"/></summary>
|
||||
///<summary>See <a href="https://corefork.telegram.org/type/DecryptedMessage"/></summary>
|
||||
public abstract partial class DecryptedMessageBase : ITLObject { }
|
||||
|
||||
///<summary>See <a href="https://core.telegram.org/type/DecryptedMessageMedia"/></summary>
|
||||
///<remarks>a <c>null</c> value means <a href="https://core.telegram.org/constructor/decryptedMessageMediaEmpty">decryptedMessageMediaEmpty</a></remarks>
|
||||
///<summary>See <a href="https://corefork.telegram.org/type/DecryptedMessageMedia"/></summary>
|
||||
///<remarks>a <c>null</c> value means <a href="https://corefork.telegram.org/constructor/decryptedMessageMediaEmpty">decryptedMessageMediaEmpty</a></remarks>
|
||||
public abstract partial class DecryptedMessageMedia : ITLObject { }
|
||||
|
||||
///<summary>See <a href="https://core.telegram.org/type/DecryptedMessageAction"/></summary>
|
||||
///<summary>See <a href="https://corefork.telegram.org/type/DecryptedMessageAction"/></summary>
|
||||
public abstract partial class DecryptedMessageAction : ITLObject { }
|
||||
|
||||
///<summary>See <a href="https://core.telegram.org/type/FileLocation"/></summary>
|
||||
///<summary>See <a href="https://corefork.telegram.org/type/FileLocation"/></summary>
|
||||
public abstract partial class FileLocationBase : ITLObject { }
|
||||
|
||||
namespace Layer8
|
||||
{
|
||||
///<summary>See <a href="https://core.telegram.org/constructor/decryptedMessage"/></summary>
|
||||
///<summary>See <a href="https://corefork.telegram.org/constructor/decryptedMessage"/></summary>
|
||||
[TLDef(0x1F814F1F)]
|
||||
public partial class DecryptedMessage : DecryptedMessageBase
|
||||
{
|
||||
|
|
@ -30,7 +30,7 @@ namespace TL
|
|||
public string message;
|
||||
public DecryptedMessageMedia media;
|
||||
}
|
||||
///<summary>See <a href="https://core.telegram.org/constructor/decryptedMessageService"/></summary>
|
||||
///<summary>See <a href="https://corefork.telegram.org/constructor/decryptedMessageService"/></summary>
|
||||
[TLDef(0xAA48327D)]
|
||||
public partial class DecryptedMessageService : DecryptedMessageBase
|
||||
{
|
||||
|
|
@ -39,7 +39,7 @@ namespace TL
|
|||
public DecryptedMessageAction action;
|
||||
}
|
||||
|
||||
///<summary>See <a href="https://core.telegram.org/constructor/decryptedMessageMediaPhoto"/></summary>
|
||||
///<summary>See <a href="https://corefork.telegram.org/constructor/decryptedMessageMediaPhoto"/></summary>
|
||||
[TLDef(0x32798A8C)]
|
||||
public partial class DecryptedMessageMediaPhoto : DecryptedMessageMedia
|
||||
{
|
||||
|
|
@ -52,7 +52,7 @@ namespace TL
|
|||
public byte[] key;
|
||||
public byte[] iv;
|
||||
}
|
||||
///<summary>See <a href="https://core.telegram.org/constructor/decryptedMessageMediaVideo"/></summary>
|
||||
///<summary>See <a href="https://corefork.telegram.org/constructor/decryptedMessageMediaVideo"/></summary>
|
||||
[TLDef(0x4CEE6EF3)]
|
||||
public partial class DecryptedMessageMediaVideo : DecryptedMessageMedia
|
||||
{
|
||||
|
|
@ -66,14 +66,14 @@ namespace TL
|
|||
public byte[] key;
|
||||
public byte[] iv;
|
||||
}
|
||||
///<summary>See <a href="https://core.telegram.org/constructor/decryptedMessageMediaGeoPoint"/></summary>
|
||||
///<summary>See <a href="https://corefork.telegram.org/constructor/decryptedMessageMediaGeoPoint"/></summary>
|
||||
[TLDef(0x35480A59)]
|
||||
public partial class DecryptedMessageMediaGeoPoint : DecryptedMessageMedia
|
||||
{
|
||||
public double lat;
|
||||
public double long_;
|
||||
}
|
||||
///<summary>See <a href="https://core.telegram.org/constructor/decryptedMessageMediaContact"/></summary>
|
||||
///<summary>See <a href="https://corefork.telegram.org/constructor/decryptedMessageMediaContact"/></summary>
|
||||
[TLDef(0x588A0A97)]
|
||||
public partial class DecryptedMessageMediaContact : DecryptedMessageMedia
|
||||
{
|
||||
|
|
@ -82,7 +82,7 @@ namespace TL
|
|||
public string last_name;
|
||||
public int user_id;
|
||||
}
|
||||
///<summary>See <a href="https://core.telegram.org/constructor/decryptedMessageMediaDocument"/></summary>
|
||||
///<summary>See <a href="https://corefork.telegram.org/constructor/decryptedMessageMediaDocument"/></summary>
|
||||
[TLDef(0xB095434B)]
|
||||
public partial class DecryptedMessageMediaDocument : DecryptedMessageMedia
|
||||
{
|
||||
|
|
@ -95,7 +95,7 @@ namespace TL
|
|||
public byte[] key;
|
||||
public byte[] iv;
|
||||
}
|
||||
///<summary>See <a href="https://core.telegram.org/constructor/decryptedMessageMediaAudio"/></summary>
|
||||
///<summary>See <a href="https://corefork.telegram.org/constructor/decryptedMessageMediaAudio"/></summary>
|
||||
[TLDef(0x6080758F)]
|
||||
public partial class DecryptedMessageMediaAudio : DecryptedMessageMedia
|
||||
{
|
||||
|
|
@ -105,39 +105,39 @@ namespace TL
|
|||
public byte[] iv;
|
||||
}
|
||||
|
||||
///<summary>See <a href="https://core.telegram.org/constructor/decryptedMessageActionSetMessageTTL"/></summary>
|
||||
///<summary>See <a href="https://corefork.telegram.org/constructor/decryptedMessageActionSetMessageTTL"/></summary>
|
||||
[TLDef(0xA1733AEC)]
|
||||
public partial class DecryptedMessageActionSetMessageTTL : DecryptedMessageAction { public int ttl_seconds; }
|
||||
///<summary>See <a href="https://core.telegram.org/constructor/decryptedMessageActionReadMessages"/></summary>
|
||||
///<summary>See <a href="https://corefork.telegram.org/constructor/decryptedMessageActionReadMessages"/></summary>
|
||||
[TLDef(0x0C4F40BE)]
|
||||
public partial class DecryptedMessageActionReadMessages : DecryptedMessageAction { public long[] random_ids; }
|
||||
///<summary>See <a href="https://core.telegram.org/constructor/decryptedMessageActionDeleteMessages"/></summary>
|
||||
///<summary>See <a href="https://corefork.telegram.org/constructor/decryptedMessageActionDeleteMessages"/></summary>
|
||||
[TLDef(0x65614304)]
|
||||
public partial class DecryptedMessageActionDeleteMessages : DecryptedMessageAction { public long[] random_ids; }
|
||||
///<summary>See <a href="https://core.telegram.org/constructor/decryptedMessageActionScreenshotMessages"/></summary>
|
||||
///<summary>See <a href="https://corefork.telegram.org/constructor/decryptedMessageActionScreenshotMessages"/></summary>
|
||||
[TLDef(0x8AC1F475)]
|
||||
public partial class DecryptedMessageActionScreenshotMessages : DecryptedMessageAction { public long[] random_ids; }
|
||||
///<summary>See <a href="https://core.telegram.org/constructor/decryptedMessageActionFlushHistory"/></summary>
|
||||
///<summary>See <a href="https://corefork.telegram.org/constructor/decryptedMessageActionFlushHistory"/></summary>
|
||||
[TLDef(0x6719E45C)]
|
||||
public partial class DecryptedMessageActionFlushHistory : DecryptedMessageAction { }
|
||||
}
|
||||
|
||||
namespace Layer17
|
||||
{
|
||||
///<summary>See <a href="https://core.telegram.org/constructor/sendMessageUploadVideoAction"/></summary>
|
||||
///<summary>See <a href="https://corefork.telegram.org/constructor/sendMessageUploadVideoAction"/></summary>
|
||||
[TLDef(0x92042FF7)]
|
||||
public partial class SendMessageUploadVideoAction : SendMessageAction { }
|
||||
///<summary>See <a href="https://core.telegram.org/constructor/sendMessageUploadAudioAction"/></summary>
|
||||
///<summary>See <a href="https://corefork.telegram.org/constructor/sendMessageUploadAudioAction"/></summary>
|
||||
[TLDef(0xE6AC8A6F)]
|
||||
public partial class SendMessageUploadAudioAction : SendMessageAction { }
|
||||
///<summary>See <a href="https://core.telegram.org/constructor/sendMessageUploadPhotoAction"/></summary>
|
||||
///<summary>See <a href="https://corefork.telegram.org/constructor/sendMessageUploadPhotoAction"/></summary>
|
||||
[TLDef(0x990A3C1A)]
|
||||
public partial class SendMessageUploadPhotoAction : SendMessageAction { }
|
||||
///<summary>See <a href="https://core.telegram.org/constructor/sendMessageUploadDocumentAction"/></summary>
|
||||
///<summary>See <a href="https://corefork.telegram.org/constructor/sendMessageUploadDocumentAction"/></summary>
|
||||
[TLDef(0x8FAEE98E)]
|
||||
public partial class SendMessageUploadDocumentAction : SendMessageAction { }
|
||||
|
||||
///<summary>See <a href="https://core.telegram.org/constructor/decryptedMessage"/></summary>
|
||||
///<summary>See <a href="https://corefork.telegram.org/constructor/decryptedMessage"/></summary>
|
||||
[TLDef(0x204D3878)]
|
||||
public partial class DecryptedMessage : DecryptedMessageBase
|
||||
{
|
||||
|
|
@ -146,7 +146,7 @@ namespace TL
|
|||
public string message;
|
||||
public DecryptedMessageMedia media;
|
||||
}
|
||||
///<summary>See <a href="https://core.telegram.org/constructor/decryptedMessageService"/></summary>
|
||||
///<summary>See <a href="https://corefork.telegram.org/constructor/decryptedMessageService"/></summary>
|
||||
[TLDef(0x73164160)]
|
||||
public partial class DecryptedMessageService : DecryptedMessageBase
|
||||
{
|
||||
|
|
@ -154,7 +154,7 @@ namespace TL
|
|||
public DecryptedMessageAction action;
|
||||
}
|
||||
|
||||
///<summary>See <a href="https://core.telegram.org/constructor/decryptedMessageMediaVideo"/></summary>
|
||||
///<summary>See <a href="https://corefork.telegram.org/constructor/decryptedMessageMediaVideo"/></summary>
|
||||
[TLDef(0x524A415D)]
|
||||
public partial class DecryptedMessageMediaVideo : DecryptedMessageMedia
|
||||
{
|
||||
|
|
@ -169,7 +169,7 @@ namespace TL
|
|||
public byte[] key;
|
||||
public byte[] iv;
|
||||
}
|
||||
///<summary>See <a href="https://core.telegram.org/constructor/decryptedMessageMediaAudio"/></summary>
|
||||
///<summary>See <a href="https://corefork.telegram.org/constructor/decryptedMessageMediaAudio"/></summary>
|
||||
[TLDef(0x57E0A9CB)]
|
||||
public partial class DecryptedMessageMediaAudio : DecryptedMessageMedia
|
||||
{
|
||||
|
|
@ -180,21 +180,21 @@ namespace TL
|
|||
public byte[] iv;
|
||||
}
|
||||
|
||||
///<summary>See <a href="https://core.telegram.org/constructor/decryptedMessageActionResend"/></summary>
|
||||
///<summary>See <a href="https://corefork.telegram.org/constructor/decryptedMessageActionResend"/></summary>
|
||||
[TLDef(0x511110B0)]
|
||||
public partial class DecryptedMessageActionResend : DecryptedMessageAction
|
||||
{
|
||||
public int start_seq_no;
|
||||
public int end_seq_no;
|
||||
}
|
||||
///<summary>See <a href="https://core.telegram.org/constructor/decryptedMessageActionNotifyLayer"/></summary>
|
||||
///<summary>See <a href="https://corefork.telegram.org/constructor/decryptedMessageActionNotifyLayer"/></summary>
|
||||
[TLDef(0xF3048883)]
|
||||
public partial class DecryptedMessageActionNotifyLayer : DecryptedMessageAction { public int layer; }
|
||||
///<summary>See <a href="https://core.telegram.org/constructor/decryptedMessageActionTyping"/></summary>
|
||||
///<summary>See <a href="https://corefork.telegram.org/constructor/decryptedMessageActionTyping"/></summary>
|
||||
[TLDef(0xCCB27641)]
|
||||
public partial class DecryptedMessageActionTyping : DecryptedMessageAction { public SendMessageAction action; }
|
||||
|
||||
///<summary>See <a href="https://core.telegram.org/constructor/decryptedMessageLayer"/></summary>
|
||||
///<summary>See <a href="https://corefork.telegram.org/constructor/decryptedMessageLayer"/></summary>
|
||||
[TLDef(0x1BE31789)]
|
||||
public partial class DecryptedMessageLayer : ITLObject
|
||||
{
|
||||
|
|
@ -208,14 +208,14 @@ namespace TL
|
|||
|
||||
namespace Layer45
|
||||
{
|
||||
///<summary>See <a href="https://core.telegram.org/constructor/documentAttributeSticker"/></summary>
|
||||
///<summary>See <a href="https://corefork.telegram.org/constructor/documentAttributeSticker"/></summary>
|
||||
[TLDef(0x3A556302)]
|
||||
public partial class DocumentAttributeSticker : DocumentAttribute
|
||||
{
|
||||
public string alt;
|
||||
public InputStickerSet stickerset;
|
||||
}
|
||||
///<summary>See <a href="https://core.telegram.org/constructor/documentAttributeAudio"/></summary>
|
||||
///<summary>See <a href="https://corefork.telegram.org/constructor/documentAttributeAudio"/></summary>
|
||||
[TLDef(0xDED218E0)]
|
||||
public partial class DocumentAttributeAudio : DocumentAttribute
|
||||
{
|
||||
|
|
@ -224,7 +224,7 @@ namespace TL
|
|||
public string performer;
|
||||
}
|
||||
|
||||
///<summary>See <a href="https://core.telegram.org/constructor/decryptedMessage"/></summary>
|
||||
///<summary>See <a href="https://corefork.telegram.org/constructor/decryptedMessage"/></summary>
|
||||
[TLDef(0x36B091DE)]
|
||||
public partial class DecryptedMessage : DecryptedMessageBase
|
||||
{
|
||||
|
|
@ -239,7 +239,7 @@ namespace TL
|
|||
[IfFlag(3)] public long reply_to_random_id;
|
||||
}
|
||||
|
||||
///<summary>See <a href="https://core.telegram.org/constructor/decryptedMessageMediaPhoto"/></summary>
|
||||
///<summary>See <a href="https://corefork.telegram.org/constructor/decryptedMessageMediaPhoto"/></summary>
|
||||
[TLDef(0xF1FA8D78)]
|
||||
public partial class DecryptedMessageMediaPhoto : DecryptedMessageMedia
|
||||
{
|
||||
|
|
@ -253,7 +253,7 @@ namespace TL
|
|||
public byte[] iv;
|
||||
public string caption;
|
||||
}
|
||||
///<summary>See <a href="https://core.telegram.org/constructor/decryptedMessageMediaVideo"/></summary>
|
||||
///<summary>See <a href="https://corefork.telegram.org/constructor/decryptedMessageMediaVideo"/></summary>
|
||||
[TLDef(0x970C8C0E)]
|
||||
public partial class DecryptedMessageMediaVideo : DecryptedMessageMedia
|
||||
{
|
||||
|
|
@ -269,7 +269,7 @@ namespace TL
|
|||
public byte[] iv;
|
||||
public string caption;
|
||||
}
|
||||
///<summary>See <a href="https://core.telegram.org/constructor/decryptedMessageMediaDocument"/></summary>
|
||||
///<summary>See <a href="https://corefork.telegram.org/constructor/decryptedMessageMediaDocument"/></summary>
|
||||
[TLDef(0x7AFE8AE2)]
|
||||
public partial class DecryptedMessageMediaDocument : DecryptedMessageMedia
|
||||
{
|
||||
|
|
@ -283,7 +283,7 @@ namespace TL
|
|||
public DocumentAttribute[] attributes;
|
||||
public string caption;
|
||||
}
|
||||
///<summary>See <a href="https://core.telegram.org/constructor/decryptedMessageMediaVenue"/></summary>
|
||||
///<summary>See <a href="https://corefork.telegram.org/constructor/decryptedMessageMediaVenue"/></summary>
|
||||
[TLDef(0x8A0DF56F)]
|
||||
public partial class DecryptedMessageMediaVenue : DecryptedMessageMedia
|
||||
{
|
||||
|
|
@ -294,14 +294,14 @@ namespace TL
|
|||
public string provider;
|
||||
public string venue_id;
|
||||
}
|
||||
///<summary>See <a href="https://core.telegram.org/constructor/decryptedMessageMediaWebPage"/></summary>
|
||||
///<summary>See <a href="https://corefork.telegram.org/constructor/decryptedMessageMediaWebPage"/></summary>
|
||||
[TLDef(0xE50511D8)]
|
||||
public partial class DecryptedMessageMediaWebPage : DecryptedMessageMedia { public string url; }
|
||||
}
|
||||
|
||||
namespace Layer73
|
||||
{
|
||||
///<summary>See <a href="https://core.telegram.org/constructor/decryptedMessage"/></summary>
|
||||
///<summary>See <a href="https://corefork.telegram.org/constructor/decryptedMessage"/></summary>
|
||||
[TLDef(0x91CC4674)]
|
||||
public partial class DecryptedMessage : DecryptedMessageBase
|
||||
{
|
||||
|
|
@ -321,14 +321,14 @@ namespace TL
|
|||
|
||||
namespace Layer20
|
||||
{
|
||||
///<summary>See <a href="https://core.telegram.org/constructor/decryptedMessageActionRequestKey"/></summary>
|
||||
///<summary>See <a href="https://corefork.telegram.org/constructor/decryptedMessageActionRequestKey"/></summary>
|
||||
[TLDef(0xF3C9611B)]
|
||||
public partial class DecryptedMessageActionRequestKey : DecryptedMessageAction
|
||||
{
|
||||
public long exchange_id;
|
||||
public byte[] g_a;
|
||||
}
|
||||
///<summary>See <a href="https://core.telegram.org/constructor/decryptedMessageActionAcceptKey"/></summary>
|
||||
///<summary>See <a href="https://corefork.telegram.org/constructor/decryptedMessageActionAcceptKey"/></summary>
|
||||
[TLDef(0x6FE1735B)]
|
||||
public partial class DecryptedMessageActionAcceptKey : DecryptedMessageAction
|
||||
{
|
||||
|
|
@ -336,24 +336,24 @@ namespace TL
|
|||
public byte[] g_b;
|
||||
public long key_fingerprint;
|
||||
}
|
||||
///<summary>See <a href="https://core.telegram.org/constructor/decryptedMessageActionAbortKey"/></summary>
|
||||
///<summary>See <a href="https://corefork.telegram.org/constructor/decryptedMessageActionAbortKey"/></summary>
|
||||
[TLDef(0xDD05EC6B)]
|
||||
public partial class DecryptedMessageActionAbortKey : DecryptedMessageAction { public long exchange_id; }
|
||||
///<summary>See <a href="https://core.telegram.org/constructor/decryptedMessageActionCommitKey"/></summary>
|
||||
///<summary>See <a href="https://corefork.telegram.org/constructor/decryptedMessageActionCommitKey"/></summary>
|
||||
[TLDef(0xEC2E0B9B)]
|
||||
public partial class DecryptedMessageActionCommitKey : DecryptedMessageAction
|
||||
{
|
||||
public long exchange_id;
|
||||
public long key_fingerprint;
|
||||
}
|
||||
///<summary>See <a href="https://core.telegram.org/constructor/decryptedMessageActionNoop"/></summary>
|
||||
///<summary>See <a href="https://corefork.telegram.org/constructor/decryptedMessageActionNoop"/></summary>
|
||||
[TLDef(0xA82FDD63)]
|
||||
public partial class DecryptedMessageActionNoop : DecryptedMessageAction { }
|
||||
}
|
||||
|
||||
namespace Layer23
|
||||
{
|
||||
///<summary>See <a href="https://core.telegram.org/constructor/photoSize"/></summary>
|
||||
///<summary>See <a href="https://corefork.telegram.org/constructor/photoSize"/></summary>
|
||||
[TLDef(0x77BFB61B)]
|
||||
public partial class PhotoSize : PhotoSizeBase
|
||||
{
|
||||
|
|
@ -363,7 +363,7 @@ namespace TL
|
|||
public int h;
|
||||
public int size;
|
||||
}
|
||||
///<summary>See <a href="https://core.telegram.org/constructor/photoCachedSize"/></summary>
|
||||
///<summary>See <a href="https://corefork.telegram.org/constructor/photoCachedSize"/></summary>
|
||||
[TLDef(0xE9A734FA)]
|
||||
public partial class PhotoCachedSize : PhotoSizeBase
|
||||
{
|
||||
|
|
@ -374,10 +374,10 @@ namespace TL
|
|||
public byte[] bytes;
|
||||
}
|
||||
|
||||
///<summary>See <a href="https://core.telegram.org/constructor/documentAttributeSticker"/></summary>
|
||||
///<summary>See <a href="https://corefork.telegram.org/constructor/documentAttributeSticker"/></summary>
|
||||
[TLDef(0xFB0A5727)]
|
||||
public partial class DocumentAttributeSticker : DocumentAttribute { }
|
||||
///<summary>See <a href="https://core.telegram.org/constructor/documentAttributeVideo"/></summary>
|
||||
///<summary>See <a href="https://corefork.telegram.org/constructor/documentAttributeVideo"/></summary>
|
||||
[TLDef(0x5910CCCB)]
|
||||
public partial class DocumentAttributeVideo : DocumentAttribute
|
||||
{
|
||||
|
|
@ -385,11 +385,11 @@ namespace TL
|
|||
public int w;
|
||||
public int h;
|
||||
}
|
||||
///<summary>See <a href="https://core.telegram.org/constructor/documentAttributeAudio"/></summary>
|
||||
///<summary>See <a href="https://corefork.telegram.org/constructor/documentAttributeAudio"/></summary>
|
||||
[TLDef(0x051448E5)]
|
||||
public partial class DocumentAttributeAudio : DocumentAttribute { public int duration; }
|
||||
|
||||
///<summary>See <a href="https://core.telegram.org/constructor/decryptedMessageMediaExternalDocument"/></summary>
|
||||
///<summary>See <a href="https://corefork.telegram.org/constructor/decryptedMessageMediaExternalDocument"/></summary>
|
||||
[TLDef(0xFA95B0DD)]
|
||||
public partial class DecryptedMessageMediaExternalDocument : DecryptedMessageMedia
|
||||
{
|
||||
|
|
@ -403,7 +403,7 @@ namespace TL
|
|||
public DocumentAttribute[] attributes;
|
||||
}
|
||||
|
||||
///<summary>See <a href="https://core.telegram.org/constructor/fileLocationUnavailable"/></summary>
|
||||
///<summary>See <a href="https://corefork.telegram.org/constructor/fileLocationUnavailable"/></summary>
|
||||
[TLDef(0x7C596B46)]
|
||||
public partial class FileLocationUnavailable : FileLocationBase
|
||||
{
|
||||
|
|
@ -411,7 +411,7 @@ namespace TL
|
|||
public int local_id;
|
||||
public long secret;
|
||||
}
|
||||
///<summary>See <a href="https://core.telegram.org/constructor/fileLocation"/></summary>
|
||||
///<summary>See <a href="https://corefork.telegram.org/constructor/fileLocation"/></summary>
|
||||
[TLDef(0x53D69076)]
|
||||
public partial class FileLocation : FileLocationBase
|
||||
{
|
||||
|
|
@ -424,7 +424,7 @@ namespace TL
|
|||
|
||||
namespace Layer66
|
||||
{
|
||||
///<summary>See <a href="https://core.telegram.org/constructor/sendMessageUploadRoundAction"/></summary>
|
||||
///<summary>See <a href="https://corefork.telegram.org/constructor/sendMessageUploadRoundAction"/></summary>
|
||||
[TLDef(0xBB718624)]
|
||||
public partial class SendMessageUploadRoundAction : SendMessageAction { }
|
||||
}
|
||||
|
|
|
|||
|
|
@ -209,7 +209,7 @@ namespace TL
|
|||
[0x145ADE0B] = typeof(Contact),
|
||||
[0xC13E3C50] = typeof(ImportedContact),
|
||||
[0x16D9703B] = typeof(ContactStatus),
|
||||
[0xB74BA9D2] = typeof(Contacts_ContactsNotModified),
|
||||
[0xB74BA9D2] = null,//Contacts_ContactsNotModified
|
||||
[0xEAE87E42] = typeof(Contacts_Contacts),
|
||||
[0x77D01C3B] = typeof(Contacts_ImportedContacts),
|
||||
[0x0ADE1591] = typeof(Contacts_Blocked),
|
||||
|
|
@ -356,7 +356,7 @@ namespace TL
|
|||
[0x330B4067] = typeof(Config),
|
||||
[0x8E1A1775] = typeof(NearestDc),
|
||||
[0xCCBBCE30] = typeof(Help_AppUpdate),
|
||||
[0xC45A6536] = typeof(Help_NoAppUpdate),
|
||||
[0xC45A6536] = null,//Help_NoAppUpdate
|
||||
[0x18CB9F78] = typeof(Help_InviteText),
|
||||
[0xAB7EC0A0] = typeof(EncryptedChatEmpty),
|
||||
[0x66B25953] = typeof(EncryptedChatWaiting),
|
||||
|
|
@ -429,10 +429,10 @@ namespace TL
|
|||
[0x9852F9C6] = typeof(DocumentAttributeAudio),
|
||||
[0x15590068] = typeof(DocumentAttributeFilename),
|
||||
[0x9801D2F7] = typeof(DocumentAttributeHasStickers),
|
||||
[0xF1749A22] = typeof(Messages_StickersNotModified),
|
||||
[0xF1749A22] = null,//Messages_StickersNotModified
|
||||
[0x30A6EC7E] = typeof(Messages_Stickers),
|
||||
[0x12B299D4] = typeof(StickerPack),
|
||||
[0xE86602C3] = typeof(Messages_AllStickersNotModified),
|
||||
[0xE86602C3] = null,//Messages_AllStickersNotModified
|
||||
[0xCDBBCEBB] = typeof(Messages_AllStickers),
|
||||
[0x84D19185] = typeof(Messages_AffectedMessages),
|
||||
[0xEB1477E8] = typeof(WebPageEmpty),
|
||||
|
|
@ -519,10 +519,10 @@ namespace TL
|
|||
[0xBB6AE88D] = typeof(ChannelParticipantsContacts),
|
||||
[0xE04B5CEB] = typeof(ChannelParticipantsMentions),
|
||||
[0x9AB0FEAF] = typeof(Channels_ChannelParticipants),
|
||||
[0xF0173FE9] = typeof(Channels_ChannelParticipantsNotModified),
|
||||
[0xF0173FE9] = null,//Channels_ChannelParticipantsNotModified
|
||||
[0xDFB80317] = typeof(Channels_ChannelParticipant),
|
||||
[0x780A0310] = typeof(Help_TermsOfService),
|
||||
[0xE8025CA2] = typeof(Messages_SavedGifsNotModified),
|
||||
[0xE8025CA2] = null,//Messages_SavedGifsNotModified
|
||||
[0x84A02A0D] = typeof(Messages_SavedGifs),
|
||||
[0x3380C786] = typeof(InputBotInlineMessageMediaAuto),
|
||||
[0x3DCD7A87] = typeof(InputBotInlineMessageText),
|
||||
|
|
@ -558,14 +558,14 @@ namespace TL
|
|||
[0x3371C354] = typeof(Messages_PeerDialogs),
|
||||
[0xEDCDC05B] = typeof(TopPeer),
|
||||
[0xFB834291] = typeof(TopPeerCategoryPeers),
|
||||
[0xDE266EF5] = typeof(Contacts_TopPeersNotModified),
|
||||
[0xDE266EF5] = null,//Contacts_TopPeersNotModified
|
||||
[0x70B772A8] = typeof(Contacts_TopPeers),
|
||||
[0xB52C939D] = typeof(Contacts_TopPeersDisabled),
|
||||
[0x1B0C841A] = typeof(DraftMessageEmpty),
|
||||
[0xFD8E711F] = typeof(DraftMessage),
|
||||
[0xC6DC0C66] = typeof(Messages_FeaturedStickersNotModified),
|
||||
[0x84C02310] = typeof(Messages_FeaturedStickers),
|
||||
[0x0B17F890] = typeof(Messages_RecentStickersNotModified),
|
||||
[0x0B17F890] = null,//Messages_RecentStickersNotModified
|
||||
[0x88D37C56] = typeof(Messages_RecentStickers),
|
||||
[0x4FCBA9C8] = typeof(Messages_ArchivedStickers),
|
||||
[0x38641628] = typeof(Messages_StickerSetInstallResultSuccess),
|
||||
|
|
@ -708,7 +708,7 @@ namespace TL
|
|||
[0xED8AF74D] = typeof(Channels_AdminLogResults),
|
||||
[0xEA107AE4] = typeof(ChannelAdminLogEventsFilter),
|
||||
[0x5CE14175] = typeof(PopularContact),
|
||||
[0x9E8FA6D3] = typeof(Messages_FavedStickersNotModified),
|
||||
[0x9E8FA6D3] = null,//Messages_FavedStickersNotModified
|
||||
[0x2CB51097] = typeof(Messages_FavedStickers),
|
||||
[0x46E1D13D] = typeof(RecentMeUrlUnknown),
|
||||
[0xB92C09E2] = typeof(RecentMeUrlUser),
|
||||
|
|
@ -727,7 +727,7 @@ namespace TL
|
|||
[0x64600527] = typeof(InputDialogPeerFolder),
|
||||
[0xE56DBF05] = typeof(DialogPeer),
|
||||
[0x514519E2] = typeof(DialogPeerFolder),
|
||||
[0x0D54B65D] = typeof(Messages_FoundStickerSetsNotModified),
|
||||
[0x0D54B65D] = null,//Messages_FoundStickerSetsNotModified
|
||||
[0x8AF09DD2] = typeof(Messages_FoundStickerSets),
|
||||
[0x6242C773] = typeof(FileHash),
|
||||
[0x75588B3F] = typeof(InputClientProxy),
|
||||
|
|
@ -769,7 +769,7 @@ namespace TL
|
|||
[0xD27FF082] = typeof(InputCheckPasswordSRP),
|
||||
[0x829D99DA] = typeof(SecureRequiredType),
|
||||
[0x027477B4] = typeof(SecureRequiredTypeOneOf),
|
||||
[0xBFB9F457] = typeof(Help_PassportConfigNotModified),
|
||||
[0xBFB9F457] = null,//Help_PassportConfigNotModified
|
||||
[0xA098D6AF] = typeof(Help_PassportConfig),
|
||||
[0x1D1B1245] = typeof(InputAppEvent),
|
||||
[0xC0DE1BD9] = typeof(JsonObjectValue),
|
||||
|
|
@ -802,7 +802,7 @@ namespace TL
|
|||
[0xE630B979] = typeof(InputWallPaper),
|
||||
[0x72091C80] = typeof(InputWallPaperSlug),
|
||||
[0x967A462E] = typeof(InputWallPaperNoFile),
|
||||
[0x1C199183] = typeof(Account_WallPapersNotModified),
|
||||
[0x1C199183] = null,//Account_WallPapersNotModified
|
||||
[0xCDC3858C] = typeof(Account_WallPapers),
|
||||
[0xDEBEBE83] = typeof(CodeSettings),
|
||||
[0x1DC1BCA4] = typeof(WallPaperSettings),
|
||||
|
|
@ -828,7 +828,7 @@ namespace TL
|
|||
[0x3C5693E9] = typeof(InputTheme),
|
||||
[0xF5890DF1] = typeof(InputThemeSlug),
|
||||
[0xE802B8DC] = typeof(Theme),
|
||||
[0xF41EB622] = typeof(Account_ThemesNotModified),
|
||||
[0xF41EB622] = null,//Account_ThemesNotModified
|
||||
[0x9A3D8C6D] = typeof(Account_Themes),
|
||||
[0x629F1980] = typeof(Auth_LoginToken),
|
||||
[0x068E9916] = typeof(Auth_LoginTokenMigrateTo),
|
||||
|
|
@ -864,7 +864,7 @@ namespace TL
|
|||
[0xBEA2F424] = typeof(GlobalPrivacySettings),
|
||||
[0x4203C5EF] = typeof(Help_CountryCode),
|
||||
[0xC3878E23] = typeof(Help_Country),
|
||||
[0x93CC1F32] = typeof(Help_CountriesListNotModified),
|
||||
[0x93CC1F32] = null,//Help_CountriesListNotModified
|
||||
[0x87D0759E] = typeof(Help_CountriesList),
|
||||
[0x455B853D] = typeof(MessageViews),
|
||||
[0xB6C4F543] = typeof(Messages_MessageViews),
|
||||
|
|
@ -906,7 +906,7 @@ namespace TL
|
|||
[0xE9EFFC7D] = typeof(Account_ResetPasswordRequestedWait),
|
||||
[0xE926D63E] = typeof(Account_ResetPasswordOk),
|
||||
[0xED0B5C33] = typeof(ChatTheme),
|
||||
[0xE011E1C4] = typeof(Account_ChatThemesNotModified),
|
||||
[0xE011E1C4] = null,//Account_ChatThemesNotModified
|
||||
[0xFE4CBEBD] = typeof(Account_ChatThemes),
|
||||
[0x2A3C381F] = typeof(SponsoredMessage),
|
||||
[0x65A4C7D5] = typeof(Messages_SponsoredMessages),
|
||||
|
|
@ -980,21 +980,36 @@ namespace TL
|
|||
[typeof(MessageMedia)] = 0x3DED6320, //messageMediaEmpty
|
||||
[typeof(MessageAction)] = 0xB6AEF7B0, //messageActionEmpty
|
||||
[typeof(GeoPoint)] = 0x1117DD5F, //geoPointEmpty
|
||||
[typeof(Contacts_Contacts)] = 0xB74BA9D2, //contacts.contactsNotModified
|
||||
[typeof(MessagesFilter)] = 0x57E2F66C, //inputMessagesFilterEmpty
|
||||
[typeof(Help_AppUpdate)] = 0xC45A6536, //help.noAppUpdate
|
||||
[typeof(EncryptedFile)] = 0xC21F497E, //encryptedFileEmpty
|
||||
[typeof(InputEncryptedFileBase)] = 0x1837C364, //inputEncryptedFileEmpty
|
||||
[typeof(InputDocument)] = 0x72F0EAAE, //inputDocumentEmpty
|
||||
[typeof(Messages_Stickers)] = 0xF1749A22, //messages.stickersNotModified
|
||||
[typeof(Messages_AllStickers)] = 0xE86602C3, //messages.allStickersNotModified
|
||||
[typeof(InputStickerSet)] = 0xFFB62B95, //inputStickerSetEmpty
|
||||
[typeof(InputChannelBase)] = 0xEE8C1E86, //inputChannelEmpty
|
||||
[typeof(ChannelMessagesFilter)] = 0x94D42EE7, //channelMessagesFilterEmpty
|
||||
[typeof(Channels_ChannelParticipants)] = 0xF0173FE9, //channels.channelParticipantsNotModified
|
||||
[typeof(Messages_SavedGifs)] = 0xE8025CA2, //messages.savedGifsNotModified
|
||||
[typeof(Contacts_TopPeersBase)] = 0xDE266EF5, //contacts.topPeersNotModified
|
||||
[typeof(Messages_RecentStickers)] = 0x0B17F890, //messages.recentStickersNotModified
|
||||
[typeof(RichText)] = 0xDC3D824F, //textEmpty
|
||||
[typeof(Messages_FavedStickers)] = 0x9E8FA6D3, //messages.favedStickersNotModified
|
||||
[typeof(Messages_FoundStickerSets)] = 0x0D54B65D, //messages.foundStickerSetsNotModified
|
||||
[typeof(SecureFile)] = 0x64199744, //secureFileEmpty
|
||||
[typeof(Help_DeepLinkInfo)] = 0x66AFA166, //help.deepLinkInfoEmpty
|
||||
[typeof(PasswordKdfAlgo)] = 0xD45AB096, //passwordKdfAlgoUnknown
|
||||
[typeof(SecurePasswordKdfAlgo)] = 0x004A8537, //securePasswordKdfAlgoUnknown
|
||||
[typeof(InputCheckPasswordSRP)] = 0x9880F658, //inputCheckPasswordEmpty
|
||||
[typeof(Help_PassportConfig)] = 0xBFB9F457, //help.passportConfigNotModified
|
||||
[typeof(Help_UserInfo)] = 0xF3AE2EED, //help.userInfoEmpty
|
||||
[typeof(Account_WallPapers)] = 0x1C199183, //account.wallPapersNotModified
|
||||
[typeof(ChannelLocation)] = 0xBFB5AD8B, //channelLocationEmpty
|
||||
[typeof(Account_Themes)] = 0xF41EB622, //account.themesNotModified
|
||||
[typeof(Help_CountriesList)] = 0x93CC1F32, //help.countriesListNotModified
|
||||
[typeof(Account_ChatThemes)] = 0xE011E1C4, //account.chatThemesNotModified
|
||||
// from TL.Secret:
|
||||
[typeof(DecryptedMessageMedia)] = 0x089F5C4A, //decryptedMessageMediaEmpty
|
||||
// The End
|
||||
|
|
|
|||
Loading…
Reference in a new issue