@mtcute/core 0.29.6 → 0.30.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/client.cjs +8 -0
- package/client.js +8 -0
- package/highlevel/client.d.cts +23 -7
- package/highlevel/client.d.ts +23 -7
- package/highlevel/methods/bots/answer-bot-guest-chat-query.cjs +26 -0
- package/highlevel/methods/bots/answer-bot-guest-chat-query.d.cts +12 -0
- package/highlevel/methods/bots/answer-bot-guest-chat-query.d.ts +12 -0
- package/highlevel/methods/bots/answer-bot-guest-chat-query.js +21 -0
- package/highlevel/methods/chats/join-chat.cjs +38 -16
- package/highlevel/methods/chats/join-chat.d.cts +20 -6
- package/highlevel/methods/chats/join-chat.d.ts +20 -6
- package/highlevel/methods/chats/join-chat.js +38 -16
- package/highlevel/methods/chats/save-draft.d.cts +4 -1
- package/highlevel/methods/chats/save-draft.d.ts +4 -1
- package/highlevel/methods/messages/send-copy-group.cjs +5 -9
- package/highlevel/methods/messages/send-copy-group.js +5 -9
- package/highlevel/methods.d.cts +3 -0
- package/highlevel/methods.d.ts +3 -0
- package/highlevel/storage/service/peers.cjs +2 -0
- package/highlevel/storage/service/peers.js +2 -0
- package/highlevel/types/files/utils.d.cts +1 -1
- package/highlevel/types/files/utils.d.ts +1 -1
- package/highlevel/types/media/poll.cjs +14 -0
- package/highlevel/types/media/poll.d.cts +6 -0
- package/highlevel/types/media/poll.d.ts +6 -0
- package/highlevel/types/media/poll.js +14 -0
- package/highlevel/types/messages/index.d.cts +1 -0
- package/highlevel/types/messages/index.d.ts +1 -0
- package/highlevel/types/messages/message.cjs +15 -1
- package/highlevel/types/messages/message.d.cts +8 -0
- package/highlevel/types/messages/message.d.ts +8 -0
- package/highlevel/types/messages/message.js +15 -1
- package/highlevel/types/messages/rich-message.cjs +50 -0
- package/highlevel/types/messages/rich-message.d.cts +18 -0
- package/highlevel/types/messages/rich-message.d.ts +18 -0
- package/highlevel/types/messages/rich-message.js +45 -0
- package/highlevel/types/peers/chat-permissions.cjs +6 -0
- package/highlevel/types/peers/chat-permissions.d.cts +4 -0
- package/highlevel/types/peers/chat-permissions.d.ts +4 -0
- package/highlevel/types/peers/chat-permissions.js +6 -0
- package/highlevel/types/peers/full-chat.cjs +6 -0
- package/highlevel/types/peers/full-chat.d.cts +2 -0
- package/highlevel/types/peers/full-chat.d.ts +2 -0
- package/highlevel/types/peers/full-chat.js +6 -0
- package/highlevel/types/peers/user.cjs +8 -0
- package/highlevel/types/peers/user.d.cts +4 -0
- package/highlevel/types/peers/user.d.ts +4 -0
- package/highlevel/types/peers/user.js +8 -0
- package/highlevel/types/updates/bot-guest-chat-query.cjs +39 -0
- package/highlevel/types/updates/bot-guest-chat-query.d.cts +21 -0
- package/highlevel/types/updates/bot-guest-chat-query.d.ts +21 -0
- package/highlevel/types/updates/bot-guest-chat-query.js +34 -0
- package/highlevel/types/updates/index.d.cts +5 -1
- package/highlevel/types/updates/index.d.ts +5 -1
- package/highlevel/types/updates/parse-update.cjs +3 -0
- package/highlevel/types/updates/parse-update.js +3 -0
- package/highlevel/types/updates/user-typing-update.cjs +2 -0
- package/highlevel/types/updates/user-typing-update.js +2 -0
- package/highlevel/updates/manager.cjs +214 -3
- package/highlevel/updates/manager.d.cts +1 -0
- package/highlevel/updates/manager.d.ts +1 -0
- package/highlevel/updates/manager.js +214 -3
- package/highlevel/utils/inspectable.cjs +1 -0
- package/highlevel/utils/inspectable.d.cts +1 -0
- package/highlevel/utils/inspectable.d.ts +1 -0
- package/highlevel/utils/inspectable.js +1 -0
- package/index.cjs +4 -0
- package/index.js +4 -0
- package/methods.cjs +2 -0
- package/methods.js +2 -0
- package/network/flood-control.cjs +149 -0
- package/network/flood-control.d.cts +79 -0
- package/network/flood-control.d.ts +79 -0
- package/network/flood-control.js +144 -0
- package/network/flood-control.test.d.cts +1 -0
- package/network/flood-control.test.d.ts +1 -0
- package/network/mtproto-session.cjs +1 -21
- package/network/mtproto-session.d.cts +1 -5
- package/network/mtproto-session.d.ts +1 -5
- package/network/mtproto-session.js +2 -22
- package/network/multi-session-connection.cjs +26 -16
- package/network/multi-session-connection.d.cts +1 -1
- package/network/multi-session-connection.d.ts +1 -1
- package/network/multi-session-connection.js +26 -16
- package/network/multi-session-connection.test.d.cts +1 -0
- package/network/multi-session-connection.test.d.ts +1 -0
- package/network/network-manager.cjs +3 -2
- package/network/network-manager.d.cts +12 -0
- package/network/network-manager.d.ts +12 -0
- package/network/network-manager.js +3 -2
- package/network/persistent-connection.cjs +25 -1
- package/network/persistent-connection.d.cts +5 -0
- package/network/persistent-connection.d.ts +5 -0
- package/network/persistent-connection.js +25 -1
- package/network/session-connection.cjs +5 -10
- package/network/session-connection.d.cts +0 -2
- package/network/session-connection.d.ts +0 -2
- package/network/session-connection.js +5 -10
- package/package.json +1 -1
- package/tl/api-schema.json +1 -1
- package/tl/binary/reader.cjs +257 -62
- package/tl/binary/reader.js +257 -62
- package/tl/binary/writer.cjs +837 -212
- package/tl/binary/writer.js +837 -212
- package/tl/compat/reader.cjs +31 -0
- package/tl/compat/reader.js +31 -0
- package/tl/index.d.cts +2478 -186
- package/tl/index.d.ts +2478 -186
- package/tl/inner-tl.cjs +34 -10
- package/tl/inner-tl.js +34 -10
- package/utils/binary/compat.cjs +84 -0
- package/utils/binary/compat.js +84 -0
- package/utils/index.d.cts +1 -0
- package/utils/index.d.ts +1 -0
- package/utils/long-utils.cjs +10 -0
- package/utils/long-utils.js +10 -0
- package/utils.cjs +7 -0
- package/utils.js +8 -1
package/tl/inner-tl.cjs
CHANGED
|
@@ -13,7 +13,7 @@ function _isAny() {
|
|
|
13
13
|
return false;
|
|
14
14
|
};
|
|
15
15
|
}
|
|
16
|
-
const LAYER =
|
|
16
|
+
const LAYER = 227;
|
|
17
17
|
class RpcError extends Error {
|
|
18
18
|
constructor(code, text) {
|
|
19
19
|
super("Telegram API error " + code + ": " + text);
|
|
@@ -129,7 +129,7 @@ const isAnyContact = /* @__PURE__ */ _isAny("contact");
|
|
|
129
129
|
const isAnyImportedContact = /* @__PURE__ */ _isAny("importedContact");
|
|
130
130
|
const isAnyContactStatus = /* @__PURE__ */ _isAny("contactStatus");
|
|
131
131
|
const isAnyMessagesFilter = /* @__PURE__ */ _isAny("inputMessagesFilterEmpty", "inputMessagesFilterPhotos", "inputMessagesFilterVideo", "inputMessagesFilterPhotoVideo", "inputMessagesFilterDocument", "inputMessagesFilterUrl", "inputMessagesFilterGif", "inputMessagesFilterVoice", "inputMessagesFilterMusic", "inputMessagesFilterChatPhotos", "inputMessagesFilterPhoneCalls", "inputMessagesFilterRoundVoice", "inputMessagesFilterRoundVideo", "inputMessagesFilterMyMentions", "inputMessagesFilterGeo", "inputMessagesFilterContacts", "inputMessagesFilterPinned", "inputMessagesFilterPoll");
|
|
132
|
-
const isAnyUpdate = /* @__PURE__ */ _isAny("updateNewMessage", "updateMessageID", "updateDeleteMessages", "updateUserTyping", "updateChatUserTyping", "updateChatParticipants", "updateUserStatus", "updateUserName", "updateNewAuthorization", "updateNewEncryptedMessage", "updateEncryptedChatTyping", "updateEncryption", "updateEncryptedMessagesRead", "updateChatParticipantAdd", "updateChatParticipantDelete", "updateDcOptions", "updateNotifySettings", "updateServiceNotification", "updatePrivacy", "updateUserPhone", "updateReadHistoryInbox", "updateReadHistoryOutbox", "updateWebPage", "updateReadMessagesContents", "updateChannelTooLong", "updateChannel", "updateNewChannelMessage", "updateReadChannelInbox", "updateDeleteChannelMessages", "updateChannelMessageViews", "updateChatParticipantAdmin", "updateNewStickerSet", "updateStickerSetsOrder", "updateStickerSets", "updateSavedGifs", "updateBotInlineQuery", "updateBotInlineSend", "updateEditChannelMessage", "updateBotCallbackQuery", "updateEditMessage", "updateInlineBotCallbackQuery", "updateReadChannelOutbox", "updateDraftMessage", "updateReadFeaturedStickers", "updateRecentStickers", "updateConfig", "updatePtsChanged", "updateChannelWebPage", "updateDialogPinned", "updatePinnedDialogs", "updateBotWebhookJSON", "updateBotWebhookJSONQuery", "updateBotShippingQuery", "updateBotPrecheckoutQuery", "updatePhoneCall", "updateLangPackTooLong", "updateLangPack", "updateFavedStickers", "updateChannelReadMessagesContents", "updateContactsReset", "updateChannelAvailableMessages", "updateDialogUnreadMark", "updateMessagePoll", "updateChatDefaultBannedRights", "updateFolderPeers", "updatePeerSettings", "updatePeerLocated", "updateNewScheduledMessage", "updateDeleteScheduledMessages", "updateTheme", "updateGeoLiveViewed", "updateLoginToken", "updateMessagePollVote", "updateDialogFilter", "updateDialogFilterOrder", "updateDialogFilters", "updatePhoneCallSignalingData", "updateChannelMessageForwards", "updateReadChannelDiscussionInbox", "updateReadChannelDiscussionOutbox", "updatePeerBlocked", "updateChannelUserTyping", "updatePinnedMessages", "updatePinnedChannelMessages", "updateChat", "updateGroupCallParticipants", "updateGroupCall", "updatePeerHistoryTTL", "updateChatParticipant", "updateChannelParticipant", "updateBotStopped", "updateGroupCallConnection", "updateBotCommands", "updatePendingJoinRequests", "updateBotChatInviteRequester", "updateMessageReactions", "updateAttachMenuBots", "updateWebViewResultSent", "updateBotMenuButton", "updateSavedRingtones", "updateTranscribedAudio", "updateReadFeaturedEmojiStickers", "updateUserEmojiStatus", "updateRecentEmojiStatuses", "updateRecentReactions", "updateMoveStickerSetToTop", "updateMessageExtendedMedia", "updateUser", "updateAutoSaveSettings", "updateStory", "updateReadStories", "updateStoryID", "updateStoriesStealthMode", "updateSentStoryReaction", "updateBotChatBoost", "updateChannelViewForumAsMessages", "updatePeerWallpaper", "updateBotMessageReaction", "updateBotMessageReactions", "updateSavedDialogPinned", "updatePinnedSavedDialogs", "updateSavedReactionTags", "updateSmsJob", "updateQuickReplies", "updateNewQuickReply", "updateDeleteQuickReply", "updateQuickReplyMessage", "updateDeleteQuickReplyMessages", "updateBotBusinessConnect", "updateBotNewBusinessMessage", "updateBotEditBusinessMessage", "updateBotDeleteBusinessMessage", "updateNewStoryReaction", "updateStarsBalance", "updateBusinessBotCallbackQuery", "updateStarsRevenueStatus", "updateBotPurchasedPaidMedia", "updatePaidReactionPrivacy", "updateSentPhoneCode", "updateGroupCallChainBlocks", "updateReadMonoForumInbox", "updateReadMonoForumOutbox", "updateMonoForumNoPaidException", "updateGroupCallMessage", "updateGroupCallEncryptedMessage", "updatePinnedForumTopic", "updatePinnedForumTopics", "updateDeleteGroupCallMessages", "updateStarGiftAuctionState", "updateStarGiftAuctionUserState", "updateEmojiGameInfo", "updateStarGiftCraftFail", "updateChatParticipantRank", "updateManagedBot", "updateChannelPinnedTopic", "updateChannelPinnedTopics", "mtcute.dummyUpdate");
|
|
132
|
+
const isAnyUpdate = /* @__PURE__ */ _isAny("updateNewMessage", "updateMessageID", "updateDeleteMessages", "updateUserTyping", "updateChatUserTyping", "updateChatParticipants", "updateUserStatus", "updateUserName", "updateNewAuthorization", "updateNewEncryptedMessage", "updateEncryptedChatTyping", "updateEncryption", "updateEncryptedMessagesRead", "updateChatParticipantAdd", "updateChatParticipantDelete", "updateDcOptions", "updateNotifySettings", "updateServiceNotification", "updatePrivacy", "updateUserPhone", "updateReadHistoryInbox", "updateReadHistoryOutbox", "updateWebPage", "updateReadMessagesContents", "updateChannelTooLong", "updateChannel", "updateNewChannelMessage", "updateReadChannelInbox", "updateDeleteChannelMessages", "updateChannelMessageViews", "updateChatParticipantAdmin", "updateNewStickerSet", "updateStickerSetsOrder", "updateStickerSets", "updateSavedGifs", "updateBotInlineQuery", "updateBotInlineSend", "updateEditChannelMessage", "updateBotCallbackQuery", "updateEditMessage", "updateInlineBotCallbackQuery", "updateReadChannelOutbox", "updateDraftMessage", "updateReadFeaturedStickers", "updateRecentStickers", "updateConfig", "updatePtsChanged", "updateChannelWebPage", "updateDialogPinned", "updatePinnedDialogs", "updateBotWebhookJSON", "updateBotWebhookJSONQuery", "updateBotShippingQuery", "updateBotPrecheckoutQuery", "updatePhoneCall", "updateLangPackTooLong", "updateLangPack", "updateFavedStickers", "updateChannelReadMessagesContents", "updateContactsReset", "updateChannelAvailableMessages", "updateDialogUnreadMark", "updateMessagePoll", "updateChatDefaultBannedRights", "updateFolderPeers", "updatePeerSettings", "updatePeerLocated", "updateNewScheduledMessage", "updateDeleteScheduledMessages", "updateTheme", "updateGeoLiveViewed", "updateLoginToken", "updateMessagePollVote", "updateDialogFilter", "updateDialogFilterOrder", "updateDialogFilters", "updatePhoneCallSignalingData", "updateChannelMessageForwards", "updateReadChannelDiscussionInbox", "updateReadChannelDiscussionOutbox", "updatePeerBlocked", "updateChannelUserTyping", "updatePinnedMessages", "updatePinnedChannelMessages", "updateChat", "updateGroupCallParticipants", "updateGroupCall", "updatePeerHistoryTTL", "updateChatParticipant", "updateChannelParticipant", "updateBotStopped", "updateGroupCallConnection", "updateBotCommands", "updatePendingJoinRequests", "updateBotChatInviteRequester", "updateMessageReactions", "updateAttachMenuBots", "updateWebViewResultSent", "updateBotMenuButton", "updateSavedRingtones", "updateTranscribedAudio", "updateReadFeaturedEmojiStickers", "updateUserEmojiStatus", "updateRecentEmojiStatuses", "updateRecentReactions", "updateMoveStickerSetToTop", "updateMessageExtendedMedia", "updateUser", "updateAutoSaveSettings", "updateStory", "updateReadStories", "updateStoryID", "updateStoriesStealthMode", "updateSentStoryReaction", "updateBotChatBoost", "updateChannelViewForumAsMessages", "updatePeerWallpaper", "updateBotMessageReaction", "updateBotMessageReactions", "updateSavedDialogPinned", "updatePinnedSavedDialogs", "updateSavedReactionTags", "updateSmsJob", "updateQuickReplies", "updateNewQuickReply", "updateDeleteQuickReply", "updateQuickReplyMessage", "updateDeleteQuickReplyMessages", "updateBotBusinessConnect", "updateBotNewBusinessMessage", "updateBotEditBusinessMessage", "updateBotDeleteBusinessMessage", "updateNewStoryReaction", "updateStarsBalance", "updateBusinessBotCallbackQuery", "updateStarsRevenueStatus", "updateBotPurchasedPaidMedia", "updatePaidReactionPrivacy", "updateSentPhoneCode", "updateGroupCallChainBlocks", "updateReadMonoForumInbox", "updateReadMonoForumOutbox", "updateMonoForumNoPaidException", "updateGroupCallMessage", "updateGroupCallEncryptedMessage", "updatePinnedForumTopic", "updatePinnedForumTopics", "updateDeleteGroupCallMessages", "updateStarGiftAuctionState", "updateStarGiftAuctionUserState", "updateEmojiGameInfo", "updateStarGiftCraftFail", "updateChatParticipantRank", "updateManagedBot", "updateBotGuestChatQuery", "updateAiComposeTones", "updateJoinChatWebViewDecision", "updateNewBotConnection", "updateWebBrowserSettings", "updateWebBrowserException", "updateChannelPinnedTopic", "updateChannelPinnedTopics", "mtcute.dummyUpdate");
|
|
133
133
|
const isAnyUpdates = /* @__PURE__ */ _isAny("updatesTooLong", "updateShortMessage", "updateShortChatMessage", "updateShort", "updatesCombined", "updates", "updateShortSentMessage");
|
|
134
134
|
const isAnyDcOption = /* @__PURE__ */ _isAny("dcOption");
|
|
135
135
|
const isAnyConfig = /* @__PURE__ */ _isAny("config");
|
|
@@ -142,7 +142,7 @@ const isAnyEncryptedMessage = /* @__PURE__ */ _isAny("encryptedMessage", "encryp
|
|
|
142
142
|
const isAnyInputDocument = /* @__PURE__ */ _isAny("inputDocumentEmpty", "inputDocument");
|
|
143
143
|
const isAnyDocument = /* @__PURE__ */ _isAny("documentEmpty", "document");
|
|
144
144
|
const isAnyNotifyPeer = /* @__PURE__ */ _isAny("notifyPeer", "notifyUsers", "notifyChats", "notifyBroadcasts", "notifyForumTopic");
|
|
145
|
-
const isAnySendMessageAction = /* @__PURE__ */ _isAny("sendMessageTypingAction", "sendMessageCancelAction", "sendMessageRecordVideoAction", "sendMessageUploadVideoAction", "sendMessageRecordAudioAction", "sendMessageUploadAudioAction", "sendMessageUploadPhotoAction", "sendMessageUploadDocumentAction", "sendMessageGeoLocationAction", "sendMessageChooseContactAction", "sendMessageGamePlayAction", "sendMessageRecordRoundAction", "sendMessageUploadRoundAction", "speakingInGroupCallAction", "sendMessageHistoryImportAction", "sendMessageChooseStickerAction", "sendMessageEmojiInteraction", "sendMessageEmojiInteractionSeen", "sendMessageTextDraftAction");
|
|
145
|
+
const isAnySendMessageAction = /* @__PURE__ */ _isAny("sendMessageTypingAction", "sendMessageCancelAction", "sendMessageRecordVideoAction", "sendMessageUploadVideoAction", "sendMessageRecordAudioAction", "sendMessageUploadAudioAction", "sendMessageUploadPhotoAction", "sendMessageUploadDocumentAction", "sendMessageGeoLocationAction", "sendMessageChooseContactAction", "sendMessageGamePlayAction", "sendMessageRecordRoundAction", "sendMessageUploadRoundAction", "speakingInGroupCallAction", "sendMessageHistoryImportAction", "sendMessageChooseStickerAction", "sendMessageEmojiInteraction", "sendMessageEmojiInteractionSeen", "sendMessageTextDraftAction", "inputSendMessageRichMessageDraftAction", "sendMessageRichMessageDraftAction");
|
|
146
146
|
const isAnyInputPrivacyKey = /* @__PURE__ */ _isAny("inputPrivacyKeyStatusTimestamp", "inputPrivacyKeyChatInvite", "inputPrivacyKeyPhoneCall", "inputPrivacyKeyPhoneP2P", "inputPrivacyKeyForwards", "inputPrivacyKeyProfilePhoto", "inputPrivacyKeyPhoneNumber", "inputPrivacyKeyAddedByPhone", "inputPrivacyKeyVoiceMessages", "inputPrivacyKeyAbout", "inputPrivacyKeyBirthday", "inputPrivacyKeyStarGiftsAutoSave", "inputPrivacyKeyNoPaidMessages", "inputPrivacyKeySavedMusic");
|
|
147
147
|
const isAnyPrivacyKey = /* @__PURE__ */ _isAny("privacyKeyStatusTimestamp", "privacyKeyChatInvite", "privacyKeyPhoneCall", "privacyKeyPhoneP2P", "privacyKeyForwards", "privacyKeyProfilePhoto", "privacyKeyPhoneNumber", "privacyKeyAddedByPhone", "privacyKeyVoiceMessages", "privacyKeyAbout", "privacyKeyBirthday", "privacyKeyStarGiftsAutoSave", "privacyKeyNoPaidMessages", "privacyKeySavedMusic");
|
|
148
148
|
const isAnyInputPrivacyRule = /* @__PURE__ */ _isAny("inputPrivacyValueAllowContacts", "inputPrivacyValueAllowAll", "inputPrivacyValueAllowUsers", "inputPrivacyValueDisallowContacts", "inputPrivacyValueDisallowAll", "inputPrivacyValueDisallowUsers", "inputPrivacyValueAllowChatParticipants", "inputPrivacyValueDisallowChatParticipants", "inputPrivacyValueAllowCloseFriends", "inputPrivacyValueAllowPremium", "inputPrivacyValueAllowBots", "inputPrivacyValueDisallowBots");
|
|
@@ -168,16 +168,16 @@ const isAnyMessageRange = /* @__PURE__ */ _isAny("messageRange");
|
|
|
168
168
|
const isAnyChannelMessagesFilter = /* @__PURE__ */ _isAny("channelMessagesFilterEmpty", "channelMessagesFilter");
|
|
169
169
|
const isAnyChannelParticipant = /* @__PURE__ */ _isAny("channelParticipant", "channelParticipantSelf", "channelParticipantCreator", "channelParticipantAdmin", "channelParticipantBanned", "channelParticipantLeft");
|
|
170
170
|
const isAnyChannelParticipantsFilter = /* @__PURE__ */ _isAny("channelParticipantsRecent", "channelParticipantsAdmins", "channelParticipantsKicked", "channelParticipantsBots", "channelParticipantsBanned", "channelParticipantsSearch", "channelParticipantsContacts", "channelParticipantsMentions");
|
|
171
|
-
const isAnyInputBotInlineMessage = /* @__PURE__ */ _isAny("inputBotInlineMessageMediaAuto", "inputBotInlineMessageText", "inputBotInlineMessageMediaGeo", "inputBotInlineMessageMediaVenue", "inputBotInlineMessageMediaContact", "inputBotInlineMessageGame", "inputBotInlineMessageMediaInvoice", "inputBotInlineMessageMediaWebPage");
|
|
171
|
+
const isAnyInputBotInlineMessage = /* @__PURE__ */ _isAny("inputBotInlineMessageMediaAuto", "inputBotInlineMessageText", "inputBotInlineMessageMediaGeo", "inputBotInlineMessageMediaVenue", "inputBotInlineMessageMediaContact", "inputBotInlineMessageGame", "inputBotInlineMessageMediaInvoice", "inputBotInlineMessageMediaWebPage", "inputBotInlineMessageRichMessage");
|
|
172
172
|
const isAnyInputBotInlineResult = /* @__PURE__ */ _isAny("inputBotInlineResult", "inputBotInlineResultPhoto", "inputBotInlineResultDocument", "inputBotInlineResultGame");
|
|
173
|
-
const isAnyBotInlineMessage = /* @__PURE__ */ _isAny("botInlineMessageMediaAuto", "botInlineMessageText", "botInlineMessageMediaGeo", "botInlineMessageMediaVenue", "botInlineMessageMediaContact", "botInlineMessageMediaInvoice", "botInlineMessageMediaWebPage");
|
|
173
|
+
const isAnyBotInlineMessage = /* @__PURE__ */ _isAny("botInlineMessageMediaAuto", "botInlineMessageText", "botInlineMessageMediaGeo", "botInlineMessageMediaVenue", "botInlineMessageMediaContact", "botInlineMessageMediaInvoice", "botInlineMessageMediaWebPage", "botInlineMessageRichMessage");
|
|
174
174
|
const isAnyBotInlineResult = /* @__PURE__ */ _isAny("botInlineResult", "botInlineMediaResult");
|
|
175
175
|
const isAnyExportedMessageLink = /* @__PURE__ */ _isAny("exportedMessageLink");
|
|
176
176
|
const isAnyMessageFwdHeader = /* @__PURE__ */ _isAny("messageFwdHeader");
|
|
177
177
|
const isAnyInputBotInlineMessageID = /* @__PURE__ */ _isAny("inputBotInlineMessageID", "inputBotInlineMessageID64");
|
|
178
178
|
const isAnyInlineBotSwitchPM = /* @__PURE__ */ _isAny("inlineBotSwitchPM");
|
|
179
179
|
const isAnyTopPeer = /* @__PURE__ */ _isAny("topPeer");
|
|
180
|
-
const isAnyTopPeerCategory = /* @__PURE__ */ _isAny("topPeerCategoryBotsPM", "topPeerCategoryBotsInline", "topPeerCategoryCorrespondents", "topPeerCategoryGroups", "topPeerCategoryChannels", "topPeerCategoryPhoneCalls", "topPeerCategoryForwardUsers", "topPeerCategoryForwardChats", "topPeerCategoryBotsApp");
|
|
180
|
+
const isAnyTopPeerCategory = /* @__PURE__ */ _isAny("topPeerCategoryBotsPM", "topPeerCategoryBotsInline", "topPeerCategoryCorrespondents", "topPeerCategoryGroups", "topPeerCategoryChannels", "topPeerCategoryPhoneCalls", "topPeerCategoryForwardUsers", "topPeerCategoryForwardChats", "topPeerCategoryBotsApp", "topPeerCategoryBotsGuestChat");
|
|
181
181
|
const isAnyTopPeerCategoryPeers = /* @__PURE__ */ _isAny("topPeerCategoryPeers");
|
|
182
182
|
const isAnyDraftMessage = /* @__PURE__ */ _isAny("draftMessageEmpty", "draftMessage");
|
|
183
183
|
const isAnyStickerSetCovered = /* @__PURE__ */ _isAny("stickerSetCovered", "stickerSetMultiCovered", "stickerSetFullCovered", "stickerSetNoCovered");
|
|
@@ -186,8 +186,8 @@ const isAnyInputStickeredMedia = /* @__PURE__ */ _isAny("inputStickeredMediaPhot
|
|
|
186
186
|
const isAnyGame = /* @__PURE__ */ _isAny("game");
|
|
187
187
|
const isAnyInputGame = /* @__PURE__ */ _isAny("inputGameID", "inputGameShortName");
|
|
188
188
|
const isAnyHighScore = /* @__PURE__ */ _isAny("highScore");
|
|
189
|
-
const isAnyRichText = /* @__PURE__ */ _isAny("textEmpty", "textPlain", "textBold", "textItalic", "textUnderline", "textStrike", "textFixed", "textUrl", "textEmail", "textConcat", "textSubscript", "textSuperscript", "textMarked", "textPhone", "textImage", "textAnchor");
|
|
190
|
-
const isAnyPageBlock = /* @__PURE__ */ _isAny("pageBlockUnsupported", "pageBlockTitle", "pageBlockSubtitle", "pageBlockAuthorDate", "pageBlockHeader", "pageBlockSubheader", "pageBlockParagraph", "pageBlockPreformatted", "pageBlockFooter", "pageBlockDivider", "pageBlockAnchor", "pageBlockList", "pageBlockBlockquote", "pageBlockPullquote", "pageBlockPhoto", "pageBlockVideo", "pageBlockCover", "pageBlockEmbed", "pageBlockEmbedPost", "pageBlockCollage", "pageBlockSlideshow", "pageBlockChannel", "pageBlockAudio", "pageBlockKicker", "pageBlockTable", "pageBlockOrderedList", "pageBlockDetails", "pageBlockRelatedArticles", "pageBlockMap");
|
|
189
|
+
const isAnyRichText = /* @__PURE__ */ _isAny("textEmpty", "textPlain", "textBold", "textItalic", "textUnderline", "textStrike", "textFixed", "textUrl", "textEmail", "textConcat", "textSubscript", "textSuperscript", "textMarked", "textPhone", "textImage", "textAnchor", "textMath", "textCustomEmoji", "textSpoiler", "textMention", "textHashtag", "textBotCommand", "textCashtag", "textAutoUrl", "textAutoEmail", "textAutoPhone", "textBankCard", "textMentionName", "textDate");
|
|
190
|
+
const isAnyPageBlock = /* @__PURE__ */ _isAny("pageBlockUnsupported", "pageBlockTitle", "pageBlockSubtitle", "pageBlockAuthorDate", "pageBlockHeader", "pageBlockSubheader", "pageBlockParagraph", "pageBlockPreformatted", "pageBlockFooter", "pageBlockDivider", "pageBlockAnchor", "pageBlockList", "pageBlockBlockquote", "pageBlockPullquote", "pageBlockPhoto", "pageBlockVideo", "pageBlockCover", "pageBlockEmbed", "pageBlockEmbedPost", "pageBlockCollage", "pageBlockSlideshow", "pageBlockChannel", "pageBlockAudio", "pageBlockKicker", "pageBlockTable", "pageBlockOrderedList", "pageBlockDetails", "pageBlockRelatedArticles", "pageBlockMap", "pageBlockHeading1", "pageBlockHeading2", "pageBlockHeading3", "pageBlockHeading4", "pageBlockHeading5", "pageBlockHeading6", "pageBlockMath", "pageBlockThinking", "inputPageBlockMap", "pageBlockBlockquoteBlocks");
|
|
191
191
|
const isAnyPhoneCallDiscardReason = /* @__PURE__ */ _isAny("phoneCallDiscardReasonMissed", "phoneCallDiscardReasonDisconnect", "phoneCallDiscardReasonHangup", "phoneCallDiscardReasonBusy", "phoneCallDiscardReasonMigrateConferenceCall");
|
|
192
192
|
const isAnyDataJSON = /* @__PURE__ */ _isAny("dataJSON");
|
|
193
193
|
const isAnyLabeledPrice = /* @__PURE__ */ _isAny("labeledPrice");
|
|
@@ -277,7 +277,7 @@ const isAnyTheme = /* @__PURE__ */ _isAny("theme");
|
|
|
277
277
|
const isAnyBaseTheme = /* @__PURE__ */ _isAny("baseThemeClassic", "baseThemeDay", "baseThemeNight", "baseThemeTinted", "baseThemeArctic");
|
|
278
278
|
const isAnyInputThemeSettings = /* @__PURE__ */ _isAny("inputThemeSettings");
|
|
279
279
|
const isAnyThemeSettings = /* @__PURE__ */ _isAny("themeSettings");
|
|
280
|
-
const isAnyWebPageAttribute = /* @__PURE__ */ _isAny("webPageAttributeTheme", "webPageAttributeStory", "webPageAttributeStickerSet", "webPageAttributeUniqueStarGift", "webPageAttributeStarGiftCollection", "webPageAttributeStarGiftAuction");
|
|
280
|
+
const isAnyWebPageAttribute = /* @__PURE__ */ _isAny("webPageAttributeTheme", "webPageAttributeStory", "webPageAttributeStickerSet", "webPageAttributeUniqueStarGift", "webPageAttributeStarGiftCollection", "webPageAttributeStarGiftAuction", "webPageAttributeAiComposeTone");
|
|
281
281
|
const isAnyBankCardOpenUrl = /* @__PURE__ */ _isAny("bankCardOpenUrl");
|
|
282
282
|
const isAnyDialogFilter = /* @__PURE__ */ _isAny("dialogFilter", "dialogFilterDefault", "dialogFilterChatlist");
|
|
283
283
|
const isAnyDialogFilterSuggested = /* @__PURE__ */ _isAny("dialogFilterSuggested");
|
|
@@ -466,6 +466,13 @@ const isAnyStarGiftAuctionRound = /* @__PURE__ */ _isAny("starGiftAuctionRound",
|
|
|
466
466
|
const isAnyStarGiftAttributeRarity = /* @__PURE__ */ _isAny("starGiftAttributeRarity", "starGiftAttributeRarityUncommon", "starGiftAttributeRarityRare", "starGiftAttributeRarityEpic", "starGiftAttributeRarityLegendary");
|
|
467
467
|
const isAnyKeyboardButtonStyle = /* @__PURE__ */ _isAny("keyboardButtonStyle");
|
|
468
468
|
const isAnyInputMessageReadMetric = /* @__PURE__ */ _isAny("inputMessageReadMetric");
|
|
469
|
+
const isAnyInputAiComposeTone = /* @__PURE__ */ _isAny("inputAiComposeToneDefault", "inputAiComposeToneID", "inputAiComposeToneSlug");
|
|
470
|
+
const isAnyAiComposeTone = /* @__PURE__ */ _isAny("aiComposeTone", "aiComposeToneDefault");
|
|
471
|
+
const isAnyAiComposeToneExample = /* @__PURE__ */ _isAny("aiComposeToneExample");
|
|
472
|
+
const isAnyJoinChatBotResult = /* @__PURE__ */ _isAny("joinChatBotResultApproved", "joinChatBotResultDeclined", "joinChatBotResultQueued", "joinChatBotResultWebView");
|
|
473
|
+
const isAnyWebDomainException = /* @__PURE__ */ _isAny("webDomainException");
|
|
474
|
+
const isAnyRichMessage = /* @__PURE__ */ _isAny("richMessage");
|
|
475
|
+
const isAnyInputRichMessage = /* @__PURE__ */ _isAny("inputRichMessage", "inputRichMessageHTML", "inputRichMessageMarkdown");
|
|
469
476
|
const isAnyStorage_FileType = /* @__PURE__ */ _isAny("storage.fileUnknown", "storage.filePartial", "storage.fileJpeg", "storage.fileGif", "storage.filePng", "storage.filePdf", "storage.fileMp3", "storage.fileMov", "storage.fileMp4", "storage.fileWebp");
|
|
470
477
|
const isAnyAuth_SentCode = /* @__PURE__ */ _isAny("auth.sentCode", "auth.sentCodeSuccess", "auth.sentCodePaymentRequired");
|
|
471
478
|
const isAnyAuth_Authorization = /* @__PURE__ */ _isAny("auth.authorization", "auth.authorizationSignUpRequired");
|
|
@@ -547,6 +554,7 @@ const isAnyMessages_WebPagePreview = /* @__PURE__ */ _isAny("messages.webPagePre
|
|
|
547
554
|
const isAnyMessages_EmojiGameOutcome = /* @__PURE__ */ _isAny("messages.emojiGameOutcome");
|
|
548
555
|
const isAnyMessages_EmojiGameInfo = /* @__PURE__ */ _isAny("messages.emojiGameUnavailable", "messages.emojiGameDiceInfo");
|
|
549
556
|
const isAnyMessages_ComposedMessageWithAI = /* @__PURE__ */ _isAny("messages.composedMessageWithAI");
|
|
557
|
+
const isAnyMessages_ChatInviteJoinResult = /* @__PURE__ */ _isAny("messages.chatInviteJoinResultOk", "messages.chatInviteJoinResultWebView");
|
|
550
558
|
const isAnyUpdates_State = /* @__PURE__ */ _isAny("updates.state");
|
|
551
559
|
const isAnyUpdates_Difference = /* @__PURE__ */ _isAny("updates.differenceEmpty", "updates.difference", "updates.differenceSlice", "updates.differenceTooLong");
|
|
552
560
|
const isAnyUpdates_ChannelDifference = /* @__PURE__ */ _isAny("updates.channelDifferenceEmpty", "updates.channelDifferenceTooLong", "updates.channelDifference");
|
|
@@ -603,6 +611,7 @@ const isAnyAccount_PaidMessagesRevenue = /* @__PURE__ */ _isAny("account.paidMes
|
|
|
603
611
|
const isAnyAccount_SavedMusicIds = /* @__PURE__ */ _isAny("account.savedMusicIdsNotModified", "account.savedMusicIds");
|
|
604
612
|
const isAnyAccount_Passkeys = /* @__PURE__ */ _isAny("account.passkeys");
|
|
605
613
|
const isAnyAccount_PasskeyRegistrationOptions = /* @__PURE__ */ _isAny("account.passkeyRegistrationOptions");
|
|
614
|
+
const isAnyAccount_WebBrowserSettings = /* @__PURE__ */ _isAny("account.webBrowserSettingsNotModified", "account.webBrowserSettings");
|
|
606
615
|
const isAnyChannels_ChannelParticipants = /* @__PURE__ */ _isAny("channels.channelParticipants", "channels.channelParticipantsNotModified");
|
|
607
616
|
const isAnyChannels_ChannelParticipant = /* @__PURE__ */ _isAny("channels.channelParticipant");
|
|
608
617
|
const isAnyChannels_AdminLogResults = /* @__PURE__ */ _isAny("channels.adminLogResults");
|
|
@@ -649,6 +658,7 @@ const isAnyStats_MegagroupStats = /* @__PURE__ */ _isAny("stats.megagroupStats")
|
|
|
649
658
|
const isAnyStats_MessageStats = /* @__PURE__ */ _isAny("stats.messageStats");
|
|
650
659
|
const isAnyStats_StoryStats = /* @__PURE__ */ _isAny("stats.storyStats");
|
|
651
660
|
const isAnyStats_PublicForwards = /* @__PURE__ */ _isAny("stats.publicForwards");
|
|
661
|
+
const isAnyStats_PollStats = /* @__PURE__ */ _isAny("stats.pollStats");
|
|
652
662
|
const isAnyStickers_SuggestedShortName = /* @__PURE__ */ _isAny("stickers.suggestedShortName");
|
|
653
663
|
const isAnyUsers_UserFull = /* @__PURE__ */ _isAny("users.userFull");
|
|
654
664
|
const isAnyUsers_Users = /* @__PURE__ */ _isAny("users.users", "users.usersSlice");
|
|
@@ -662,6 +672,7 @@ const isAnyBots_PopularAppBots = /* @__PURE__ */ _isAny("bots.popularAppBots");
|
|
|
662
672
|
const isAnyBots_PreviewInfo = /* @__PURE__ */ _isAny("bots.previewInfo");
|
|
663
673
|
const isAnyBots_ExportedBotToken = /* @__PURE__ */ _isAny("bots.exportedBotToken");
|
|
664
674
|
const isAnyBots_RequestedButton = /* @__PURE__ */ _isAny("bots.requestedButton");
|
|
675
|
+
const isAnyBots_AccessSettings = /* @__PURE__ */ _isAny("bots.accessSettings");
|
|
665
676
|
const isAnyStories_AllStories = /* @__PURE__ */ _isAny("stories.allStoriesNotModified", "stories.allStories");
|
|
666
677
|
const isAnyStories_Stories = /* @__PURE__ */ _isAny("stories.stories");
|
|
667
678
|
const isAnyStories_StoryViewsList = /* @__PURE__ */ _isAny("stories.storyViewsList");
|
|
@@ -677,7 +688,8 @@ const isAnyPremium_BoostsStatus = /* @__PURE__ */ _isAny("premium.boostsStatus")
|
|
|
677
688
|
const isAnySmsjobs_EligibilityToJoin = /* @__PURE__ */ _isAny("smsjobs.eligibleToJoin");
|
|
678
689
|
const isAnySmsjobs_Status = /* @__PURE__ */ _isAny("smsjobs.status");
|
|
679
690
|
const isAnyFragment_CollectibleInfo = /* @__PURE__ */ _isAny("fragment.collectibleInfo");
|
|
680
|
-
const
|
|
691
|
+
const isAnyAicompose_Tones = /* @__PURE__ */ _isAny("aicompose.tonesNotModified", "aicompose.tones");
|
|
692
|
+
const isAnyMtcute_Update = /* @__PURE__ */ _isAny("updateNewMessage", "updateMessageID", "updateDeleteMessages", "updateUserTyping", "updateChatUserTyping", "updateChatParticipants", "updateUserStatus", "updateUserName", "updateNewAuthorization", "updateNewEncryptedMessage", "updateEncryptedChatTyping", "updateEncryption", "updateEncryptedMessagesRead", "updateChatParticipantAdd", "updateChatParticipantDelete", "updateDcOptions", "updateNotifySettings", "updateServiceNotification", "updatePrivacy", "updateUserPhone", "updateReadHistoryInbox", "updateReadHistoryOutbox", "updateWebPage", "updateReadMessagesContents", "updateChannelTooLong", "updateChannel", "updateNewChannelMessage", "updateReadChannelInbox", "updateDeleteChannelMessages", "updateChannelMessageViews", "updateChatParticipantAdmin", "updateNewStickerSet", "updateStickerSetsOrder", "updateStickerSets", "updateSavedGifs", "updateBotInlineQuery", "updateBotInlineSend", "updateEditChannelMessage", "updateBotCallbackQuery", "updateEditMessage", "updateInlineBotCallbackQuery", "updateReadChannelOutbox", "updateDraftMessage", "updateReadFeaturedStickers", "updateRecentStickers", "updateConfig", "updatePtsChanged", "updateChannelWebPage", "updateDialogPinned", "updatePinnedDialogs", "updateBotWebhookJSON", "updateBotWebhookJSONQuery", "updateBotShippingQuery", "updateBotPrecheckoutQuery", "updatePhoneCall", "updateLangPackTooLong", "updateLangPack", "updateFavedStickers", "updateChannelReadMessagesContents", "updateContactsReset", "updateChannelAvailableMessages", "updateDialogUnreadMark", "updateMessagePoll", "updateChatDefaultBannedRights", "updateFolderPeers", "updatePeerSettings", "updatePeerLocated", "updateNewScheduledMessage", "updateDeleteScheduledMessages", "updateTheme", "updateGeoLiveViewed", "updateLoginToken", "updateMessagePollVote", "updateDialogFilter", "updateDialogFilterOrder", "updateDialogFilters", "updatePhoneCallSignalingData", "updateChannelMessageForwards", "updateReadChannelDiscussionInbox", "updateReadChannelDiscussionOutbox", "updatePeerBlocked", "updateChannelUserTyping", "updatePinnedMessages", "updatePinnedChannelMessages", "updateChat", "updateGroupCallParticipants", "updateGroupCall", "updatePeerHistoryTTL", "updateChatParticipant", "updateChannelParticipant", "updateBotStopped", "updateGroupCallConnection", "updateBotCommands", "updatePendingJoinRequests", "updateBotChatInviteRequester", "updateMessageReactions", "updateAttachMenuBots", "updateWebViewResultSent", "updateBotMenuButton", "updateSavedRingtones", "updateTranscribedAudio", "updateReadFeaturedEmojiStickers", "updateUserEmojiStatus", "updateRecentEmojiStatuses", "updateRecentReactions", "updateMoveStickerSetToTop", "updateMessageExtendedMedia", "updateUser", "updateAutoSaveSettings", "updateStory", "updateReadStories", "updateStoryID", "updateStoriesStealthMode", "updateSentStoryReaction", "updateBotChatBoost", "updateChannelViewForumAsMessages", "updatePeerWallpaper", "updateBotMessageReaction", "updateBotMessageReactions", "updateSavedDialogPinned", "updatePinnedSavedDialogs", "updateSavedReactionTags", "updateSmsJob", "updateQuickReplies", "updateNewQuickReply", "updateDeleteQuickReply", "updateQuickReplyMessage", "updateDeleteQuickReplyMessages", "updateBotBusinessConnect", "updateBotNewBusinessMessage", "updateBotEditBusinessMessage", "updateBotDeleteBusinessMessage", "updateNewStoryReaction", "updateStarsBalance", "updateBusinessBotCallbackQuery", "updateStarsRevenueStatus", "updateBotPurchasedPaidMedia", "updatePaidReactionPrivacy", "updateSentPhoneCode", "updateGroupCallChainBlocks", "updateReadMonoForumInbox", "updateReadMonoForumOutbox", "updateMonoForumNoPaidException", "updateGroupCallMessage", "updateGroupCallEncryptedMessage", "updatePinnedForumTopic", "updatePinnedForumTopics", "updateDeleteGroupCallMessages", "updateStarGiftAuctionState", "updateStarGiftAuctionUserState", "updateEmojiGameInfo", "updateStarGiftCraftFail", "updateChatParticipantRank", "updateManagedBot", "updateBotGuestChatQuery", "updateAiComposeTones", "updateJoinChatWebViewDecision", "updateNewBotConnection", "updateWebBrowserSettings", "updateWebBrowserException", "updateChannelPinnedTopic", "updateChannelPinnedTopics", "mtcute.dummyUpdate");
|
|
681
693
|
const isAnyMtcute_InputPeer = /* @__PURE__ */ _isAny("inputPeerEmpty", "inputPeerSelf", "inputPeerChat", "inputPeerUser", "inputPeerChannel", "inputPeerUserFromMessage", "inputPeerChannelFromMessage", "mtcute.dummyInputPeerMinUser", "mtcute.dummyInputPeerMinChannel");
|
|
682
694
|
exports.LAYER = LAYER;
|
|
683
695
|
exports.RpcError = RpcError;
|
|
@@ -710,6 +722,10 @@ exports.isAnyAccount_Themes = isAnyAccount_Themes;
|
|
|
710
722
|
exports.isAnyAccount_TmpPassword = isAnyAccount_TmpPassword;
|
|
711
723
|
exports.isAnyAccount_WallPapers = isAnyAccount_WallPapers;
|
|
712
724
|
exports.isAnyAccount_WebAuthorizations = isAnyAccount_WebAuthorizations;
|
|
725
|
+
exports.isAnyAccount_WebBrowserSettings = isAnyAccount_WebBrowserSettings;
|
|
726
|
+
exports.isAnyAiComposeTone = isAnyAiComposeTone;
|
|
727
|
+
exports.isAnyAiComposeToneExample = isAnyAiComposeToneExample;
|
|
728
|
+
exports.isAnyAicompose_Tones = isAnyAicompose_Tones;
|
|
713
729
|
exports.isAnyAttachMenuBot = isAnyAttachMenuBot;
|
|
714
730
|
exports.isAnyAttachMenuBotIcon = isAnyAttachMenuBotIcon;
|
|
715
731
|
exports.isAnyAttachMenuBotIconColor = isAnyAttachMenuBotIconColor;
|
|
@@ -748,6 +764,7 @@ exports.isAnyBotMenuButton = isAnyBotMenuButton;
|
|
|
748
764
|
exports.isAnyBotPreviewMedia = isAnyBotPreviewMedia;
|
|
749
765
|
exports.isAnyBotVerification = isAnyBotVerification;
|
|
750
766
|
exports.isAnyBotVerifierSettings = isAnyBotVerifierSettings;
|
|
767
|
+
exports.isAnyBots_AccessSettings = isAnyBots_AccessSettings;
|
|
751
768
|
exports.isAnyBots_BotInfo = isAnyBots_BotInfo;
|
|
752
769
|
exports.isAnyBots_ExportedBotToken = isAnyBots_ExportedBotToken;
|
|
753
770
|
exports.isAnyBots_PopularAppBots = isAnyBots_PopularAppBots;
|
|
@@ -882,6 +899,7 @@ exports.isAnyImportedContact = isAnyImportedContact;
|
|
|
882
899
|
exports.isAnyInlineBotSwitchPM = isAnyInlineBotSwitchPM;
|
|
883
900
|
exports.isAnyInlineBotWebView = isAnyInlineBotWebView;
|
|
884
901
|
exports.isAnyInlineQueryPeerType = isAnyInlineQueryPeerType;
|
|
902
|
+
exports.isAnyInputAiComposeTone = isAnyInputAiComposeTone;
|
|
885
903
|
exports.isAnyInputAppEvent = isAnyInputAppEvent;
|
|
886
904
|
exports.isAnyInputBotApp = isAnyInputBotApp;
|
|
887
905
|
exports.isAnyInputBotInlineMessage = isAnyInputBotInlineMessage;
|
|
@@ -927,6 +945,7 @@ exports.isAnyInputPrivacyKey = isAnyInputPrivacyKey;
|
|
|
927
945
|
exports.isAnyInputPrivacyRule = isAnyInputPrivacyRule;
|
|
928
946
|
exports.isAnyInputQuickReplyShortcut = isAnyInputQuickReplyShortcut;
|
|
929
947
|
exports.isAnyInputReplyTo = isAnyInputReplyTo;
|
|
948
|
+
exports.isAnyInputRichMessage = isAnyInputRichMessage;
|
|
930
949
|
exports.isAnyInputSavedStarGift = isAnyInputSavedStarGift;
|
|
931
950
|
exports.isAnyInputSecureFile = isAnyInputSecureFile;
|
|
932
951
|
exports.isAnyInputSecureValue = isAnyInputSecureValue;
|
|
@@ -946,6 +965,7 @@ exports.isAnyInputWebFileLocation = isAnyInputWebFileLocation;
|
|
|
946
965
|
exports.isAnyInvoice = isAnyInvoice;
|
|
947
966
|
exports.isAnyJSONObjectValue = isAnyJSONObjectValue;
|
|
948
967
|
exports.isAnyJSONValue = isAnyJSONValue;
|
|
968
|
+
exports.isAnyJoinChatBotResult = isAnyJoinChatBotResult;
|
|
949
969
|
exports.isAnyKeyboardButton = isAnyKeyboardButton;
|
|
950
970
|
exports.isAnyKeyboardButtonRow = isAnyKeyboardButtonRow;
|
|
951
971
|
exports.isAnyKeyboardButtonStyle = isAnyKeyboardButtonStyle;
|
|
@@ -986,6 +1006,7 @@ exports.isAnyMessages_BotResults = isAnyMessages_BotResults;
|
|
|
986
1006
|
exports.isAnyMessages_ChatAdminsWithInvites = isAnyMessages_ChatAdminsWithInvites;
|
|
987
1007
|
exports.isAnyMessages_ChatFull = isAnyMessages_ChatFull;
|
|
988
1008
|
exports.isAnyMessages_ChatInviteImporters = isAnyMessages_ChatInviteImporters;
|
|
1009
|
+
exports.isAnyMessages_ChatInviteJoinResult = isAnyMessages_ChatInviteJoinResult;
|
|
989
1010
|
exports.isAnyMessages_Chats = isAnyMessages_Chats;
|
|
990
1011
|
exports.isAnyMessages_CheckedHistoryImportPeer = isAnyMessages_CheckedHistoryImportPeer;
|
|
991
1012
|
exports.isAnyMessages_ComposedMessageWithAI = isAnyMessages_ComposedMessageWithAI;
|
|
@@ -1143,6 +1164,7 @@ exports.isAnyRequestPeerType = isAnyRequestPeerType;
|
|
|
1143
1164
|
exports.isAnyRequestedPeer = isAnyRequestedPeer;
|
|
1144
1165
|
exports.isAnyRequirementToContact = isAnyRequirementToContact;
|
|
1145
1166
|
exports.isAnyRestrictionReason = isAnyRestrictionReason;
|
|
1167
|
+
exports.isAnyRichMessage = isAnyRichMessage;
|
|
1146
1168
|
exports.isAnyRichText = isAnyRichText;
|
|
1147
1169
|
exports.isAnySavedContact = isAnySavedContact;
|
|
1148
1170
|
exports.isAnySavedDialog = isAnySavedDialog;
|
|
@@ -1207,6 +1229,7 @@ exports.isAnyStatsURL = isAnyStatsURL;
|
|
|
1207
1229
|
exports.isAnyStats_BroadcastStats = isAnyStats_BroadcastStats;
|
|
1208
1230
|
exports.isAnyStats_MegagroupStats = isAnyStats_MegagroupStats;
|
|
1209
1231
|
exports.isAnyStats_MessageStats = isAnyStats_MessageStats;
|
|
1232
|
+
exports.isAnyStats_PollStats = isAnyStats_PollStats;
|
|
1210
1233
|
exports.isAnyStats_PublicForwards = isAnyStats_PublicForwards;
|
|
1211
1234
|
exports.isAnyStats_StoryStats = isAnyStats_StoryStats;
|
|
1212
1235
|
exports.isAnyStickerKeyword = isAnyStickerKeyword;
|
|
@@ -1264,6 +1287,7 @@ exports.isAnyWallPaper = isAnyWallPaper;
|
|
|
1264
1287
|
exports.isAnyWallPaperSettings = isAnyWallPaperSettings;
|
|
1265
1288
|
exports.isAnyWebAuthorization = isAnyWebAuthorization;
|
|
1266
1289
|
exports.isAnyWebDocument = isAnyWebDocument;
|
|
1290
|
+
exports.isAnyWebDomainException = isAnyWebDomainException;
|
|
1267
1291
|
exports.isAnyWebPage = isAnyWebPage;
|
|
1268
1292
|
exports.isAnyWebPageAttribute = isAnyWebPageAttribute;
|
|
1269
1293
|
exports.isAnyWebViewMessageSent = isAnyWebViewMessageSent;
|
package/tl/inner-tl.js
CHANGED
|
@@ -6,7 +6,7 @@ function _isAny() {
|
|
|
6
6
|
return false;
|
|
7
7
|
};
|
|
8
8
|
}
|
|
9
|
-
const LAYER =
|
|
9
|
+
const LAYER = 227;
|
|
10
10
|
class RpcError extends Error {
|
|
11
11
|
constructor(code, text) {
|
|
12
12
|
super("Telegram API error " + code + ": " + text);
|
|
@@ -122,7 +122,7 @@ const isAnyContact = /* @__PURE__ */ _isAny("contact");
|
|
|
122
122
|
const isAnyImportedContact = /* @__PURE__ */ _isAny("importedContact");
|
|
123
123
|
const isAnyContactStatus = /* @__PURE__ */ _isAny("contactStatus");
|
|
124
124
|
const isAnyMessagesFilter = /* @__PURE__ */ _isAny("inputMessagesFilterEmpty", "inputMessagesFilterPhotos", "inputMessagesFilterVideo", "inputMessagesFilterPhotoVideo", "inputMessagesFilterDocument", "inputMessagesFilterUrl", "inputMessagesFilterGif", "inputMessagesFilterVoice", "inputMessagesFilterMusic", "inputMessagesFilterChatPhotos", "inputMessagesFilterPhoneCalls", "inputMessagesFilterRoundVoice", "inputMessagesFilterRoundVideo", "inputMessagesFilterMyMentions", "inputMessagesFilterGeo", "inputMessagesFilterContacts", "inputMessagesFilterPinned", "inputMessagesFilterPoll");
|
|
125
|
-
const isAnyUpdate = /* @__PURE__ */ _isAny("updateNewMessage", "updateMessageID", "updateDeleteMessages", "updateUserTyping", "updateChatUserTyping", "updateChatParticipants", "updateUserStatus", "updateUserName", "updateNewAuthorization", "updateNewEncryptedMessage", "updateEncryptedChatTyping", "updateEncryption", "updateEncryptedMessagesRead", "updateChatParticipantAdd", "updateChatParticipantDelete", "updateDcOptions", "updateNotifySettings", "updateServiceNotification", "updatePrivacy", "updateUserPhone", "updateReadHistoryInbox", "updateReadHistoryOutbox", "updateWebPage", "updateReadMessagesContents", "updateChannelTooLong", "updateChannel", "updateNewChannelMessage", "updateReadChannelInbox", "updateDeleteChannelMessages", "updateChannelMessageViews", "updateChatParticipantAdmin", "updateNewStickerSet", "updateStickerSetsOrder", "updateStickerSets", "updateSavedGifs", "updateBotInlineQuery", "updateBotInlineSend", "updateEditChannelMessage", "updateBotCallbackQuery", "updateEditMessage", "updateInlineBotCallbackQuery", "updateReadChannelOutbox", "updateDraftMessage", "updateReadFeaturedStickers", "updateRecentStickers", "updateConfig", "updatePtsChanged", "updateChannelWebPage", "updateDialogPinned", "updatePinnedDialogs", "updateBotWebhookJSON", "updateBotWebhookJSONQuery", "updateBotShippingQuery", "updateBotPrecheckoutQuery", "updatePhoneCall", "updateLangPackTooLong", "updateLangPack", "updateFavedStickers", "updateChannelReadMessagesContents", "updateContactsReset", "updateChannelAvailableMessages", "updateDialogUnreadMark", "updateMessagePoll", "updateChatDefaultBannedRights", "updateFolderPeers", "updatePeerSettings", "updatePeerLocated", "updateNewScheduledMessage", "updateDeleteScheduledMessages", "updateTheme", "updateGeoLiveViewed", "updateLoginToken", "updateMessagePollVote", "updateDialogFilter", "updateDialogFilterOrder", "updateDialogFilters", "updatePhoneCallSignalingData", "updateChannelMessageForwards", "updateReadChannelDiscussionInbox", "updateReadChannelDiscussionOutbox", "updatePeerBlocked", "updateChannelUserTyping", "updatePinnedMessages", "updatePinnedChannelMessages", "updateChat", "updateGroupCallParticipants", "updateGroupCall", "updatePeerHistoryTTL", "updateChatParticipant", "updateChannelParticipant", "updateBotStopped", "updateGroupCallConnection", "updateBotCommands", "updatePendingJoinRequests", "updateBotChatInviteRequester", "updateMessageReactions", "updateAttachMenuBots", "updateWebViewResultSent", "updateBotMenuButton", "updateSavedRingtones", "updateTranscribedAudio", "updateReadFeaturedEmojiStickers", "updateUserEmojiStatus", "updateRecentEmojiStatuses", "updateRecentReactions", "updateMoveStickerSetToTop", "updateMessageExtendedMedia", "updateUser", "updateAutoSaveSettings", "updateStory", "updateReadStories", "updateStoryID", "updateStoriesStealthMode", "updateSentStoryReaction", "updateBotChatBoost", "updateChannelViewForumAsMessages", "updatePeerWallpaper", "updateBotMessageReaction", "updateBotMessageReactions", "updateSavedDialogPinned", "updatePinnedSavedDialogs", "updateSavedReactionTags", "updateSmsJob", "updateQuickReplies", "updateNewQuickReply", "updateDeleteQuickReply", "updateQuickReplyMessage", "updateDeleteQuickReplyMessages", "updateBotBusinessConnect", "updateBotNewBusinessMessage", "updateBotEditBusinessMessage", "updateBotDeleteBusinessMessage", "updateNewStoryReaction", "updateStarsBalance", "updateBusinessBotCallbackQuery", "updateStarsRevenueStatus", "updateBotPurchasedPaidMedia", "updatePaidReactionPrivacy", "updateSentPhoneCode", "updateGroupCallChainBlocks", "updateReadMonoForumInbox", "updateReadMonoForumOutbox", "updateMonoForumNoPaidException", "updateGroupCallMessage", "updateGroupCallEncryptedMessage", "updatePinnedForumTopic", "updatePinnedForumTopics", "updateDeleteGroupCallMessages", "updateStarGiftAuctionState", "updateStarGiftAuctionUserState", "updateEmojiGameInfo", "updateStarGiftCraftFail", "updateChatParticipantRank", "updateManagedBot", "updateChannelPinnedTopic", "updateChannelPinnedTopics", "mtcute.dummyUpdate");
|
|
125
|
+
const isAnyUpdate = /* @__PURE__ */ _isAny("updateNewMessage", "updateMessageID", "updateDeleteMessages", "updateUserTyping", "updateChatUserTyping", "updateChatParticipants", "updateUserStatus", "updateUserName", "updateNewAuthorization", "updateNewEncryptedMessage", "updateEncryptedChatTyping", "updateEncryption", "updateEncryptedMessagesRead", "updateChatParticipantAdd", "updateChatParticipantDelete", "updateDcOptions", "updateNotifySettings", "updateServiceNotification", "updatePrivacy", "updateUserPhone", "updateReadHistoryInbox", "updateReadHistoryOutbox", "updateWebPage", "updateReadMessagesContents", "updateChannelTooLong", "updateChannel", "updateNewChannelMessage", "updateReadChannelInbox", "updateDeleteChannelMessages", "updateChannelMessageViews", "updateChatParticipantAdmin", "updateNewStickerSet", "updateStickerSetsOrder", "updateStickerSets", "updateSavedGifs", "updateBotInlineQuery", "updateBotInlineSend", "updateEditChannelMessage", "updateBotCallbackQuery", "updateEditMessage", "updateInlineBotCallbackQuery", "updateReadChannelOutbox", "updateDraftMessage", "updateReadFeaturedStickers", "updateRecentStickers", "updateConfig", "updatePtsChanged", "updateChannelWebPage", "updateDialogPinned", "updatePinnedDialogs", "updateBotWebhookJSON", "updateBotWebhookJSONQuery", "updateBotShippingQuery", "updateBotPrecheckoutQuery", "updatePhoneCall", "updateLangPackTooLong", "updateLangPack", "updateFavedStickers", "updateChannelReadMessagesContents", "updateContactsReset", "updateChannelAvailableMessages", "updateDialogUnreadMark", "updateMessagePoll", "updateChatDefaultBannedRights", "updateFolderPeers", "updatePeerSettings", "updatePeerLocated", "updateNewScheduledMessage", "updateDeleteScheduledMessages", "updateTheme", "updateGeoLiveViewed", "updateLoginToken", "updateMessagePollVote", "updateDialogFilter", "updateDialogFilterOrder", "updateDialogFilters", "updatePhoneCallSignalingData", "updateChannelMessageForwards", "updateReadChannelDiscussionInbox", "updateReadChannelDiscussionOutbox", "updatePeerBlocked", "updateChannelUserTyping", "updatePinnedMessages", "updatePinnedChannelMessages", "updateChat", "updateGroupCallParticipants", "updateGroupCall", "updatePeerHistoryTTL", "updateChatParticipant", "updateChannelParticipant", "updateBotStopped", "updateGroupCallConnection", "updateBotCommands", "updatePendingJoinRequests", "updateBotChatInviteRequester", "updateMessageReactions", "updateAttachMenuBots", "updateWebViewResultSent", "updateBotMenuButton", "updateSavedRingtones", "updateTranscribedAudio", "updateReadFeaturedEmojiStickers", "updateUserEmojiStatus", "updateRecentEmojiStatuses", "updateRecentReactions", "updateMoveStickerSetToTop", "updateMessageExtendedMedia", "updateUser", "updateAutoSaveSettings", "updateStory", "updateReadStories", "updateStoryID", "updateStoriesStealthMode", "updateSentStoryReaction", "updateBotChatBoost", "updateChannelViewForumAsMessages", "updatePeerWallpaper", "updateBotMessageReaction", "updateBotMessageReactions", "updateSavedDialogPinned", "updatePinnedSavedDialogs", "updateSavedReactionTags", "updateSmsJob", "updateQuickReplies", "updateNewQuickReply", "updateDeleteQuickReply", "updateQuickReplyMessage", "updateDeleteQuickReplyMessages", "updateBotBusinessConnect", "updateBotNewBusinessMessage", "updateBotEditBusinessMessage", "updateBotDeleteBusinessMessage", "updateNewStoryReaction", "updateStarsBalance", "updateBusinessBotCallbackQuery", "updateStarsRevenueStatus", "updateBotPurchasedPaidMedia", "updatePaidReactionPrivacy", "updateSentPhoneCode", "updateGroupCallChainBlocks", "updateReadMonoForumInbox", "updateReadMonoForumOutbox", "updateMonoForumNoPaidException", "updateGroupCallMessage", "updateGroupCallEncryptedMessage", "updatePinnedForumTopic", "updatePinnedForumTopics", "updateDeleteGroupCallMessages", "updateStarGiftAuctionState", "updateStarGiftAuctionUserState", "updateEmojiGameInfo", "updateStarGiftCraftFail", "updateChatParticipantRank", "updateManagedBot", "updateBotGuestChatQuery", "updateAiComposeTones", "updateJoinChatWebViewDecision", "updateNewBotConnection", "updateWebBrowserSettings", "updateWebBrowserException", "updateChannelPinnedTopic", "updateChannelPinnedTopics", "mtcute.dummyUpdate");
|
|
126
126
|
const isAnyUpdates = /* @__PURE__ */ _isAny("updatesTooLong", "updateShortMessage", "updateShortChatMessage", "updateShort", "updatesCombined", "updates", "updateShortSentMessage");
|
|
127
127
|
const isAnyDcOption = /* @__PURE__ */ _isAny("dcOption");
|
|
128
128
|
const isAnyConfig = /* @__PURE__ */ _isAny("config");
|
|
@@ -135,7 +135,7 @@ const isAnyEncryptedMessage = /* @__PURE__ */ _isAny("encryptedMessage", "encryp
|
|
|
135
135
|
const isAnyInputDocument = /* @__PURE__ */ _isAny("inputDocumentEmpty", "inputDocument");
|
|
136
136
|
const isAnyDocument = /* @__PURE__ */ _isAny("documentEmpty", "document");
|
|
137
137
|
const isAnyNotifyPeer = /* @__PURE__ */ _isAny("notifyPeer", "notifyUsers", "notifyChats", "notifyBroadcasts", "notifyForumTopic");
|
|
138
|
-
const isAnySendMessageAction = /* @__PURE__ */ _isAny("sendMessageTypingAction", "sendMessageCancelAction", "sendMessageRecordVideoAction", "sendMessageUploadVideoAction", "sendMessageRecordAudioAction", "sendMessageUploadAudioAction", "sendMessageUploadPhotoAction", "sendMessageUploadDocumentAction", "sendMessageGeoLocationAction", "sendMessageChooseContactAction", "sendMessageGamePlayAction", "sendMessageRecordRoundAction", "sendMessageUploadRoundAction", "speakingInGroupCallAction", "sendMessageHistoryImportAction", "sendMessageChooseStickerAction", "sendMessageEmojiInteraction", "sendMessageEmojiInteractionSeen", "sendMessageTextDraftAction");
|
|
138
|
+
const isAnySendMessageAction = /* @__PURE__ */ _isAny("sendMessageTypingAction", "sendMessageCancelAction", "sendMessageRecordVideoAction", "sendMessageUploadVideoAction", "sendMessageRecordAudioAction", "sendMessageUploadAudioAction", "sendMessageUploadPhotoAction", "sendMessageUploadDocumentAction", "sendMessageGeoLocationAction", "sendMessageChooseContactAction", "sendMessageGamePlayAction", "sendMessageRecordRoundAction", "sendMessageUploadRoundAction", "speakingInGroupCallAction", "sendMessageHistoryImportAction", "sendMessageChooseStickerAction", "sendMessageEmojiInteraction", "sendMessageEmojiInteractionSeen", "sendMessageTextDraftAction", "inputSendMessageRichMessageDraftAction", "sendMessageRichMessageDraftAction");
|
|
139
139
|
const isAnyInputPrivacyKey = /* @__PURE__ */ _isAny("inputPrivacyKeyStatusTimestamp", "inputPrivacyKeyChatInvite", "inputPrivacyKeyPhoneCall", "inputPrivacyKeyPhoneP2P", "inputPrivacyKeyForwards", "inputPrivacyKeyProfilePhoto", "inputPrivacyKeyPhoneNumber", "inputPrivacyKeyAddedByPhone", "inputPrivacyKeyVoiceMessages", "inputPrivacyKeyAbout", "inputPrivacyKeyBirthday", "inputPrivacyKeyStarGiftsAutoSave", "inputPrivacyKeyNoPaidMessages", "inputPrivacyKeySavedMusic");
|
|
140
140
|
const isAnyPrivacyKey = /* @__PURE__ */ _isAny("privacyKeyStatusTimestamp", "privacyKeyChatInvite", "privacyKeyPhoneCall", "privacyKeyPhoneP2P", "privacyKeyForwards", "privacyKeyProfilePhoto", "privacyKeyPhoneNumber", "privacyKeyAddedByPhone", "privacyKeyVoiceMessages", "privacyKeyAbout", "privacyKeyBirthday", "privacyKeyStarGiftsAutoSave", "privacyKeyNoPaidMessages", "privacyKeySavedMusic");
|
|
141
141
|
const isAnyInputPrivacyRule = /* @__PURE__ */ _isAny("inputPrivacyValueAllowContacts", "inputPrivacyValueAllowAll", "inputPrivacyValueAllowUsers", "inputPrivacyValueDisallowContacts", "inputPrivacyValueDisallowAll", "inputPrivacyValueDisallowUsers", "inputPrivacyValueAllowChatParticipants", "inputPrivacyValueDisallowChatParticipants", "inputPrivacyValueAllowCloseFriends", "inputPrivacyValueAllowPremium", "inputPrivacyValueAllowBots", "inputPrivacyValueDisallowBots");
|
|
@@ -161,16 +161,16 @@ const isAnyMessageRange = /* @__PURE__ */ _isAny("messageRange");
|
|
|
161
161
|
const isAnyChannelMessagesFilter = /* @__PURE__ */ _isAny("channelMessagesFilterEmpty", "channelMessagesFilter");
|
|
162
162
|
const isAnyChannelParticipant = /* @__PURE__ */ _isAny("channelParticipant", "channelParticipantSelf", "channelParticipantCreator", "channelParticipantAdmin", "channelParticipantBanned", "channelParticipantLeft");
|
|
163
163
|
const isAnyChannelParticipantsFilter = /* @__PURE__ */ _isAny("channelParticipantsRecent", "channelParticipantsAdmins", "channelParticipantsKicked", "channelParticipantsBots", "channelParticipantsBanned", "channelParticipantsSearch", "channelParticipantsContacts", "channelParticipantsMentions");
|
|
164
|
-
const isAnyInputBotInlineMessage = /* @__PURE__ */ _isAny("inputBotInlineMessageMediaAuto", "inputBotInlineMessageText", "inputBotInlineMessageMediaGeo", "inputBotInlineMessageMediaVenue", "inputBotInlineMessageMediaContact", "inputBotInlineMessageGame", "inputBotInlineMessageMediaInvoice", "inputBotInlineMessageMediaWebPage");
|
|
164
|
+
const isAnyInputBotInlineMessage = /* @__PURE__ */ _isAny("inputBotInlineMessageMediaAuto", "inputBotInlineMessageText", "inputBotInlineMessageMediaGeo", "inputBotInlineMessageMediaVenue", "inputBotInlineMessageMediaContact", "inputBotInlineMessageGame", "inputBotInlineMessageMediaInvoice", "inputBotInlineMessageMediaWebPage", "inputBotInlineMessageRichMessage");
|
|
165
165
|
const isAnyInputBotInlineResult = /* @__PURE__ */ _isAny("inputBotInlineResult", "inputBotInlineResultPhoto", "inputBotInlineResultDocument", "inputBotInlineResultGame");
|
|
166
|
-
const isAnyBotInlineMessage = /* @__PURE__ */ _isAny("botInlineMessageMediaAuto", "botInlineMessageText", "botInlineMessageMediaGeo", "botInlineMessageMediaVenue", "botInlineMessageMediaContact", "botInlineMessageMediaInvoice", "botInlineMessageMediaWebPage");
|
|
166
|
+
const isAnyBotInlineMessage = /* @__PURE__ */ _isAny("botInlineMessageMediaAuto", "botInlineMessageText", "botInlineMessageMediaGeo", "botInlineMessageMediaVenue", "botInlineMessageMediaContact", "botInlineMessageMediaInvoice", "botInlineMessageMediaWebPage", "botInlineMessageRichMessage");
|
|
167
167
|
const isAnyBotInlineResult = /* @__PURE__ */ _isAny("botInlineResult", "botInlineMediaResult");
|
|
168
168
|
const isAnyExportedMessageLink = /* @__PURE__ */ _isAny("exportedMessageLink");
|
|
169
169
|
const isAnyMessageFwdHeader = /* @__PURE__ */ _isAny("messageFwdHeader");
|
|
170
170
|
const isAnyInputBotInlineMessageID = /* @__PURE__ */ _isAny("inputBotInlineMessageID", "inputBotInlineMessageID64");
|
|
171
171
|
const isAnyInlineBotSwitchPM = /* @__PURE__ */ _isAny("inlineBotSwitchPM");
|
|
172
172
|
const isAnyTopPeer = /* @__PURE__ */ _isAny("topPeer");
|
|
173
|
-
const isAnyTopPeerCategory = /* @__PURE__ */ _isAny("topPeerCategoryBotsPM", "topPeerCategoryBotsInline", "topPeerCategoryCorrespondents", "topPeerCategoryGroups", "topPeerCategoryChannels", "topPeerCategoryPhoneCalls", "topPeerCategoryForwardUsers", "topPeerCategoryForwardChats", "topPeerCategoryBotsApp");
|
|
173
|
+
const isAnyTopPeerCategory = /* @__PURE__ */ _isAny("topPeerCategoryBotsPM", "topPeerCategoryBotsInline", "topPeerCategoryCorrespondents", "topPeerCategoryGroups", "topPeerCategoryChannels", "topPeerCategoryPhoneCalls", "topPeerCategoryForwardUsers", "topPeerCategoryForwardChats", "topPeerCategoryBotsApp", "topPeerCategoryBotsGuestChat");
|
|
174
174
|
const isAnyTopPeerCategoryPeers = /* @__PURE__ */ _isAny("topPeerCategoryPeers");
|
|
175
175
|
const isAnyDraftMessage = /* @__PURE__ */ _isAny("draftMessageEmpty", "draftMessage");
|
|
176
176
|
const isAnyStickerSetCovered = /* @__PURE__ */ _isAny("stickerSetCovered", "stickerSetMultiCovered", "stickerSetFullCovered", "stickerSetNoCovered");
|
|
@@ -179,8 +179,8 @@ const isAnyInputStickeredMedia = /* @__PURE__ */ _isAny("inputStickeredMediaPhot
|
|
|
179
179
|
const isAnyGame = /* @__PURE__ */ _isAny("game");
|
|
180
180
|
const isAnyInputGame = /* @__PURE__ */ _isAny("inputGameID", "inputGameShortName");
|
|
181
181
|
const isAnyHighScore = /* @__PURE__ */ _isAny("highScore");
|
|
182
|
-
const isAnyRichText = /* @__PURE__ */ _isAny("textEmpty", "textPlain", "textBold", "textItalic", "textUnderline", "textStrike", "textFixed", "textUrl", "textEmail", "textConcat", "textSubscript", "textSuperscript", "textMarked", "textPhone", "textImage", "textAnchor");
|
|
183
|
-
const isAnyPageBlock = /* @__PURE__ */ _isAny("pageBlockUnsupported", "pageBlockTitle", "pageBlockSubtitle", "pageBlockAuthorDate", "pageBlockHeader", "pageBlockSubheader", "pageBlockParagraph", "pageBlockPreformatted", "pageBlockFooter", "pageBlockDivider", "pageBlockAnchor", "pageBlockList", "pageBlockBlockquote", "pageBlockPullquote", "pageBlockPhoto", "pageBlockVideo", "pageBlockCover", "pageBlockEmbed", "pageBlockEmbedPost", "pageBlockCollage", "pageBlockSlideshow", "pageBlockChannel", "pageBlockAudio", "pageBlockKicker", "pageBlockTable", "pageBlockOrderedList", "pageBlockDetails", "pageBlockRelatedArticles", "pageBlockMap");
|
|
182
|
+
const isAnyRichText = /* @__PURE__ */ _isAny("textEmpty", "textPlain", "textBold", "textItalic", "textUnderline", "textStrike", "textFixed", "textUrl", "textEmail", "textConcat", "textSubscript", "textSuperscript", "textMarked", "textPhone", "textImage", "textAnchor", "textMath", "textCustomEmoji", "textSpoiler", "textMention", "textHashtag", "textBotCommand", "textCashtag", "textAutoUrl", "textAutoEmail", "textAutoPhone", "textBankCard", "textMentionName", "textDate");
|
|
183
|
+
const isAnyPageBlock = /* @__PURE__ */ _isAny("pageBlockUnsupported", "pageBlockTitle", "pageBlockSubtitle", "pageBlockAuthorDate", "pageBlockHeader", "pageBlockSubheader", "pageBlockParagraph", "pageBlockPreformatted", "pageBlockFooter", "pageBlockDivider", "pageBlockAnchor", "pageBlockList", "pageBlockBlockquote", "pageBlockPullquote", "pageBlockPhoto", "pageBlockVideo", "pageBlockCover", "pageBlockEmbed", "pageBlockEmbedPost", "pageBlockCollage", "pageBlockSlideshow", "pageBlockChannel", "pageBlockAudio", "pageBlockKicker", "pageBlockTable", "pageBlockOrderedList", "pageBlockDetails", "pageBlockRelatedArticles", "pageBlockMap", "pageBlockHeading1", "pageBlockHeading2", "pageBlockHeading3", "pageBlockHeading4", "pageBlockHeading5", "pageBlockHeading6", "pageBlockMath", "pageBlockThinking", "inputPageBlockMap", "pageBlockBlockquoteBlocks");
|
|
184
184
|
const isAnyPhoneCallDiscardReason = /* @__PURE__ */ _isAny("phoneCallDiscardReasonMissed", "phoneCallDiscardReasonDisconnect", "phoneCallDiscardReasonHangup", "phoneCallDiscardReasonBusy", "phoneCallDiscardReasonMigrateConferenceCall");
|
|
185
185
|
const isAnyDataJSON = /* @__PURE__ */ _isAny("dataJSON");
|
|
186
186
|
const isAnyLabeledPrice = /* @__PURE__ */ _isAny("labeledPrice");
|
|
@@ -270,7 +270,7 @@ const isAnyTheme = /* @__PURE__ */ _isAny("theme");
|
|
|
270
270
|
const isAnyBaseTheme = /* @__PURE__ */ _isAny("baseThemeClassic", "baseThemeDay", "baseThemeNight", "baseThemeTinted", "baseThemeArctic");
|
|
271
271
|
const isAnyInputThemeSettings = /* @__PURE__ */ _isAny("inputThemeSettings");
|
|
272
272
|
const isAnyThemeSettings = /* @__PURE__ */ _isAny("themeSettings");
|
|
273
|
-
const isAnyWebPageAttribute = /* @__PURE__ */ _isAny("webPageAttributeTheme", "webPageAttributeStory", "webPageAttributeStickerSet", "webPageAttributeUniqueStarGift", "webPageAttributeStarGiftCollection", "webPageAttributeStarGiftAuction");
|
|
273
|
+
const isAnyWebPageAttribute = /* @__PURE__ */ _isAny("webPageAttributeTheme", "webPageAttributeStory", "webPageAttributeStickerSet", "webPageAttributeUniqueStarGift", "webPageAttributeStarGiftCollection", "webPageAttributeStarGiftAuction", "webPageAttributeAiComposeTone");
|
|
274
274
|
const isAnyBankCardOpenUrl = /* @__PURE__ */ _isAny("bankCardOpenUrl");
|
|
275
275
|
const isAnyDialogFilter = /* @__PURE__ */ _isAny("dialogFilter", "dialogFilterDefault", "dialogFilterChatlist");
|
|
276
276
|
const isAnyDialogFilterSuggested = /* @__PURE__ */ _isAny("dialogFilterSuggested");
|
|
@@ -459,6 +459,13 @@ const isAnyStarGiftAuctionRound = /* @__PURE__ */ _isAny("starGiftAuctionRound",
|
|
|
459
459
|
const isAnyStarGiftAttributeRarity = /* @__PURE__ */ _isAny("starGiftAttributeRarity", "starGiftAttributeRarityUncommon", "starGiftAttributeRarityRare", "starGiftAttributeRarityEpic", "starGiftAttributeRarityLegendary");
|
|
460
460
|
const isAnyKeyboardButtonStyle = /* @__PURE__ */ _isAny("keyboardButtonStyle");
|
|
461
461
|
const isAnyInputMessageReadMetric = /* @__PURE__ */ _isAny("inputMessageReadMetric");
|
|
462
|
+
const isAnyInputAiComposeTone = /* @__PURE__ */ _isAny("inputAiComposeToneDefault", "inputAiComposeToneID", "inputAiComposeToneSlug");
|
|
463
|
+
const isAnyAiComposeTone = /* @__PURE__ */ _isAny("aiComposeTone", "aiComposeToneDefault");
|
|
464
|
+
const isAnyAiComposeToneExample = /* @__PURE__ */ _isAny("aiComposeToneExample");
|
|
465
|
+
const isAnyJoinChatBotResult = /* @__PURE__ */ _isAny("joinChatBotResultApproved", "joinChatBotResultDeclined", "joinChatBotResultQueued", "joinChatBotResultWebView");
|
|
466
|
+
const isAnyWebDomainException = /* @__PURE__ */ _isAny("webDomainException");
|
|
467
|
+
const isAnyRichMessage = /* @__PURE__ */ _isAny("richMessage");
|
|
468
|
+
const isAnyInputRichMessage = /* @__PURE__ */ _isAny("inputRichMessage", "inputRichMessageHTML", "inputRichMessageMarkdown");
|
|
462
469
|
const isAnyStorage_FileType = /* @__PURE__ */ _isAny("storage.fileUnknown", "storage.filePartial", "storage.fileJpeg", "storage.fileGif", "storage.filePng", "storage.filePdf", "storage.fileMp3", "storage.fileMov", "storage.fileMp4", "storage.fileWebp");
|
|
463
470
|
const isAnyAuth_SentCode = /* @__PURE__ */ _isAny("auth.sentCode", "auth.sentCodeSuccess", "auth.sentCodePaymentRequired");
|
|
464
471
|
const isAnyAuth_Authorization = /* @__PURE__ */ _isAny("auth.authorization", "auth.authorizationSignUpRequired");
|
|
@@ -540,6 +547,7 @@ const isAnyMessages_WebPagePreview = /* @__PURE__ */ _isAny("messages.webPagePre
|
|
|
540
547
|
const isAnyMessages_EmojiGameOutcome = /* @__PURE__ */ _isAny("messages.emojiGameOutcome");
|
|
541
548
|
const isAnyMessages_EmojiGameInfo = /* @__PURE__ */ _isAny("messages.emojiGameUnavailable", "messages.emojiGameDiceInfo");
|
|
542
549
|
const isAnyMessages_ComposedMessageWithAI = /* @__PURE__ */ _isAny("messages.composedMessageWithAI");
|
|
550
|
+
const isAnyMessages_ChatInviteJoinResult = /* @__PURE__ */ _isAny("messages.chatInviteJoinResultOk", "messages.chatInviteJoinResultWebView");
|
|
543
551
|
const isAnyUpdates_State = /* @__PURE__ */ _isAny("updates.state");
|
|
544
552
|
const isAnyUpdates_Difference = /* @__PURE__ */ _isAny("updates.differenceEmpty", "updates.difference", "updates.differenceSlice", "updates.differenceTooLong");
|
|
545
553
|
const isAnyUpdates_ChannelDifference = /* @__PURE__ */ _isAny("updates.channelDifferenceEmpty", "updates.channelDifferenceTooLong", "updates.channelDifference");
|
|
@@ -596,6 +604,7 @@ const isAnyAccount_PaidMessagesRevenue = /* @__PURE__ */ _isAny("account.paidMes
|
|
|
596
604
|
const isAnyAccount_SavedMusicIds = /* @__PURE__ */ _isAny("account.savedMusicIdsNotModified", "account.savedMusicIds");
|
|
597
605
|
const isAnyAccount_Passkeys = /* @__PURE__ */ _isAny("account.passkeys");
|
|
598
606
|
const isAnyAccount_PasskeyRegistrationOptions = /* @__PURE__ */ _isAny("account.passkeyRegistrationOptions");
|
|
607
|
+
const isAnyAccount_WebBrowserSettings = /* @__PURE__ */ _isAny("account.webBrowserSettingsNotModified", "account.webBrowserSettings");
|
|
599
608
|
const isAnyChannels_ChannelParticipants = /* @__PURE__ */ _isAny("channels.channelParticipants", "channels.channelParticipantsNotModified");
|
|
600
609
|
const isAnyChannels_ChannelParticipant = /* @__PURE__ */ _isAny("channels.channelParticipant");
|
|
601
610
|
const isAnyChannels_AdminLogResults = /* @__PURE__ */ _isAny("channels.adminLogResults");
|
|
@@ -642,6 +651,7 @@ const isAnyStats_MegagroupStats = /* @__PURE__ */ _isAny("stats.megagroupStats")
|
|
|
642
651
|
const isAnyStats_MessageStats = /* @__PURE__ */ _isAny("stats.messageStats");
|
|
643
652
|
const isAnyStats_StoryStats = /* @__PURE__ */ _isAny("stats.storyStats");
|
|
644
653
|
const isAnyStats_PublicForwards = /* @__PURE__ */ _isAny("stats.publicForwards");
|
|
654
|
+
const isAnyStats_PollStats = /* @__PURE__ */ _isAny("stats.pollStats");
|
|
645
655
|
const isAnyStickers_SuggestedShortName = /* @__PURE__ */ _isAny("stickers.suggestedShortName");
|
|
646
656
|
const isAnyUsers_UserFull = /* @__PURE__ */ _isAny("users.userFull");
|
|
647
657
|
const isAnyUsers_Users = /* @__PURE__ */ _isAny("users.users", "users.usersSlice");
|
|
@@ -655,6 +665,7 @@ const isAnyBots_PopularAppBots = /* @__PURE__ */ _isAny("bots.popularAppBots");
|
|
|
655
665
|
const isAnyBots_PreviewInfo = /* @__PURE__ */ _isAny("bots.previewInfo");
|
|
656
666
|
const isAnyBots_ExportedBotToken = /* @__PURE__ */ _isAny("bots.exportedBotToken");
|
|
657
667
|
const isAnyBots_RequestedButton = /* @__PURE__ */ _isAny("bots.requestedButton");
|
|
668
|
+
const isAnyBots_AccessSettings = /* @__PURE__ */ _isAny("bots.accessSettings");
|
|
658
669
|
const isAnyStories_AllStories = /* @__PURE__ */ _isAny("stories.allStoriesNotModified", "stories.allStories");
|
|
659
670
|
const isAnyStories_Stories = /* @__PURE__ */ _isAny("stories.stories");
|
|
660
671
|
const isAnyStories_StoryViewsList = /* @__PURE__ */ _isAny("stories.storyViewsList");
|
|
@@ -670,7 +681,8 @@ const isAnyPremium_BoostsStatus = /* @__PURE__ */ _isAny("premium.boostsStatus")
|
|
|
670
681
|
const isAnySmsjobs_EligibilityToJoin = /* @__PURE__ */ _isAny("smsjobs.eligibleToJoin");
|
|
671
682
|
const isAnySmsjobs_Status = /* @__PURE__ */ _isAny("smsjobs.status");
|
|
672
683
|
const isAnyFragment_CollectibleInfo = /* @__PURE__ */ _isAny("fragment.collectibleInfo");
|
|
673
|
-
const
|
|
684
|
+
const isAnyAicompose_Tones = /* @__PURE__ */ _isAny("aicompose.tonesNotModified", "aicompose.tones");
|
|
685
|
+
const isAnyMtcute_Update = /* @__PURE__ */ _isAny("updateNewMessage", "updateMessageID", "updateDeleteMessages", "updateUserTyping", "updateChatUserTyping", "updateChatParticipants", "updateUserStatus", "updateUserName", "updateNewAuthorization", "updateNewEncryptedMessage", "updateEncryptedChatTyping", "updateEncryption", "updateEncryptedMessagesRead", "updateChatParticipantAdd", "updateChatParticipantDelete", "updateDcOptions", "updateNotifySettings", "updateServiceNotification", "updatePrivacy", "updateUserPhone", "updateReadHistoryInbox", "updateReadHistoryOutbox", "updateWebPage", "updateReadMessagesContents", "updateChannelTooLong", "updateChannel", "updateNewChannelMessage", "updateReadChannelInbox", "updateDeleteChannelMessages", "updateChannelMessageViews", "updateChatParticipantAdmin", "updateNewStickerSet", "updateStickerSetsOrder", "updateStickerSets", "updateSavedGifs", "updateBotInlineQuery", "updateBotInlineSend", "updateEditChannelMessage", "updateBotCallbackQuery", "updateEditMessage", "updateInlineBotCallbackQuery", "updateReadChannelOutbox", "updateDraftMessage", "updateReadFeaturedStickers", "updateRecentStickers", "updateConfig", "updatePtsChanged", "updateChannelWebPage", "updateDialogPinned", "updatePinnedDialogs", "updateBotWebhookJSON", "updateBotWebhookJSONQuery", "updateBotShippingQuery", "updateBotPrecheckoutQuery", "updatePhoneCall", "updateLangPackTooLong", "updateLangPack", "updateFavedStickers", "updateChannelReadMessagesContents", "updateContactsReset", "updateChannelAvailableMessages", "updateDialogUnreadMark", "updateMessagePoll", "updateChatDefaultBannedRights", "updateFolderPeers", "updatePeerSettings", "updatePeerLocated", "updateNewScheduledMessage", "updateDeleteScheduledMessages", "updateTheme", "updateGeoLiveViewed", "updateLoginToken", "updateMessagePollVote", "updateDialogFilter", "updateDialogFilterOrder", "updateDialogFilters", "updatePhoneCallSignalingData", "updateChannelMessageForwards", "updateReadChannelDiscussionInbox", "updateReadChannelDiscussionOutbox", "updatePeerBlocked", "updateChannelUserTyping", "updatePinnedMessages", "updatePinnedChannelMessages", "updateChat", "updateGroupCallParticipants", "updateGroupCall", "updatePeerHistoryTTL", "updateChatParticipant", "updateChannelParticipant", "updateBotStopped", "updateGroupCallConnection", "updateBotCommands", "updatePendingJoinRequests", "updateBotChatInviteRequester", "updateMessageReactions", "updateAttachMenuBots", "updateWebViewResultSent", "updateBotMenuButton", "updateSavedRingtones", "updateTranscribedAudio", "updateReadFeaturedEmojiStickers", "updateUserEmojiStatus", "updateRecentEmojiStatuses", "updateRecentReactions", "updateMoveStickerSetToTop", "updateMessageExtendedMedia", "updateUser", "updateAutoSaveSettings", "updateStory", "updateReadStories", "updateStoryID", "updateStoriesStealthMode", "updateSentStoryReaction", "updateBotChatBoost", "updateChannelViewForumAsMessages", "updatePeerWallpaper", "updateBotMessageReaction", "updateBotMessageReactions", "updateSavedDialogPinned", "updatePinnedSavedDialogs", "updateSavedReactionTags", "updateSmsJob", "updateQuickReplies", "updateNewQuickReply", "updateDeleteQuickReply", "updateQuickReplyMessage", "updateDeleteQuickReplyMessages", "updateBotBusinessConnect", "updateBotNewBusinessMessage", "updateBotEditBusinessMessage", "updateBotDeleteBusinessMessage", "updateNewStoryReaction", "updateStarsBalance", "updateBusinessBotCallbackQuery", "updateStarsRevenueStatus", "updateBotPurchasedPaidMedia", "updatePaidReactionPrivacy", "updateSentPhoneCode", "updateGroupCallChainBlocks", "updateReadMonoForumInbox", "updateReadMonoForumOutbox", "updateMonoForumNoPaidException", "updateGroupCallMessage", "updateGroupCallEncryptedMessage", "updatePinnedForumTopic", "updatePinnedForumTopics", "updateDeleteGroupCallMessages", "updateStarGiftAuctionState", "updateStarGiftAuctionUserState", "updateEmojiGameInfo", "updateStarGiftCraftFail", "updateChatParticipantRank", "updateManagedBot", "updateBotGuestChatQuery", "updateAiComposeTones", "updateJoinChatWebViewDecision", "updateNewBotConnection", "updateWebBrowserSettings", "updateWebBrowserException", "updateChannelPinnedTopic", "updateChannelPinnedTopics", "mtcute.dummyUpdate");
|
|
674
686
|
const isAnyMtcute_InputPeer = /* @__PURE__ */ _isAny("inputPeerEmpty", "inputPeerSelf", "inputPeerChat", "inputPeerUser", "inputPeerChannel", "inputPeerUserFromMessage", "inputPeerChannelFromMessage", "mtcute.dummyInputPeerMinUser", "mtcute.dummyInputPeerMinChannel");
|
|
675
687
|
export {
|
|
676
688
|
LAYER,
|
|
@@ -704,6 +716,10 @@ export {
|
|
|
704
716
|
isAnyAccount_TmpPassword,
|
|
705
717
|
isAnyAccount_WallPapers,
|
|
706
718
|
isAnyAccount_WebAuthorizations,
|
|
719
|
+
isAnyAccount_WebBrowserSettings,
|
|
720
|
+
isAnyAiComposeTone,
|
|
721
|
+
isAnyAiComposeToneExample,
|
|
722
|
+
isAnyAicompose_Tones,
|
|
707
723
|
isAnyAttachMenuBot,
|
|
708
724
|
isAnyAttachMenuBotIcon,
|
|
709
725
|
isAnyAttachMenuBotIconColor,
|
|
@@ -742,6 +758,7 @@ export {
|
|
|
742
758
|
isAnyBotPreviewMedia,
|
|
743
759
|
isAnyBotVerification,
|
|
744
760
|
isAnyBotVerifierSettings,
|
|
761
|
+
isAnyBots_AccessSettings,
|
|
745
762
|
isAnyBots_BotInfo,
|
|
746
763
|
isAnyBots_ExportedBotToken,
|
|
747
764
|
isAnyBots_PopularAppBots,
|
|
@@ -876,6 +893,7 @@ export {
|
|
|
876
893
|
isAnyInlineBotSwitchPM,
|
|
877
894
|
isAnyInlineBotWebView,
|
|
878
895
|
isAnyInlineQueryPeerType,
|
|
896
|
+
isAnyInputAiComposeTone,
|
|
879
897
|
isAnyInputAppEvent,
|
|
880
898
|
isAnyInputBotApp,
|
|
881
899
|
isAnyInputBotInlineMessage,
|
|
@@ -921,6 +939,7 @@ export {
|
|
|
921
939
|
isAnyInputPrivacyRule,
|
|
922
940
|
isAnyInputQuickReplyShortcut,
|
|
923
941
|
isAnyInputReplyTo,
|
|
942
|
+
isAnyInputRichMessage,
|
|
924
943
|
isAnyInputSavedStarGift,
|
|
925
944
|
isAnyInputSecureFile,
|
|
926
945
|
isAnyInputSecureValue,
|
|
@@ -940,6 +959,7 @@ export {
|
|
|
940
959
|
isAnyInvoice,
|
|
941
960
|
isAnyJSONObjectValue,
|
|
942
961
|
isAnyJSONValue,
|
|
962
|
+
isAnyJoinChatBotResult,
|
|
943
963
|
isAnyKeyboardButton,
|
|
944
964
|
isAnyKeyboardButtonRow,
|
|
945
965
|
isAnyKeyboardButtonStyle,
|
|
@@ -980,6 +1000,7 @@ export {
|
|
|
980
1000
|
isAnyMessages_ChatAdminsWithInvites,
|
|
981
1001
|
isAnyMessages_ChatFull,
|
|
982
1002
|
isAnyMessages_ChatInviteImporters,
|
|
1003
|
+
isAnyMessages_ChatInviteJoinResult,
|
|
983
1004
|
isAnyMessages_Chats,
|
|
984
1005
|
isAnyMessages_CheckedHistoryImportPeer,
|
|
985
1006
|
isAnyMessages_ComposedMessageWithAI,
|
|
@@ -1137,6 +1158,7 @@ export {
|
|
|
1137
1158
|
isAnyRequestedPeer,
|
|
1138
1159
|
isAnyRequirementToContact,
|
|
1139
1160
|
isAnyRestrictionReason,
|
|
1161
|
+
isAnyRichMessage,
|
|
1140
1162
|
isAnyRichText,
|
|
1141
1163
|
isAnySavedContact,
|
|
1142
1164
|
isAnySavedDialog,
|
|
@@ -1201,6 +1223,7 @@ export {
|
|
|
1201
1223
|
isAnyStats_BroadcastStats,
|
|
1202
1224
|
isAnyStats_MegagroupStats,
|
|
1203
1225
|
isAnyStats_MessageStats,
|
|
1226
|
+
isAnyStats_PollStats,
|
|
1204
1227
|
isAnyStats_PublicForwards,
|
|
1205
1228
|
isAnyStats_StoryStats,
|
|
1206
1229
|
isAnyStickerKeyword,
|
|
@@ -1258,6 +1281,7 @@ export {
|
|
|
1258
1281
|
isAnyWallPaperSettings,
|
|
1259
1282
|
isAnyWebAuthorization,
|
|
1260
1283
|
isAnyWebDocument,
|
|
1284
|
+
isAnyWebDomainException,
|
|
1261
1285
|
isAnyWebPage,
|
|
1262
1286
|
isAnyWebPageAttribute,
|
|
1263
1287
|
isAnyWebViewMessageSent,
|