mirror of
https://github.com/wiz0u/WTelegramClient.git
synced 2026-04-04 22:17:43 +00:00
Improved Secret Chats:
Support layer 144 : big documents, silent (layer not yet supported by other clients) List of ISecretChat with detailed properties Fix PFS issue losing a message...
This commit is contained in:
parent
8fa00a8cc6
commit
a038be87af
9 changed files with 326 additions and 275 deletions
|
|
@ -7,7 +7,7 @@ namespace TL
|
|||
public static class Layer
|
||||
{
|
||||
public const int Version = 148; // fetched 01/11/2022 17:33:23
|
||||
internal const int SecretChats = 101;
|
||||
internal const int SecretChats = 144;
|
||||
internal const int MTProto2 = 73;
|
||||
internal const uint VectorCtor = 0x1CB5C415;
|
||||
internal const uint NullCtor = 0x56730BCC;
|
||||
|
|
@ -1047,54 +1047,56 @@ namespace TL
|
|||
[0x71701DA9] = typeof(ForumTopic),
|
||||
[0x367617D3] = typeof(Messages_ForumTopics),
|
||||
// from TL.Secret:
|
||||
[0x6ABD9782] = typeof(Layer143.DecryptedMessageMediaDocument),
|
||||
[0x91CC4674] = typeof(Layer73.DecryptedMessage),
|
||||
[0xBB718624] = typeof(Layer66.SendMessageUploadRoundAction),
|
||||
[0xE50511D8] = typeof(Layer45.DecryptedMessageMediaWebPage),
|
||||
[0x8A0DF56F] = typeof(Layer45.DecryptedMessageMediaVenue),
|
||||
[0xE50511D8] = typeof(Layer46.DecryptedMessageMediaWebPage),
|
||||
[0x8A0DF56F] = typeof(Layer46.DecryptedMessageMediaVenue),
|
||||
[0x352DCA58] = typeof(Layer46.MessageEntityMentionName),
|
||||
[0x3A556302] = typeof(Layer46.DocumentAttributeSticker),
|
||||
[0x7AFE8AE2] = typeof(Layer46.DecryptedMessageMediaDocument),
|
||||
[0x970C8C0E] = typeof(Layer46.DecryptedMessageMediaVideo),
|
||||
[0xF1FA8D78] = typeof(Layer46.DecryptedMessageMediaPhoto),
|
||||
[0x36B091DE] = typeof(Layer46.DecryptedMessage),
|
||||
[0xDED218E0] = typeof(Layer45.DocumentAttributeAudio),
|
||||
[0xFA95B0DD] = typeof(Layer23.DecryptedMessageMediaExternalDocument),
|
||||
[0x53D69076] = typeof(Layer23.FileLocation),
|
||||
[0x7C596B46] = typeof(Layer23.FileLocationUnavailable),
|
||||
[0xE9A734FA] = typeof(Layer23.PhotoCachedSize),
|
||||
[0x77BFB61B] = typeof(Layer23.PhotoSize),
|
||||
[0xDED218E0] = typeof(Layer45.DocumentAttributeAudio),
|
||||
[0x051448E5] = typeof(Layer23.DocumentAttributeAudio),
|
||||
[0x5910CCCB] = typeof(Layer23.DocumentAttributeVideo),
|
||||
[0x3A556302] = typeof(Layer45.DocumentAttributeSticker),
|
||||
[0xFB0A5727] = typeof(Layer23.DocumentAttributeSticker),
|
||||
[0xA82FDD63] = typeof(Layer20.DecryptedMessageActionNoop),
|
||||
[0xEC2E0B9B] = typeof(Layer20.DecryptedMessageActionCommitKey),
|
||||
[0xDD05EC6B] = typeof(Layer20.DecryptedMessageActionAbortKey),
|
||||
[0x6FE1735B] = typeof(Layer20.DecryptedMessageActionAcceptKey),
|
||||
[0xF3C9611B] = typeof(Layer20.DecryptedMessageActionRequestKey),
|
||||
[0xCCB27641] = typeof(Layer17.DecryptedMessageActionTyping),
|
||||
[0xF3048883] = typeof(Layer17.DecryptedMessageActionNotifyLayer),
|
||||
[0x511110B0] = typeof(Layer17.DecryptedMessageActionResend),
|
||||
[0x8FAEE98E] = typeof(Layer17.SendMessageUploadDocumentAction),
|
||||
[0x990A3C1A] = typeof(Layer17.SendMessageUploadPhotoAction),
|
||||
[0xE6AC8A6F] = typeof(Layer17.SendMessageUploadAudioAction),
|
||||
[0x92042FF7] = typeof(Layer17.SendMessageUploadVideoAction),
|
||||
[0x1BE31789] = typeof(Layer17.DecryptedMessageLayer),
|
||||
[0xA82FDD63] = typeof(Layer23.DecryptedMessageActionNoop),
|
||||
[0xEC2E0B9B] = typeof(Layer23.DecryptedMessageActionCommitKey),
|
||||
[0xDD05EC6B] = typeof(Layer23.DecryptedMessageActionAbortKey),
|
||||
[0x6FE1735B] = typeof(Layer23.DecryptedMessageActionAcceptKey),
|
||||
[0xF3C9611B] = typeof(Layer23.DecryptedMessageActionRequestKey),
|
||||
[0xCCB27641] = typeof(Layer23.DecryptedMessageActionTyping),
|
||||
[0xF3048883] = typeof(Layer23.DecryptedMessageActionNotifyLayer),
|
||||
[0x511110B0] = typeof(Layer23.DecryptedMessageActionResend),
|
||||
[0x8FAEE98E] = typeof(Layer23.SendMessageUploadDocumentAction),
|
||||
[0x990A3C1A] = typeof(Layer23.SendMessageUploadPhotoAction),
|
||||
[0xE6AC8A6F] = typeof(Layer23.SendMessageUploadAudioAction),
|
||||
[0x92042FF7] = typeof(Layer23.SendMessageUploadVideoAction),
|
||||
[0x1BE31789] = typeof(Layer23.DecryptedMessageLayer),
|
||||
[0x57E0A9CB] = typeof(Layer23.DecryptedMessageMediaAudio),
|
||||
[0x524A415D] = typeof(Layer23.DecryptedMessageMediaVideo),
|
||||
[0x73164160] = typeof(Layer23.DecryptedMessageService),
|
||||
[0x204D3878] = typeof(Layer23.DecryptedMessage),
|
||||
[0x6719E45C] = typeof(Layer8.DecryptedMessageActionFlushHistory),
|
||||
[0x8AC1F475] = typeof(Layer8.DecryptedMessageActionScreenshotMessages),
|
||||
[0x65614304] = typeof(Layer8.DecryptedMessageActionDeleteMessages),
|
||||
[0x0C4F40BE] = typeof(Layer8.DecryptedMessageActionReadMessages),
|
||||
[0x57E0A9CB] = typeof(Layer17.DecryptedMessageMediaAudio),
|
||||
[0x6080758F] = typeof(Layer8.DecryptedMessageMediaAudio),
|
||||
[0x7AFE8AE2] = typeof(Layer45.DecryptedMessageMediaDocument),
|
||||
[0xB095434B] = typeof(Layer8.DecryptedMessageMediaDocument),
|
||||
[0xA1733AEC] = typeof(Layer8.DecryptedMessageActionSetMessageTTL),
|
||||
[0x588A0A97] = typeof(Layer8.DecryptedMessageMediaContact),
|
||||
[0x35480A59] = typeof(Layer8.DecryptedMessageMediaGeoPoint),
|
||||
[0x970C8C0E] = typeof(Layer45.DecryptedMessageMediaVideo),
|
||||
[0x524A415D] = typeof(Layer17.DecryptedMessageMediaVideo),
|
||||
[0x4CEE6EF3] = typeof(Layer8.DecryptedMessageMediaVideo),
|
||||
[0xF1FA8D78] = typeof(Layer45.DecryptedMessageMediaPhoto),
|
||||
[0x32798A8C] = typeof(Layer8.DecryptedMessageMediaPhoto),
|
||||
[0x089F5C4A] = null,//Layer8.DecryptedMessageMediaEmpty
|
||||
[0x73164160] = typeof(Layer17.DecryptedMessageService),
|
||||
[0xAA48327D] = typeof(Layer8.DecryptedMessageService),
|
||||
[0x91CC4674] = typeof(Layer73.DecryptedMessage),
|
||||
[0x36B091DE] = typeof(Layer45.DecryptedMessage),
|
||||
[0x204D3878] = typeof(Layer17.DecryptedMessage),
|
||||
[0x1F814F1F] = typeof(Layer8.DecryptedMessage),
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue