From 61dfea491dab5e075160658c4f78486439d70c9f Mon Sep 17 00:00:00 2001 From: schemabot Date: Wed, 14 Aug 2024 22:08:06 +0000 Subject: [PATCH] [chore] Update to layer 186 --- ...inLogEventActionToggleSignatureProfiles.md | 0 docs/constructors/inputFileStoryDocument.md | 0 .../inputInvoiceChatInviteSubscription.md | 0 docs/constructors/messageReactor.md | 0 docs/constructors/reactionPaid.md | 0 docs/constructors/starsSubscription.md | 0 docs/constructors/starsSubscriptionPricing.md | 0 docs/methods/messages.sendPaidReaction.md | 0 .../messages.togglePaidReactionPrivacy.md | 0 .../payments.changeStarsSubscription.md | 0 .../payments.fulfillStarsSubscription.md | 0 .../methods/payments.getStarsSubscriptions.md | 0 index.html | 2 +- js/schema.js | 379 +++++++++++++++++- resources/schema.json | 377 ++++++++++++++++- resources/schema.tl | 49 ++- 16 files changed, 750 insertions(+), 57 deletions(-) create mode 100644 docs/constructors/channelAdminLogEventActionToggleSignatureProfiles.md create mode 100644 docs/constructors/inputFileStoryDocument.md create mode 100644 docs/constructors/inputInvoiceChatInviteSubscription.md create mode 100644 docs/constructors/messageReactor.md create mode 100644 docs/constructors/reactionPaid.md create mode 100644 docs/constructors/starsSubscription.md create mode 100644 docs/constructors/starsSubscriptionPricing.md create mode 100644 docs/methods/messages.sendPaidReaction.md create mode 100644 docs/methods/messages.togglePaidReactionPrivacy.md create mode 100644 docs/methods/payments.changeStarsSubscription.md create mode 100644 docs/methods/payments.fulfillStarsSubscription.md create mode 100644 docs/methods/payments.getStarsSubscriptions.md diff --git a/docs/constructors/channelAdminLogEventActionToggleSignatureProfiles.md b/docs/constructors/channelAdminLogEventActionToggleSignatureProfiles.md new file mode 100644 index 0000000..e69de29 diff --git a/docs/constructors/inputFileStoryDocument.md b/docs/constructors/inputFileStoryDocument.md new file mode 100644 index 0000000..e69de29 diff --git a/docs/constructors/inputInvoiceChatInviteSubscription.md b/docs/constructors/inputInvoiceChatInviteSubscription.md new file mode 100644 index 0000000..e69de29 diff --git a/docs/constructors/messageReactor.md b/docs/constructors/messageReactor.md new file mode 100644 index 0000000..e69de29 diff --git a/docs/constructors/reactionPaid.md b/docs/constructors/reactionPaid.md new file mode 100644 index 0000000..e69de29 diff --git a/docs/constructors/starsSubscription.md b/docs/constructors/starsSubscription.md new file mode 100644 index 0000000..e69de29 diff --git a/docs/constructors/starsSubscriptionPricing.md b/docs/constructors/starsSubscriptionPricing.md new file mode 100644 index 0000000..e69de29 diff --git a/docs/methods/messages.sendPaidReaction.md b/docs/methods/messages.sendPaidReaction.md new file mode 100644 index 0000000..e69de29 diff --git a/docs/methods/messages.togglePaidReactionPrivacy.md b/docs/methods/messages.togglePaidReactionPrivacy.md new file mode 100644 index 0000000..e69de29 diff --git a/docs/methods/payments.changeStarsSubscription.md b/docs/methods/payments.changeStarsSubscription.md new file mode 100644 index 0000000..e69de29 diff --git a/docs/methods/payments.fulfillStarsSubscription.md b/docs/methods/payments.fulfillStarsSubscription.md new file mode 100644 index 0000000..e69de29 diff --git a/docs/methods/payments.getStarsSubscriptions.md b/docs/methods/payments.getStarsSubscriptions.md new file mode 100644 index 0000000..e69de29 diff --git a/index.html b/index.html index 6223b66..5244aa3 100644 --- a/index.html +++ b/index.html @@ -28,7 +28,7 @@
- TL-Schema Explorer (Layer 185) + TL-Schema Explorer (Layer 186)
schema.json diff --git a/js/schema.js b/js/schema.js index 1e023f8..c1b32b7 100644 --- a/js/schema.js +++ b/js/schema.js @@ -1,4 +1,4 @@ -var LAYER_NUMBER = 185 +var LAYER_NUMBER = 186 var SCHEMA_GLOBAL = { "constructors": [ @@ -249,6 +249,17 @@ var SCHEMA_GLOBAL = { ], "type": "InputFile" }, + { + "id": 1658620744, + "predicate": "inputFileStoryDocument", + "params": [ + { + "name": "id", + "type": "InputDocument" + } + ], + "type": "InputFile" + }, { "id": 2523198847, "predicate": "inputMediaEmpty", @@ -1476,7 +1487,7 @@ var SCHEMA_GLOBAL = { "type": "Chat" }, { - "id": 179174543, + "id": 4265900221, "predicate": "channel", "params": [ { @@ -1579,6 +1590,10 @@ var SCHEMA_GLOBAL = { "name": "stories_unavailable", "type": "flags2.3?true" }, + { + "name": "signature_profiles", + "type": "flags2.12?true" + }, { "name": "id", "type": "long" @@ -1646,6 +1661,10 @@ var SCHEMA_GLOBAL = { { "name": "level", "type": "flags2.10?int" + }, + { + "name": "subscription_until_date", + "type": "flags2.11?int" } ], "type": "Chat" @@ -1860,6 +1879,10 @@ var SCHEMA_GLOBAL = { "name": "can_view_stars_revenue", "type": "flags2.15?true" }, + { + "name": "paid_reactions_available", + "type": "flags2.16?true" + }, { "name": "id", "type": "long" @@ -9986,7 +10009,7 @@ var SCHEMA_GLOBAL = { "type": "ReceivedNotifyMessage" }, { - "id": 179611673, + "id": 2720841110, "predicate": "chatInviteExported", "params": [ { @@ -10037,9 +10060,17 @@ var SCHEMA_GLOBAL = { "name": "requested", "type": "flags.7?int" }, + { + "name": "subscription_expired", + "type": "flags.10?int" + }, { "name": "title", "type": "flags.8?string" + }, + { + "name": "subscription_pricing", + "type": "flags.9?StarsSubscriptionPricing" } ], "type": "ExportedChatInvite" @@ -10062,7 +10093,7 @@ var SCHEMA_GLOBAL = { "type": "ChatInvite" }, { - "id": 3454069824, + "id": 4268046493, "predicate": "chatInvite", "params": [ { @@ -10101,6 +10132,10 @@ var SCHEMA_GLOBAL = { "name": "fake", "type": "flags.9?true" }, + { + "name": "can_refulfill_subscription", + "type": "flags.11?true" + }, { "name": "title", "type": "string" @@ -10124,6 +10159,14 @@ var SCHEMA_GLOBAL = { { "name": "color", "type": "int" + }, + { + "name": "subscription_pricing", + "type": "flags.10?StarsSubscriptionPricing" + }, + { + "name": "subscription_form_id", + "type": "flags.12?long" } ], "type": "ChatInvite" @@ -10356,7 +10399,7 @@ var SCHEMA_GLOBAL = { "type": "BotCommand" }, { - "id": 2402290519, + "id": 2185461364, "predicate": "botInfo", "params": [ { @@ -10390,6 +10433,10 @@ var SCHEMA_GLOBAL = { { "name": "menu_button", "type": "flags.3?BotMenuButton" + }, + { + "name": "privacy_policy_url", + "type": "flags.7?string" } ], "type": "BotInfo" @@ -11348,9 +11395,13 @@ var SCHEMA_GLOBAL = { "type": "ChannelMessagesFilter" }, { - "id": 3222013888, + "id": 3409540633, "predicate": "channelParticipant", "params": [ + { + "name": "flags", + "type": "#" + }, { "name": "user_id", "type": "long" @@ -11358,12 +11409,16 @@ var SCHEMA_GLOBAL = { { "name": "date", "type": "int" + }, + { + "name": "subscription_until_date", + "type": "flags.0?int" } ], "type": "ChannelParticipant" }, { - "id": 900251559, + "id": 1331723247, "predicate": "channelParticipantSelf", "params": [ { @@ -11385,6 +11440,10 @@ var SCHEMA_GLOBAL = { { "name": "date", "type": "int" + }, + { + "name": "subscription_until_date", + "type": "flags.1?int" } ], "type": "ChannelParticipant" @@ -16012,6 +16071,17 @@ var SCHEMA_GLOBAL = { ], "type": "ChannelAdminLogEventAction" }, + { + "id": 1621597305, + "predicate": "channelAdminLogEventActionToggleSignatureProfiles", + "params": [ + { + "name": "new_value", + "type": "Bool" + } + ], + "type": "ChannelAdminLogEventAction" + }, { "id": 531458253, "predicate": "channelAdminLogEvent", @@ -20419,7 +20489,7 @@ var SCHEMA_GLOBAL = { "type": "account.ResetPasswordResult" }, { - "id": 3186488678, + "id": 1301522832, "predicate": "sponsoredMessage", "params": [ { @@ -20458,6 +20528,10 @@ var SCHEMA_GLOBAL = { "name": "photo", "type": "flags.6?Photo" }, + { + "name": "media", + "type": "flags.14?MessageMedia" + }, { "name": "color", "type": "flags.13?PeerColor" @@ -20710,7 +20784,7 @@ var SCHEMA_GLOBAL = { "type": "ReactionCount" }, { - "id": 1328256121, + "id": 171155211, "predicate": "messageReactions", "params": [ { @@ -20736,6 +20810,10 @@ var SCHEMA_GLOBAL = { { "name": "recent_reactions", "type": "flags.1?Vector" + }, + { + "name": "top_reactors", + "type": "flags.4?Vector" } ], "type": "MessageReactions" @@ -21279,6 +21357,17 @@ var SCHEMA_GLOBAL = { ], "type": "InputInvoice" }, + { + "id": 887591921, + "predicate": "inputInvoiceChatInviteSubscription", + "params": [ + { + "name": "hash", + "type": "string" + } + ], + "type": "InputInvoice" + }, { "id": 2932919257, "predicate": "payments.exportedInvoice", @@ -21637,6 +21726,12 @@ var SCHEMA_GLOBAL = { ], "type": "Reaction" }, + { + "id": 1379771627, + "predicate": "reactionPaid", + "params": [], + "type": "Reaction" + }, { "id": 3942396604, "predicate": "chatReactionsNone", @@ -25686,7 +25781,7 @@ var SCHEMA_GLOBAL = { "type": "StarsTopupOption" }, { - "id": 766853519, + "id": 1127934763, "predicate": "starsTransaction", "params": [ { @@ -25709,6 +25804,10 @@ var SCHEMA_GLOBAL = { "name": "gift", "type": "flags.10?true" }, + { + "name": "reaction", + "type": "flags.11?true" + }, { "name": "id", "type": "string" @@ -25756,12 +25855,16 @@ var SCHEMA_GLOBAL = { { "name": "extended_media", "type": "flags.9?Vector" + }, + { + "name": "subscription_period", + "type": "flags.12?int" } ], "type": "StarsTransaction" }, { - "id": 2364862048, + "id": 3153736044, "predicate": "payments.starsStatus", "params": [ { @@ -25772,9 +25875,21 @@ var SCHEMA_GLOBAL = { "name": "balance", "type": "long" }, + { + "name": "subscriptions", + "type": "flags.1?Vector" + }, + { + "name": "subscriptions_next_offset", + "type": "flags.2?string" + }, + { + "name": "subscriptions_missing_balance", + "type": "flags.4?long" + }, { "name": "history", - "type": "Vector" + "type": "flags.3?Vector" }, { "name": "next_offset", @@ -26034,6 +26149,95 @@ var SCHEMA_GLOBAL = { } ], "type": "bots.PreviewInfo" + }, + { + "id": 88173912, + "predicate": "starsSubscriptionPricing", + "params": [ + { + "name": "period", + "type": "int" + }, + { + "name": "amount", + "type": "long" + } + ], + "type": "StarsSubscriptionPricing" + }, + { + "id": 1401868056, + "predicate": "starsSubscription", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "canceled", + "type": "flags.0?true" + }, + { + "name": "can_refulfill", + "type": "flags.1?true" + }, + { + "name": "missing_balance", + "type": "flags.2?true" + }, + { + "name": "id", + "type": "string" + }, + { + "name": "peer", + "type": "Peer" + }, + { + "name": "until_date", + "type": "int" + }, + { + "name": "pricing", + "type": "StarsSubscriptionPricing" + }, + { + "name": "chat_invite_hash", + "type": "flags.3?string" + } + ], + "type": "StarsSubscription" + }, + { + "id": 1269016922, + "predicate": "messageReactor", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "top", + "type": "flags.0?true" + }, + { + "name": "my", + "type": "flags.1?true" + }, + { + "name": "anonymous", + "type": "flags.2?true" + }, + { + "name": "peer_id", + "type": "flags.3?Peer" + }, + { + "name": "count", + "type": "int" + } + ], + "type": "MessageReactor" } ], "methods": [ @@ -29540,7 +29744,7 @@ var SCHEMA_GLOBAL = { "type": "MessageMedia" }, { - "id": 2687296981, + "id": 2757090960, "method": "messages.exportChatInvite", "params": [ { @@ -29570,6 +29774,10 @@ var SCHEMA_GLOBAL = { { "name": "title", "type": "flags.4?string" + }, + { + "name": "subscription_pricing", + "type": "flags.5?StarsSubscriptionPricing" } ], "type": "ExportedChatInvite" @@ -31593,6 +31801,10 @@ var SCHEMA_GLOBAL = { "name": "requested", "type": "flags.0?true" }, + { + "name": "subscription_expired", + "type": "flags.3?true" + }, { "name": "peer", "type": "InputPeer" @@ -31892,7 +32104,7 @@ var SCHEMA_GLOBAL = { "type": "messages.MessageReactionsList" }, { - "id": 1511328724, + "id": 2253071745, "method": "messages.setChatAvailableReactions", "params": [ { @@ -31910,6 +32122,10 @@ var SCHEMA_GLOBAL = { { "name": "reactions_limit", "type": "flags.0?int" + }, + { + "name": "paid_enabled", + "type": "flags.1?Bool" } ], "type": "Updates" @@ -33077,6 +33293,56 @@ var SCHEMA_GLOBAL = { ], "type": "WebViewResult" }, + { + "id": 633929278, + "method": "messages.sendPaidReaction", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "private", + "type": "flags.0?true" + }, + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "msg_id", + "type": "int" + }, + { + "name": "count", + "type": "int" + }, + { + "name": "random_id", + "type": "long" + } + ], + "type": "Updates" + }, + { + "id": 2224739223, + "method": "messages.togglePaidReactionPrivacy", + "params": [ + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "msg_id", + "type": "int" + }, + { + "name": "private", + "type": "Bool" + } + ], + "type": "Bool" + }, { "id": 3990128682, "method": "updates.getState", @@ -34020,16 +34286,24 @@ var SCHEMA_GLOBAL = { "type": "ExportedMessageLink" }, { - "id": 527021574, + "id": 1099781276, "method": "channels.toggleSignatures", "params": [ { - "name": "channel", - "type": "InputChannel" + "name": "flags", + "type": "#" }, { - "name": "enabled", - "type": "Bool" + "name": "signatures_enabled", + "type": "flags.0?true" + }, + { + "name": "profiles_enabled", + "type": "flags.1?true" + }, + { + "name": "channel", + "type": "InputChannel" } ], "type": "Updates" @@ -35469,7 +35743,7 @@ var SCHEMA_GLOBAL = { "type": "payments.StarsStatus" }, { - "id": 2543029594, + "id": 1775912279, "method": "payments.getStarsTransactions", "params": [ { @@ -35488,6 +35762,10 @@ var SCHEMA_GLOBAL = { "name": "ascending", "type": "flags.2?true" }, + { + "name": "subscription_id", + "type": "flags.3?string" + }, { "name": "peer", "type": "InputPeer" @@ -35616,6 +35894,67 @@ var SCHEMA_GLOBAL = { ], "type": "Vector" }, + { + "id": 52761285, + "method": "payments.getStarsSubscriptions", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "missing_balance", + "type": "flags.0?true" + }, + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "offset", + "type": "string" + } + ], + "type": "payments.StarsStatus" + }, + { + "id": 3346466936, + "method": "payments.changeStarsSubscription", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "subscription_id", + "type": "string" + }, + { + "name": "canceled", + "type": "flags.0?Bool" + } + ], + "type": "Bool" + }, + { + "id": 3428576179, + "method": "payments.fulfillStarsSubscription", + "params": [ + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "subscription_id", + "type": "string" + } + ], + "type": "Bool" + }, { "id": 2418125671, "method": "stickers.createStickerSet", diff --git a/resources/schema.json b/resources/schema.json index 51afd00..843792e 100644 --- a/resources/schema.json +++ b/resources/schema.json @@ -247,6 +247,17 @@ ], "type": "InputFile" }, + { + "id": 1658620744, + "predicate": "inputFileStoryDocument", + "params": [ + { + "name": "id", + "type": "InputDocument" + } + ], + "type": "InputFile" + }, { "id": 2523198847, "predicate": "inputMediaEmpty", @@ -1474,7 +1485,7 @@ "type": "Chat" }, { - "id": 179174543, + "id": 4265900221, "predicate": "channel", "params": [ { @@ -1577,6 +1588,10 @@ "name": "stories_unavailable", "type": "flags2.3?true" }, + { + "name": "signature_profiles", + "type": "flags2.12?true" + }, { "name": "id", "type": "long" @@ -1644,6 +1659,10 @@ { "name": "level", "type": "flags2.10?int" + }, + { + "name": "subscription_until_date", + "type": "flags2.11?int" } ], "type": "Chat" @@ -1858,6 +1877,10 @@ "name": "can_view_stars_revenue", "type": "flags2.15?true" }, + { + "name": "paid_reactions_available", + "type": "flags2.16?true" + }, { "name": "id", "type": "long" @@ -9984,7 +10007,7 @@ "type": "ReceivedNotifyMessage" }, { - "id": 179611673, + "id": 2720841110, "predicate": "chatInviteExported", "params": [ { @@ -10035,9 +10058,17 @@ "name": "requested", "type": "flags.7?int" }, + { + "name": "subscription_expired", + "type": "flags.10?int" + }, { "name": "title", "type": "flags.8?string" + }, + { + "name": "subscription_pricing", + "type": "flags.9?StarsSubscriptionPricing" } ], "type": "ExportedChatInvite" @@ -10060,7 +10091,7 @@ "type": "ChatInvite" }, { - "id": 3454069824, + "id": 4268046493, "predicate": "chatInvite", "params": [ { @@ -10099,6 +10130,10 @@ "name": "fake", "type": "flags.9?true" }, + { + "name": "can_refulfill_subscription", + "type": "flags.11?true" + }, { "name": "title", "type": "string" @@ -10122,6 +10157,14 @@ { "name": "color", "type": "int" + }, + { + "name": "subscription_pricing", + "type": "flags.10?StarsSubscriptionPricing" + }, + { + "name": "subscription_form_id", + "type": "flags.12?long" } ], "type": "ChatInvite" @@ -10354,7 +10397,7 @@ "type": "BotCommand" }, { - "id": 2402290519, + "id": 2185461364, "predicate": "botInfo", "params": [ { @@ -10388,6 +10431,10 @@ { "name": "menu_button", "type": "flags.3?BotMenuButton" + }, + { + "name": "privacy_policy_url", + "type": "flags.7?string" } ], "type": "BotInfo" @@ -11346,9 +11393,13 @@ "type": "ChannelMessagesFilter" }, { - "id": 3222013888, + "id": 3409540633, "predicate": "channelParticipant", "params": [ + { + "name": "flags", + "type": "#" + }, { "name": "user_id", "type": "long" @@ -11356,12 +11407,16 @@ { "name": "date", "type": "int" + }, + { + "name": "subscription_until_date", + "type": "flags.0?int" } ], "type": "ChannelParticipant" }, { - "id": 900251559, + "id": 1331723247, "predicate": "channelParticipantSelf", "params": [ { @@ -11383,6 +11438,10 @@ { "name": "date", "type": "int" + }, + { + "name": "subscription_until_date", + "type": "flags.1?int" } ], "type": "ChannelParticipant" @@ -16010,6 +16069,17 @@ ], "type": "ChannelAdminLogEventAction" }, + { + "id": 1621597305, + "predicate": "channelAdminLogEventActionToggleSignatureProfiles", + "params": [ + { + "name": "new_value", + "type": "Bool" + } + ], + "type": "ChannelAdminLogEventAction" + }, { "id": 531458253, "predicate": "channelAdminLogEvent", @@ -20417,7 +20487,7 @@ "type": "account.ResetPasswordResult" }, { - "id": 3186488678, + "id": 1301522832, "predicate": "sponsoredMessage", "params": [ { @@ -20456,6 +20526,10 @@ "name": "photo", "type": "flags.6?Photo" }, + { + "name": "media", + "type": "flags.14?MessageMedia" + }, { "name": "color", "type": "flags.13?PeerColor" @@ -20708,7 +20782,7 @@ "type": "ReactionCount" }, { - "id": 1328256121, + "id": 171155211, "predicate": "messageReactions", "params": [ { @@ -20734,6 +20808,10 @@ { "name": "recent_reactions", "type": "flags.1?Vector" + }, + { + "name": "top_reactors", + "type": "flags.4?Vector" } ], "type": "MessageReactions" @@ -21277,6 +21355,17 @@ ], "type": "InputInvoice" }, + { + "id": 887591921, + "predicate": "inputInvoiceChatInviteSubscription", + "params": [ + { + "name": "hash", + "type": "string" + } + ], + "type": "InputInvoice" + }, { "id": 2932919257, "predicate": "payments.exportedInvoice", @@ -21635,6 +21724,12 @@ ], "type": "Reaction" }, + { + "id": 1379771627, + "predicate": "reactionPaid", + "params": [], + "type": "Reaction" + }, { "id": 3942396604, "predicate": "chatReactionsNone", @@ -25684,7 +25779,7 @@ "type": "StarsTopupOption" }, { - "id": 766853519, + "id": 1127934763, "predicate": "starsTransaction", "params": [ { @@ -25707,6 +25802,10 @@ "name": "gift", "type": "flags.10?true" }, + { + "name": "reaction", + "type": "flags.11?true" + }, { "name": "id", "type": "string" @@ -25754,12 +25853,16 @@ { "name": "extended_media", "type": "flags.9?Vector" + }, + { + "name": "subscription_period", + "type": "flags.12?int" } ], "type": "StarsTransaction" }, { - "id": 2364862048, + "id": 3153736044, "predicate": "payments.starsStatus", "params": [ { @@ -25770,9 +25873,21 @@ "name": "balance", "type": "long" }, + { + "name": "subscriptions", + "type": "flags.1?Vector" + }, + { + "name": "subscriptions_next_offset", + "type": "flags.2?string" + }, + { + "name": "subscriptions_missing_balance", + "type": "flags.4?long" + }, { "name": "history", - "type": "Vector" + "type": "flags.3?Vector" }, { "name": "next_offset", @@ -26032,6 +26147,95 @@ } ], "type": "bots.PreviewInfo" + }, + { + "id": 88173912, + "predicate": "starsSubscriptionPricing", + "params": [ + { + "name": "period", + "type": "int" + }, + { + "name": "amount", + "type": "long" + } + ], + "type": "StarsSubscriptionPricing" + }, + { + "id": 1401868056, + "predicate": "starsSubscription", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "canceled", + "type": "flags.0?true" + }, + { + "name": "can_refulfill", + "type": "flags.1?true" + }, + { + "name": "missing_balance", + "type": "flags.2?true" + }, + { + "name": "id", + "type": "string" + }, + { + "name": "peer", + "type": "Peer" + }, + { + "name": "until_date", + "type": "int" + }, + { + "name": "pricing", + "type": "StarsSubscriptionPricing" + }, + { + "name": "chat_invite_hash", + "type": "flags.3?string" + } + ], + "type": "StarsSubscription" + }, + { + "id": 1269016922, + "predicate": "messageReactor", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "top", + "type": "flags.0?true" + }, + { + "name": "my", + "type": "flags.1?true" + }, + { + "name": "anonymous", + "type": "flags.2?true" + }, + { + "name": "peer_id", + "type": "flags.3?Peer" + }, + { + "name": "count", + "type": "int" + } + ], + "type": "MessageReactor" } ], "methods": [ @@ -29538,7 +29742,7 @@ "type": "MessageMedia" }, { - "id": 2687296981, + "id": 2757090960, "method": "messages.exportChatInvite", "params": [ { @@ -29568,6 +29772,10 @@ { "name": "title", "type": "flags.4?string" + }, + { + "name": "subscription_pricing", + "type": "flags.5?StarsSubscriptionPricing" } ], "type": "ExportedChatInvite" @@ -31591,6 +31799,10 @@ "name": "requested", "type": "flags.0?true" }, + { + "name": "subscription_expired", + "type": "flags.3?true" + }, { "name": "peer", "type": "InputPeer" @@ -31890,7 +32102,7 @@ "type": "messages.MessageReactionsList" }, { - "id": 1511328724, + "id": 2253071745, "method": "messages.setChatAvailableReactions", "params": [ { @@ -31908,6 +32120,10 @@ { "name": "reactions_limit", "type": "flags.0?int" + }, + { + "name": "paid_enabled", + "type": "flags.1?Bool" } ], "type": "Updates" @@ -33075,6 +33291,56 @@ ], "type": "WebViewResult" }, + { + "id": 633929278, + "method": "messages.sendPaidReaction", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "private", + "type": "flags.0?true" + }, + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "msg_id", + "type": "int" + }, + { + "name": "count", + "type": "int" + }, + { + "name": "random_id", + "type": "long" + } + ], + "type": "Updates" + }, + { + "id": 2224739223, + "method": "messages.togglePaidReactionPrivacy", + "params": [ + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "msg_id", + "type": "int" + }, + { + "name": "private", + "type": "Bool" + } + ], + "type": "Bool" + }, { "id": 3990128682, "method": "updates.getState", @@ -34018,16 +34284,24 @@ "type": "ExportedMessageLink" }, { - "id": 527021574, + "id": 1099781276, "method": "channels.toggleSignatures", "params": [ { - "name": "channel", - "type": "InputChannel" + "name": "flags", + "type": "#" }, { - "name": "enabled", - "type": "Bool" + "name": "signatures_enabled", + "type": "flags.0?true" + }, + { + "name": "profiles_enabled", + "type": "flags.1?true" + }, + { + "name": "channel", + "type": "InputChannel" } ], "type": "Updates" @@ -35467,7 +35741,7 @@ "type": "payments.StarsStatus" }, { - "id": 2543029594, + "id": 1775912279, "method": "payments.getStarsTransactions", "params": [ { @@ -35486,6 +35760,10 @@ "name": "ascending", "type": "flags.2?true" }, + { + "name": "subscription_id", + "type": "flags.3?string" + }, { "name": "peer", "type": "InputPeer" @@ -35614,6 +35892,67 @@ ], "type": "Vector" }, + { + "id": 52761285, + "method": "payments.getStarsSubscriptions", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "missing_balance", + "type": "flags.0?true" + }, + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "offset", + "type": "string" + } + ], + "type": "payments.StarsStatus" + }, + { + "id": 3346466936, + "method": "payments.changeStarsSubscription", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "subscription_id", + "type": "string" + }, + { + "name": "canceled", + "type": "flags.0?Bool" + } + ], + "type": "Bool" + }, + { + "id": 3428576179, + "method": "payments.fulfillStarsSubscription", + "params": [ + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "subscription_id", + "type": "string" + } + ], + "type": "Bool" + }, { "id": 2418125671, "method": "stickers.createStickerSet", diff --git a/resources/schema.tl b/resources/schema.tl index 2d35a0c..63a68d5 100644 --- a/resources/schema.tl +++ b/resources/schema.tl @@ -26,6 +26,7 @@ inputPhoneContact#f392b7f4 client_id:long phone:string first_name:string last_na inputFile#f52ff27f id:long parts:int name:string md5_checksum:string = InputFile; inputFileBig#fa4f0bb5 id:long parts:int name:string = InputFile; +inputFileStoryDocument#62dc8b48 id:InputDocument = InputFile; inputMediaEmpty#9664f57f = InputMedia; inputMediaUploadedPhoto#1e287d04 flags:# spoiler:flags.2?true file:InputFile stickers:flags.0?Vector ttl_seconds:flags.1?int = InputMedia; @@ -98,11 +99,11 @@ userStatusLastMonth#65899777 flags:# by_me:flags.0?true = UserStatus; chatEmpty#29562865 id:long = Chat; chat#41cbf256 flags:# creator:flags.0?true left:flags.2?true deactivated:flags.5?true call_active:flags.23?true call_not_empty:flags.24?true noforwards:flags.25?true id:long title:string photo:ChatPhoto participants_count:int date:int version:int migrated_to:flags.6?InputChannel admin_rights:flags.14?ChatAdminRights default_banned_rights:flags.18?ChatBannedRights = Chat; chatForbidden#6592a1a7 id:long title:string = Chat; -channel#aadfc8f flags:# creator:flags.0?true left:flags.2?true broadcast:flags.5?true verified:flags.7?true megagroup:flags.8?true restricted:flags.9?true signatures:flags.11?true min:flags.12?true scam:flags.19?true has_link:flags.20?true has_geo:flags.21?true slowmode_enabled:flags.22?true call_active:flags.23?true call_not_empty:flags.24?true fake:flags.25?true gigagroup:flags.26?true noforwards:flags.27?true join_to_send:flags.28?true join_request:flags.29?true forum:flags.30?true flags2:# stories_hidden:flags2.1?true stories_hidden_min:flags2.2?true stories_unavailable:flags2.3?true id:long access_hash:flags.13?long title:string username:flags.6?string photo:ChatPhoto date:int restriction_reason:flags.9?Vector admin_rights:flags.14?ChatAdminRights banned_rights:flags.15?ChatBannedRights default_banned_rights:flags.18?ChatBannedRights participants_count:flags.17?int usernames:flags2.0?Vector stories_max_id:flags2.4?int color:flags2.7?PeerColor profile_color:flags2.8?PeerColor emoji_status:flags2.9?EmojiStatus level:flags2.10?int = Chat; +channel#fe4478bd flags:# creator:flags.0?true left:flags.2?true broadcast:flags.5?true verified:flags.7?true megagroup:flags.8?true restricted:flags.9?true signatures:flags.11?true min:flags.12?true scam:flags.19?true has_link:flags.20?true has_geo:flags.21?true slowmode_enabled:flags.22?true call_active:flags.23?true call_not_empty:flags.24?true fake:flags.25?true gigagroup:flags.26?true noforwards:flags.27?true join_to_send:flags.28?true join_request:flags.29?true forum:flags.30?true flags2:# stories_hidden:flags2.1?true stories_hidden_min:flags2.2?true stories_unavailable:flags2.3?true signature_profiles:flags2.12?true id:long access_hash:flags.13?long title:string username:flags.6?string photo:ChatPhoto date:int restriction_reason:flags.9?Vector admin_rights:flags.14?ChatAdminRights banned_rights:flags.15?ChatBannedRights default_banned_rights:flags.18?ChatBannedRights participants_count:flags.17?int usernames:flags2.0?Vector stories_max_id:flags2.4?int color:flags2.7?PeerColor profile_color:flags2.8?PeerColor emoji_status:flags2.9?EmojiStatus level:flags2.10?int subscription_until_date:flags2.11?int = Chat; channelForbidden#17d493d5 flags:# broadcast:flags.5?true megagroup:flags.8?true id:long access_hash:long title:string until_date:flags.16?int = Chat; chatFull#2633421b flags:# can_set_username:flags.7?true has_scheduled:flags.8?true translations_disabled:flags.19?true id:long about:string participants:ChatParticipants chat_photo:flags.2?Photo notify_settings:PeerNotifySettings exported_invite:flags.13?ExportedChatInvite bot_info:flags.3?Vector pinned_msg_id:flags.6?int folder_id:flags.11?int call:flags.12?InputGroupCall ttl_period:flags.14?int groupcall_default_join_as:flags.15?Peer theme_emoticon:flags.16?string requests_pending:flags.17?int recent_requesters:flags.17?Vector available_reactions:flags.18?ChatReactions reactions_limit:flags.20?int = ChatFull; -channelFull#bbab348d flags:# can_view_participants:flags.3?true can_set_username:flags.6?true can_set_stickers:flags.7?true hidden_prehistory:flags.10?true can_set_location:flags.16?true has_scheduled:flags.19?true can_view_stats:flags.20?true blocked:flags.22?true flags2:# can_delete_channel:flags2.0?true antispam:flags2.1?true participants_hidden:flags2.2?true translations_disabled:flags2.3?true stories_pinned_available:flags2.5?true view_forum_as_messages:flags2.6?true restricted_sponsored:flags2.11?true can_view_revenue:flags2.12?true paid_media_allowed:flags2.14?true can_view_stars_revenue:flags2.15?true id:long about:string participants_count:flags.0?int admins_count:flags.1?int kicked_count:flags.2?int banned_count:flags.2?int online_count:flags.13?int read_inbox_max_id:int read_outbox_max_id:int unread_count:int chat_photo:Photo notify_settings:PeerNotifySettings exported_invite:flags.23?ExportedChatInvite bot_info:Vector migrated_from_chat_id:flags.4?long migrated_from_max_id:flags.4?int pinned_msg_id:flags.5?int stickerset:flags.8?StickerSet available_min_id:flags.9?int folder_id:flags.11?int linked_chat_id:flags.14?long location:flags.15?ChannelLocation slowmode_seconds:flags.17?int slowmode_next_send_date:flags.18?int stats_dc:flags.12?int pts:int call:flags.21?InputGroupCall ttl_period:flags.24?int pending_suggestions:flags.25?Vector groupcall_default_join_as:flags.26?Peer theme_emoticon:flags.27?string requests_pending:flags.28?int recent_requesters:flags.28?Vector default_send_as:flags.29?Peer available_reactions:flags.30?ChatReactions reactions_limit:flags2.13?int stories:flags2.4?PeerStories wallpaper:flags2.7?WallPaper boosts_applied:flags2.8?int boosts_unrestrict:flags2.9?int emojiset:flags2.10?StickerSet = ChatFull; +channelFull#bbab348d flags:# can_view_participants:flags.3?true can_set_username:flags.6?true can_set_stickers:flags.7?true hidden_prehistory:flags.10?true can_set_location:flags.16?true has_scheduled:flags.19?true can_view_stats:flags.20?true blocked:flags.22?true flags2:# can_delete_channel:flags2.0?true antispam:flags2.1?true participants_hidden:flags2.2?true translations_disabled:flags2.3?true stories_pinned_available:flags2.5?true view_forum_as_messages:flags2.6?true restricted_sponsored:flags2.11?true can_view_revenue:flags2.12?true paid_media_allowed:flags2.14?true can_view_stars_revenue:flags2.15?true paid_reactions_available:flags2.16?true id:long about:string participants_count:flags.0?int admins_count:flags.1?int kicked_count:flags.2?int banned_count:flags.2?int online_count:flags.13?int read_inbox_max_id:int read_outbox_max_id:int unread_count:int chat_photo:Photo notify_settings:PeerNotifySettings exported_invite:flags.23?ExportedChatInvite bot_info:Vector migrated_from_chat_id:flags.4?long migrated_from_max_id:flags.4?int pinned_msg_id:flags.5?int stickerset:flags.8?StickerSet available_min_id:flags.9?int folder_id:flags.11?int linked_chat_id:flags.14?long location:flags.15?ChannelLocation slowmode_seconds:flags.17?int slowmode_next_send_date:flags.18?int stats_dc:flags.12?int pts:int call:flags.21?InputGroupCall ttl_period:flags.24?int pending_suggestions:flags.25?Vector groupcall_default_join_as:flags.26?Peer theme_emoticon:flags.27?string requests_pending:flags.28?int recent_requesters:flags.28?Vector default_send_as:flags.29?Peer available_reactions:flags.30?ChatReactions reactions_limit:flags2.13?int stories:flags2.4?PeerStories wallpaper:flags2.7?WallPaper boosts_applied:flags2.8?int boosts_unrestrict:flags2.9?int emojiset:flags2.10?StickerSet = ChatFull; chatParticipant#c02d4007 user_id:long inviter_id:long date:int = ChatParticipant; chatParticipantCreator#e46bcee4 user_id:long = ChatParticipant; @@ -604,11 +605,11 @@ auth.passwordRecovery#137948a5 email_pattern:string = auth.PasswordRecovery; receivedNotifyMessage#a384b779 id:int flags:int = ReceivedNotifyMessage; -chatInviteExported#ab4a819 flags:# revoked:flags.0?true permanent:flags.5?true request_needed:flags.6?true link:string admin_id:long date:int start_date:flags.4?int expire_date:flags.1?int usage_limit:flags.2?int usage:flags.3?int requested:flags.7?int title:flags.8?string = ExportedChatInvite; +chatInviteExported#a22cbd96 flags:# revoked:flags.0?true permanent:flags.5?true request_needed:flags.6?true link:string admin_id:long date:int start_date:flags.4?int expire_date:flags.1?int usage_limit:flags.2?int usage:flags.3?int requested:flags.7?int subscription_expired:flags.10?int title:flags.8?string subscription_pricing:flags.9?StarsSubscriptionPricing = ExportedChatInvite; chatInvitePublicJoinRequests#ed107ab7 = ExportedChatInvite; chatInviteAlready#5a686d7c chat:Chat = ChatInvite; -chatInvite#cde0ec40 flags:# channel:flags.0?true broadcast:flags.1?true public:flags.2?true megagroup:flags.3?true request_needed:flags.6?true verified:flags.7?true scam:flags.8?true fake:flags.9?true title:string about:flags.5?string photo:Photo participants_count:int participants:flags.4?Vector color:int = ChatInvite; +chatInvite#fe65389d flags:# channel:flags.0?true broadcast:flags.1?true public:flags.2?true megagroup:flags.3?true request_needed:flags.6?true verified:flags.7?true scam:flags.8?true fake:flags.9?true can_refulfill_subscription:flags.11?true title:string about:flags.5?string photo:Photo participants_count:int participants:flags.4?Vector color:int subscription_pricing:flags.10?StarsSubscriptionPricing subscription_form_id:flags.12?long = ChatInvite; chatInvitePeek#61695cb0 chat:Chat expires:int = ChatInvite; inputStickerSetEmpty#ffb62b95 = InputStickerSet; @@ -630,7 +631,7 @@ messages.stickerSetNotModified#d3f924eb = messages.StickerSet; botCommand#c27ac8c7 command:string description:string = BotCommand; -botInfo#8f300b57 flags:# has_preview_medias:flags.6?true user_id:flags.0?long description:flags.1?string description_photo:flags.4?Photo description_document:flags.5?Document commands:flags.2?Vector menu_button:flags.3?BotMenuButton = BotInfo; +botInfo#82437e74 flags:# has_preview_medias:flags.6?true user_id:flags.0?long description:flags.1?string description_photo:flags.4?Photo description_document:flags.5?Document commands:flags.2?Vector menu_button:flags.3?BotMenuButton privacy_policy_url:flags.7?string = BotInfo; keyboardButton#a2fa4880 text:string = KeyboardButton; keyboardButtonUrl#258aff05 text:string url:string = KeyboardButton; @@ -694,8 +695,8 @@ updates.channelDifference#2064674e flags:# final:flags.0?true pts:int timeout:fl channelMessagesFilterEmpty#94d42ee7 = ChannelMessagesFilter; channelMessagesFilter#cd77d957 flags:# exclude_new_messages:flags.1?true ranges:Vector = ChannelMessagesFilter; -channelParticipant#c00c07c0 user_id:long date:int = ChannelParticipant; -channelParticipantSelf#35a8bfa7 flags:# via_request:flags.0?true user_id:long inviter_id:long date:int = ChannelParticipant; +channelParticipant#cb397619 flags:# user_id:long date:int subscription_until_date:flags.0?int = ChannelParticipant; +channelParticipantSelf#4f607bef flags:# via_request:flags.0?true user_id:long inviter_id:long date:int subscription_until_date:flags.1?int = ChannelParticipant; channelParticipantCreator#2fe601d3 flags:# user_id:long admin_rights:ChatAdminRights rank:flags.0?string = ChannelParticipant; channelParticipantAdmin#34c3bb53 flags:# can_edit:flags.0?true self:flags.1?true user_id:long inviter_id:flags.1?long promoted_by:long date:int admin_rights:ChatAdminRights rank:flags.2?string = ChannelParticipant; channelParticipantBanned#6df8014e flags:# left:flags.0?true peer:Peer kicked_by:long date:int banned_rights:ChatBannedRights = ChannelParticipant; @@ -1011,6 +1012,7 @@ channelAdminLogEventActionChangeProfilePeerColor#5e477b25 prev_value:PeerColor n channelAdminLogEventActionChangeWallpaper#31bb5d52 prev_value:WallPaper new_value:WallPaper = ChannelAdminLogEventAction; channelAdminLogEventActionChangeEmojiStatus#3ea9feb1 prev_value:EmojiStatus new_value:EmojiStatus = ChannelAdminLogEventAction; channelAdminLogEventActionChangeEmojiStickerSet#46d840ab prev_stickerset:InputStickerSet new_stickerset:InputStickerSet = ChannelAdminLogEventAction; +channelAdminLogEventActionToggleSignatureProfiles#60a79c79 new_value:Bool = ChannelAdminLogEventAction; channelAdminLogEvent#1fad68cd id:long date:int user_id:long action:ChannelAdminLogEventAction = ChannelAdminLogEvent; @@ -1376,7 +1378,7 @@ account.resetPasswordFailedWait#e3779861 retry_date:int = account.ResetPasswordR account.resetPasswordRequestedWait#e9effc7d until_date:int = account.ResetPasswordResult; account.resetPasswordOk#e926d63e = account.ResetPasswordResult; -sponsoredMessage#bdedf566 flags:# recommended:flags.5?true can_report:flags.12?true random_id:bytes url:string title:string message:string entities:flags.1?Vector photo:flags.6?Photo color:flags.13?PeerColor button_text:string sponsor_info:flags.7?string additional_info:flags.8?string = SponsoredMessage; +sponsoredMessage#4d93a990 flags:# recommended:flags.5?true can_report:flags.12?true random_id:bytes url:string title:string message:string entities:flags.1?Vector photo:flags.6?Photo media:flags.14?MessageMedia color:flags.13?PeerColor button_text:string sponsor_info:flags.7?string additional_info:flags.8?string = SponsoredMessage; messages.sponsoredMessages#c9ee1d87 flags:# posts_between:flags.0?int messages:Vector chats:Vector users:Vector = messages.SponsoredMessages; messages.sponsoredMessagesEmpty#1839490f = messages.SponsoredMessages; @@ -1399,7 +1401,7 @@ auth.loggedOut#c3a2835f flags:# future_auth_token:flags.0?bytes = auth.LoggedOut reactionCount#a3d1cb80 flags:# chosen_order:flags.0?int reaction:Reaction count:int = ReactionCount; -messageReactions#4f2b9479 flags:# min:flags.0?true can_see_list:flags.2?true reactions_as_tags:flags.3?true results:Vector recent_reactions:flags.1?Vector = MessageReactions; +messageReactions#a339f0b flags:# min:flags.0?true can_see_list:flags.2?true reactions_as_tags:flags.3?true results:Vector recent_reactions:flags.1?Vector top_reactors:flags.4?Vector = MessageReactions; messages.messageReactionsList#31bd492d flags:# count:int reactions:Vector chats:Vector users:Vector next_offset:flags.0?string = messages.MessageReactionsList; @@ -1456,6 +1458,7 @@ inputInvoiceMessage#c5b56859 peer:InputPeer msg_id:int = InputInvoice; inputInvoiceSlug#c326caef slug:string = InputInvoice; inputInvoicePremiumGiftCode#98986c0d purpose:InputStorePaymentPurpose option:PremiumGiftCodeOption = InputInvoice; inputInvoiceStars#65f00ce3 purpose:InputStorePaymentPurpose = InputInvoice; +inputInvoiceChatInviteSubscription#34e793f1 hash:string = InputInvoice; payments.exportedInvoice#aed0cbd9 url:string = payments.ExportedInvoice; @@ -1484,6 +1487,7 @@ account.emojiStatuses#90c467d1 hash:long statuses:Vector = account. reactionEmpty#79f5d419 = Reaction; reactionEmoji#1b2286b8 emoticon:string = Reaction; reactionCustomEmoji#8935fc73 document_id:long = Reaction; +reactionPaid#523da4eb = Reaction; chatReactionsNone#eafc32bc = ChatReactions; chatReactionsAll#52928bca flags:# allow_custom:flags.0?true = ChatReactions; @@ -1810,9 +1814,9 @@ starsTransactionPeerAds#60682812 = StarsTransactionPeer; starsTopupOption#bd915c0 flags:# extended:flags.1?true stars:long store_product:flags.0?string currency:string amount:long = StarsTopupOption; -starsTransaction#2db5418f flags:# refund:flags.3?true pending:flags.4?true failed:flags.6?true gift:flags.10?true id:string stars:long date:int peer:StarsTransactionPeer title:flags.0?string description:flags.1?string photo:flags.2?WebDocument transaction_date:flags.5?int transaction_url:flags.5?string bot_payload:flags.7?bytes msg_id:flags.8?int extended_media:flags.9?Vector = StarsTransaction; +starsTransaction#433aeb2b flags:# refund:flags.3?true pending:flags.4?true failed:flags.6?true gift:flags.10?true reaction:flags.11?true id:string stars:long date:int peer:StarsTransactionPeer title:flags.0?string description:flags.1?string photo:flags.2?WebDocument transaction_date:flags.5?int transaction_url:flags.5?string bot_payload:flags.7?bytes msg_id:flags.8?int extended_media:flags.9?Vector subscription_period:flags.12?int = StarsTransaction; -payments.starsStatus#8cf4ee60 flags:# balance:long history:Vector next_offset:flags.0?string chats:Vector users:Vector = payments.StarsStatus; +payments.starsStatus#bbfa316c flags:# balance:long subscriptions:flags.1?Vector subscriptions_next_offset:flags.2?string subscriptions_missing_balance:flags.4?long history:flags.3?Vector next_offset:flags.0?string chats:Vector users:Vector = payments.StarsStatus; foundStory#e87acbc0 peer:Peer story:StoryItem = FoundStory; @@ -1838,6 +1842,12 @@ botPreviewMedia#23e91ba3 date:int media:MessageMedia = BotPreviewMedia; bots.previewInfo#ca71d64 media:Vector lang_codes:Vector = bots.PreviewInfo; +starsSubscriptionPricing#5416d58 period:int amount:long = StarsSubscriptionPricing; + +starsSubscription#538ecf18 flags:# canceled:flags.0?true can_refulfill:flags.1?true missing_balance:flags.2?true id:string peer:Peer until_date:int pricing:StarsSubscriptionPricing chat_invite_hash:flags.3?string = StarsSubscription; + +messageReactor#4ba3a95a flags:# top:flags.0?true my:flags.1?true anonymous:flags.2?true peer_id:flags.3?Peer count:int = MessageReactor; + ---functions--- invokeAfterMsg#cb9f372d {X:Type} msg_id:long query:!X = X; @@ -2057,7 +2067,7 @@ messages.readMessageContents#36a73f77 id:Vector = messages.AffectedMessages messages.getStickers#d5a5d3a1 emoticon:string hash:long = messages.Stickers; messages.getAllStickers#b8a0a1a8 hash:long = messages.AllStickers; messages.getWebPagePreview#8b68b0cc flags:# message:string entities:flags.3?Vector = MessageMedia; -messages.exportChatInvite#a02ce5d5 flags:# legacy_revoke_permanent:flags.2?true request_needed:flags.3?true peer:InputPeer expire_date:flags.0?int usage_limit:flags.1?int title:flags.4?string = ExportedChatInvite; +messages.exportChatInvite#a455de90 flags:# legacy_revoke_permanent:flags.2?true request_needed:flags.3?true peer:InputPeer expire_date:flags.0?int usage_limit:flags.1?int title:flags.4?string subscription_pricing:flags.5?StarsSubscriptionPricing = ExportedChatInvite; messages.checkChatInvite#3eadb1bb hash:string = ChatInvite; messages.importChatInvite#6c50051c hash:string = Updates; messages.getStickerSet#c8a0ec74 stickerset:InputStickerSet hash:int = messages.StickerSet; @@ -2157,7 +2167,7 @@ messages.editExportedChatInvite#bdca2f75 flags:# revoked:flags.2?true peer:Input messages.deleteRevokedExportedChatInvites#56987bd5 peer:InputPeer admin_id:InputUser = Bool; messages.deleteExportedChatInvite#d464a42b peer:InputPeer link:string = Bool; messages.getAdminsWithInvites#3920e6ef peer:InputPeer = messages.ChatAdminsWithInvites; -messages.getChatInviteImporters#df04dd4e flags:# requested:flags.0?true peer:InputPeer link:flags.1?string q:flags.2?string offset_date:int offset_user:InputUser limit:int = messages.ChatInviteImporters; +messages.getChatInviteImporters#df04dd4e flags:# requested:flags.0?true subscription_expired:flags.3?true peer:InputPeer link:flags.1?string q:flags.2?string offset_date:int offset_user:InputUser limit:int = messages.ChatInviteImporters; messages.setHistoryTTL#b80e5fe4 peer:InputPeer period:int = Updates; messages.checkHistoryImportPeer#5dc60f03 peer:InputPeer = messages.CheckedHistoryImportPeer; messages.setChatTheme#e63be13f peer:InputPeer emoticon:string = Updates; @@ -2171,7 +2181,7 @@ messages.saveDefaultSendAs#ccfddf96 peer:InputPeer send_as:InputPeer = Bool; messages.sendReaction#d30d78d4 flags:# big:flags.1?true add_to_recent:flags.2?true peer:InputPeer msg_id:int reaction:flags.0?Vector = Updates; messages.getMessagesReactions#8bba90e6 peer:InputPeer id:Vector = Updates; messages.getMessageReactionsList#461b3f48 flags:# peer:InputPeer id:int reaction:flags.0?Reaction offset:flags.1?string limit:int = messages.MessageReactionsList; -messages.setChatAvailableReactions#5a150bd4 flags:# peer:InputPeer available_reactions:ChatReactions reactions_limit:flags.0?int = Updates; +messages.setChatAvailableReactions#864b2581 flags:# peer:InputPeer available_reactions:ChatReactions reactions_limit:flags.0?int paid_enabled:flags.1?Bool = Updates; messages.getAvailableReactions#18dea0ac hash:int = messages.AvailableReactions; messages.setDefaultReaction#4f47a016 reaction:Reaction = Bool; messages.translateText#63183030 flags:# peer:flags.0?InputPeer id:flags.0?Vector text:flags.1?Vector to_lang:string = messages.TranslatedText; @@ -2234,6 +2244,8 @@ messages.editFactCheck#589ee75 peer:InputPeer msg_id:int text:TextWithEntities = messages.deleteFactCheck#d1da940c peer:InputPeer msg_id:int = Updates; messages.getFactCheck#b9cdc5ee peer:InputPeer msg_id:Vector = Vector; messages.requestMainWebView#c9e01e7b flags:# compact:flags.7?true peer:InputPeer bot:InputUser start_param:flags.1?string theme_params:flags.0?DataJSON platform:string = WebViewResult; +messages.sendPaidReaction#25c8fe3e flags:# private:flags.0?true peer:InputPeer msg_id:int count:int random_id:long = Updates; +messages.togglePaidReactionPrivacy#849ad397 peer:InputPeer msg_id:int private:Bool = Bool; updates.getState#edd4882a = updates.State; updates.getDifference#19c2f763 flags:# pts:int pts_limit:flags.1?int pts_total_limit:flags.0?int date:int qts:int qts_limit:flags.2?int = updates.Difference; @@ -2299,7 +2311,7 @@ channels.leaveChannel#f836aa95 channel:InputChannel = Updates; channels.inviteToChannel#c9e33d54 channel:InputChannel users:Vector = messages.InvitedUsers; channels.deleteChannel#c0111fe3 channel:InputChannel = Updates; channels.exportMessageLink#e63fadeb flags:# grouped:flags.0?true thread:flags.1?true channel:InputChannel id:int = ExportedMessageLink; -channels.toggleSignatures#1f69b606 channel:InputChannel enabled:Bool = Updates; +channels.toggleSignatures#418d549c flags:# signatures_enabled:flags.0?true profiles_enabled:flags.1?true channel:InputChannel = Updates; channels.getAdminedPublicChannels#f8b036af flags:# by_location:flags.0?true check_limit:flags.1?true for_personal:flags.2?true = messages.Chats; channels.editBanned#96e6cd81 channel:InputChannel participant:InputPeer banned_rights:ChatBannedRights = Updates; channels.getAdminLog#33ddf480 flags:# channel:InputChannel q:string events_filter:flags.0?ChannelAdminLogEventsFilter admins:flags.1?Vector max_id:long min_id:long limit:int = channels.AdminLogResults; @@ -2388,7 +2400,7 @@ payments.getGiveawayInfo#f4239425 peer:InputPeer msg_id:int = payments.GiveawayI payments.launchPrepaidGiveaway#5ff58f20 peer:InputPeer giveaway_id:long purpose:InputStorePaymentPurpose = Updates; payments.getStarsTopupOptions#c00ec7d3 = Vector; payments.getStarsStatus#104fcfa7 peer:InputPeer = payments.StarsStatus; -payments.getStarsTransactions#97938d5a flags:# inbound:flags.0?true outbound:flags.1?true ascending:flags.2?true peer:InputPeer offset:string limit:int = payments.StarsStatus; +payments.getStarsTransactions#69da4557 flags:# inbound:flags.0?true outbound:flags.1?true ascending:flags.2?true subscription_id:flags.3?string peer:InputPeer offset:string limit:int = payments.StarsStatus; payments.sendStarsForm#2bb731d flags:# form_id:long invoice:InputInvoice = payments.PaymentResult; payments.refundStarsCharge#25ae8f4a user_id:InputUser charge_id:string = Updates; payments.getStarsRevenueStats#d91ffad6 flags:# dark:flags.0?true peer:InputPeer = payments.StarsRevenueStats; @@ -2396,6 +2408,9 @@ payments.getStarsRevenueWithdrawalUrl#13bbe8b3 peer:InputPeer stars:long passwor payments.getStarsRevenueAdsAccountUrl#d1d7efc5 peer:InputPeer = payments.StarsRevenueAdsAccountUrl; payments.getStarsTransactionsByID#27842d2e peer:InputPeer id:Vector = payments.StarsStatus; payments.getStarsGiftOptions#d3c96bc8 flags:# user_id:flags.0?InputUser = Vector; +payments.getStarsSubscriptions#32512c5 flags:# missing_balance:flags.0?true peer:InputPeer offset:string = payments.StarsStatus; +payments.changeStarsSubscription#c7770878 flags:# peer:InputPeer subscription_id:string canceled:flags.0?Bool = Bool; +payments.fulfillStarsSubscription#cc5bebb3 peer:InputPeer subscription_id:string = Bool; stickers.createStickerSet#9021ab67 flags:# masks:flags.0?true emojis:flags.5?true text_color:flags.6?true user_id:InputUser title:string short_name:string thumb:flags.2?InputDocument stickers:Vector software:flags.3?string = messages.StickerSet; stickers.removeStickerFromSet#f7760f51 sticker:InputDocument = messages.StickerSet; @@ -2515,4 +2530,4 @@ smsjobs.finishJob#4f1ebf24 flags:# job_id:string error:flags.0?string = Bool; fragment.getCollectibleInfo#be1e85ba collectible:InputCollectible = fragment.CollectibleInfo; -// LAYER 185 +// LAYER 186