Upgrade to layer 133 (lots of changes, all IDs are now long). You'll need to delete your WTelegram.session files

This commit is contained in:
Wizou 2021-09-17 03:58:52 +02:00
parent 661b5223ac
commit c727f75380
3 changed files with 684 additions and 532 deletions

View file

@ -16,7 +16,7 @@ namespace TL
partial class ChatBase
{
public abstract int ID { get; }
public abstract long ID { get; }
public abstract string Title { get; }
/// <summary>returns true if you're banned of any of these rights</summary>
public abstract bool IsBanned(ChatBannedRights.Flags flags = 0);
@ -25,28 +25,28 @@ namespace TL
}
partial class ChatEmpty
{
public override int ID => id;
public override long ID => id;
public override string Title => null;
public override bool IsBanned(ChatBannedRights.Flags flags = 0) => true;
protected override InputPeer ToInputPeer() => InputPeer.Empty;
}
partial class Chat
{
public override int ID => id;
public override long ID => id;
public override string Title => title;
public override bool IsBanned(ChatBannedRights.Flags flags = 0) => ((default_banned_rights?.flags ?? 0) & flags) != 0;
protected override InputPeer ToInputPeer() => new InputPeerChat { chat_id = id };
}
partial class ChatForbidden
{
public override int ID => id;
public override long ID => id;
public override string Title => title;
public override bool IsBanned(ChatBannedRights.Flags flags = 0) => true;
protected override InputPeer ToInputPeer() => new InputPeerChat { chat_id = id };
}
partial class Channel
{
public override int ID => id;
public override long ID => id;
public override string Title => title;
public override bool IsBanned(ChatBannedRights.Flags flags = 0) => ((banned_rights?.flags ?? 0) & flags) != 0 || ((default_banned_rights?.flags ?? 0) & flags) != 0;
protected override InputPeer ToInputPeer() => new InputPeerChannel { channel_id = id, access_hash = access_hash };
@ -54,7 +54,7 @@ namespace TL
}
partial class ChannelForbidden
{
public override int ID => id;
public override long ID => id;
public override string Title => title;
public override bool IsBanned(ChatBannedRights.Flags flags = 0) => true;
protected override InputPeer ToInputPeer() => new InputPeerChannel { channel_id = id, access_hash = access_hash };
@ -62,7 +62,7 @@ namespace TL
partial class UserBase
{
public abstract int ID { get; }
public abstract long ID { get; }
public abstract string DisplayName { get; }
protected abstract InputPeer ToInputPeer();
protected abstract InputUserBase ToInputUser();
@ -71,14 +71,14 @@ namespace TL
}
partial class UserEmpty
{
public override int ID => id;
public override long ID => id;
public override string DisplayName => null;
protected override InputPeer ToInputPeer() => InputPeer.Empty;
protected override InputUserBase ToInputUser() => InputUser.Empty;
}
partial class User
{
public override int ID => id;
public override long ID => id;
public override string DisplayName => username != null ? '@' + username : last_name == null ? first_name : $"{first_name} {last_name}";
protected override InputPeer ToInputPeer() => new InputPeerUser { user_id = id, access_hash = access_hash };
protected override InputUserBase ToInputUser() => new InputUser { user_id = id, access_hash = access_hash };
@ -175,10 +175,10 @@ namespace TL
public static implicit operator InputStickerSetID(StickerSet stickerSet) => new() { id = stickerSet.id, access_hash = stickerSet.access_hash };
}
partial class Peer { public abstract int ID { get; } }
partial class PeerUser { public override int ID => user_id; }
partial class PeerChat { public override int ID => chat_id; }
partial class PeerChannel { public override int ID => channel_id; }
partial class Peer { public abstract long ID { get; } }
partial class PeerUser { public override long ID => user_id; }
partial class PeerChat { public override long ID => chat_id; }
partial class PeerChannel { public override long ID => channel_id; }
partial class JsonObjectValue { public override string ToString() => $"{HttpUtility.JavaScriptStringEncode(key, true)}:{value}"; }
partial class JsonNull { public override string ToString() => "null"; }

File diff suppressed because it is too large Load diff

View file

@ -6,7 +6,7 @@ namespace TL
{
static partial class Schema
{
public const int Layer = 131; // fetched 20/08/2021 12:21:02
public const int Layer = 133; // fetched 17/09/2021 01:46:27
public const uint VectorCtor = 0x1CB5C415;
public const uint NullCtor = 0x56730BCC;
public const uint RpcResult = 0xF35C6D01;
@ -69,15 +69,15 @@ namespace TL
[0x56730BCC] = typeof(Null),
[0x7F3B18EA] = typeof(InputPeerEmpty),
[0x7DA07EC9] = typeof(InputPeerSelf),
[0x179BE863] = typeof(InputPeerChat),
[0x7B8E7DE6] = typeof(InputPeerUser),
[0x20ADAEF8] = typeof(InputPeerChannel),
[0x17BAE2E6] = typeof(InputPeerUserFromMessage),
[0x9C95F7BB] = typeof(InputPeerChannelFromMessage),
[0x35A95CB9] = typeof(InputPeerChat),
[0xDDE8A54C] = typeof(InputPeerUser),
[0x27BCBBFC] = typeof(InputPeerChannel),
[0xA87B0A1C] = typeof(InputPeerUserFromMessage),
[0xBD2A0840] = typeof(InputPeerChannelFromMessage),
[0xB98886CF] = typeof(InputUserEmpty),
[0xF7C1B13F] = typeof(InputUserSelf),
[0xD8292816] = typeof(InputUser),
[0x2D117597] = typeof(InputUserFromMessage),
[0xF21158C6] = typeof(InputUser),
[0x1DA448E2] = typeof(InputUserFromMessage),
[0xF392B7F4] = typeof(InputPhoneContact),
[0xF52FF27F] = typeof(InputFile),
[0xFA4F0BB5] = typeof(InputFileBig),
@ -112,10 +112,10 @@ namespace TL
[0xD83466F3] = typeof(InputPhotoLegacyFileLocation),
[0x37257E99] = typeof(InputPeerPhotoFileLocation),
[0x9D84F3DB] = typeof(InputStickerSetThumb),
[0xBBA51639] = typeof(InputGroupCallStream),
[0x9DB1BC6D] = typeof(PeerUser),
[0xBAD0E5BB] = typeof(PeerChat),
[0xBDDDE532] = typeof(PeerChannel),
[0x0598A92A] = typeof(InputGroupCallStream),
[0x59511722] = typeof(PeerUser),
[0x36C6019A] = typeof(PeerChat),
[0xA2A5371E] = typeof(PeerChannel),
[0xAA963B05] = typeof(Storage_FileUnknown),
[0x40BC6F52] = typeof(Storage_FilePartial),
[0x007EFE0E] = typeof(Storage_FileJpeg),
@ -126,8 +126,8 @@ namespace TL
[0x4B09EBBC] = typeof(Storage_FileMov),
[0xB3CEA0E4] = typeof(Storage_FileMp4),
[0x1081464C] = typeof(Storage_FileWebp),
[0x200250BA] = typeof(UserEmpty),
[0x938458C1] = typeof(User),
[0xD3BC4B7A] = typeof(UserEmpty),
[0x3FF6ECB0] = typeof(User),
[0x4F11BAE1] = typeof(UserProfilePhotoEmpty),
[0x82D1F706] = typeof(UserProfilePhoto),
[0x09D05049] = typeof(UserStatusEmpty),
@ -136,27 +136,27 @@ namespace TL
[0xE26F42F1] = typeof(UserStatusRecently),
[0x07BF09FC] = typeof(UserStatusLastWeek),
[0x77EBC742] = typeof(UserStatusLastMonth),
[0x9BA2D800] = typeof(ChatEmpty),
[0x3BDA1BDE] = typeof(Chat),
[0x07328BDB] = typeof(ChatForbidden),
[0xD31A961E] = typeof(Channel),
[0x289DA732] = typeof(ChannelForbidden),
[0x8A1E2983] = typeof(ChatFull),
[0x548C3F93] = typeof(ChannelFull),
[0xC8D7493E] = typeof(ChatParticipant),
[0xDA13538A] = typeof(ChatParticipantCreator),
[0xE2D6E436] = typeof(ChatParticipantAdmin),
[0xFC900C2B] = typeof(ChatParticipantsForbidden),
[0x3F460FED] = typeof(ChatParticipants),
[0x29562865] = typeof(ChatEmpty),
[0x41CBF256] = typeof(Chat),
[0x6592A1A7] = typeof(ChatForbidden),
[0x8261AC61] = typeof(Channel),
[0x17D493D5] = typeof(ChannelForbidden),
[0x4DBDC099] = typeof(ChatFull),
[0xE9B27A17] = typeof(ChannelFull),
[0xC02D4007] = typeof(ChatParticipant),
[0xE46BCEE4] = typeof(ChatParticipantCreator),
[0xA0933F5B] = typeof(ChatParticipantAdmin),
[0x8763D3E1] = typeof(ChatParticipantsForbidden),
[0x3CBC93F8] = typeof(ChatParticipants),
[0x37C1011C] = typeof(ChatPhotoEmpty),
[0x1C6E1C11] = typeof(ChatPhoto),
[0x90A6CA84] = typeof(MessageEmpty),
[0xBCE383D2] = typeof(Message),
[0x85D6CBE2] = typeof(Message),
[0x2B085862] = typeof(MessageService),
[0x3DED6320] = typeof(MessageMediaEmpty),
[0x695150D7] = typeof(MessageMediaPhoto),
[0x56E0D474] = typeof(MessageMediaGeo),
[0xCBF24940] = typeof(MessageMediaContact),
[0x70322949] = typeof(MessageMediaContact),
[0x9F84F49E] = typeof(MessageMediaUnsupported),
[0x9CB070D7] = typeof(MessageMediaDocument),
[0xA32DD600] = typeof(MessageMediaWebPage),
@ -167,16 +167,16 @@ namespace TL
[0x4BD6E798] = typeof(MessageMediaPoll),
[0x3F7EE58B] = typeof(MessageMediaDice),
[0xB6AEF7B0] = typeof(MessageActionEmpty),
[0xA6638B9A] = typeof(MessageActionChatCreate),
[0xBD47CBAD] = typeof(MessageActionChatCreate),
[0xB5A1CE5A] = typeof(MessageActionChatEditTitle),
[0x7FCB13A8] = typeof(MessageActionChatEditPhoto),
[0x95E3FBEF] = typeof(MessageActionChatDeletePhoto),
[0x488A7337] = typeof(MessageActionChatAddUser),
[0xB2AE9B0C] = typeof(MessageActionChatDeleteUser),
[0xF89CF5E8] = typeof(MessageActionChatJoinedByLink),
[0x15CEFD00] = typeof(MessageActionChatAddUser),
[0xA43F30CC] = typeof(MessageActionChatDeleteUser),
[0x031224C3] = typeof(MessageActionChatJoinedByLink),
[0x95D2AC92] = typeof(MessageActionChannelCreate),
[0x51BDB021] = typeof(MessageActionChatMigrateTo),
[0xB055EAEE] = typeof(MessageActionChannelMigrateFrom),
[0xE1037F92] = typeof(MessageActionChatMigrateTo),
[0xEA3948E9] = typeof(MessageActionChannelMigrateFrom),
[0x94BD38ED] = typeof(MessageActionPinMessage),
[0x9FBAB604] = typeof(MessageActionHistoryClear),
[0x92A72876] = typeof(MessageActionGameScore),
@ -191,9 +191,10 @@ namespace TL
[0xF3F25F76] = typeof(MessageActionContactSignUp),
[0x98E0D697] = typeof(MessageActionGeoProximityReached),
[0x7A0D7F42] = typeof(MessageActionGroupCall),
[0x76B9F11A] = typeof(MessageActionInviteToGroupCall),
[0x502F92F7] = typeof(MessageActionInviteToGroupCall),
[0xAA1AFBFD] = typeof(MessageActionSetMessagesTTL),
[0xB3A07661] = typeof(MessageActionGroupCallScheduled),
[0xAA786345] = typeof(MessageActionSetChatTheme),
[0x2C171F72] = typeof(Dialog),
[0x71BD134C] = typeof(DialogFolder),
[0x2331B22D] = typeof(PhotoEmpty),
@ -209,7 +210,7 @@ namespace TL
[0x5E002502] = typeof(Auth_SentCode),
[0xCD050916] = typeof(Auth_Authorization),
[0x44747E9A] = typeof(Auth_AuthorizationSignUpRequired),
[0xDF969C2D] = typeof(Auth_ExportedAuthorization),
[0xB434E2B8] = typeof(Auth_ExportedAuthorization),
[0xB8BC5B0C] = typeof(InputNotifyPeer),
[0x193B4417] = typeof(InputNotifyUsers),
[0x4A95E84E] = typeof(InputNotifyChats),
@ -227,10 +228,10 @@ namespace TL
[0x9B89F93A] = typeof(InputReportReasonCopyright),
[0xDBD4FEED] = typeof(InputReportReasonGeoIrrelevant),
[0xF5DDD6E7] = typeof(InputReportReasonFake),
[0x139A9A77] = typeof(UserFull),
[0xF911C994] = typeof(Contact),
[0xD0028438] = typeof(ImportedContact),
[0xD3680C61] = typeof(ContactStatus),
[0xD697FF05] = typeof(UserFull),
[0x145ADE0B] = typeof(Contact),
[0xC13E3C50] = typeof(ImportedContact),
[0x16D9703B] = typeof(ContactStatus),
[0xB74BA9D2] = typeof(Contacts_ContactsNotModified),
[0xEAE87E42] = typeof(Contacts_Contacts),
[0x77D01C3B] = typeof(Contacts_ImportedContacts),
@ -267,64 +268,64 @@ namespace TL
[0x1F2B0AFD] = typeof(UpdateNewMessage),
[0x4E90BFD6] = typeof(UpdateMessageID),
[0xA20DB0E5] = typeof(UpdateDeleteMessages),
[0x5C486927] = typeof(UpdateUserTyping),
[0x86CADB6C] = typeof(UpdateChatUserTyping),
[0xC01E857F] = typeof(UpdateUserTyping),
[0x83487AF0] = typeof(UpdateChatUserTyping),
[0x07761198] = typeof(UpdateChatParticipants),
[0x1BFBD823] = typeof(UpdateUserStatus),
[0xA7332B73] = typeof(UpdateUserName),
[0x95313B0C] = typeof(UpdateUserPhoto),
[0xE5BDF8DE] = typeof(UpdateUserStatus),
[0xC3F202E0] = typeof(UpdateUserName),
[0xF227868C] = typeof(UpdateUserPhoto),
[0x12BCBD9A] = typeof(UpdateNewEncryptedMessage),
[0x1710F156] = typeof(UpdateEncryptedChatTyping),
[0xB4A2E88D] = typeof(UpdateEncryption),
[0x38FE25B7] = typeof(UpdateEncryptedMessagesRead),
[0xEA4B0E5C] = typeof(UpdateChatParticipantAdd),
[0x6E5F8C22] = typeof(UpdateChatParticipantDelete),
[0x3DDA5451] = typeof(UpdateChatParticipantAdd),
[0xE32F3D77] = typeof(UpdateChatParticipantDelete),
[0x8E5E9873] = typeof(UpdateDcOptions),
[0xBEC268EF] = typeof(UpdateNotifySettings),
[0xEBE46819] = typeof(UpdateServiceNotification),
[0xEE3B272A] = typeof(UpdatePrivacy),
[0x12B9417B] = typeof(UpdateUserPhone),
[0x05492A13] = typeof(UpdateUserPhone),
[0x9C974FDF] = typeof(UpdateReadHistoryInbox),
[0x2F2F21BF] = typeof(UpdateReadHistoryOutbox),
[0x7F891213] = typeof(UpdateWebPage),
[0x68C13933] = typeof(UpdateReadMessagesContents),
[0xEB0467FB] = typeof(UpdateChannelTooLong),
[0xB6D45656] = typeof(UpdateChannel),
[0x108D941F] = typeof(UpdateChannelTooLong),
[0x635B4C09] = typeof(UpdateChannel),
[0x62BA04D9] = typeof(UpdateNewChannelMessage),
[0x330B5424] = typeof(UpdateReadChannelInbox),
[0xC37521C9] = typeof(UpdateDeleteChannelMessages),
[0x98A12B4B] = typeof(UpdateChannelMessageViews),
[0xB6901959] = typeof(UpdateChatParticipantAdmin),
[0x922E6E10] = typeof(UpdateReadChannelInbox),
[0xC32D5B12] = typeof(UpdateDeleteChannelMessages),
[0xF226AC08] = typeof(UpdateChannelMessageViews),
[0xD7CA61A2] = typeof(UpdateChatParticipantAdmin),
[0x688A30AA] = typeof(UpdateNewStickerSet),
[0x0BB2D201] = typeof(UpdateStickerSetsOrder),
[0x43AE3DEC] = typeof(UpdateStickerSets),
[0x9375341E] = typeof(UpdateSavedGifs),
[0x3F2038DB] = typeof(UpdateBotInlineQuery),
[0x0E48F964] = typeof(UpdateBotInlineSend),
[0x496F379C] = typeof(UpdateBotInlineQuery),
[0x12F12A07] = typeof(UpdateBotInlineSend),
[0x1B3F4DF7] = typeof(UpdateEditChannelMessage),
[0xE73547E1] = typeof(UpdateBotCallbackQuery),
[0xB9CFC48D] = typeof(UpdateBotCallbackQuery),
[0xE40370A3] = typeof(UpdateEditMessage),
[0xF9D27A5A] = typeof(UpdateInlineBotCallbackQuery),
[0x25D6C9C7] = typeof(UpdateReadChannelOutbox),
[0x691E9052] = typeof(UpdateInlineBotCallbackQuery),
[0xB75F99A9] = typeof(UpdateReadChannelOutbox),
[0xEE2BB969] = typeof(UpdateDraftMessage),
[0x571D2742] = typeof(UpdateReadFeaturedStickers),
[0x9A422C20] = typeof(UpdateRecentStickers),
[0xA229DD06] = typeof(UpdateConfig),
[0x3354678F] = typeof(UpdatePtsChanged),
[0x40771900] = typeof(UpdateChannelWebPage),
[0x2F2BA99F] = typeof(UpdateChannelWebPage),
[0x6E6FE51C] = typeof(UpdateDialogPinned),
[0xFA0F3CA2] = typeof(UpdatePinnedDialogs),
[0x8317C0C3] = typeof(UpdateBotWebhookJSON),
[0x9B9240A6] = typeof(UpdateBotWebhookJSONQuery),
[0xE0CDC940] = typeof(UpdateBotShippingQuery),
[0x5D2F3AA9] = typeof(UpdateBotPrecheckoutQuery),
[0xB5AEFD7D] = typeof(UpdateBotShippingQuery),
[0x8CAA9A96] = typeof(UpdateBotPrecheckoutQuery),
[0xAB0F6B1E] = typeof(UpdatePhoneCall),
[0x46560264] = typeof(UpdateLangPackTooLong),
[0x56022F4D] = typeof(UpdateLangPack),
[0xE511996D] = typeof(UpdateFavedStickers),
[0x89893B45] = typeof(UpdateChannelReadMessagesContents),
[0x44BDD535] = typeof(UpdateChannelReadMessagesContents),
[0x7084A7BE] = typeof(UpdateContactsReset),
[0x70DB6837] = typeof(UpdateChannelAvailableMessages),
[0xB23FC698] = typeof(UpdateChannelAvailableMessages),
[0xE16459C3] = typeof(UpdateDialogUnreadMark),
[0xACA1657B] = typeof(UpdateMessagePoll),
[0x54C01850] = typeof(UpdateChatDefaultBannedRights),
@ -336,35 +337,35 @@ namespace TL
[0x8216FBA3] = typeof(UpdateTheme),
[0x871FB939] = typeof(UpdateGeoLiveViewed),
[0x564FE691] = typeof(UpdateLoginToken),
[0x37F69F0B] = typeof(UpdateMessagePollVote),
[0x106395C9] = typeof(UpdateMessagePollVote),
[0x26FFDE7D] = typeof(UpdateDialogFilter),
[0xA5D72105] = typeof(UpdateDialogFilterOrder),
[0x3504914F] = typeof(UpdateDialogFilters),
[0x2661BF09] = typeof(UpdatePhoneCallSignalingData),
[0x6E8A84DF] = typeof(UpdateChannelMessageForwards),
[0x1CC7DE54] = typeof(UpdateReadChannelDiscussionInbox),
[0x4638A26C] = typeof(UpdateReadChannelDiscussionOutbox),
[0xD29A27F4] = typeof(UpdateChannelMessageForwards),
[0xD6B19546] = typeof(UpdateReadChannelDiscussionInbox),
[0x695C9E7C] = typeof(UpdateReadChannelDiscussionOutbox),
[0x246A4B22] = typeof(UpdatePeerBlocked),
[0x6B171718] = typeof(UpdateChannelUserTyping),
[0x8C88C923] = typeof(UpdateChannelUserTyping),
[0xED85EAB5] = typeof(UpdatePinnedMessages),
[0x8588878B] = typeof(UpdatePinnedChannelMessages),
[0x1330A196] = typeof(UpdateChat),
[0x5BB98608] = typeof(UpdatePinnedChannelMessages),
[0xF89A6A4E] = typeof(UpdateChat),
[0xF2EBDB4E] = typeof(UpdateGroupCallParticipants),
[0xA45EB99B] = typeof(UpdateGroupCall),
[0x14B24500] = typeof(UpdateGroupCall),
[0xBB9BB9A5] = typeof(UpdatePeerHistoryTTL),
[0xF3B3781F] = typeof(UpdateChatParticipant),
[0x7FECB1EC] = typeof(UpdateChannelParticipant),
[0x07F9488A] = typeof(UpdateBotStopped),
[0xD087663A] = typeof(UpdateChatParticipant),
[0x985D3ABB] = typeof(UpdateChannelParticipant),
[0xC4870A49] = typeof(UpdateBotStopped),
[0x0B783982] = typeof(UpdateGroupCallConnection),
[0xCF7E0873] = typeof(UpdateBotCommands),
[0x4D712F2E] = typeof(UpdateBotCommands),
[0xA56C2A3E] = typeof(Updates_State),
[0x5D75A138] = typeof(Updates_DifferenceEmpty),
[0x00F49CA0] = typeof(Updates_Difference),
[0xA8FB1981] = typeof(Updates_DifferenceSlice),
[0x4AFE8F6D] = typeof(Updates_DifferenceTooLong),
[0xE317AF7E] = typeof(UpdatesTooLong),
[0xFAEFF833] = typeof(UpdateShortMessage),
[0x1157B858] = typeof(UpdateShortChatMessage),
[0x313BC7F8] = typeof(UpdateShortMessage),
[0x4D6DEEA5] = typeof(UpdateShortChatMessage),
[0x78D4DEC1] = typeof(UpdateShort),
[0x725B04C3] = typeof(UpdatesCombined),
[0x74AE4240] = typeof(Updates),
@ -381,9 +382,9 @@ namespace TL
[0xC45A6536] = typeof(Help_NoAppUpdate),
[0x18CB9F78] = typeof(Help_InviteText),
[0xAB7EC0A0] = typeof(EncryptedChatEmpty),
[0x3BF703DC] = typeof(EncryptedChatWaiting),
[0x62718A82] = typeof(EncryptedChatRequested),
[0xFA56CE36] = typeof(EncryptedChat),
[0x66B25953] = typeof(EncryptedChatWaiting),
[0x48F1D94C] = typeof(EncryptedChatRequested),
[0x61F0D4C7] = typeof(EncryptedChat),
[0x1E1C7C45] = typeof(EncryptedChatDiscarded),
[0xF141B5E1] = typeof(InputEncryptedChat),
[0xC21F497E] = typeof(EncryptedFileEmpty),
@ -422,6 +423,9 @@ namespace TL
[0x243E1C66] = typeof(SendMessageUploadRoundAction),
[0xD92C2285] = typeof(SpeakingInGroupCallAction),
[0xDBDA9246] = typeof(SendMessageHistoryImportAction),
[0xB05AC6B1] = typeof(SendMessageChooseStickerAction),
[0x6A3233B6] = typeof(SendMessageEmojiInteraction),
[0xB665902E] = typeof(SendMessageEmojiInteractionSeen),
[0xB3134D9D] = typeof(Contacts_Found),
[0x4F96CB18] = typeof(InputPrivacyKeyStatusTimestamp),
[0xBDFB0426] = typeof(InputPrivacyKeyChatInvite),
@ -445,16 +449,16 @@ namespace TL
[0x0BA52007] = typeof(InputPrivacyValueDisallowContacts),
[0xD66B66C9] = typeof(InputPrivacyValueDisallowAll),
[0x90110467] = typeof(InputPrivacyValueDisallowUsers),
[0x4C81C1BA] = typeof(InputPrivacyValueAllowChatParticipants),
[0xD82363AF] = typeof(InputPrivacyValueDisallowChatParticipants),
[0x840649CF] = typeof(InputPrivacyValueAllowChatParticipants),
[0xE94F0F86] = typeof(InputPrivacyValueDisallowChatParticipants),
[0xFFFE1BAC] = typeof(PrivacyValueAllowContacts),
[0x65427B82] = typeof(PrivacyValueAllowAll),
[0x4D5BBE0C] = typeof(PrivacyValueAllowUsers),
[0xB8905FB2] = typeof(PrivacyValueAllowUsers),
[0xF888FA1A] = typeof(PrivacyValueDisallowContacts),
[0x8B73E763] = typeof(PrivacyValueDisallowAll),
[0x0C7F49B7] = typeof(PrivacyValueDisallowUsers),
[0x18BE796B] = typeof(PrivacyValueAllowChatParticipants),
[0xACAE0690] = typeof(PrivacyValueDisallowChatParticipants),
[0xE4621141] = typeof(PrivacyValueDisallowUsers),
[0x6B134E8E] = typeof(PrivacyValueAllowChatParticipants),
[0x41C87565] = typeof(PrivacyValueDisallowChatParticipants),
[0x50A04E45] = typeof(Account_PrivacyRules),
[0xB8D0AFDF] = typeof(AccountDaysTTL),
[0x6C37C15C] = typeof(DocumentAttributeImageSize),
@ -465,10 +469,10 @@ namespace TL
[0x15590068] = typeof(DocumentAttributeFilename),
[0x9801D2F7] = typeof(DocumentAttributeHasStickers),
[0xF1749A22] = typeof(Messages_StickersNotModified),
[0xE4599BBD] = typeof(Messages_Stickers),
[0x30A6EC7E] = typeof(Messages_Stickers),
[0x12B299D4] = typeof(StickerPack),
[0xE86602C3] = typeof(Messages_AllStickersNotModified),
[0xEDFD405F] = typeof(Messages_AllStickers),
[0xCDBBCEBB] = typeof(Messages_AllStickers),
[0x84D19185] = typeof(Messages_AffectedMessages),
[0xEB1477E8] = typeof(WebPageEmpty),
[0xC586DA1C] = typeof(WebPagePending),
@ -481,7 +485,7 @@ namespace TL
[0xC23727C9] = typeof(Account_PasswordInputSettings),
[0x137948A5] = typeof(Auth_PasswordRecovery),
[0xA384B779] = typeof(ReceivedNotifyMessage),
[0x6E24FC9D] = typeof(ChatInviteExported),
[0xB18105E8] = typeof(ChatInviteExported),
[0x5A686D7C] = typeof(ChatInviteAlready),
[0xDFC2F58E] = typeof(ChatInvite),
[0x61695CB0] = typeof(ChatInvitePeek),
@ -493,7 +497,7 @@ namespace TL
[0xD7DF217A] = typeof(StickerSet),
[0xB60A24A6] = typeof(Messages_StickerSet),
[0xC27AC8C7] = typeof(BotCommand),
[0x98E81D3A] = typeof(BotInfo),
[0x1B74B335] = typeof(BotInfo),
[0xA2FA4880] = typeof(KeyboardButton),
[0x258AFF05] = typeof(KeyboardButtonUrl),
[0x35BBDB6B] = typeof(KeyboardButtonCallback),
@ -521,7 +525,7 @@ namespace TL
[0x28A20571] = typeof(MessageEntityCode),
[0x73924BE0] = typeof(MessageEntityPre),
[0x76A6D327] = typeof(MessageEntityTextUrl),
[0x352DCA58] = typeof(MessageEntityMentionName),
[0xDC7B1140] = typeof(MessageEntityMentionName),
[0x208E68C9] = typeof(InputMessageEntityMentionName),
[0x9B69E34B] = typeof(MessageEntityPhone),
[0x4C4E743F] = typeof(MessageEntityCashtag),
@ -530,8 +534,8 @@ namespace TL
[0x020DF5D0] = typeof(MessageEntityBlockquote),
[0x761E6AF4] = typeof(MessageEntityBankCard),
[0xEE8C1E86] = typeof(InputChannelEmpty),
[0xAFEB712E] = typeof(InputChannel),
[0x2A286531] = typeof(InputChannelFromMessage),
[0xF35AEC28] = typeof(InputChannel),
[0x5B934F9D] = typeof(InputChannelFromMessage),
[0x7F077AD9] = typeof(Contacts_ResolvedPeer),
[0x0AE30253] = typeof(MessageRange),
[0x3E11AFFB] = typeof(Updates_ChannelDifferenceEmpty),
@ -539,11 +543,11 @@ namespace TL
[0x2064674E] = typeof(Updates_ChannelDifference),
[0x94D42EE7] = typeof(ChannelMessagesFilterEmpty),
[0xCD77D957] = typeof(ChannelMessagesFilter),
[0x15EBAC1D] = typeof(ChannelParticipant),
[0xA3289A6D] = typeof(ChannelParticipantSelf),
[0x447DCA4B] = typeof(ChannelParticipantCreator),
[0xCCBEBBAF] = typeof(ChannelParticipantAdmin),
[0x50A1DFD6] = typeof(ChannelParticipantBanned),
[0xC00C07C0] = typeof(ChannelParticipant),
[0x28A8BC67] = typeof(ChannelParticipantSelf),
[0x2FE601D3] = typeof(ChannelParticipantCreator),
[0x34C3BB53] = typeof(ChannelParticipantAdmin),
[0x6DF8014E] = typeof(ChannelParticipantBanned),
[0x1B03F006] = typeof(ChannelParticipantLeft),
[0xDE3F3C79] = typeof(ChannelParticipantsRecent),
[0xB4608969] = typeof(ChannelParticipantsAdmins),
@ -558,7 +562,7 @@ namespace TL
[0xDFB80317] = typeof(Channels_ChannelParticipant),
[0x780A0310] = typeof(Help_TermsOfService),
[0xE8025CA2] = typeof(Messages_SavedGifsNotModified),
[0x2E0709A5] = typeof(Messages_SavedGifs),
[0x84A02A0D] = typeof(Messages_SavedGifs),
[0x3380C786] = typeof(InputBotInlineMessageMediaAuto),
[0x3DCD7A87] = typeof(InputBotInlineMessageText),
[0x96929A85] = typeof(InputBotInlineMessageMediaGeo),
@ -591,6 +595,7 @@ namespace TL
[0x36585EA4] = typeof(Messages_BotCallbackAnswer),
[0x26B5DDE6] = typeof(Messages_MessageEditData),
[0x890C3D89] = typeof(InputBotInlineMessageID),
[0xB6D915D7] = typeof(InputBotInlineMessageID64),
[0x3C20629F] = typeof(InlineBotSwitchPM),
[0x3371C354] = typeof(Messages_PeerDialogs),
[0xEDCDC05B] = typeof(TopPeer),
@ -609,9 +614,9 @@ namespace TL
[0x1B0C841A] = typeof(DraftMessageEmpty),
[0xFD8E711F] = typeof(DraftMessage),
[0xC6DC0C66] = typeof(Messages_FeaturedStickersNotModified),
[0xB6ABC341] = typeof(Messages_FeaturedStickers),
[0x84C02310] = typeof(Messages_FeaturedStickers),
[0x0B17F890] = typeof(Messages_RecentStickersNotModified),
[0x22F3AFB3] = typeof(Messages_RecentStickers),
[0x88D37C56] = typeof(Messages_RecentStickers),
[0x4FCBA9C8] = typeof(Messages_ArchivedStickers),
[0x38641628] = typeof(Messages_StickerSetInstallResultSuccess),
[0x35E410A8] = typeof(Messages_StickerSetInstallResultArchive),
@ -623,7 +628,7 @@ namespace TL
[0xBDF9653B] = typeof(Game),
[0x032C3E77] = typeof(InputGameID),
[0xC331E80A] = typeof(InputGameShortName),
[0x58FFFCD0] = typeof(HighScore),
[0x73A379EB] = typeof(HighScore),
[0x9A3BFD99] = typeof(Messages_HighScores),
[0xDC3D824F] = typeof(TextEmpty),
[0x744694E0] = typeof(TextPlain),
@ -687,11 +692,11 @@ namespace TL
[0xC239D686] = typeof(InputWebFileLocation),
[0x9F2221C9] = typeof(InputWebFileGeoPointLocation),
[0x21E753BC] = typeof(Upload_WebFile),
[0x8D0B2415] = typeof(Payments_PaymentForm),
[0x1694761B] = typeof(Payments_PaymentForm),
[0xD1451883] = typeof(Payments_ValidatedRequestedInfo),
[0x4E5F810D] = typeof(Payments_PaymentResult),
[0xD8411139] = typeof(Payments_PaymentVerificationNeeded),
[0x10B555D0] = typeof(Payments_PaymentReceipt),
[0x70C4FE03] = typeof(Payments_PaymentReceipt),
[0xFB8FE43C] = typeof(Payments_SavedInfo),
[0xC10EB2CF] = typeof(InputPaymentCredentialsSaved),
[0x3417D728] = typeof(InputPaymentCredentials),
@ -702,10 +707,10 @@ namespace TL
[0xFFA0A496] = typeof(InputStickerSetItem),
[0x1E36FDED] = typeof(InputPhoneCall),
[0x5366C915] = typeof(PhoneCallEmpty),
[0x1B8F4AD1] = typeof(PhoneCallWaiting),
[0x87EABB53] = typeof(PhoneCallRequested),
[0x997C454A] = typeof(PhoneCallAccepted),
[0x8742AE7F] = typeof(PhoneCall),
[0xC5226F17] = typeof(PhoneCallWaiting),
[0x14B0ED0C] = typeof(PhoneCallRequested),
[0x3660C311] = typeof(PhoneCallAccepted),
[0x967F7C67] = typeof(PhoneCall),
[0x50CA4DE1] = typeof(PhoneCallDiscarded),
[0x9D4C17C0] = typeof(PhoneConnection),
[0x635FE375] = typeof(PhoneConnectionWebrtc),
@ -738,7 +743,7 @@ namespace TL
[0x5F5C95F1] = typeof(ChannelAdminLogEventActionTogglePreHistoryHidden),
[0x2DF5FC0A] = typeof(ChannelAdminLogEventActionDefaultBannedRights),
[0x8F079643] = typeof(ChannelAdminLogEventActionStopPoll),
[0xA26F881B] = typeof(ChannelAdminLogEventActionChangeLinkedChat),
[0x050C7AC8] = typeof(ChannelAdminLogEventActionChangeLinkedChat),
[0x0E6B76AE] = typeof(ChannelAdminLogEventActionChangeLocation),
[0x53909779] = typeof(ChannelAdminLogEventActionToggleSlowMode),
[0x23209745] = typeof(ChannelAdminLogEventActionStartGroupCall),
@ -752,20 +757,21 @@ namespace TL
[0xE90EBB59] = typeof(ChannelAdminLogEventActionExportedInviteEdit),
[0x3E7F6847] = typeof(ChannelAdminLogEventActionParticipantVolume),
[0x6E941A38] = typeof(ChannelAdminLogEventActionChangeHistoryTTL),
[0x3B5A3E40] = typeof(ChannelAdminLogEvent),
[0xFE69018D] = typeof(ChannelAdminLogEventActionChangeTheme),
[0x1FAD68CD] = typeof(ChannelAdminLogEvent),
[0xED8AF74D] = typeof(Channels_AdminLogResults),
[0xEA107AE4] = typeof(ChannelAdminLogEventsFilter),
[0x5CE14175] = typeof(PopularContact),
[0x9E8FA6D3] = typeof(Messages_FavedStickersNotModified),
[0xF37F2F16] = typeof(Messages_FavedStickers),
[0x2CB51097] = typeof(Messages_FavedStickers),
[0x46E1D13D] = typeof(RecentMeUrlUnknown),
[0x8DBC3336] = typeof(RecentMeUrlUser),
[0xA01B22F9] = typeof(RecentMeUrlChat),
[0xB92C09E2] = typeof(RecentMeUrlUser),
[0xB2DA71D2] = typeof(RecentMeUrlChat),
[0xEB49081D] = typeof(RecentMeUrlChatInvite),
[0xBC0A57DC] = typeof(RecentMeUrlStickerSet),
[0x0E0310D7] = typeof(Help_RecentMeUrls),
[0x1CC6E91F] = typeof(InputSingleMedia),
[0xCAC943F2] = typeof(WebAuthorization),
[0xA6F8F452] = typeof(WebAuthorization),
[0xED56C9FC] = typeof(Account_WebAuthorizations),
[0xA676A322] = typeof(InputMessageID),
[0xBAD88395] = typeof(InputMessageReplyTo),
@ -776,7 +782,7 @@ namespace TL
[0xE56DBF05] = typeof(DialogPeer),
[0x514519E2] = typeof(DialogPeerFolder),
[0x0D54B65D] = typeof(Messages_FoundStickerSetsNotModified),
[0x5108D648] = typeof(Messages_FoundStickerSets),
[0x8AF09DD2] = typeof(Messages_FoundStickerSets),
[0x6242C773] = typeof(FileHash),
[0x75588B3F] = typeof(InputClientProxy),
[0xE3309F7F] = typeof(Help_TermsOfServiceUpdateEmpty),
@ -855,7 +861,7 @@ namespace TL
[0x6CA9C2E9] = typeof(PollAnswer),
[0x86E18161] = typeof(Poll),
[0x3B6DDAD2] = typeof(PollAnswerVoters),
[0xBADCC1A3] = typeof(PollResults),
[0xDCB82EA3] = typeof(PollResults),
[0xF041E250] = typeof(ChatOnlines),
[0x47A971E0] = typeof(StatsURL),
[0x5FB224D5] = typeof(ChatAdminRights),
@ -864,7 +870,7 @@ namespace TL
[0x72091C80] = typeof(InputWallPaperSlug),
[0x967A462E] = typeof(InputWallPaperNoFile),
[0x1C199183] = typeof(Account_WallPapersNotModified),
[0x702B65A9] = typeof(Account_WallPapers),
[0xCDC3858C] = typeof(Account_WallPapers),
[0xDEBEBE83] = typeof(CodeSettings),
[0x1DC1BCA4] = typeof(WallPaperSettings),
[0xE04232F3] = typeof(AutoDownloadSettings),
@ -888,9 +894,9 @@ namespace TL
[0xD072ACB4] = typeof(RestrictionReason),
[0x3C5693E9] = typeof(InputTheme),
[0xF5890DF1] = typeof(InputThemeSlug),
[0x028F1114] = typeof(Theme),
[0xE802B8DC] = typeof(Theme),
[0xF41EB622] = typeof(Account_ThemesNotModified),
[0x7F676421] = typeof(Account_Themes),
[0x9A3D8C6D] = typeof(Account_Themes),
[0x629F1980] = typeof(Auth_LoginToken),
[0x068E9916] = typeof(Auth_LoginTokenMigrateTo),
[0x390D5C5E] = typeof(Auth_LoginTokenSuccess),
@ -901,12 +907,12 @@ namespace TL
[0xB7B31EA8] = typeof(BaseThemeNight),
[0x6D5F77EE] = typeof(BaseThemeTinted),
[0x5B11125A] = typeof(BaseThemeArctic),
[0xBD507CD1] = typeof(InputThemeSettings),
[0x9C14984A] = typeof(ThemeSettings),
[0x8FDE504F] = typeof(InputThemeSettings),
[0xFA58B6D4] = typeof(ThemeSettings),
[0x54B56617] = typeof(WebPageAttributeTheme),
[0xA28E5559] = typeof(MessageUserVote),
[0x36377430] = typeof(MessageUserVoteInputOption),
[0x0E8FE0DE] = typeof(MessageUserVoteMultiple),
[0x34D247B4] = typeof(MessageUserVote),
[0x3CA5B0EC] = typeof(MessageUserVoteInputOption),
[0x8A65E557] = typeof(MessageUserVoteMultiple),
[0x0823F649] = typeof(Messages_VotesList),
[0xF568028A] = typeof(BankCardOpenUrl),
[0x3E24E573] = typeof(Payments_BankCardData),
@ -923,9 +929,9 @@ namespace TL
[0x98F6AC75] = typeof(Help_PromoDataEmpty),
[0x8C39793F] = typeof(Help_PromoData),
[0xDE33B094] = typeof(VideoSize),
[0x18F3D0F7] = typeof(StatsGroupTopPoster),
[0x6014F412] = typeof(StatsGroupTopAdmin),
[0x31962A4C] = typeof(StatsGroupTopInviter),
[0x9D04AF9B] = typeof(StatsGroupTopPoster),
[0xD7584C87] = typeof(StatsGroupTopAdmin),
[0x535F779D] = typeof(StatsGroupTopInviter),
[0xEF7FF916] = typeof(Stats_MegagroupStats),
[0xBEA2F424] = typeof(GlobalPrivacySettings),
[0x4203C5EF] = typeof(Help_CountryCode),
@ -934,9 +940,9 @@ namespace TL
[0x87D0759E] = typeof(Help_CountriesList),
[0x455B853D] = typeof(MessageViews),
[0xB6C4F543] = typeof(Messages_MessageViews),
[0xF5DD8F9D] = typeof(Messages_DiscussionMessage),
[0xA6341782] = typeof(Messages_DiscussionMessage),
[0xA6D57763] = typeof(MessageReplyHeader),
[0x4128FAAC] = typeof(MessageReplies),
[0x83D60FC2] = typeof(MessageReplies),
[0xE8FD8014] = typeof(PeerBlocked),
[0x8999F295] = typeof(Stats_MessageStats),
[0x7780BCB4] = typeof(GroupCallDiscarded),
@ -953,12 +959,12 @@ namespace TL
[0x1662AF0B] = typeof(Messages_HistoryImport),
[0x5E0FB7B9] = typeof(Messages_HistoryImportParsed),
[0xEF8D3E6C] = typeof(Messages_AffectedFoundMessages),
[0x1E3E6680] = typeof(ChatInviteImporter),
[0x0B5CD5F4] = typeof(ChatInviteImporter),
[0xBDC62DCC] = typeof(Messages_ExportedChatInvites),
[0x1871BE50] = typeof(Messages_ExportedChatInvite),
[0x222600EF] = typeof(Messages_ExportedChatInviteReplaced),
[0x81B6B00A] = typeof(Messages_ChatInviteImporters),
[0xDFD2330F] = typeof(ChatAdminWithInvites),
[0xF2ECEF23] = typeof(ChatAdminWithInvites),
[0xB69B72D7] = typeof(Messages_ChatAdminsWithInvites),
[0xA24DE717] = typeof(Messages_CheckedHistoryImportPeer),
[0xAFE5623F] = typeof(Phone_JoinAsPeers),
@ -976,6 +982,11 @@ namespace TL
[0xE3779861] = typeof(Account_ResetPasswordFailedWait),
[0xE9EFFC7D] = typeof(Account_ResetPasswordRequestedWait),
[0xE926D63E] = typeof(Account_ResetPasswordOk),
[0xED0B5C33] = typeof(ChatTheme),
[0xE011E1C4] = typeof(Account_ChatThemesNotModified),
[0xFE4CBEBD] = typeof(Account_ChatThemes),
[0x2A3C381F] = typeof(SponsoredMessage),
[0x65A4C7D5] = typeof(Messages_SponsoredMessages),
// from TL.Secret:
[0x1F814F1F] = typeof(Layer8.DecryptedMessage),
[0xAA48327D] = typeof(Layer8.DecryptedMessageService),