API Layer 177: more business stuff, new profile infos, revenue stats

This commit is contained in:
Wizou 2024-04-05 14:14:39 +02:00
parent fc08140995
commit 1a4b606216
6 changed files with 900 additions and 51 deletions

View file

@ -6,7 +6,7 @@ namespace TL
{
public static partial class Layer
{
public const int Version = 176; // fetched 08/03/2024 11:12:00
public const int Version = 177; // fetched 03/04/2024 02:27:33
internal const int SecretChats = 144;
internal const int MTProto2 = 73;
internal const uint VectorCtor = 0x1CB5C415;
@ -145,7 +145,7 @@ namespace TL
[0x37C1011C] = null,//ChatPhotoEmpty
[0x1C6E1C11] = typeof(ChatPhoto),
[0x90A6CA84] = typeof(MessageEmpty),
[0xA66C7EFC] = typeof(Message),
[0x2357BF25] = typeof(Message),
[0x2B085862] = typeof(MessageService),
[0x3DED6320] = null,//MessageMediaEmpty
[0x695150D7] = typeof(MessageMediaPhoto),
@ -205,6 +205,7 @@ namespace TL
[0x332BA9ED] = typeof(MessageActionGiveawayLaunch),
[0x2A9FADC5] = typeof(MessageActionGiveawayResults),
[0xCC02AA6D] = typeof(MessageActionBoostApply),
[0x93B31848] = typeof(MessageActionRequestedPeerSentMe),
[0xD58A08C6] = typeof(Dialog),
[0x71BD134C] = typeof(DialogFolder),
[0x2331B22D] = typeof(PhotoEmpty),
@ -229,10 +230,10 @@ namespace TL
[0x5C467992] = typeof(InputNotifyForumTopic),
[0xCACB6AE2] = typeof(InputPeerNotifySettings),
[0x99622C0C] = typeof(PeerNotifySettings),
[0xA518110D] = typeof(PeerSettings),
[0xACD66C5E] = typeof(PeerSettings),
[0xA437C3ED] = typeof(WallPaper),
[0xE0804116] = typeof(WallPaperNoFile),
[0x22FF3E85] = typeof(UserFull),
[0xCC997720] = typeof(UserFull),
[0x145ADE0B] = typeof(Contact),
[0xC13E3C50] = typeof(ImportedContact),
[0x16D9703B] = typeof(ContactStatus),
@ -380,7 +381,6 @@ namespace TL
[0xFE198602] = typeof(UpdateChannelPinnedTopics),
[0x20529438] = typeof(UpdateUser),
[0xEC05B097] = typeof(UpdateAutoSaveSettings),
[0xCCF08AD6] = typeof(UpdateGroupInvitePrivacyForbidden),
[0x75B3B798] = typeof(UpdateStory),
[0xF74E932B] = typeof(UpdateReadStories),
[0x1BF335B9] = typeof(UpdateStoryID),
@ -400,6 +400,10 @@ namespace TL
[0x53E6F1EC] = typeof(UpdateDeleteQuickReply),
[0x3E050D0F] = typeof(UpdateQuickReplyMessage),
[0x566FE7CD] = typeof(UpdateDeleteQuickReplyMessages),
[0x8AE5C97A] = typeof(UpdateBotBusinessConnect),
[0x9DDB347C] = typeof(UpdateBotNewBusinessMessage),
[0x07DF587C] = typeof(UpdateBotEditBusinessMessage),
[0xA02A982E] = typeof(UpdateBotDeleteBusinessMessage),
[0xA56C2A3E] = typeof(Updates_State),
[0x5D75A138] = typeof(Updates_DifferenceEmpty),
[0x00F49CA0] = typeof(Updates_Difference),
@ -479,6 +483,7 @@ namespace TL
[0x840649CF] = typeof(InputPrivacyValueAllowChatParticipants),
[0xE94F0F86] = typeof(InputPrivacyValueDisallowChatParticipants),
[0x2F453E49] = typeof(InputPrivacyValueAllowCloseFriends),
[0x77CDC9F1] = typeof(InputPrivacyValueAllowPremium),
[0xFFFE1BAC] = typeof(PrivacyValueAllowContacts),
[0x65427B82] = typeof(PrivacyValueAllowAll),
[0xB8905FB2] = typeof(PrivacyValueAllowUsers),
@ -488,6 +493,7 @@ namespace TL
[0x6B134E8E] = typeof(PrivacyValueAllowChatParticipants),
[0x41C87565] = typeof(PrivacyValueDisallowChatParticipants),
[0xF7E8D89B] = typeof(PrivacyValueAllowCloseFriends),
[0xECE9814B] = typeof(PrivacyValueAllowPremium),
[0x50A04E45] = typeof(Account_PrivacyRules),
[0xB8D0AFDF] = typeof(AccountDaysTTL),
[0x6C37C15C] = typeof(DocumentAttributeImageSize),
@ -552,6 +558,7 @@ namespace TL
[0x13767230] = typeof(KeyboardButtonWebView),
[0xA0C0505C] = typeof(KeyboardButtonSimpleWebView),
[0x53D7BFD8] = typeof(KeyboardButtonRequestPeer),
[0xC9662D05] = typeof(InputKeyboardButtonRequestPeer),
[0x77608B83] = typeof(KeyboardButtonRow),
[0xA03E5B85] = typeof(ReplyKeyboardHide),
[0x86B40B08] = typeof(ReplyKeyboardForceReply),
@ -750,7 +757,7 @@ namespace TL
[0xC5226F17] = typeof(PhoneCallWaiting),
[0x14B0ED0C] = typeof(PhoneCallRequested),
[0x3660C311] = typeof(PhoneCallAccepted),
[0x967F7C67] = typeof(PhoneCall),
[0x30535AF5] = typeof(PhoneCall),
[0x50CA4DE1] = typeof(PhoneCallDiscarded),
[0x9CC123C7] = typeof(PhoneConnection),
[0x635FE375] = typeof(PhoneConnectionWebrtc),
@ -1220,9 +1227,40 @@ namespace TL
[0x01190CF1] = typeof(InputQuickReplyShortcutId),
[0xC68D6695] = typeof(Messages_QuickReplies),
[0x5F91EB5B] = null,//Messages_QuickRepliesNotModified
[0xE7E999E7] = typeof(ConnectedBot),
[0xBD068601] = typeof(ConnectedBot),
[0x17D7F87B] = typeof(Account_ConnectedBots),
[0x2AD93719] = typeof(Messages_DialogFilters),
[0x6C8E1E06] = typeof(Birthday),
[0x896433B4] = typeof(BotBusinessConnection),
[0x09C469CD] = typeof(InputBusinessIntro),
[0x5A0A066D] = typeof(BusinessIntro),
[0xFAFF629D] = typeof(Messages_MyStickers),
[0xE39460A9] = typeof(InputCollectibleUsername),
[0xA2E214A4] = typeof(InputCollectiblePhone),
[0x6EBDFF91] = typeof(Fragment_CollectibleInfo),
[0xC4E5921E] = typeof(InputBusinessBotRecipients),
[0xB88CF373] = typeof(BusinessBotRecipients),
[0x1D998733] = typeof(ContactBirthday),
[0x114FF30D] = typeof(Contacts_ContactBirthdays),
[0x628C9224] = typeof(MissingInvitee),
[0x7F5DEFA6] = typeof(Messages_InvitedUsers),
[0x11679FA7] = typeof(InputBusinessChatLink),
[0xB4AE666F] = typeof(BusinessChatLink),
[0xEC43A2D1] = typeof(Account_BusinessChatLinks),
[0x9A23AF21] = typeof(Account_ResolvedBusinessChatLinks),
[0xD62FF46A] = typeof(RequestedPeerUser),
[0x7307544F] = typeof(RequestedPeerChat),
[0x8BA403E4] = typeof(RequestedPeerChannel),
[0x430D3150] = typeof(SponsoredMessageReportOption),
[0x846F9E42] = typeof(Channels_SponsoredMessageReportResultChooseOption),
[0x3E3BCF2F] = typeof(Channels_SponsoredMessageReportResultAdsHidden),
[0xAD798849] = typeof(Channels_SponsoredMessageReportResultReported),
[0xD07B4BAD] = typeof(Stats_BroadcastRevenueStats),
[0xEC659737] = typeof(Stats_BroadcastRevenueWithdrawalUrl),
[0x557E2CC4] = typeof(BroadcastRevenueTransactionProceeds),
[0x5A590978] = typeof(BroadcastRevenueTransactionWithdrawal),
[0x42D30D2E] = typeof(BroadcastRevenueTransactionRefund),
[0x87158466] = typeof(Stats_BroadcastRevenueTransactions),
// from TL.Secret:
[0x6ABD9782] = typeof(Layer143.DecryptedMessageMediaDocument),
[0x91CC4674] = typeof(Layer73.DecryptedMessage),