API Layer 196: more starGifts methods, bot verification (see Bot API 8.2), conference calls, ...

This commit is contained in:
Wizou 2025-01-02 00:35:34 +01:00
parent b5aea68f66
commit b0f336994b
5 changed files with 414 additions and 83 deletions

View file

@ -6,7 +6,7 @@ namespace TL
{
public static partial class Layer
{
public const int Version = 195; // fetched 04/12/2024 17:50:39
public const int Version = 196; // fetched 01/01/2025 23:32:39
internal const int SecretChats = 144;
internal const int MTProto2 = 73;
internal const uint VectorCtor = 0x1CB5C415;
@ -124,7 +124,7 @@ namespace TL
[0x36C6019A] = typeof(PeerChat),
[0xA2A5371E] = typeof(PeerChannel),
[0xD3BC4B7A] = typeof(UserEmpty),
[0x83314FCA] = typeof(User),
[0x4B46C37E] = typeof(User),
[0x4F11BAE1] = null,//UserProfilePhotoEmpty
[0x82D1F706] = typeof(UserProfilePhoto),
[0x09D05049] = null,//UserStatusEmpty
@ -136,10 +136,10 @@ namespace TL
[0x29562865] = typeof(ChatEmpty),
[0x41CBF256] = typeof(Chat),
[0x6592A1A7] = typeof(ChatForbidden),
[0xFE4478BD] = typeof(Channel),
[0xE00998B7] = typeof(Channel),
[0x17D493D5] = typeof(ChannelForbidden),
[0x2633421B] = typeof(ChatFull),
[0xBBAB348D] = typeof(ChannelFull),
[0x9FF3B858] = typeof(ChannelFull),
[0xC02D4007] = typeof(ChatParticipant),
[0xE46BCEE4] = typeof(ChatParticipantCreator),
[0xA0933F5B] = typeof(ChatParticipantAdmin),
@ -148,8 +148,8 @@ namespace TL
[0x37C1011C] = null,//ChatPhotoEmpty
[0x1C6E1C11] = typeof(ChatPhoto),
[0x90A6CA84] = typeof(MessageEmpty),
[0x94345242] = typeof(Message),
[0x2B085862] = typeof(MessageService),
[0x96FDBBE9] = typeof(Message),
[0xD3D28540] = typeof(MessageService),
[0x3DED6320] = null,//MessageMediaEmpty
[0x695150D7] = typeof(MessageMediaPhoto),
[0x56E0D474] = typeof(MessageMediaGeo),
@ -213,7 +213,8 @@ namespace TL
[0x41B3E202] = typeof(MessageActionPaymentRefunded),
[0x45D5B021] = typeof(MessageActionGiftStars),
[0xB00C47A2] = typeof(MessageActionPrizeStars),
[0x08557637] = typeof(MessageActionStarGift),
[0xD8F4F0A7] = typeof(MessageActionStarGift),
[0x26077B99] = typeof(MessageActionStarGiftUnique),
[0xD58A08C6] = typeof(Dialog),
[0x71BD134C] = typeof(DialogFolder),
[0x2331B22D] = typeof(PhotoEmpty),
@ -241,7 +242,7 @@ namespace TL
[0xACD66C5E] = typeof(PeerSettings),
[0xA437C3ED] = typeof(WallPaper),
[0xE0804116] = typeof(WallPaperNoFile),
[0x979D2376] = typeof(UserFull),
[0x4D975BBC] = typeof(UserFull),
[0x145ADE0B] = typeof(Contact),
[0xC13E3C50] = typeof(ImportedContact),
[0x16D9703B] = typeof(ContactStatus),
@ -364,7 +365,7 @@ namespace TL
[0x5BB98608] = typeof(UpdatePinnedChannelMessages),
[0xF89A6A4E] = typeof(UpdateChat),
[0xF2EBDB4E] = typeof(UpdateGroupCallParticipants),
[0x14B24500] = typeof(UpdateGroupCall),
[0x97D64341] = typeof(UpdateGroupCall),
[0xBB9BB9A5] = typeof(UpdatePeerHistoryTTL),
[0xD087663A] = typeof(UpdateChatParticipant),
[0x985D3ABB] = typeof(UpdateChannelParticipant),
@ -543,7 +544,7 @@ namespace TL
[0xA22CBD96] = typeof(ChatInviteExported),
[0xED107AB7] = typeof(ChatInvitePublicJoinRequests),
[0x5A686D7C] = typeof(ChatInviteAlready),
[0xFE65389D] = typeof(ChatInvite),
[0x5C9D3702] = typeof(ChatInvite),
[0x61695CB0] = typeof(ChatInvitePeek),
[0xFFB62B95] = null,//InputStickerSetEmpty
[0x9DE7A269] = typeof(InputStickerSetID),
@ -560,7 +561,7 @@ namespace TL
[0x6E153F16] = typeof(Messages_StickerSet),
[0xD3F924EB] = null,//Messages_StickerSetNotModified
[0xC27AC8C7] = typeof(BotCommand),
[0x36607333] = typeof(BotInfo),
[0x4D8A0299] = typeof(BotInfo),
[0xA2FA4880] = typeof(KeyboardButton),
[0x258AFF05] = typeof(KeyboardButtonUrl),
[0x35BBDB6B] = typeof(KeyboardButtonCallback),
@ -747,6 +748,11 @@ namespace TL
[0x76768BED] = typeof(PageBlockDetails),
[0x16115A96] = typeof(PageBlockRelatedArticles),
[0xA44F3EF6] = typeof(PageBlockMap),
[0x85E42301] = typeof(PhoneCallDiscardReasonMissed),
[0xE095C1A0] = typeof(PhoneCallDiscardReasonDisconnect),
[0x57ADC690] = typeof(PhoneCallDiscardReasonHangup),
[0xFAF7E8C9] = typeof(PhoneCallDiscardReasonBusy),
[0xAFE2B839] = typeof(PhoneCallDiscardReasonAllowGroupCall),
[0x7D748D04] = typeof(DataJSON),
[0xCB296BF8] = typeof(LabeledPrice),
[0x049EE584] = typeof(Invoice),
@ -779,11 +785,11 @@ namespace TL
[0x32DA9E9C] = typeof(InputStickerSetItem),
[0x1E36FDED] = typeof(InputPhoneCall),
[0x5366C915] = typeof(PhoneCallEmpty),
[0xC5226F17] = typeof(PhoneCallWaiting),
[0x14B0ED0C] = typeof(PhoneCallRequested),
[0x3660C311] = typeof(PhoneCallAccepted),
[0x30535AF5] = typeof(PhoneCall),
[0x50CA4DE1] = typeof(PhoneCallDiscarded),
[0xEED42858] = typeof(PhoneCallWaiting),
[0x45361C63] = typeof(PhoneCallRequested),
[0x22FD7181] = typeof(PhoneCallAccepted),
[0x3BA5940C] = typeof(PhoneCall),
[0xF9D25503] = typeof(PhoneCallDiscarded),
[0x9CC123C7] = typeof(PhoneConnection),
[0x635FE375] = typeof(PhoneConnectionWebrtc),
[0xFC878FC8] = typeof(PhoneCallProtocol),
@ -986,9 +992,9 @@ namespace TL
[0x4899484E] = typeof(Messages_VotesList),
[0xF568028A] = typeof(BankCardOpenUrl),
[0x3E24E573] = typeof(Payments_BankCardData),
[0x5FB5523B] = typeof(DialogFilter),
[0xAA472651] = typeof(DialogFilter),
[0x363293AE] = null,//DialogFilterDefault
[0x9FE28EA4] = typeof(DialogFilterChatlist),
[0x96537BD7] = typeof(DialogFilterChatlist),
[0x77744D4A] = typeof(DialogFilterSuggested),
[0xB637EDAF] = typeof(StatsDateRangeDays),
[0xCB43ACDE] = typeof(StatsAbsValueAndPrev),
@ -1020,7 +1026,7 @@ namespace TL
[0xE8FD8014] = typeof(PeerBlocked),
[0x7FE91C14] = typeof(Stats_MessageStats),
[0x7780BCB4] = typeof(GroupCallDiscarded),
[0xD597650C] = typeof(GroupCall),
[0xCDF8D3E3] = typeof(GroupCall),
[0xD8AA840F] = typeof(InputGroupCall),
[0xEBA636FE] = typeof(GroupCallParticipant),
[0x9E727AAD] = typeof(Phone_GroupCall),
@ -1097,6 +1103,8 @@ namespace TL
[0x65F00CE3] = typeof(InputInvoiceStars),
[0x34E793F1] = typeof(InputInvoiceChatInviteSubscription),
[0x25D8C1D8] = typeof(InputInvoiceStarGift),
[0x5EBE7262] = typeof(InputInvoiceStarGiftUpgrade),
[0xAE3BA9ED] = typeof(InputInvoiceStarGiftTransfer),
[0xAED0CBD9] = typeof(Payments_ExportedInvoice),
[0xCFB9D957] = typeof(Messages_TranscribedAudio),
[0x5334759C] = typeof(Help_PremiumPromo),
@ -1171,7 +1179,7 @@ namespace TL
[0x10E6E3A6] = typeof(Chatlists_ExportedChatlistInvite),
[0x10AB6DC7] = typeof(Chatlists_ExportedInvites),
[0xFA87F659] = typeof(Chatlists_ChatlistInviteAlready),
[0x1DCD839D] = typeof(Chatlists_ChatlistInvite),
[0xF10ECE2F] = typeof(Chatlists_ChatlistInvite),
[0x93BD878D] = typeof(Chatlists_ChatlistUpdates),
[0xE8A775B0] = typeof(Bots_BotInfo),
[0xB6CC2D5C] = typeof(MessagePeerVote),
@ -1332,10 +1340,11 @@ namespace TL
[0x4BA3A95A] = typeof(MessageReactor),
[0x94CE852A] = typeof(StarsGiveawayOption),
[0x54236209] = typeof(StarsGiveawayWinnersOption),
[0x49C577CD] = typeof(StarGift),
[0x02CC73C8] = typeof(StarGift),
[0x6A1407CD] = typeof(StarGiftUnique),
[0xA388A368] = null,//Payments_StarGiftsNotModified
[0x901689EA] = typeof(Payments_StarGifts),
[0xEEA49A6E] = typeof(UserStarGift),
[0x325835E1] = typeof(UserStarGift),
[0x6B65B517] = typeof(Payments_UserStarGifts),
[0x7903E3D9] = typeof(MessageReportOption),
[0xF0E4E0B6] = typeof(ReportResultChooseOption),
@ -1351,6 +1360,13 @@ namespace TL
[0xBBB6B4A3] = typeof(StarsAmount),
[0x6010C534] = typeof(Messages_FoundStickersNotModified),
[0x82C9E290] = typeof(Messages_FoundStickers),
[0xB0CD6617] = typeof(BotVerifierSettings),
[0xF93CD45C] = typeof(BotVerification),
[0x39D99013] = typeof(StarGiftAttributeModel),
[0x13ACFF19] = typeof(StarGiftAttributePattern),
[0x94271762] = typeof(StarGiftAttributeBackdrop),
[0xC02C4F4B] = typeof(StarGiftAttributeOriginalDetails),
[0x167BD90B] = typeof(Payments_StarGiftUpgradePreview),
// from TL.Secret:
[0x6ABD9782] = typeof(Layer143.DecryptedMessageMediaDocument),
[0x020DF5D0] = typeof(Layer101.MessageEntityBlockquote),