mirror of
https://github.com/wiz0u/WTelegramClient.git
synced 2026-04-06 06:53:47 +00:00
API Layer 216: topics methods/updates moved to prefix Messages_* (to support topics for bots), contact notes, groupcall comments, profile color, stargifts stuff
This commit is contained in:
parent
2e95576be5
commit
4875f75774
6 changed files with 537 additions and 295 deletions
|
|
@ -6,7 +6,7 @@ namespace TL
|
|||
{
|
||||
public static partial class Layer
|
||||
{
|
||||
public const int Version = 214; // fetched 01/09/2025 11:20:56
|
||||
public const int Version = 216; // fetched 10/10/2025 20:01:17
|
||||
internal const int SecretChats = 144;
|
||||
internal const int MTProto2 = 73;
|
||||
internal const uint VectorCtor = 0x1CB5C415;
|
||||
|
|
@ -216,7 +216,7 @@ namespace TL
|
|||
[0x45D5B021] = typeof(MessageActionGiftStars),
|
||||
[0xB00C47A2] = typeof(MessageActionPrizeStars),
|
||||
[0xF24DE7FA] = typeof(MessageActionStarGift),
|
||||
[0x34F762F3] = typeof(MessageActionStarGiftUnique),
|
||||
[0x95728543] = typeof(MessageActionStarGiftUnique),
|
||||
[0xAC1F1FCD] = typeof(MessageActionPaidMessagesRefunded),
|
||||
[0x84B88578] = typeof(MessageActionPaidMessagesPrice),
|
||||
[0x2FFE2F7A] = typeof(MessageActionConferenceCall),
|
||||
|
|
@ -226,6 +226,7 @@ namespace TL
|
|||
[0x95DDCF69] = typeof(MessageActionSuggestedPostSuccess),
|
||||
[0x69F916F8] = typeof(MessageActionSuggestedPostRefund),
|
||||
[0xA8A3C699] = typeof(MessageActionGiftTon),
|
||||
[0x2C8F2A25] = typeof(MessageActionSuggestBirthday),
|
||||
[0xD58A08C6] = typeof(Dialog),
|
||||
[0x71BD134C] = typeof(DialogFolder),
|
||||
[0x2331B22D] = typeof(PhotoEmpty),
|
||||
|
|
@ -240,7 +241,7 @@ namespace TL
|
|||
[0xB2A2F663] = typeof(GeoPoint),
|
||||
[0x5E002502] = typeof(Auth_SentCode),
|
||||
[0x2390FE44] = typeof(Auth_SentCodeSuccess),
|
||||
[0xD7A2FCF9] = typeof(Auth_SentCodePaymentRequired),
|
||||
[0xE0955A3C] = typeof(Auth_SentCodePaymentRequired),
|
||||
[0x2EA2C0D4] = typeof(Auth_Authorization),
|
||||
[0x44747E9A] = typeof(Auth_AuthorizationSignUpRequired),
|
||||
[0xB434E2B8] = typeof(Auth_ExportedAuthorization),
|
||||
|
|
@ -254,7 +255,7 @@ namespace TL
|
|||
[0xF47741F7] = typeof(PeerSettings),
|
||||
[0xA437C3ED] = typeof(WallPaper),
|
||||
[0xE0804116] = typeof(WallPaperNoFile),
|
||||
[0xC577B5AD] = typeof(UserFull),
|
||||
[0xA02BC13E] = typeof(UserFull),
|
||||
[0x145ADE0B] = typeof(Contact),
|
||||
[0xC13E3C50] = typeof(ImportedContact),
|
||||
[0x16D9703B] = typeof(ContactStatus),
|
||||
|
|
@ -266,8 +267,8 @@ namespace TL
|
|||
[0x15BA6C40] = typeof(Messages_Dialogs),
|
||||
[0x71E094F3] = typeof(Messages_DialogsSlice),
|
||||
[0xF0E3E596] = typeof(Messages_DialogsNotModified),
|
||||
[0x8C718E87] = typeof(Messages_Messages),
|
||||
[0x762B263D] = typeof(Messages_MessagesSlice),
|
||||
[0x1D73E7EA] = typeof(Messages_Messages),
|
||||
[0x5F206716] = typeof(Messages_MessagesSlice),
|
||||
[0xC776BA4E] = typeof(Messages_ChannelMessages),
|
||||
[0x74535F21] = typeof(Messages_MessagesNotModified),
|
||||
[0x64FF9FD5] = typeof(Messages_Chats),
|
||||
|
|
@ -294,7 +295,7 @@ namespace TL
|
|||
[0x1F2B0AFD] = typeof(UpdateNewMessage),
|
||||
[0x4E90BFD6] = typeof(UpdateMessageID),
|
||||
[0xA20DB0E5] = typeof(UpdateDeleteMessages),
|
||||
[0xC01E857F] = typeof(UpdateUserTyping),
|
||||
[0x2A17BF5C] = typeof(UpdateUserTyping),
|
||||
[0x83487AF0] = typeof(UpdateChatUserTyping),
|
||||
[0x07761198] = typeof(UpdateChatParticipants),
|
||||
[0xE5BDF8DE] = typeof(UpdateUserStatus),
|
||||
|
|
@ -311,7 +312,7 @@ namespace TL
|
|||
[0xEBE46819] = typeof(UpdateServiceNotification),
|
||||
[0xEE3B272A] = typeof(UpdatePrivacy),
|
||||
[0x05492A13] = typeof(UpdateUserPhone),
|
||||
[0x9C974FDF] = typeof(UpdateReadHistoryInbox),
|
||||
[0x9E84BC99] = typeof(UpdateReadHistoryInbox),
|
||||
[0x2F2F21BF] = typeof(UpdateReadHistoryOutbox),
|
||||
[0x7F891213] = typeof(UpdateWebPage),
|
||||
[0xF8227181] = typeof(UpdateReadMessagesContents),
|
||||
|
|
@ -398,8 +399,6 @@ namespace TL
|
|||
[0x6F7863F4] = typeof(UpdateRecentReactions),
|
||||
[0x86FCCF85] = typeof(UpdateMoveStickerSetToTop),
|
||||
[0xD5A41724] = typeof(UpdateMessageExtendedMedia),
|
||||
[0x192EFBE3] = typeof(UpdateChannelPinnedTopic),
|
||||
[0xFE198602] = typeof(UpdateChannelPinnedTopics),
|
||||
[0x20529438] = typeof(UpdateUser),
|
||||
[0xEC05B097] = typeof(UpdateAutoSaveSettings),
|
||||
[0x75B3B798] = typeof(UpdateStory),
|
||||
|
|
@ -436,6 +435,10 @@ namespace TL
|
|||
[0x77B0E372] = typeof(UpdateReadMonoForumInbox),
|
||||
[0xA4A79376] = typeof(UpdateReadMonoForumOutbox),
|
||||
[0x9F812B08] = typeof(UpdateMonoForumNoPaidException),
|
||||
[0x78C314E0] = typeof(UpdateGroupCallMessage),
|
||||
[0xC957A766] = typeof(UpdateGroupCallEncryptedMessage),
|
||||
[0x683B2C52] = typeof(UpdatePinnedForumTopic),
|
||||
[0xDEF143D0] = typeof(UpdatePinnedForumTopics),
|
||||
[0xA56C2A3E] = typeof(Updates_State),
|
||||
[0x5D75A138] = typeof(Updates_DifferenceEmpty),
|
||||
[0x00F49CA0] = typeof(Updates_Difference),
|
||||
|
|
@ -505,6 +508,7 @@ namespace TL
|
|||
[0xB05AC6B1] = typeof(SendMessageChooseStickerAction),
|
||||
[0x25972BCB] = typeof(SendMessageEmojiInteraction),
|
||||
[0xB665902E] = typeof(SendMessageEmojiInteractionSeen),
|
||||
[0x376D975C] = typeof(SendMessageTextDraftAction),
|
||||
[0xB3134D9D] = typeof(Contacts_Found),
|
||||
[0x0D09E07B] = typeof(InputPrivacyValueAllowContacts),
|
||||
[0x184B35CE] = typeof(InputPrivacyValueAllowAll),
|
||||
|
|
@ -1082,7 +1086,7 @@ namespace TL
|
|||
[0xC3DFFC04] = typeof(ChatTheme),
|
||||
[0x3458F9C8] = typeof(ChatThemeUniqueGift),
|
||||
[0xE011E1C4] = null,//Account_ChatThemesNotModified
|
||||
[0x16484857] = typeof(Account_ChatThemes),
|
||||
[0xBE098173] = typeof(Account_ChatThemes),
|
||||
[0x7DBF8673] = typeof(SponsoredMessage),
|
||||
[0xFFDA656D] = typeof(Messages_SponsoredMessages),
|
||||
[0x1839490F] = null,//Messages_SponsoredMessagesEmpty
|
||||
|
|
@ -1135,6 +1139,8 @@ namespace TL
|
|||
[0xF4997E42] = typeof(InputInvoiceBusinessBotTransferStars),
|
||||
[0xC39F5324] = typeof(InputInvoiceStarGiftResale),
|
||||
[0x9A0B48B8] = typeof(InputInvoiceStarGiftPrepaidUpgrade),
|
||||
[0x3E77F614] = typeof(InputInvoicePremiumAuthCode),
|
||||
[0x0923D8D1] = typeof(InputInvoiceStarGiftDropOriginalDetails),
|
||||
[0xAED0CBD9] = typeof(Payments_ExportedInvoice),
|
||||
[0xCFB9D957] = typeof(Messages_TranscribedAudio),
|
||||
[0x5334759C] = typeof(Help_PremiumPromo),
|
||||
|
|
@ -1177,7 +1183,7 @@ namespace TL
|
|||
[0xFCFEB29C] = typeof(StickerKeyword),
|
||||
[0xB4073647] = typeof(Username),
|
||||
[0x023F109B] = typeof(ForumTopicDeleted),
|
||||
[0x71701DA9] = typeof(ForumTopic),
|
||||
[0xCDFF0ECA] = typeof(ForumTopic),
|
||||
[0x367617D3] = typeof(Messages_ForumTopics),
|
||||
[0x43B46B20] = typeof(DefaultHistoryTTL),
|
||||
[0x41BF109B] = typeof(ExportedContactToken),
|
||||
|
|
@ -1265,6 +1271,8 @@ namespace TL
|
|||
[0xEDF3ADD0] = typeof(PublicForwardStory),
|
||||
[0x93037E20] = typeof(Stats_PublicForwards),
|
||||
[0xB54B5ACF] = typeof(PeerColor),
|
||||
[0xB9C0639A] = typeof(PeerColorCollectible),
|
||||
[0xB8EA86A9] = typeof(InputPeerColorCollectible),
|
||||
[0x26219A58] = typeof(Help_PeerColorSet),
|
||||
[0x767D61EB] = typeof(Help_PeerColorProfileSet),
|
||||
[0xADEC6EBE] = typeof(Help_PeerColorOption),
|
||||
|
|
@ -1368,7 +1376,7 @@ namespace TL
|
|||
[0x94CE852A] = typeof(StarsGiveawayOption),
|
||||
[0x54236209] = typeof(StarsGiveawayWinnersOption),
|
||||
[0x80AC53C3] = typeof(StarGift),
|
||||
[0x1BEFE865] = typeof(StarGiftUnique),
|
||||
[0xB0BF741B] = typeof(StarGiftUnique),
|
||||
[0xA388A368] = null,//Payments_StarGiftsNotModified
|
||||
[0x2ED82995] = typeof(Payments_StarGifts),
|
||||
[0x7903E3D9] = typeof(MessageReportOption),
|
||||
|
|
@ -1392,12 +1400,12 @@ namespace TL
|
|||
[0x13ACFF19] = typeof(StarGiftAttributePattern),
|
||||
[0xD93D859C] = typeof(StarGiftAttributeBackdrop),
|
||||
[0xE0BFF26C] = typeof(StarGiftAttributeOriginalDetails),
|
||||
[0x167BD90B] = typeof(Payments_StarGiftUpgradePreview),
|
||||
[0x3DE1DFED] = typeof(Payments_StarGiftUpgradePreview),
|
||||
[0x62D706B8] = typeof(Users_Users),
|
||||
[0x315A4974] = typeof(Users_UsersSlice),
|
||||
[0x416C56E8] = typeof(Payments_UniqueStarGift),
|
||||
[0x8C9A88AC] = typeof(Messages_WebPagePreview),
|
||||
[0x19A9B572] = typeof(SavedStarGift),
|
||||
[0x8983A452] = typeof(SavedStarGift),
|
||||
[0x95F389B1] = typeof(Payments_SavedStarGifts),
|
||||
[0x69279795] = typeof(InputSavedStarGiftUser),
|
||||
[0xF101AA7F] = typeof(InputSavedStarGiftChat),
|
||||
|
|
@ -1444,6 +1452,7 @@ namespace TL
|
|||
[0x83268483] = null,//InputChatThemeEmpty
|
||||
[0xC93DE95C] = typeof(InputChatTheme),
|
||||
[0x87E5DFE4] = typeof(InputChatThemeUniqueGift),
|
||||
[0x99EA331D] = typeof(StarGiftUpgradePrice),
|
||||
// from TL.Secret:
|
||||
[0x6ABD9782] = typeof(Layer143.DecryptedMessageMediaDocument),
|
||||
[0x020DF5D0] = typeof(Layer101.MessageEntityBlockquote),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue