@mtkruto/node 0.1.191 → 0.1.200
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/esm/1_utilities.d.ts +1 -1
- package/esm/1_utilities.js +1 -1
- package/esm/2_tl.d.ts +6 -6
- package/esm/2_tl.js +6 -6
- package/esm/3_storage.d.ts +5 -5
- package/esm/3_storage.js +5 -5
- package/esm/3_types.d.ts +6 -5
- package/esm/3_types.js +6 -5
- package/esm/4_constants.d.ts +2 -2
- package/esm/4_constants.js +2 -2
- package/esm/5_client.d.ts +1 -1
- package/esm/5_client.js +1 -1
- package/esm/client/0_params.d.ts +7 -1
- package/esm/client/0_types.d.ts +1 -0
- package/esm/client/0_utilities.d.ts +0 -3
- package/esm/client/0_utilities.js +0 -20
- package/esm/client/1_business_connection_manager.d.ts +11 -0
- package/esm/client/1_business_connection_manager.js +47 -0
- package/esm/client/1_update_manager.d.ts +8 -1
- package/esm/client/1_update_manager.js +88 -8
- package/esm/client/2_message_manager.d.ts +7 -6
- package/esm/client/2_message_manager.js +48 -31
- package/esm/client/4_client.d.ts +421 -420
- package/esm/client/4_client.js +565 -516
- package/esm/storage/0_storage.d.ts +5 -0
- package/esm/storage/0_storage.js +20 -0
- package/esm/storage/{1_storage_indexed_db.js → 2_storage_indexed_db.js} +1 -1
- package/esm/storage/{1_storage_local_storage.js → 2_storage_local_storage.js} +1 -1
- package/{script/storage/1_storage_memory.d.ts → esm/storage/2_storage_memory.d.ts} +1 -4
- package/esm/storage/{1_storage_memory.js → 2_storage_memory.js} +8 -28
- package/esm/storage/{1_storage_session_storage.js → 2_storage_session_storage.js} +1 -1
- package/esm/tl/2_types.d.ts +1071 -183
- package/esm/tl/2_types.js +2916 -464
- package/esm/tl/3_functions.d.ts +381 -17
- package/esm/tl/3_functions.js +1002 -120
- package/{script/tl/4_tl_writer.d.ts → esm/tl/5_tl_writer.d.ts} +1 -1
- package/{script/tl/4_rpc_result.d.ts → esm/tl/6_rpc_result.d.ts} +1 -1
- package/esm/tl/{4_rpc_result.js → 6_rpc_result.js} +1 -1
- package/esm/tl/{6_message.d.ts → 7_message.d.ts} +2 -2
- package/esm/tl/{6_message.js → 7_message.js} +3 -3
- package/esm/tl/{7_message_container.d.ts → 8_message_container.d.ts} +1 -1
- package/esm/tl/{7_message_container.js → 8_message_container.js} +3 -3
- package/esm/types/0_chat_photo.js +1 -1
- package/esm/types/0_message_entity.d.ts +1 -1
- package/esm/types/0_thumbnail.js +1 -1
- package/esm/types/1_bot_command_scope.d.ts +1 -1
- package/esm/types/1_photo.js +2 -2
- package/esm/types/1_story_privacy.d.ts +1 -1
- package/esm/types/2_business_connection.d.ts +11 -0
- package/esm/types/2_business_connection.js +12 -0
- package/esm/types/2_chat_member.d.ts +1 -1
- package/esm/types/2_chosen_inline_result.d.ts +1 -1
- package/esm/types/2_game.js +1 -1
- package/esm/types/2_inline_keyboard_button.d.ts +1 -1
- package/esm/types/2_inline_query.d.ts +1 -1
- package/esm/types/2_invite_link.d.ts +1 -1
- package/esm/types/2_message_reaction_count.d.ts +1 -1
- package/esm/types/2_message_reactions.d.ts +1 -1
- package/esm/types/2_story_content.js +1 -1
- package/{script/types/1_story_interactive_area.d.ts → esm/types/2_story_interactive_area.d.ts} +2 -2
- package/esm/types/{1_story_interactive_area.js → 2_story_interactive_area.js} +1 -1
- package/esm/types/3_chat_member_updated.d.ts +1 -1
- package/esm/types/3_reply_markup.d.ts +1 -1
- package/esm/types/3_story.d.ts +2 -2
- package/esm/types/3_story.js +1 -1
- package/esm/types/4_inline_query_result.d.ts +1 -1
- package/esm/types/4_inline_query_result.js +1 -1
- package/esm/types/4_message.d.ts +9 -3
- package/esm/types/4_message.js +22 -5
- package/esm/types/5_callback_query.d.ts +1 -1
- package/esm/types/5_chat.d.ts +1 -1
- package/esm/types/6_update.d.ts +12 -2
- package/package.json +1 -1
- package/script/1_utilities.d.ts +1 -1
- package/script/1_utilities.js +1 -1
- package/script/2_tl.d.ts +6 -6
- package/script/2_tl.js +6 -6
- package/script/3_storage.d.ts +5 -5
- package/script/3_storage.js +5 -5
- package/script/3_types.d.ts +6 -5
- package/script/3_types.js +6 -5
- package/script/4_constants.d.ts +2 -2
- package/script/4_constants.js +2 -2
- package/script/5_client.d.ts +1 -1
- package/script/5_client.js +1 -1
- package/script/client/0_params.d.ts +7 -1
- package/script/client/0_types.d.ts +1 -0
- package/script/client/0_utilities.d.ts +0 -3
- package/script/client/0_utilities.js +1 -23
- package/script/client/1_business_connection_manager.d.ts +11 -0
- package/script/client/1_business_connection_manager.js +51 -0
- package/script/client/1_update_manager.d.ts +8 -1
- package/script/client/1_update_manager.js +88 -8
- package/script/client/2_message_manager.d.ts +7 -6
- package/script/client/2_message_manager.js +47 -30
- package/script/client/4_client.d.ts +421 -420
- package/script/client/4_client.js +565 -516
- package/script/storage/0_storage.d.ts +5 -0
- package/script/storage/0_storage.js +20 -0
- package/script/storage/{1_storage_indexed_db.js → 2_storage_indexed_db.js} +7 -7
- package/script/storage/{1_storage_local_storage.js → 2_storage_local_storage.js} +10 -10
- package/{esm/storage/1_storage_memory.d.ts → script/storage/2_storage_memory.d.ts} +1 -4
- package/script/storage/{1_storage_memory.js → 2_storage_memory.js} +12 -32
- package/script/storage/{1_storage_session_storage.js → 2_storage_session_storage.js} +10 -10
- package/script/tl/2_types.d.ts +1071 -183
- package/script/tl/2_types.js +3028 -504
- package/script/tl/3_functions.d.ts +381 -17
- package/script/tl/3_functions.js +1047 -143
- package/{esm/tl/4_tl_writer.d.ts → script/tl/5_tl_writer.d.ts} +1 -1
- package/{esm/tl/4_rpc_result.d.ts → script/tl/6_rpc_result.d.ts} +1 -1
- package/script/tl/{4_rpc_result.js → 6_rpc_result.js} +2 -2
- package/script/tl/{6_message.d.ts → 7_message.d.ts} +2 -2
- package/script/tl/{6_message.js → 7_message.js} +8 -8
- package/script/tl/{7_message_container.d.ts → 8_message_container.d.ts} +1 -1
- package/script/tl/{7_message_container.js → 8_message_container.js} +7 -7
- package/script/types/0_chat_photo.js +9 -9
- package/script/types/0_message_entity.d.ts +1 -1
- package/script/types/0_thumbnail.js +6 -6
- package/script/types/1_bot_command_scope.d.ts +1 -1
- package/script/types/1_photo.js +7 -7
- package/script/types/1_story_privacy.d.ts +1 -1
- package/script/types/2_business_connection.d.ts +11 -0
- package/script/types/2_business_connection.js +16 -0
- package/script/types/2_chat_member.d.ts +1 -1
- package/script/types/2_chosen_inline_result.d.ts +1 -1
- package/script/types/2_game.js +3 -3
- package/script/types/2_inline_keyboard_button.d.ts +1 -1
- package/script/types/2_inline_query.d.ts +1 -1
- package/script/types/2_invite_link.d.ts +1 -1
- package/script/types/2_message_reaction_count.d.ts +1 -1
- package/script/types/2_message_reactions.d.ts +1 -1
- package/script/types/2_story_content.js +4 -4
- package/{esm/types/1_story_interactive_area.d.ts → script/types/2_story_interactive_area.d.ts} +2 -2
- package/script/types/{1_story_interactive_area.js → 2_story_interactive_area.js} +2 -2
- package/script/types/3_chat_member_updated.d.ts +1 -1
- package/script/types/3_reply_markup.d.ts +1 -1
- package/script/types/3_story.d.ts +2 -2
- package/script/types/3_story.js +2 -2
- package/script/types/4_inline_query_result.d.ts +1 -1
- package/script/types/4_inline_query_result.js +2 -2
- package/script/types/4_message.d.ts +9 -3
- package/script/types/4_message.js +37 -20
- package/script/types/5_callback_query.d.ts +1 -1
- package/script/types/5_chat.d.ts +1 -1
- package/script/types/6_update.d.ts +12 -2
- /package/esm/storage/{0_utilities.d.ts → 1_utilities.d.ts} +0 -0
- /package/esm/storage/{0_utilities.js → 1_utilities.js} +0 -0
- /package/esm/storage/{1_storage_indexed_db.d.ts → 2_storage_indexed_db.d.ts} +0 -0
- /package/esm/storage/{1_storage_local_storage.d.ts → 2_storage_local_storage.d.ts} +0 -0
- /package/esm/storage/{1_storage_session_storage.d.ts → 2_storage_session_storage.d.ts} +0 -0
- /package/esm/tl/{3_tl_reader.d.ts → 4_tl_reader.d.ts} +0 -0
- /package/esm/tl/{3_tl_reader.js → 4_tl_reader.js} +0 -0
- /package/esm/tl/{4_tl_writer.js → 5_tl_writer.js} +0 -0
- /package/esm/types/{0_venue.d.ts → 1_venue.d.ts} +0 -0
- /package/esm/types/{0_venue.js → 1_venue.js} +0 -0
- /package/esm/types/{0__file_id.d.ts → _file_id.d.ts} +0 -0
- /package/esm/types/{0__file_id.js → _file_id.js} +0 -0
- /package/esm/types/{1__getters.d.ts → _getters.d.ts} +0 -0
- /package/esm/types/{1__getters.js → _getters.js} +0 -0
- /package/script/storage/{0_utilities.d.ts → 1_utilities.d.ts} +0 -0
- /package/script/storage/{0_utilities.js → 1_utilities.js} +0 -0
- /package/script/storage/{1_storage_indexed_db.d.ts → 2_storage_indexed_db.d.ts} +0 -0
- /package/script/storage/{1_storage_local_storage.d.ts → 2_storage_local_storage.d.ts} +0 -0
- /package/script/storage/{1_storage_session_storage.d.ts → 2_storage_session_storage.d.ts} +0 -0
- /package/script/tl/{3_tl_reader.d.ts → 4_tl_reader.d.ts} +0 -0
- /package/script/tl/{3_tl_reader.js → 4_tl_reader.js} +0 -0
- /package/script/tl/{4_tl_writer.js → 5_tl_writer.js} +0 -0
- /package/script/types/{0_venue.d.ts → 1_venue.d.ts} +0 -0
- /package/script/types/{0_venue.js → 1_venue.js} +0 -0
- /package/script/types/{0__file_id.d.ts → _file_id.d.ts} +0 -0
- /package/script/types/{0__file_id.js → _file_id.js} +0 -0
- /package/script/types/{1__getters.d.ts → _getters.d.ts} +0 -0
- /package/script/types/{1__getters.js → _getters.js} +0 -0
package/script/tl/3_functions.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.
|
|
6
|
-
exports.
|
|
7
|
-
exports.
|
|
8
|
-
exports.
|
|
9
|
-
exports.
|
|
10
|
-
exports.
|
|
11
|
-
exports.
|
|
12
|
-
exports.
|
|
13
|
-
exports.
|
|
14
|
-
exports.
|
|
15
|
-
exports.functions = exports.smsjobs_finishJob_ = exports.smsjobs_getSmsJob_ = exports.smsjobs_getStatus_ = exports.smsjobs_updateSettings_ = exports.smsjobs_leave_ = exports.smsjobs_join_ = exports.smsjobs_isEligibleToJoin_ = exports.premium_getUserBoosts_ = exports.premium_getBoostsStatus_ = void 0;
|
|
3
|
+
exports.account_reportPeer_ = exports.account_getWallPapers_ = exports.account_updateStatus_ = exports.account_updateProfile_ = exports.account_resetNotifySettings_ = exports.account_getNotifySettings_ = exports.account_updateNotifySettings_ = exports.account_unregisterDevice_ = exports.account_registerDevice_ = exports.auth_resetLoginEmail_ = exports.auth_requestFirebaseSms_ = exports.auth_importWebTokenAuthorization_ = exports.auth_checkRecoveryPassword_ = exports.auth_acceptLoginToken_ = exports.auth_importLoginToken_ = exports.auth_exportLoginToken_ = exports.auth_dropTempAuthKeys_ = exports.auth_cancelCode_ = exports.auth_resendCode_ = exports.auth_recoverPassword_ = exports.auth_requestPasswordRecovery_ = exports.auth_checkPassword_ = exports.auth_importBotAuthorization_ = exports.auth_bindTempAuthKey_ = exports.auth_importAuthorization_ = exports.auth_exportAuthorization_ = exports.auth_resetAuthorizations_ = exports.auth_logOut_ = exports.auth_signIn_ = exports.auth_signUp_ = exports.auth_sendCode_ = exports.invokeWithBusinessConnection_ = exports.invokeWithTakeout_ = exports.invokeWithMessagesRange_ = exports.invokeWithoutUpdates_ = exports.invokeWithLayer_ = exports.initConnection_ = exports.invokeAfterMsgs_ = exports.invokeAfterMsg_ = exports.invokeWithBusinessConnectionPrefix_ = exports.destroy_auth_key_ = exports.destroy_session_ = exports.ping_delay_disconnect_ = exports.ping_ = exports.get_future_salts_ = exports.rpc_drop_answer_ = exports.set_client_DH_params_ = exports.req_DH_params_ = exports.req_pq_multi_ = exports.Function_ = void 0;
|
|
4
|
+
exports.account_saveTheme_ = exports.account_updateTheme_ = exports.account_createTheme_ = exports.account_uploadTheme_ = exports.account_saveAutoDownloadSettings_ = exports.account_getAutoDownloadSettings_ = exports.account_resetWallPapers_ = exports.account_installWallPaper_ = exports.account_saveWallPaper_ = exports.account_uploadWallPaper_ = exports.account_getWallPaper_ = exports.account_getNotifyExceptions_ = exports.account_setContactSignUpNotification_ = exports.account_getContactSignUpNotification_ = exports.account_cancelPasswordEmail_ = exports.account_resendPasswordEmail_ = exports.account_confirmPasswordEmail_ = exports.account_finishTakeoutSession_ = exports.account_initTakeoutSession_ = exports.account_verifyEmail_ = exports.account_sendVerifyEmailCode_ = exports.account_verifyPhone_ = exports.account_sendVerifyPhoneCode_ = exports.account_acceptAuthorization_ = exports.account_getAuthorizationForm_ = exports.account_deleteSecureValue_ = exports.account_saveSecureValue_ = exports.account_getSecureValue_ = exports.account_getAllSecureValues_ = exports.account_resetWebAuthorizations_ = exports.account_resetWebAuthorization_ = exports.account_getWebAuthorizations_ = exports.account_getTmpPassword_ = exports.account_confirmPhone_ = exports.account_sendConfirmPhoneCode_ = exports.account_updatePasswordSettings_ = exports.account_getPasswordSettings_ = exports.account_getPassword_ = exports.account_resetAuthorization_ = exports.account_getAuthorizations_ = exports.account_updateDeviceLocked_ = exports.account_changePhone_ = exports.account_sendChangePhoneCode_ = exports.account_setAccountTTL_ = exports.account_getAccountTTL_ = exports.account_deleteAccount_ = exports.account_setPrivacy_ = exports.account_getPrivacy_ = exports.account_updateUsername_ = exports.account_checkUsername_ = void 0;
|
|
5
|
+
exports.account_updatePersonalChannel_ = exports.account_resolveBusinessChatLink_ = exports.account_getBusinessChatLinks_ = exports.account_deleteBusinessChatLink_ = exports.account_editBusinessChatLink_ = exports.account_createBusinessChatLink_ = exports.account_updateBirthday_ = exports.account_disablePeerConnectedBot_ = exports.account_toggleConnectedBotPaused_ = exports.account_updateBusinessIntro_ = exports.account_getBotBusinessConnection_ = exports.account_getConnectedBots_ = exports.account_updateConnectedBot_ = exports.account_updateBusinessAwayMessage_ = exports.account_updateBusinessGreetingMessage_ = exports.account_updateBusinessLocation_ = exports.account_updateBusinessWorkHours_ = exports.account_getChannelRestrictedStatusEmojis_ = exports.account_getChannelDefaultEmojiStatuses_ = exports.account_getDefaultBackgroundEmojis_ = exports.account_updateColor_ = exports.account_invalidateSignInCodes_ = exports.account_deleteAutoSaveExceptions_ = exports.account_saveAutoSaveSettings_ = exports.account_getAutoSaveSettings_ = exports.account_getDefaultGroupPhotoEmojis_ = exports.account_getDefaultProfilePhotoEmojis_ = exports.account_toggleUsername_ = exports.account_reorderUsernames_ = exports.account_clearRecentEmojiStatuses_ = exports.account_getRecentEmojiStatuses_ = exports.account_getDefaultEmojiStatuses_ = exports.account_updateEmojiStatus_ = exports.account_uploadRingtone_ = exports.account_saveRingtone_ = exports.account_getSavedRingtones_ = exports.account_changeAuthorizationSettings_ = exports.account_setAuthorizationTTL_ = exports.account_getChatThemes_ = exports.account_declinePasswordReset_ = exports.account_resetPassword_ = exports.account_reportProfilePhoto_ = exports.account_setGlobalPrivacySettings_ = exports.account_getGlobalPrivacySettings_ = exports.account_getMultiWallPapers_ = exports.account_getContentSettings_ = exports.account_setContentSettings_ = exports.account_getThemes_ = exports.account_getTheme_ = exports.account_installTheme_ = void 0;
|
|
6
|
+
exports.messages_addChatUser_ = exports.messages_editChatPhoto_ = exports.messages_editChatTitle_ = exports.messages_getFullChat_ = exports.messages_getChats_ = exports.messages_report_ = exports.messages_getPeerSettings_ = exports.messages_reportSpam_ = exports.messages_forwardMessages_ = exports.messages_sendMedia_ = exports.messages_sendMessage_ = exports.messages_setTyping_ = exports.messages_receivedMessages_ = exports.messages_deleteMessages_ = exports.messages_deleteHistory_ = exports.messages_readHistory_ = exports.messages_search_ = exports.messages_getHistory_ = exports.messages_getDialogs_ = exports.messages_getMessages_ = exports.contacts_getBirthdays_ = exports.contacts_setBlocked_ = exports.contacts_editCloseFriends_ = exports.contacts_importContactToken_ = exports.contacts_exportContactToken_ = exports.contacts_resolvePhone_ = exports.contacts_blockFromReplies_ = exports.contacts_getLocated_ = exports.contacts_acceptContact_ = exports.contacts_addContact_ = exports.contacts_toggleTopPeers_ = exports.contacts_getSaved_ = exports.contacts_resetSaved_ = exports.contacts_resetTopPeerRating_ = exports.contacts_getTopPeers_ = exports.contacts_resolveUsername_ = exports.contacts_search_ = exports.contacts_getBlocked_ = exports.contacts_unblock_ = exports.contacts_block_ = exports.contacts_deleteByPhones_ = exports.contacts_deleteContacts_ = exports.contacts_importContacts_ = exports.contacts_getContacts_ = exports.contacts_getStatuses_ = exports.contacts_getContactIDs_ = exports.users_getIsPremiumRequiredToContact_ = exports.users_setSecureValueErrors_ = exports.users_getFullUser_ = exports.users_getUsers_ = void 0;
|
|
7
|
+
exports.messages_getMaskStickers_ = exports.messages_getArchivedStickers_ = exports.messages_clearRecentStickers_ = exports.messages_saveRecentSticker_ = exports.messages_getRecentStickers_ = exports.messages_readFeaturedStickers_ = exports.messages_getFeaturedStickers_ = exports.messages_getAllDrafts_ = exports.messages_saveDraft_ = exports.messages_getPeerDialogs_ = exports.messages_setBotCallbackAnswer_ = exports.messages_getBotCallbackAnswer_ = exports.messages_editInlineBotMessage_ = exports.messages_editMessage_ = exports.messages_getMessageEditData_ = exports.messages_sendInlineBotResult_ = exports.messages_setInlineBotResults_ = exports.messages_getInlineBotResults_ = exports.messages_saveGif_ = exports.messages_getSavedGifs_ = exports.messages_getDocumentByHash_ = exports.messages_reorderStickerSets_ = exports.messages_searchGlobal_ = exports.messages_migrateChat_ = exports.messages_editChatAdmin_ = exports.messages_getMessagesViews_ = exports.messages_startBot_ = exports.messages_uninstallStickerSet_ = exports.messages_installStickerSet_ = exports.messages_getStickerSet_ = exports.messages_importChatInvite_ = exports.messages_checkChatInvite_ = exports.messages_exportChatInvite_ = exports.messages_getWebPagePreview_ = exports.messages_getAllStickers_ = exports.messages_getStickers_ = exports.messages_readMessageContents_ = exports.messages_reportEncryptedSpam_ = exports.messages_receivedQueue_ = exports.messages_sendEncryptedService_ = exports.messages_sendEncryptedFile_ = exports.messages_sendEncrypted_ = exports.messages_readEncryptedHistory_ = exports.messages_setEncryptedTyping_ = exports.messages_discardEncryption_ = exports.messages_acceptEncryption_ = exports.messages_requestEncryption_ = exports.messages_getDhConfig_ = exports.messages_createChat_ = exports.messages_deleteChatUser_ = void 0;
|
|
8
|
+
exports.messages_updateDialogFiltersOrder_ = exports.messages_updateDialogFilter_ = exports.messages_getSuggestedDialogFilters_ = exports.messages_getDialogFilters_ = exports.messages_toggleStickerSets_ = exports.messages_getPollVotes_ = exports.messages_deleteScheduledMessages_ = exports.messages_sendScheduledMessages_ = exports.messages_getScheduledMessages_ = exports.messages_getScheduledHistory_ = exports.messages_hidePeerSettingsBar_ = exports.messages_acceptUrlAuth_ = exports.messages_requestUrlAuth_ = exports.messages_getSearchCounters_ = exports.messages_getEmojiURL_ = exports.messages_getEmojiKeywordsLanguages_ = exports.messages_getEmojiKeywordsDifference_ = exports.messages_getEmojiKeywords_ = exports.messages_editChatDefaultBannedRights_ = exports.messages_editChatAbout_ = exports.messages_getOnlines_ = exports.messages_getPollResults_ = exports.messages_sendVote_ = exports.messages_updatePinnedMessage_ = exports.messages_clearAllDrafts_ = exports.messages_getDialogUnreadMarks_ = exports.messages_markDialogUnread_ = exports.messages_getSplitRanges_ = exports.messages_searchStickerSets_ = exports.messages_uploadEncryptedFile_ = exports.messages_sendMultiMedia_ = exports.messages_getRecentLocations_ = exports.messages_readMentions_ = exports.messages_getUnreadMentions_ = exports.messages_faveSticker_ = exports.messages_getFavedStickers_ = exports.messages_sendScreenshotNotification_ = exports.messages_uploadMedia_ = exports.messages_setBotPrecheckoutResults_ = exports.messages_setBotShippingResults_ = exports.messages_getPinnedDialogs_ = exports.messages_reorderPinnedDialogs_ = exports.messages_toggleDialogPin_ = exports.messages_getWebPage_ = exports.messages_getCommonChats_ = exports.messages_getInlineGameHighScores_ = exports.messages_getGameHighScores_ = exports.messages_setInlineGameScore_ = exports.messages_setGameScore_ = exports.messages_getAttachedStickers_ = void 0;
|
|
9
|
+
exports.messages_getEmojiStickers_ = exports.messages_getCustomEmojiDocuments_ = exports.messages_rateTranscribedAudio_ = exports.messages_transcribeAudio_ = exports.messages_sendWebViewData_ = exports.messages_sendWebViewResultMessage_ = exports.messages_requestSimpleWebView_ = exports.messages_prolongWebView_ = exports.messages_requestWebView_ = exports.messages_toggleBotInAttachMenu_ = exports.messages_getAttachMenuBot_ = exports.messages_getAttachMenuBots_ = exports.messages_searchSentMedia_ = exports.messages_readReactions_ = exports.messages_getUnreadReactions_ = exports.messages_translateText_ = exports.messages_setDefaultReaction_ = exports.messages_getAvailableReactions_ = exports.messages_setChatAvailableReactions_ = exports.messages_getMessageReactionsList_ = exports.messages_getMessagesReactions_ = exports.messages_sendReaction_ = exports.messages_saveDefaultSendAs_ = exports.messages_toggleNoForwards_ = exports.messages_hideAllChatJoinRequests_ = exports.messages_hideChatJoinRequest_ = exports.messages_getSearchResultsPositions_ = exports.messages_getSearchResultsCalendar_ = exports.messages_getMessageReadParticipants_ = exports.messages_setChatTheme_ = exports.messages_checkHistoryImportPeer_ = exports.messages_setHistoryTTL_ = exports.messages_getChatInviteImporters_ = exports.messages_getAdminsWithInvites_ = exports.messages_deleteExportedChatInvite_ = exports.messages_deleteRevokedExportedChatInvites_ = exports.messages_editExportedChatInvite_ = exports.messages_getExportedChatInvite_ = exports.messages_getExportedChatInvites_ = exports.messages_startHistoryImport_ = exports.messages_uploadImportedMedia_ = exports.messages_initHistoryImport_ = exports.messages_checkHistoryImport_ = exports.messages_deletePhoneCallHistory_ = exports.messages_deleteChat_ = exports.messages_unpinAllMessages_ = exports.messages_readDiscussion_ = exports.messages_getDiscussionMessage_ = exports.messages_getReplies_ = exports.messages_getOldFeaturedStickers_ = void 0;
|
|
10
|
+
exports.upload_getWebFile_ = exports.upload_saveBigFilePart_ = exports.upload_getFile_ = exports.upload_saveFilePart_ = exports.photos_uploadContactProfilePhoto_ = exports.photos_getUserPhotos_ = exports.photos_deletePhotos_ = exports.photos_uploadProfilePhoto_ = exports.photos_updateProfilePhoto_ = exports.updates_getChannelDifference_ = exports.updates_getDifference_ = exports.updates_getState_ = exports.messages_getMyStickers_ = exports.messages_toggleDialogFilterTags_ = exports.messages_deleteQuickReplyMessages_ = exports.messages_sendQuickReplyMessages_ = exports.messages_getQuickReplyMessages_ = exports.messages_deleteQuickReplyShortcut_ = exports.messages_editQuickReplyShortcut_ = exports.messages_checkQuickReplyShortcut_ = exports.messages_reorderQuickReplies_ = exports.messages_getQuickReplies_ = exports.messages_getOutboxReadDate_ = exports.messages_getDefaultTagReactions_ = exports.messages_updateSavedReactionTag_ = exports.messages_getSavedReactionTags_ = exports.messages_reorderPinnedSavedDialogs_ = exports.messages_toggleSavedDialogPin_ = exports.messages_getPinnedSavedDialogs_ = exports.messages_deleteSavedHistory_ = exports.messages_getSavedHistory_ = exports.messages_getSavedDialogs_ = exports.messages_searchEmojiStickerSets_ = exports.messages_setChatWallPaper_ = exports.messages_requestAppWebView_ = exports.messages_getBotApp_ = exports.messages_togglePeerTranslations_ = exports.messages_searchCustomEmoji_ = exports.messages_getEmojiProfilePhotoGroups_ = exports.messages_getEmojiStatusGroups_ = exports.messages_getEmojiGroups_ = exports.messages_sendBotRequestedPeer_ = exports.messages_getDefaultHistoryTTL_ = exports.messages_setDefaultHistoryTTL_ = exports.messages_getExtendedMedia_ = exports.messages_clearRecentReactions_ = exports.messages_getRecentReactions_ = exports.messages_getTopReactions_ = exports.messages_reportReaction_ = exports.messages_getFeaturedEmojiStickers_ = void 0;
|
|
11
|
+
exports.channels_getAdminedPublicChannels_ = exports.channels_toggleSignatures_ = exports.channels_exportMessageLink_ = exports.channels_deleteChannel_ = exports.channels_inviteToChannel_ = exports.channels_leaveChannel_ = exports.channels_joinChannel_ = exports.channels_updateUsername_ = exports.channels_checkUsername_ = exports.channels_editPhoto_ = exports.channels_editTitle_ = exports.channels_editAdmin_ = exports.channels_createChannel_ = exports.channels_getFullChannel_ = exports.channels_getChannels_ = exports.channels_getParticipant_ = exports.channels_getParticipants_ = exports.channels_getMessages_ = exports.channels_reportSpam_ = exports.channels_deleteMessages_ = exports.channels_readHistory_ = exports.help_getTimezonesList_ = exports.help_getPeerProfileColors_ = exports.help_getPeerColors_ = exports.help_getPremiumPromo_ = exports.help_getCountriesList_ = exports.help_dismissSuggestion_ = exports.help_hidePromoData_ = exports.help_getPromoData_ = exports.help_editUserInfo_ = exports.help_getUserInfo_ = exports.help_getSupportName_ = exports.help_getPassportConfig_ = exports.help_saveAppLog_ = exports.help_getAppConfig_ = exports.help_getDeepLinkInfo_ = exports.help_acceptTermsOfService_ = exports.help_getTermsOfServiceUpdate_ = exports.help_getRecentMeUrls_ = exports.help_getCdnConfig_ = exports.help_setBotUpdatesStatus_ = exports.help_getSupport_ = exports.help_getInviteText_ = exports.help_getAppUpdate_ = exports.help_getNearestDc_ = exports.help_getConfig_ = exports.upload_getFileHashes_ = exports.upload_getCdnFileHashes_ = exports.upload_reuploadCdnFile_ = exports.upload_getCdnFile_ = void 0;
|
|
12
|
+
exports.bots_getBotMenuButton_ = exports.bots_setBotMenuButton_ = exports.bots_getBotCommands_ = exports.bots_resetBotCommands_ = exports.bots_setBotCommands_ = exports.bots_answerWebhookJSONQuery_ = exports.bots_sendCustomRequest_ = exports.channels_restrictSponsoredMessages_ = exports.channels_reportSponsoredMessage_ = exports.channels_setEmojiStickers_ = exports.channels_setBoostsToUnblockRestrictions_ = exports.channels_updateEmojiStatus_ = exports.channels_getChannelRecommendations_ = exports.channels_toggleViewForumAsMessages_ = exports.channels_updateColor_ = exports.channels_clickSponsoredMessage_ = exports.channels_toggleParticipantsHidden_ = exports.channels_reportAntiSpamFalsePositive_ = exports.channels_toggleAntiSpam_ = exports.channels_reorderPinnedForumTopics_ = exports.channels_deleteTopicHistory_ = exports.channels_updatePinnedForumTopic_ = exports.channels_editForumTopic_ = exports.channels_getForumTopicsByID_ = exports.channels_getForumTopics_ = exports.channels_createForumTopic_ = exports.channels_toggleForum_ = exports.channels_deactivateAllUsernames_ = exports.channels_toggleUsername_ = exports.channels_reorderUsernames_ = exports.channels_toggleJoinRequest_ = exports.channels_toggleJoinToSend_ = exports.channels_deleteParticipantHistory_ = exports.channels_getSendAs_ = exports.channels_getSponsoredMessages_ = exports.channels_viewSponsoredMessage_ = exports.channels_convertToGigagroup_ = exports.channels_getInactiveChannels_ = exports.channels_toggleSlowMode_ = exports.channels_editLocation_ = exports.channels_editCreator_ = exports.channels_setDiscussionGroup_ = exports.channels_getGroupsForDiscussion_ = exports.channels_getLeftChannels_ = exports.channels_togglePreHistoryHidden_ = exports.channels_deleteHistory_ = exports.channels_readMessageContents_ = exports.channels_setStickers_ = exports.channels_getAdminLog_ = exports.channels_editBanned_ = void 0;
|
|
13
|
+
exports.phone_discardGroupCall_ = exports.phone_inviteToGroupCall_ = exports.phone_leaveGroupCall_ = exports.phone_joinGroupCall_ = exports.phone_createGroupCall_ = exports.phone_sendSignalingData_ = exports.phone_saveCallDebug_ = exports.phone_setCallRating_ = exports.phone_discardCall_ = exports.phone_receivedCall_ = exports.phone_confirmCall_ = exports.phone_acceptCall_ = exports.phone_requestCall_ = exports.phone_getCallConfig_ = exports.stickers_replaceSticker_ = exports.stickers_deleteStickerSet_ = exports.stickers_renameStickerSet_ = exports.stickers_changeSticker_ = exports.stickers_suggestShortName_ = exports.stickers_checkShortName_ = exports.stickers_setStickerSetThumb_ = exports.stickers_addStickerToSet_ = exports.stickers_changeStickerPosition_ = exports.stickers_removeStickerFromSet_ = exports.stickers_createStickerSet_ = exports.payments_launchPrepaidGiveaway_ = exports.payments_getGiveawayInfo_ = exports.payments_applyGiftCode_ = exports.payments_checkGiftCode_ = exports.payments_getPremiumGiftCodeOptions_ = exports.payments_canPurchasePremium_ = exports.payments_assignPlayMarketTransaction_ = exports.payments_assignAppStoreTransaction_ = exports.payments_exportInvoice_ = exports.payments_getBankCardData_ = exports.payments_clearSavedInfo_ = exports.payments_getSavedInfo_ = exports.payments_sendPaymentForm_ = exports.payments_validateRequestedInfo_ = exports.payments_getPaymentReceipt_ = exports.payments_getPaymentForm_ = exports.bots_invokeWebViewCustomMethod_ = exports.bots_allowSendMessage_ = exports.bots_canSendMessage_ = exports.bots_toggleUsername_ = exports.bots_reorderUsernames_ = exports.bots_getBotInfo_ = exports.bots_setBotInfo_ = exports.bots_setBotGroupDefaultAdminRights_ = exports.bots_setBotBroadcastDefaultAdminRights_ = void 0;
|
|
14
|
+
exports.stories_getAllStories_ = exports.stories_togglePinned_ = exports.stories_deleteStories_ = exports.stories_editStory_ = exports.stories_sendStory_ = exports.stories_canSendStory_ = exports.chatlists_leaveChatlist_ = exports.chatlists_getLeaveChatlistSuggestions_ = exports.chatlists_hideChatlistUpdates_ = exports.chatlists_joinChatlistUpdates_ = exports.chatlists_getChatlistUpdates_ = exports.chatlists_joinChatlistInvite_ = exports.chatlists_checkChatlistInvite_ = exports.chatlists_getExportedInvites_ = exports.chatlists_editExportedInvite_ = exports.chatlists_deleteExportedInvite_ = exports.chatlists_exportChatlistInvite_ = exports.stats_getBroadcastRevenueTransactions_ = exports.stats_getBroadcastRevenueWithdrawalUrl_ = exports.stats_getBroadcastRevenueStats_ = exports.stats_getStoryPublicForwards_ = exports.stats_getStoryStats_ = exports.stats_getMessageStats_ = exports.stats_getMessagePublicForwards_ = exports.stats_getMegagroupStats_ = exports.stats_loadAsyncGraph_ = exports.stats_getBroadcastStats_ = exports.folders_editPeerFolders_ = exports.langpack_getLanguage_ = exports.langpack_getLanguages_ = exports.langpack_getDifference_ = exports.langpack_getStrings_ = exports.langpack_getLangPack_ = exports.phone_saveCallLog_ = exports.phone_getGroupCallStreamRtmpUrl_ = exports.phone_getGroupCallStreamChannels_ = exports.phone_leaveGroupCallPresentation_ = exports.phone_joinGroupCallPresentation_ = exports.phone_saveDefaultGroupCallJoinAs_ = exports.phone_startScheduledGroupCall_ = exports.phone_toggleGroupCallStartSubscription_ = exports.phone_exportGroupCallInvite_ = exports.phone_getGroupCallJoinAs_ = exports.phone_editGroupCallTitle_ = exports.phone_editGroupCallParticipant_ = exports.phone_toggleGroupCallRecord_ = exports.phone_checkGroupCall_ = exports.phone_getGroupParticipants_ = exports.phone_getGroupCall_ = exports.phone_toggleGroupCallSettings_ = void 0;
|
|
15
|
+
exports.functions = exports.fragment_getCollectibleInfo_ = exports.smsjobs_finishJob_ = exports.smsjobs_getSmsJob_ = exports.smsjobs_getStatus_ = exports.smsjobs_updateSettings_ = exports.smsjobs_leave_ = exports.smsjobs_join_ = exports.smsjobs_isEligibleToJoin_ = exports.premium_getUserBoosts_ = exports.premium_getBoostsStatus_ = exports.premium_applyBoost_ = exports.premium_getMyBoosts_ = exports.premium_getBoostsList_ = exports.stories_getStoryReactionsList_ = exports.stories_togglePeerStoriesHidden_ = exports.stories_getChatsToSend_ = exports.stories_getPeerMaxIDs_ = exports.stories_getAllReadPeerStories_ = exports.stories_getPeerStories_ = exports.stories_sendReaction_ = exports.stories_activateStealthMode_ = exports.stories_report_ = exports.stories_exportStoryLink_ = exports.stories_getStoriesViews_ = exports.stories_getStoryViewsList_ = exports.stories_incrementStoryViews_ = exports.stories_readStories_ = exports.stories_toggleAllStoriesHidden_ = exports.stories_getStoriesByID_ = exports.stories_getStoriesArchive_ = exports.stories_getPinnedStories_ = void 0;
|
|
16
16
|
// deno-fmt-ignore-file
|
|
17
17
|
const _1_tl_object_js_1 = require("./1_tl_object.js");
|
|
18
18
|
const _2_types_js_1 = require("./2_types.js");
|
|
@@ -404,6 +404,41 @@ Object.defineProperty(destroy_auth_key_, "__F", {
|
|
|
404
404
|
writable: true,
|
|
405
405
|
value: null
|
|
406
406
|
});
|
|
407
|
+
class invokeWithBusinessConnectionPrefix_ extends Function_ {
|
|
408
|
+
get [_1_tl_object_js_1.id]() {
|
|
409
|
+
return 0xDD289F8E;
|
|
410
|
+
}
|
|
411
|
+
static get [_1_tl_object_js_1.name]() {
|
|
412
|
+
return "invokeWithBusinessConnectionPrefix";
|
|
413
|
+
}
|
|
414
|
+
static get [_1_tl_object_js_1.paramDesc]() {
|
|
415
|
+
return [
|
|
416
|
+
["connection_id", "string", "string"],
|
|
417
|
+
];
|
|
418
|
+
}
|
|
419
|
+
get [_1_tl_object_js_1.params]() {
|
|
420
|
+
return [
|
|
421
|
+
[this.connection_id, "string", "string"],
|
|
422
|
+
];
|
|
423
|
+
}
|
|
424
|
+
constructor(params) {
|
|
425
|
+
super();
|
|
426
|
+
Object.defineProperty(this, "connection_id", {
|
|
427
|
+
enumerable: true,
|
|
428
|
+
configurable: true,
|
|
429
|
+
writable: true,
|
|
430
|
+
value: void 0
|
|
431
|
+
});
|
|
432
|
+
this.connection_id = params.connection_id;
|
|
433
|
+
}
|
|
434
|
+
}
|
|
435
|
+
exports.invokeWithBusinessConnectionPrefix_ = invokeWithBusinessConnectionPrefix_;
|
|
436
|
+
Object.defineProperty(invokeWithBusinessConnectionPrefix_, "__F", {
|
|
437
|
+
enumerable: true,
|
|
438
|
+
configurable: true,
|
|
439
|
+
writable: true,
|
|
440
|
+
value: null
|
|
441
|
+
});
|
|
407
442
|
/** Invokes a query after successful completion of one of the previous queries. */
|
|
408
443
|
class invokeAfterMsg_ extends Function_ {
|
|
409
444
|
get [_1_tl_object_js_1.id]() {
|
|
@@ -806,6 +841,50 @@ Object.defineProperty(invokeWithTakeout_, "__F", {
|
|
|
806
841
|
writable: true,
|
|
807
842
|
value: null
|
|
808
843
|
});
|
|
844
|
+
class invokeWithBusinessConnection_ extends Function_ {
|
|
845
|
+
get [_1_tl_object_js_1.id]() {
|
|
846
|
+
return 0xDD289F8E;
|
|
847
|
+
}
|
|
848
|
+
static get [_1_tl_object_js_1.name]() {
|
|
849
|
+
return "invokeWithBusinessConnection";
|
|
850
|
+
}
|
|
851
|
+
static get [_1_tl_object_js_1.paramDesc]() {
|
|
852
|
+
return [
|
|
853
|
+
["connection_id", "string", "string"],
|
|
854
|
+
["query", _2_types_js_1.types["TypeX"], "!X"],
|
|
855
|
+
];
|
|
856
|
+
}
|
|
857
|
+
get [_1_tl_object_js_1.params]() {
|
|
858
|
+
return [
|
|
859
|
+
[this.connection_id, "string", "string"],
|
|
860
|
+
[this.query, _2_types_js_1.types.TypeX, "!X"],
|
|
861
|
+
];
|
|
862
|
+
}
|
|
863
|
+
constructor(params) {
|
|
864
|
+
super();
|
|
865
|
+
Object.defineProperty(this, "connection_id", {
|
|
866
|
+
enumerable: true,
|
|
867
|
+
configurable: true,
|
|
868
|
+
writable: true,
|
|
869
|
+
value: void 0
|
|
870
|
+
});
|
|
871
|
+
Object.defineProperty(this, "query", {
|
|
872
|
+
enumerable: true,
|
|
873
|
+
configurable: true,
|
|
874
|
+
writable: true,
|
|
875
|
+
value: void 0
|
|
876
|
+
});
|
|
877
|
+
this.connection_id = params.connection_id;
|
|
878
|
+
this.query = params.query;
|
|
879
|
+
}
|
|
880
|
+
}
|
|
881
|
+
exports.invokeWithBusinessConnection_ = invokeWithBusinessConnection_;
|
|
882
|
+
Object.defineProperty(invokeWithBusinessConnection_, "__F", {
|
|
883
|
+
enumerable: true,
|
|
884
|
+
configurable: true,
|
|
885
|
+
writable: true,
|
|
886
|
+
value: null
|
|
887
|
+
});
|
|
809
888
|
/** Send the verification code for login */
|
|
810
889
|
class auth_sendCode_ extends Function_ {
|
|
811
890
|
get [_1_tl_object_js_1.id]() {
|
|
@@ -6024,126 +6103,522 @@ Object.defineProperty(account_updateBusinessGreetingMessage_, "__F", {
|
|
|
6024
6103
|
writable: true,
|
|
6025
6104
|
value: null
|
|
6026
6105
|
});
|
|
6027
|
-
class account_updateBusinessAwayMessage_ extends Function_ {
|
|
6106
|
+
class account_updateBusinessAwayMessage_ extends Function_ {
|
|
6107
|
+
get [_1_tl_object_js_1.id]() {
|
|
6108
|
+
return 0xA26A7FA5;
|
|
6109
|
+
}
|
|
6110
|
+
static get [_1_tl_object_js_1.name]() {
|
|
6111
|
+
return "account.updateBusinessAwayMessage";
|
|
6112
|
+
}
|
|
6113
|
+
static get [_1_tl_object_js_1.paramDesc]() {
|
|
6114
|
+
return [
|
|
6115
|
+
["flags", _1_tl_object_js_1.flags, "#"],
|
|
6116
|
+
["message", _2_types_js_1.types._InputBusinessAwayMessage, "flags.0?InputBusinessAwayMessage"],
|
|
6117
|
+
];
|
|
6118
|
+
}
|
|
6119
|
+
get [_1_tl_object_js_1.params]() {
|
|
6120
|
+
return [
|
|
6121
|
+
["flags", _1_tl_object_js_1.flags, "#"],
|
|
6122
|
+
[this.message ?? null, _2_types_js_1.types._InputBusinessAwayMessage, "flags.0?InputBusinessAwayMessage"],
|
|
6123
|
+
];
|
|
6124
|
+
}
|
|
6125
|
+
constructor(params) {
|
|
6126
|
+
super();
|
|
6127
|
+
Object.defineProperty(this, "message", {
|
|
6128
|
+
enumerable: true,
|
|
6129
|
+
configurable: true,
|
|
6130
|
+
writable: true,
|
|
6131
|
+
value: void 0
|
|
6132
|
+
});
|
|
6133
|
+
this.message = params?.message;
|
|
6134
|
+
}
|
|
6135
|
+
}
|
|
6136
|
+
exports.account_updateBusinessAwayMessage_ = account_updateBusinessAwayMessage_;
|
|
6137
|
+
Object.defineProperty(account_updateBusinessAwayMessage_, "__F", {
|
|
6138
|
+
enumerable: true,
|
|
6139
|
+
configurable: true,
|
|
6140
|
+
writable: true,
|
|
6141
|
+
value: null
|
|
6142
|
+
});
|
|
6143
|
+
class account_updateConnectedBot_ extends Function_ {
|
|
6144
|
+
get [_1_tl_object_js_1.id]() {
|
|
6145
|
+
return 0x43D8521D;
|
|
6146
|
+
}
|
|
6147
|
+
static get [_1_tl_object_js_1.name]() {
|
|
6148
|
+
return "account.updateConnectedBot";
|
|
6149
|
+
}
|
|
6150
|
+
static get [_1_tl_object_js_1.paramDesc]() {
|
|
6151
|
+
return [
|
|
6152
|
+
["flags", _1_tl_object_js_1.flags, "#"],
|
|
6153
|
+
["can_reply", "true", "flags.0?true"],
|
|
6154
|
+
["deleted", "true", "flags.1?true"],
|
|
6155
|
+
["bot", _2_types_js_1.types._InputUser, "InputUser"],
|
|
6156
|
+
["recipients", _2_types_js_1.types._InputBusinessBotRecipients, "InputBusinessBotRecipients"],
|
|
6157
|
+
];
|
|
6158
|
+
}
|
|
6159
|
+
get [_1_tl_object_js_1.params]() {
|
|
6160
|
+
return [
|
|
6161
|
+
["flags", _1_tl_object_js_1.flags, "#"],
|
|
6162
|
+
[this.can_reply ?? null, "true", "flags.0?true"],
|
|
6163
|
+
[this.deleted ?? null, "true", "flags.1?true"],
|
|
6164
|
+
[this.bot, _2_types_js_1.types._InputUser, "InputUser"],
|
|
6165
|
+
[this.recipients, _2_types_js_1.types._InputBusinessBotRecipients, "InputBusinessBotRecipients"],
|
|
6166
|
+
];
|
|
6167
|
+
}
|
|
6168
|
+
constructor(params) {
|
|
6169
|
+
super();
|
|
6170
|
+
Object.defineProperty(this, "can_reply", {
|
|
6171
|
+
enumerable: true,
|
|
6172
|
+
configurable: true,
|
|
6173
|
+
writable: true,
|
|
6174
|
+
value: void 0
|
|
6175
|
+
});
|
|
6176
|
+
Object.defineProperty(this, "deleted", {
|
|
6177
|
+
enumerable: true,
|
|
6178
|
+
configurable: true,
|
|
6179
|
+
writable: true,
|
|
6180
|
+
value: void 0
|
|
6181
|
+
});
|
|
6182
|
+
Object.defineProperty(this, "bot", {
|
|
6183
|
+
enumerable: true,
|
|
6184
|
+
configurable: true,
|
|
6185
|
+
writable: true,
|
|
6186
|
+
value: void 0
|
|
6187
|
+
});
|
|
6188
|
+
Object.defineProperty(this, "recipients", {
|
|
6189
|
+
enumerable: true,
|
|
6190
|
+
configurable: true,
|
|
6191
|
+
writable: true,
|
|
6192
|
+
value: void 0
|
|
6193
|
+
});
|
|
6194
|
+
this.can_reply = params.can_reply;
|
|
6195
|
+
this.deleted = params.deleted;
|
|
6196
|
+
this.bot = params.bot;
|
|
6197
|
+
this.recipients = params.recipients;
|
|
6198
|
+
}
|
|
6199
|
+
}
|
|
6200
|
+
exports.account_updateConnectedBot_ = account_updateConnectedBot_;
|
|
6201
|
+
Object.defineProperty(account_updateConnectedBot_, "__F", {
|
|
6202
|
+
enumerable: true,
|
|
6203
|
+
configurable: true,
|
|
6204
|
+
writable: true,
|
|
6205
|
+
value: null
|
|
6206
|
+
});
|
|
6207
|
+
class account_getConnectedBots_ extends Function_ {
|
|
6208
|
+
get [_1_tl_object_js_1.id]() {
|
|
6209
|
+
return 0x4EA4C80F;
|
|
6210
|
+
}
|
|
6211
|
+
static get [_1_tl_object_js_1.name]() {
|
|
6212
|
+
return "account.getConnectedBots";
|
|
6213
|
+
}
|
|
6214
|
+
static get [_1_tl_object_js_1.paramDesc]() {
|
|
6215
|
+
return [];
|
|
6216
|
+
}
|
|
6217
|
+
get [_1_tl_object_js_1.params]() {
|
|
6218
|
+
return [];
|
|
6219
|
+
}
|
|
6220
|
+
constructor() {
|
|
6221
|
+
super();
|
|
6222
|
+
}
|
|
6223
|
+
}
|
|
6224
|
+
exports.account_getConnectedBots_ = account_getConnectedBots_;
|
|
6225
|
+
Object.defineProperty(account_getConnectedBots_, "__F", {
|
|
6226
|
+
enumerable: true,
|
|
6227
|
+
configurable: true,
|
|
6228
|
+
writable: true,
|
|
6229
|
+
value: null
|
|
6230
|
+
});
|
|
6231
|
+
class account_getBotBusinessConnection_ extends Function_ {
|
|
6232
|
+
get [_1_tl_object_js_1.id]() {
|
|
6233
|
+
return 0x76A86270;
|
|
6234
|
+
}
|
|
6235
|
+
static get [_1_tl_object_js_1.name]() {
|
|
6236
|
+
return "account.getBotBusinessConnection";
|
|
6237
|
+
}
|
|
6238
|
+
static get [_1_tl_object_js_1.paramDesc]() {
|
|
6239
|
+
return [
|
|
6240
|
+
["connection_id", "string", "string"],
|
|
6241
|
+
];
|
|
6242
|
+
}
|
|
6243
|
+
get [_1_tl_object_js_1.params]() {
|
|
6244
|
+
return [
|
|
6245
|
+
[this.connection_id, "string", "string"],
|
|
6246
|
+
];
|
|
6247
|
+
}
|
|
6248
|
+
constructor(params) {
|
|
6249
|
+
super();
|
|
6250
|
+
Object.defineProperty(this, "connection_id", {
|
|
6251
|
+
enumerable: true,
|
|
6252
|
+
configurable: true,
|
|
6253
|
+
writable: true,
|
|
6254
|
+
value: void 0
|
|
6255
|
+
});
|
|
6256
|
+
this.connection_id = params.connection_id;
|
|
6257
|
+
}
|
|
6258
|
+
}
|
|
6259
|
+
exports.account_getBotBusinessConnection_ = account_getBotBusinessConnection_;
|
|
6260
|
+
Object.defineProperty(account_getBotBusinessConnection_, "__F", {
|
|
6261
|
+
enumerable: true,
|
|
6262
|
+
configurable: true,
|
|
6263
|
+
writable: true,
|
|
6264
|
+
value: null
|
|
6265
|
+
});
|
|
6266
|
+
class account_updateBusinessIntro_ extends Function_ {
|
|
6267
|
+
get [_1_tl_object_js_1.id]() {
|
|
6268
|
+
return 0xA614D034;
|
|
6269
|
+
}
|
|
6270
|
+
static get [_1_tl_object_js_1.name]() {
|
|
6271
|
+
return "account.updateBusinessIntro";
|
|
6272
|
+
}
|
|
6273
|
+
static get [_1_tl_object_js_1.paramDesc]() {
|
|
6274
|
+
return [
|
|
6275
|
+
["flags", _1_tl_object_js_1.flags, "#"],
|
|
6276
|
+
["intro", _2_types_js_1.types._InputBusinessIntro, "flags.0?InputBusinessIntro"],
|
|
6277
|
+
];
|
|
6278
|
+
}
|
|
6279
|
+
get [_1_tl_object_js_1.params]() {
|
|
6280
|
+
return [
|
|
6281
|
+
["flags", _1_tl_object_js_1.flags, "#"],
|
|
6282
|
+
[this.intro ?? null, _2_types_js_1.types._InputBusinessIntro, "flags.0?InputBusinessIntro"],
|
|
6283
|
+
];
|
|
6284
|
+
}
|
|
6285
|
+
constructor(params) {
|
|
6286
|
+
super();
|
|
6287
|
+
Object.defineProperty(this, "intro", {
|
|
6288
|
+
enumerable: true,
|
|
6289
|
+
configurable: true,
|
|
6290
|
+
writable: true,
|
|
6291
|
+
value: void 0
|
|
6292
|
+
});
|
|
6293
|
+
this.intro = params?.intro;
|
|
6294
|
+
}
|
|
6295
|
+
}
|
|
6296
|
+
exports.account_updateBusinessIntro_ = account_updateBusinessIntro_;
|
|
6297
|
+
Object.defineProperty(account_updateBusinessIntro_, "__F", {
|
|
6298
|
+
enumerable: true,
|
|
6299
|
+
configurable: true,
|
|
6300
|
+
writable: true,
|
|
6301
|
+
value: null
|
|
6302
|
+
});
|
|
6303
|
+
class account_toggleConnectedBotPaused_ extends Function_ {
|
|
6304
|
+
get [_1_tl_object_js_1.id]() {
|
|
6305
|
+
return 0x646E1097;
|
|
6306
|
+
}
|
|
6307
|
+
static get [_1_tl_object_js_1.name]() {
|
|
6308
|
+
return "account.toggleConnectedBotPaused";
|
|
6309
|
+
}
|
|
6310
|
+
static get [_1_tl_object_js_1.paramDesc]() {
|
|
6311
|
+
return [
|
|
6312
|
+
["peer", _2_types_js_1.types._InputPeer, "InputPeer"],
|
|
6313
|
+
["paused", "boolean", "Bool"],
|
|
6314
|
+
];
|
|
6315
|
+
}
|
|
6316
|
+
get [_1_tl_object_js_1.params]() {
|
|
6317
|
+
return [
|
|
6318
|
+
[this.peer, _2_types_js_1.types._InputPeer, "InputPeer"],
|
|
6319
|
+
[this.paused, "boolean", "Bool"],
|
|
6320
|
+
];
|
|
6321
|
+
}
|
|
6322
|
+
constructor(params) {
|
|
6323
|
+
super();
|
|
6324
|
+
Object.defineProperty(this, "peer", {
|
|
6325
|
+
enumerable: true,
|
|
6326
|
+
configurable: true,
|
|
6327
|
+
writable: true,
|
|
6328
|
+
value: void 0
|
|
6329
|
+
});
|
|
6330
|
+
Object.defineProperty(this, "paused", {
|
|
6331
|
+
enumerable: true,
|
|
6332
|
+
configurable: true,
|
|
6333
|
+
writable: true,
|
|
6334
|
+
value: void 0
|
|
6335
|
+
});
|
|
6336
|
+
this.peer = params.peer;
|
|
6337
|
+
this.paused = params.paused;
|
|
6338
|
+
}
|
|
6339
|
+
}
|
|
6340
|
+
exports.account_toggleConnectedBotPaused_ = account_toggleConnectedBotPaused_;
|
|
6341
|
+
Object.defineProperty(account_toggleConnectedBotPaused_, "__F", {
|
|
6342
|
+
enumerable: true,
|
|
6343
|
+
configurable: true,
|
|
6344
|
+
writable: true,
|
|
6345
|
+
value: null
|
|
6346
|
+
});
|
|
6347
|
+
class account_disablePeerConnectedBot_ extends Function_ {
|
|
6348
|
+
get [_1_tl_object_js_1.id]() {
|
|
6349
|
+
return 0x5E437ED9;
|
|
6350
|
+
}
|
|
6351
|
+
static get [_1_tl_object_js_1.name]() {
|
|
6352
|
+
return "account.disablePeerConnectedBot";
|
|
6353
|
+
}
|
|
6354
|
+
static get [_1_tl_object_js_1.paramDesc]() {
|
|
6355
|
+
return [
|
|
6356
|
+
["peer", _2_types_js_1.types._InputPeer, "InputPeer"],
|
|
6357
|
+
];
|
|
6358
|
+
}
|
|
6359
|
+
get [_1_tl_object_js_1.params]() {
|
|
6360
|
+
return [
|
|
6361
|
+
[this.peer, _2_types_js_1.types._InputPeer, "InputPeer"],
|
|
6362
|
+
];
|
|
6363
|
+
}
|
|
6364
|
+
constructor(params) {
|
|
6365
|
+
super();
|
|
6366
|
+
Object.defineProperty(this, "peer", {
|
|
6367
|
+
enumerable: true,
|
|
6368
|
+
configurable: true,
|
|
6369
|
+
writable: true,
|
|
6370
|
+
value: void 0
|
|
6371
|
+
});
|
|
6372
|
+
this.peer = params.peer;
|
|
6373
|
+
}
|
|
6374
|
+
}
|
|
6375
|
+
exports.account_disablePeerConnectedBot_ = account_disablePeerConnectedBot_;
|
|
6376
|
+
Object.defineProperty(account_disablePeerConnectedBot_, "__F", {
|
|
6377
|
+
enumerable: true,
|
|
6378
|
+
configurable: true,
|
|
6379
|
+
writable: true,
|
|
6380
|
+
value: null
|
|
6381
|
+
});
|
|
6382
|
+
class account_updateBirthday_ extends Function_ {
|
|
6383
|
+
get [_1_tl_object_js_1.id]() {
|
|
6384
|
+
return 0xCC6E0C11;
|
|
6385
|
+
}
|
|
6386
|
+
static get [_1_tl_object_js_1.name]() {
|
|
6387
|
+
return "account.updateBirthday";
|
|
6388
|
+
}
|
|
6389
|
+
static get [_1_tl_object_js_1.paramDesc]() {
|
|
6390
|
+
return [
|
|
6391
|
+
["flags", _1_tl_object_js_1.flags, "#"],
|
|
6392
|
+
["birthday", _2_types_js_1.types._Birthday, "flags.0?Birthday"],
|
|
6393
|
+
];
|
|
6394
|
+
}
|
|
6395
|
+
get [_1_tl_object_js_1.params]() {
|
|
6396
|
+
return [
|
|
6397
|
+
["flags", _1_tl_object_js_1.flags, "#"],
|
|
6398
|
+
[this.birthday ?? null, _2_types_js_1.types._Birthday, "flags.0?Birthday"],
|
|
6399
|
+
];
|
|
6400
|
+
}
|
|
6401
|
+
constructor(params) {
|
|
6402
|
+
super();
|
|
6403
|
+
Object.defineProperty(this, "birthday", {
|
|
6404
|
+
enumerable: true,
|
|
6405
|
+
configurable: true,
|
|
6406
|
+
writable: true,
|
|
6407
|
+
value: void 0
|
|
6408
|
+
});
|
|
6409
|
+
this.birthday = params?.birthday;
|
|
6410
|
+
}
|
|
6411
|
+
}
|
|
6412
|
+
exports.account_updateBirthday_ = account_updateBirthday_;
|
|
6413
|
+
Object.defineProperty(account_updateBirthday_, "__F", {
|
|
6414
|
+
enumerable: true,
|
|
6415
|
+
configurable: true,
|
|
6416
|
+
writable: true,
|
|
6417
|
+
value: null
|
|
6418
|
+
});
|
|
6419
|
+
class account_createBusinessChatLink_ extends Function_ {
|
|
6420
|
+
get [_1_tl_object_js_1.id]() {
|
|
6421
|
+
return 0x8851E68E;
|
|
6422
|
+
}
|
|
6423
|
+
static get [_1_tl_object_js_1.name]() {
|
|
6424
|
+
return "account.createBusinessChatLink";
|
|
6425
|
+
}
|
|
6426
|
+
static get [_1_tl_object_js_1.paramDesc]() {
|
|
6427
|
+
return [
|
|
6428
|
+
["link", _2_types_js_1.types._InputBusinessChatLink, "InputBusinessChatLink"],
|
|
6429
|
+
];
|
|
6430
|
+
}
|
|
6431
|
+
get [_1_tl_object_js_1.params]() {
|
|
6432
|
+
return [
|
|
6433
|
+
[this.link, _2_types_js_1.types._InputBusinessChatLink, "InputBusinessChatLink"],
|
|
6434
|
+
];
|
|
6435
|
+
}
|
|
6436
|
+
constructor(params) {
|
|
6437
|
+
super();
|
|
6438
|
+
Object.defineProperty(this, "link", {
|
|
6439
|
+
enumerable: true,
|
|
6440
|
+
configurable: true,
|
|
6441
|
+
writable: true,
|
|
6442
|
+
value: void 0
|
|
6443
|
+
});
|
|
6444
|
+
this.link = params.link;
|
|
6445
|
+
}
|
|
6446
|
+
}
|
|
6447
|
+
exports.account_createBusinessChatLink_ = account_createBusinessChatLink_;
|
|
6448
|
+
Object.defineProperty(account_createBusinessChatLink_, "__F", {
|
|
6449
|
+
enumerable: true,
|
|
6450
|
+
configurable: true,
|
|
6451
|
+
writable: true,
|
|
6452
|
+
value: null
|
|
6453
|
+
});
|
|
6454
|
+
class account_editBusinessChatLink_ extends Function_ {
|
|
6455
|
+
get [_1_tl_object_js_1.id]() {
|
|
6456
|
+
return 0x8C3410AF;
|
|
6457
|
+
}
|
|
6458
|
+
static get [_1_tl_object_js_1.name]() {
|
|
6459
|
+
return "account.editBusinessChatLink";
|
|
6460
|
+
}
|
|
6461
|
+
static get [_1_tl_object_js_1.paramDesc]() {
|
|
6462
|
+
return [
|
|
6463
|
+
["slug", "string", "string"],
|
|
6464
|
+
["link", _2_types_js_1.types._InputBusinessChatLink, "InputBusinessChatLink"],
|
|
6465
|
+
];
|
|
6466
|
+
}
|
|
6467
|
+
get [_1_tl_object_js_1.params]() {
|
|
6468
|
+
return [
|
|
6469
|
+
[this.slug, "string", "string"],
|
|
6470
|
+
[this.link, _2_types_js_1.types._InputBusinessChatLink, "InputBusinessChatLink"],
|
|
6471
|
+
];
|
|
6472
|
+
}
|
|
6473
|
+
constructor(params) {
|
|
6474
|
+
super();
|
|
6475
|
+
Object.defineProperty(this, "slug", {
|
|
6476
|
+
enumerable: true,
|
|
6477
|
+
configurable: true,
|
|
6478
|
+
writable: true,
|
|
6479
|
+
value: void 0
|
|
6480
|
+
});
|
|
6481
|
+
Object.defineProperty(this, "link", {
|
|
6482
|
+
enumerable: true,
|
|
6483
|
+
configurable: true,
|
|
6484
|
+
writable: true,
|
|
6485
|
+
value: void 0
|
|
6486
|
+
});
|
|
6487
|
+
this.slug = params.slug;
|
|
6488
|
+
this.link = params.link;
|
|
6489
|
+
}
|
|
6490
|
+
}
|
|
6491
|
+
exports.account_editBusinessChatLink_ = account_editBusinessChatLink_;
|
|
6492
|
+
Object.defineProperty(account_editBusinessChatLink_, "__F", {
|
|
6493
|
+
enumerable: true,
|
|
6494
|
+
configurable: true,
|
|
6495
|
+
writable: true,
|
|
6496
|
+
value: null
|
|
6497
|
+
});
|
|
6498
|
+
class account_deleteBusinessChatLink_ extends Function_ {
|
|
6499
|
+
get [_1_tl_object_js_1.id]() {
|
|
6500
|
+
return 0x60073674;
|
|
6501
|
+
}
|
|
6502
|
+
static get [_1_tl_object_js_1.name]() {
|
|
6503
|
+
return "account.deleteBusinessChatLink";
|
|
6504
|
+
}
|
|
6505
|
+
static get [_1_tl_object_js_1.paramDesc]() {
|
|
6506
|
+
return [
|
|
6507
|
+
["slug", "string", "string"],
|
|
6508
|
+
];
|
|
6509
|
+
}
|
|
6510
|
+
get [_1_tl_object_js_1.params]() {
|
|
6511
|
+
return [
|
|
6512
|
+
[this.slug, "string", "string"],
|
|
6513
|
+
];
|
|
6514
|
+
}
|
|
6515
|
+
constructor(params) {
|
|
6516
|
+
super();
|
|
6517
|
+
Object.defineProperty(this, "slug", {
|
|
6518
|
+
enumerable: true,
|
|
6519
|
+
configurable: true,
|
|
6520
|
+
writable: true,
|
|
6521
|
+
value: void 0
|
|
6522
|
+
});
|
|
6523
|
+
this.slug = params.slug;
|
|
6524
|
+
}
|
|
6525
|
+
}
|
|
6526
|
+
exports.account_deleteBusinessChatLink_ = account_deleteBusinessChatLink_;
|
|
6527
|
+
Object.defineProperty(account_deleteBusinessChatLink_, "__F", {
|
|
6528
|
+
enumerable: true,
|
|
6529
|
+
configurable: true,
|
|
6530
|
+
writable: true,
|
|
6531
|
+
value: null
|
|
6532
|
+
});
|
|
6533
|
+
class account_getBusinessChatLinks_ extends Function_ {
|
|
6534
|
+
get [_1_tl_object_js_1.id]() {
|
|
6535
|
+
return 0x6F70DDE1;
|
|
6536
|
+
}
|
|
6537
|
+
static get [_1_tl_object_js_1.name]() {
|
|
6538
|
+
return "account.getBusinessChatLinks";
|
|
6539
|
+
}
|
|
6540
|
+
static get [_1_tl_object_js_1.paramDesc]() {
|
|
6541
|
+
return [];
|
|
6542
|
+
}
|
|
6543
|
+
get [_1_tl_object_js_1.params]() {
|
|
6544
|
+
return [];
|
|
6545
|
+
}
|
|
6546
|
+
constructor() {
|
|
6547
|
+
super();
|
|
6548
|
+
}
|
|
6549
|
+
}
|
|
6550
|
+
exports.account_getBusinessChatLinks_ = account_getBusinessChatLinks_;
|
|
6551
|
+
Object.defineProperty(account_getBusinessChatLinks_, "__F", {
|
|
6552
|
+
enumerable: true,
|
|
6553
|
+
configurable: true,
|
|
6554
|
+
writable: true,
|
|
6555
|
+
value: null
|
|
6556
|
+
});
|
|
6557
|
+
class account_resolveBusinessChatLink_ extends Function_ {
|
|
6028
6558
|
get [_1_tl_object_js_1.id]() {
|
|
6029
|
-
return
|
|
6559
|
+
return 0x5492E5EE;
|
|
6030
6560
|
}
|
|
6031
6561
|
static get [_1_tl_object_js_1.name]() {
|
|
6032
|
-
return "account.
|
|
6562
|
+
return "account.resolveBusinessChatLink";
|
|
6033
6563
|
}
|
|
6034
6564
|
static get [_1_tl_object_js_1.paramDesc]() {
|
|
6035
6565
|
return [
|
|
6036
|
-
["
|
|
6037
|
-
["message", _2_types_js_1.types._InputBusinessAwayMessage, "flags.0?InputBusinessAwayMessage"],
|
|
6566
|
+
["slug", "string", "string"],
|
|
6038
6567
|
];
|
|
6039
6568
|
}
|
|
6040
6569
|
get [_1_tl_object_js_1.params]() {
|
|
6041
6570
|
return [
|
|
6042
|
-
["
|
|
6043
|
-
[this.message ?? null, _2_types_js_1.types._InputBusinessAwayMessage, "flags.0?InputBusinessAwayMessage"],
|
|
6571
|
+
[this.slug, "string", "string"],
|
|
6044
6572
|
];
|
|
6045
6573
|
}
|
|
6046
6574
|
constructor(params) {
|
|
6047
6575
|
super();
|
|
6048
|
-
Object.defineProperty(this, "
|
|
6576
|
+
Object.defineProperty(this, "slug", {
|
|
6049
6577
|
enumerable: true,
|
|
6050
6578
|
configurable: true,
|
|
6051
6579
|
writable: true,
|
|
6052
6580
|
value: void 0
|
|
6053
6581
|
});
|
|
6054
|
-
this.
|
|
6582
|
+
this.slug = params.slug;
|
|
6055
6583
|
}
|
|
6056
6584
|
}
|
|
6057
|
-
exports.
|
|
6058
|
-
Object.defineProperty(
|
|
6585
|
+
exports.account_resolveBusinessChatLink_ = account_resolveBusinessChatLink_;
|
|
6586
|
+
Object.defineProperty(account_resolveBusinessChatLink_, "__F", {
|
|
6059
6587
|
enumerable: true,
|
|
6060
6588
|
configurable: true,
|
|
6061
6589
|
writable: true,
|
|
6062
6590
|
value: null
|
|
6063
6591
|
});
|
|
6064
|
-
class
|
|
6592
|
+
class account_updatePersonalChannel_ extends Function_ {
|
|
6065
6593
|
get [_1_tl_object_js_1.id]() {
|
|
6066
|
-
return
|
|
6594
|
+
return 0xD94305E0;
|
|
6067
6595
|
}
|
|
6068
6596
|
static get [_1_tl_object_js_1.name]() {
|
|
6069
|
-
return "account.
|
|
6597
|
+
return "account.updatePersonalChannel";
|
|
6070
6598
|
}
|
|
6071
6599
|
static get [_1_tl_object_js_1.paramDesc]() {
|
|
6072
6600
|
return [
|
|
6073
|
-
["
|
|
6074
|
-
["can_reply", "true", "flags.0?true"],
|
|
6075
|
-
["deleted", "true", "flags.1?true"],
|
|
6076
|
-
["bot", _2_types_js_1.types._InputUser, "InputUser"],
|
|
6077
|
-
["recipients", _2_types_js_1.types._InputBusinessRecipients, "InputBusinessRecipients"],
|
|
6601
|
+
["channel", _2_types_js_1.types._InputChannel, "InputChannel"],
|
|
6078
6602
|
];
|
|
6079
6603
|
}
|
|
6080
6604
|
get [_1_tl_object_js_1.params]() {
|
|
6081
6605
|
return [
|
|
6082
|
-
[
|
|
6083
|
-
[this.can_reply ?? null, "true", "flags.0?true"],
|
|
6084
|
-
[this.deleted ?? null, "true", "flags.1?true"],
|
|
6085
|
-
[this.bot, _2_types_js_1.types._InputUser, "InputUser"],
|
|
6086
|
-
[this.recipients, _2_types_js_1.types._InputBusinessRecipients, "InputBusinessRecipients"],
|
|
6606
|
+
[this.channel, _2_types_js_1.types._InputChannel, "InputChannel"],
|
|
6087
6607
|
];
|
|
6088
6608
|
}
|
|
6089
6609
|
constructor(params) {
|
|
6090
6610
|
super();
|
|
6091
|
-
Object.defineProperty(this, "
|
|
6092
|
-
enumerable: true,
|
|
6093
|
-
configurable: true,
|
|
6094
|
-
writable: true,
|
|
6095
|
-
value: void 0
|
|
6096
|
-
});
|
|
6097
|
-
Object.defineProperty(this, "deleted", {
|
|
6098
|
-
enumerable: true,
|
|
6099
|
-
configurable: true,
|
|
6100
|
-
writable: true,
|
|
6101
|
-
value: void 0
|
|
6102
|
-
});
|
|
6103
|
-
Object.defineProperty(this, "bot", {
|
|
6104
|
-
enumerable: true,
|
|
6105
|
-
configurable: true,
|
|
6106
|
-
writable: true,
|
|
6107
|
-
value: void 0
|
|
6108
|
-
});
|
|
6109
|
-
Object.defineProperty(this, "recipients", {
|
|
6611
|
+
Object.defineProperty(this, "channel", {
|
|
6110
6612
|
enumerable: true,
|
|
6111
6613
|
configurable: true,
|
|
6112
6614
|
writable: true,
|
|
6113
6615
|
value: void 0
|
|
6114
6616
|
});
|
|
6115
|
-
this.
|
|
6116
|
-
this.deleted = params.deleted;
|
|
6117
|
-
this.bot = params.bot;
|
|
6118
|
-
this.recipients = params.recipients;
|
|
6119
|
-
}
|
|
6120
|
-
}
|
|
6121
|
-
exports.account_updateConnectedBot_ = account_updateConnectedBot_;
|
|
6122
|
-
Object.defineProperty(account_updateConnectedBot_, "__F", {
|
|
6123
|
-
enumerable: true,
|
|
6124
|
-
configurable: true,
|
|
6125
|
-
writable: true,
|
|
6126
|
-
value: null
|
|
6127
|
-
});
|
|
6128
|
-
class account_getConnectedBots_ extends Function_ {
|
|
6129
|
-
get [_1_tl_object_js_1.id]() {
|
|
6130
|
-
return 0x4EA4C80F;
|
|
6131
|
-
}
|
|
6132
|
-
static get [_1_tl_object_js_1.name]() {
|
|
6133
|
-
return "account.getConnectedBots";
|
|
6134
|
-
}
|
|
6135
|
-
static get [_1_tl_object_js_1.paramDesc]() {
|
|
6136
|
-
return [];
|
|
6137
|
-
}
|
|
6138
|
-
get [_1_tl_object_js_1.params]() {
|
|
6139
|
-
return [];
|
|
6140
|
-
}
|
|
6141
|
-
constructor() {
|
|
6142
|
-
super();
|
|
6617
|
+
this.channel = params.channel;
|
|
6143
6618
|
}
|
|
6144
6619
|
}
|
|
6145
|
-
exports.
|
|
6146
|
-
Object.defineProperty(
|
|
6620
|
+
exports.account_updatePersonalChannel_ = account_updatePersonalChannel_;
|
|
6621
|
+
Object.defineProperty(account_updatePersonalChannel_, "__F", {
|
|
6147
6622
|
enumerable: true,
|
|
6148
6623
|
configurable: true,
|
|
6149
6624
|
writable: true,
|
|
@@ -7470,6 +7945,30 @@ Object.defineProperty(contacts_setBlocked_, "__F", {
|
|
|
7470
7945
|
writable: true,
|
|
7471
7946
|
value: null
|
|
7472
7947
|
});
|
|
7948
|
+
class contacts_getBirthdays_ extends Function_ {
|
|
7949
|
+
get [_1_tl_object_js_1.id]() {
|
|
7950
|
+
return 0xDAEDA864;
|
|
7951
|
+
}
|
|
7952
|
+
static get [_1_tl_object_js_1.name]() {
|
|
7953
|
+
return "contacts.getBirthdays";
|
|
7954
|
+
}
|
|
7955
|
+
static get [_1_tl_object_js_1.paramDesc]() {
|
|
7956
|
+
return [];
|
|
7957
|
+
}
|
|
7958
|
+
get [_1_tl_object_js_1.params]() {
|
|
7959
|
+
return [];
|
|
7960
|
+
}
|
|
7961
|
+
constructor() {
|
|
7962
|
+
super();
|
|
7963
|
+
}
|
|
7964
|
+
}
|
|
7965
|
+
exports.contacts_getBirthdays_ = contacts_getBirthdays_;
|
|
7966
|
+
Object.defineProperty(contacts_getBirthdays_, "__F", {
|
|
7967
|
+
enumerable: true,
|
|
7968
|
+
configurable: true,
|
|
7969
|
+
writable: true,
|
|
7970
|
+
value: null
|
|
7971
|
+
});
|
|
7473
7972
|
/** Returns the list of messages by their IDs. */
|
|
7474
7973
|
class messages_getMessages_ extends Function_ {
|
|
7475
7974
|
get [_1_tl_object_js_1.id]() {
|
|
@@ -9028,7 +9527,7 @@ Object.defineProperty(messages_editChatPhoto_, "__F", {
|
|
|
9028
9527
|
/** Adds a user to a chat and sends a service message on it. */
|
|
9029
9528
|
class messages_addChatUser_ extends Function_ {
|
|
9030
9529
|
get [_1_tl_object_js_1.id]() {
|
|
9031
|
-
return
|
|
9530
|
+
return 0xCBC6D107;
|
|
9032
9531
|
}
|
|
9033
9532
|
static get [_1_tl_object_js_1.name]() {
|
|
9034
9533
|
return "messages.addChatUser";
|
|
@@ -9144,7 +9643,7 @@ Object.defineProperty(messages_deleteChatUser_, "__F", {
|
|
|
9144
9643
|
/** Creates a new chat. */
|
|
9145
9644
|
class messages_createChat_ extends Function_ {
|
|
9146
9645
|
get [_1_tl_object_js_1.id]() {
|
|
9147
|
-
return
|
|
9646
|
+
return 0x92CEDDD4;
|
|
9148
9647
|
}
|
|
9149
9648
|
static get [_1_tl_object_js_1.name]() {
|
|
9150
9649
|
return "messages.createChat";
|
|
@@ -12726,25 +13225,35 @@ Object.defineProperty(messages_setBotPrecheckoutResults_, "__F", {
|
|
|
12726
13225
|
/** Upload a file and associate it to a chat (without actually sending it to the chat) */
|
|
12727
13226
|
class messages_uploadMedia_ extends Function_ {
|
|
12728
13227
|
get [_1_tl_object_js_1.id]() {
|
|
12729
|
-
return
|
|
13228
|
+
return 0x14967978;
|
|
12730
13229
|
}
|
|
12731
13230
|
static get [_1_tl_object_js_1.name]() {
|
|
12732
13231
|
return "messages.uploadMedia";
|
|
12733
13232
|
}
|
|
12734
13233
|
static get [_1_tl_object_js_1.paramDesc]() {
|
|
12735
13234
|
return [
|
|
13235
|
+
["flags", _1_tl_object_js_1.flags, "#"],
|
|
13236
|
+
["business_connection_id", "string", "flags.0?string"],
|
|
12736
13237
|
["peer", _2_types_js_1.types._InputPeer, "InputPeer"],
|
|
12737
13238
|
["media", _2_types_js_1.types._InputMedia, "InputMedia"],
|
|
12738
13239
|
];
|
|
12739
13240
|
}
|
|
12740
13241
|
get [_1_tl_object_js_1.params]() {
|
|
12741
13242
|
return [
|
|
13243
|
+
["flags", _1_tl_object_js_1.flags, "#"],
|
|
13244
|
+
[this.business_connection_id ?? null, "string", "flags.0?string"],
|
|
12742
13245
|
[this.peer, _2_types_js_1.types._InputPeer, "InputPeer"],
|
|
12743
13246
|
[this.media, _2_types_js_1.types._InputMedia, "InputMedia"],
|
|
12744
13247
|
];
|
|
12745
13248
|
}
|
|
12746
13249
|
constructor(params) {
|
|
12747
13250
|
super();
|
|
13251
|
+
Object.defineProperty(this, "business_connection_id", {
|
|
13252
|
+
enumerable: true,
|
|
13253
|
+
configurable: true,
|
|
13254
|
+
writable: true,
|
|
13255
|
+
value: void 0
|
|
13256
|
+
});
|
|
12748
13257
|
/** The chat, can be [inputPeerEmpty](https://core.telegram.org/constructor/inputPeerEmpty) for bots and [inputPeerSelf](https://core.telegram.org/constructor/inputPeerSelf) for users. */
|
|
12749
13258
|
Object.defineProperty(this, "peer", {
|
|
12750
13259
|
enumerable: true,
|
|
@@ -12759,6 +13268,7 @@ class messages_uploadMedia_ extends Function_ {
|
|
|
12759
13268
|
writable: true,
|
|
12760
13269
|
value: void 0
|
|
12761
13270
|
});
|
|
13271
|
+
this.business_connection_id = params.business_connection_id;
|
|
12762
13272
|
this.peer = params.peer;
|
|
12763
13273
|
this.media = params.media;
|
|
12764
13274
|
}
|
|
@@ -19351,7 +19861,7 @@ Object.defineProperty(messages_getQuickReplyMessages_, "__F", {
|
|
|
19351
19861
|
});
|
|
19352
19862
|
class messages_sendQuickReplyMessages_ extends Function_ {
|
|
19353
19863
|
get [_1_tl_object_js_1.id]() {
|
|
19354
|
-
return
|
|
19864
|
+
return 0x6C750DE1;
|
|
19355
19865
|
}
|
|
19356
19866
|
static get [_1_tl_object_js_1.name]() {
|
|
19357
19867
|
return "messages.sendQuickReplyMessages";
|
|
@@ -19360,12 +19870,16 @@ class messages_sendQuickReplyMessages_ extends Function_ {
|
|
|
19360
19870
|
return [
|
|
19361
19871
|
["peer", _2_types_js_1.types._InputPeer, "InputPeer"],
|
|
19362
19872
|
["shortcut_id", "number", "int"],
|
|
19873
|
+
["id", ["number"], "Vector<int>"],
|
|
19874
|
+
["random_id", ["bigint"], "Vector<long>"],
|
|
19363
19875
|
];
|
|
19364
19876
|
}
|
|
19365
19877
|
get [_1_tl_object_js_1.params]() {
|
|
19366
19878
|
return [
|
|
19367
19879
|
[this.peer, _2_types_js_1.types._InputPeer, "InputPeer"],
|
|
19368
19880
|
[this.shortcut_id, "number", "int"],
|
|
19881
|
+
[this.id, ["number"], "Vector<int>"],
|
|
19882
|
+
[this.random_id, ["bigint"], "Vector<long>"],
|
|
19369
19883
|
];
|
|
19370
19884
|
}
|
|
19371
19885
|
constructor(params) {
|
|
@@ -19382,8 +19896,22 @@ class messages_sendQuickReplyMessages_ extends Function_ {
|
|
|
19382
19896
|
writable: true,
|
|
19383
19897
|
value: void 0
|
|
19384
19898
|
});
|
|
19899
|
+
Object.defineProperty(this, "id", {
|
|
19900
|
+
enumerable: true,
|
|
19901
|
+
configurable: true,
|
|
19902
|
+
writable: true,
|
|
19903
|
+
value: void 0
|
|
19904
|
+
});
|
|
19905
|
+
Object.defineProperty(this, "random_id", {
|
|
19906
|
+
enumerable: true,
|
|
19907
|
+
configurable: true,
|
|
19908
|
+
writable: true,
|
|
19909
|
+
value: void 0
|
|
19910
|
+
});
|
|
19385
19911
|
this.peer = params.peer;
|
|
19386
19912
|
this.shortcut_id = params.shortcut_id;
|
|
19913
|
+
this.id = params.id;
|
|
19914
|
+
this.random_id = params.random_id;
|
|
19387
19915
|
}
|
|
19388
19916
|
}
|
|
19389
19917
|
exports.messages_sendQuickReplyMessages_ = messages_sendQuickReplyMessages_;
|
|
@@ -19472,6 +20000,50 @@ Object.defineProperty(messages_toggleDialogFilterTags_, "__F", {
|
|
|
19472
20000
|
writable: true,
|
|
19473
20001
|
value: null
|
|
19474
20002
|
});
|
|
20003
|
+
class messages_getMyStickers_ extends Function_ {
|
|
20004
|
+
get [_1_tl_object_js_1.id]() {
|
|
20005
|
+
return 0xD0B5E1FC;
|
|
20006
|
+
}
|
|
20007
|
+
static get [_1_tl_object_js_1.name]() {
|
|
20008
|
+
return "messages.getMyStickers";
|
|
20009
|
+
}
|
|
20010
|
+
static get [_1_tl_object_js_1.paramDesc]() {
|
|
20011
|
+
return [
|
|
20012
|
+
["offset_id", "bigint", "long"],
|
|
20013
|
+
["limit", "number", "int"],
|
|
20014
|
+
];
|
|
20015
|
+
}
|
|
20016
|
+
get [_1_tl_object_js_1.params]() {
|
|
20017
|
+
return [
|
|
20018
|
+
[this.offset_id, "bigint", "long"],
|
|
20019
|
+
[this.limit, "number", "int"],
|
|
20020
|
+
];
|
|
20021
|
+
}
|
|
20022
|
+
constructor(params) {
|
|
20023
|
+
super();
|
|
20024
|
+
Object.defineProperty(this, "offset_id", {
|
|
20025
|
+
enumerable: true,
|
|
20026
|
+
configurable: true,
|
|
20027
|
+
writable: true,
|
|
20028
|
+
value: void 0
|
|
20029
|
+
});
|
|
20030
|
+
Object.defineProperty(this, "limit", {
|
|
20031
|
+
enumerable: true,
|
|
20032
|
+
configurable: true,
|
|
20033
|
+
writable: true,
|
|
20034
|
+
value: void 0
|
|
20035
|
+
});
|
|
20036
|
+
this.offset_id = params.offset_id;
|
|
20037
|
+
this.limit = params.limit;
|
|
20038
|
+
}
|
|
20039
|
+
}
|
|
20040
|
+
exports.messages_getMyStickers_ = messages_getMyStickers_;
|
|
20041
|
+
Object.defineProperty(messages_getMyStickers_, "__F", {
|
|
20042
|
+
enumerable: true,
|
|
20043
|
+
configurable: true,
|
|
20044
|
+
writable: true,
|
|
20045
|
+
value: null
|
|
20046
|
+
});
|
|
19475
20047
|
/** Returns a current state of updates. */
|
|
19476
20048
|
class updates_getState_ extends Function_ {
|
|
19477
20049
|
get [_1_tl_object_js_1.id]() {
|
|
@@ -22189,7 +22761,7 @@ Object.defineProperty(channels_leaveChannel_, "__F", {
|
|
|
22189
22761
|
/** Invite users to a channel/supergroup */
|
|
22190
22762
|
class channels_inviteToChannel_ extends Function_ {
|
|
22191
22763
|
get [_1_tl_object_js_1.id]() {
|
|
22192
|
-
return
|
|
22764
|
+
return 0xC9E33D54;
|
|
22193
22765
|
}
|
|
22194
22766
|
static get [_1_tl_object_js_1.name]() {
|
|
22195
22767
|
return "channels.inviteToChannel";
|
|
@@ -22399,6 +22971,7 @@ class channels_getAdminedPublicChannels_ extends Function_ {
|
|
|
22399
22971
|
["flags", _1_tl_object_js_1.flags, "#"],
|
|
22400
22972
|
["by_location", "true", "flags.0?true"],
|
|
22401
22973
|
["check_limit", "true", "flags.1?true"],
|
|
22974
|
+
["for_personal", "true", "flags.2?true"],
|
|
22402
22975
|
];
|
|
22403
22976
|
}
|
|
22404
22977
|
get [_1_tl_object_js_1.params]() {
|
|
@@ -22406,6 +22979,7 @@ class channels_getAdminedPublicChannels_ extends Function_ {
|
|
|
22406
22979
|
["flags", _1_tl_object_js_1.flags, "#"],
|
|
22407
22980
|
[this.by_location ?? null, "true", "flags.0?true"],
|
|
22408
22981
|
[this.check_limit ?? null, "true", "flags.1?true"],
|
|
22982
|
+
[this.for_personal ?? null, "true", "flags.2?true"],
|
|
22409
22983
|
];
|
|
22410
22984
|
}
|
|
22411
22985
|
constructor(params) {
|
|
@@ -22425,8 +22999,15 @@ class channels_getAdminedPublicChannels_ extends Function_ {
|
|
|
22425
22999
|
writable: true,
|
|
22426
23000
|
value: void 0
|
|
22427
23001
|
});
|
|
23002
|
+
Object.defineProperty(this, "for_personal", {
|
|
23003
|
+
enumerable: true,
|
|
23004
|
+
configurable: true,
|
|
23005
|
+
writable: true,
|
|
23006
|
+
value: void 0
|
|
23007
|
+
});
|
|
22428
23008
|
this.by_location = params?.by_location;
|
|
22429
23009
|
this.check_limit = params?.check_limit;
|
|
23010
|
+
this.for_personal = params?.for_personal;
|
|
22430
23011
|
}
|
|
22431
23012
|
}
|
|
22432
23013
|
exports.channels_getAdminedPublicChannels_ = channels_getAdminedPublicChannels_;
|
|
@@ -24386,77 +24967,167 @@ class channels_getChannelRecommendations_ extends Function_ {
|
|
|
24386
24967
|
this.channel = params.channel;
|
|
24387
24968
|
}
|
|
24388
24969
|
}
|
|
24389
|
-
exports.channels_getChannelRecommendations_ = channels_getChannelRecommendations_;
|
|
24390
|
-
Object.defineProperty(channels_getChannelRecommendations_, "__F", {
|
|
24970
|
+
exports.channels_getChannelRecommendations_ = channels_getChannelRecommendations_;
|
|
24971
|
+
Object.defineProperty(channels_getChannelRecommendations_, "__F", {
|
|
24972
|
+
enumerable: true,
|
|
24973
|
+
configurable: true,
|
|
24974
|
+
writable: true,
|
|
24975
|
+
value: null
|
|
24976
|
+
});
|
|
24977
|
+
/** Set an [emoji status](https://core.telegram.org/api/emoji-status) for a channel. */
|
|
24978
|
+
class channels_updateEmojiStatus_ extends Function_ {
|
|
24979
|
+
get [_1_tl_object_js_1.id]() {
|
|
24980
|
+
return 0xF0D3E6A8;
|
|
24981
|
+
}
|
|
24982
|
+
static get [_1_tl_object_js_1.name]() {
|
|
24983
|
+
return "channels.updateEmojiStatus";
|
|
24984
|
+
}
|
|
24985
|
+
static get [_1_tl_object_js_1.paramDesc]() {
|
|
24986
|
+
return [
|
|
24987
|
+
["channel", _2_types_js_1.types._InputChannel, "InputChannel"],
|
|
24988
|
+
["emoji_status", _2_types_js_1.types._EmojiStatus, "EmojiStatus"],
|
|
24989
|
+
];
|
|
24990
|
+
}
|
|
24991
|
+
get [_1_tl_object_js_1.params]() {
|
|
24992
|
+
return [
|
|
24993
|
+
[this.channel, _2_types_js_1.types._InputChannel, "InputChannel"],
|
|
24994
|
+
[this.emoji_status, _2_types_js_1.types._EmojiStatus, "EmojiStatus"],
|
|
24995
|
+
];
|
|
24996
|
+
}
|
|
24997
|
+
constructor(params) {
|
|
24998
|
+
super();
|
|
24999
|
+
/** The channel, must have at least [`channel_emoji_status_level_min` boosts](https://core.telegram.org/api/config#channel-emoji-status-level-min). */
|
|
25000
|
+
Object.defineProperty(this, "channel", {
|
|
25001
|
+
enumerable: true,
|
|
25002
|
+
configurable: true,
|
|
25003
|
+
writable: true,
|
|
25004
|
+
value: void 0
|
|
25005
|
+
});
|
|
25006
|
+
/** [Emoji status](https://core.telegram.org/api/emoji-status) to set */
|
|
25007
|
+
Object.defineProperty(this, "emoji_status", {
|
|
25008
|
+
enumerable: true,
|
|
25009
|
+
configurable: true,
|
|
25010
|
+
writable: true,
|
|
25011
|
+
value: void 0
|
|
25012
|
+
});
|
|
25013
|
+
this.channel = params.channel;
|
|
25014
|
+
this.emoji_status = params.emoji_status;
|
|
25015
|
+
}
|
|
25016
|
+
}
|
|
25017
|
+
exports.channels_updateEmojiStatus_ = channels_updateEmojiStatus_;
|
|
25018
|
+
Object.defineProperty(channels_updateEmojiStatus_, "__F", {
|
|
25019
|
+
enumerable: true,
|
|
25020
|
+
configurable: true,
|
|
25021
|
+
writable: true,
|
|
25022
|
+
value: null
|
|
25023
|
+
});
|
|
25024
|
+
class channels_setBoostsToUnblockRestrictions_ extends Function_ {
|
|
25025
|
+
get [_1_tl_object_js_1.id]() {
|
|
25026
|
+
return 0xAD399CEE;
|
|
25027
|
+
}
|
|
25028
|
+
static get [_1_tl_object_js_1.name]() {
|
|
25029
|
+
return "channels.setBoostsToUnblockRestrictions";
|
|
25030
|
+
}
|
|
25031
|
+
static get [_1_tl_object_js_1.paramDesc]() {
|
|
25032
|
+
return [
|
|
25033
|
+
["channel", _2_types_js_1.types._InputChannel, "InputChannel"],
|
|
25034
|
+
["boosts", "number", "int"],
|
|
25035
|
+
];
|
|
25036
|
+
}
|
|
25037
|
+
get [_1_tl_object_js_1.params]() {
|
|
25038
|
+
return [
|
|
25039
|
+
[this.channel, _2_types_js_1.types._InputChannel, "InputChannel"],
|
|
25040
|
+
[this.boosts, "number", "int"],
|
|
25041
|
+
];
|
|
25042
|
+
}
|
|
25043
|
+
constructor(params) {
|
|
25044
|
+
super();
|
|
25045
|
+
Object.defineProperty(this, "channel", {
|
|
25046
|
+
enumerable: true,
|
|
25047
|
+
configurable: true,
|
|
25048
|
+
writable: true,
|
|
25049
|
+
value: void 0
|
|
25050
|
+
});
|
|
25051
|
+
Object.defineProperty(this, "boosts", {
|
|
25052
|
+
enumerable: true,
|
|
25053
|
+
configurable: true,
|
|
25054
|
+
writable: true,
|
|
25055
|
+
value: void 0
|
|
25056
|
+
});
|
|
25057
|
+
this.channel = params.channel;
|
|
25058
|
+
this.boosts = params.boosts;
|
|
25059
|
+
}
|
|
25060
|
+
}
|
|
25061
|
+
exports.channels_setBoostsToUnblockRestrictions_ = channels_setBoostsToUnblockRestrictions_;
|
|
25062
|
+
Object.defineProperty(channels_setBoostsToUnblockRestrictions_, "__F", {
|
|
24391
25063
|
enumerable: true,
|
|
24392
25064
|
configurable: true,
|
|
24393
25065
|
writable: true,
|
|
24394
25066
|
value: null
|
|
24395
25067
|
});
|
|
24396
|
-
|
|
24397
|
-
class channels_updateEmojiStatus_ extends Function_ {
|
|
25068
|
+
class channels_setEmojiStickers_ extends Function_ {
|
|
24398
25069
|
get [_1_tl_object_js_1.id]() {
|
|
24399
|
-
return
|
|
25070
|
+
return 0x3CD930B7;
|
|
24400
25071
|
}
|
|
24401
25072
|
static get [_1_tl_object_js_1.name]() {
|
|
24402
|
-
return "channels.
|
|
25073
|
+
return "channels.setEmojiStickers";
|
|
24403
25074
|
}
|
|
24404
25075
|
static get [_1_tl_object_js_1.paramDesc]() {
|
|
24405
25076
|
return [
|
|
24406
25077
|
["channel", _2_types_js_1.types._InputChannel, "InputChannel"],
|
|
24407
|
-
["
|
|
25078
|
+
["stickerset", _2_types_js_1.types._InputStickerSet, "InputStickerSet"],
|
|
24408
25079
|
];
|
|
24409
25080
|
}
|
|
24410
25081
|
get [_1_tl_object_js_1.params]() {
|
|
24411
25082
|
return [
|
|
24412
25083
|
[this.channel, _2_types_js_1.types._InputChannel, "InputChannel"],
|
|
24413
|
-
[this.
|
|
25084
|
+
[this.stickerset, _2_types_js_1.types._InputStickerSet, "InputStickerSet"],
|
|
24414
25085
|
];
|
|
24415
25086
|
}
|
|
24416
25087
|
constructor(params) {
|
|
24417
25088
|
super();
|
|
24418
|
-
/** The channel, must have at least [`channel_emoji_status_level_min` boosts](https://core.telegram.org/api/config#channel-emoji-status-level-min). */
|
|
24419
25089
|
Object.defineProperty(this, "channel", {
|
|
24420
25090
|
enumerable: true,
|
|
24421
25091
|
configurable: true,
|
|
24422
25092
|
writable: true,
|
|
24423
25093
|
value: void 0
|
|
24424
25094
|
});
|
|
24425
|
-
|
|
24426
|
-
Object.defineProperty(this, "emoji_status", {
|
|
25095
|
+
Object.defineProperty(this, "stickerset", {
|
|
24427
25096
|
enumerable: true,
|
|
24428
25097
|
configurable: true,
|
|
24429
25098
|
writable: true,
|
|
24430
25099
|
value: void 0
|
|
24431
25100
|
});
|
|
24432
25101
|
this.channel = params.channel;
|
|
24433
|
-
this.
|
|
25102
|
+
this.stickerset = params.stickerset;
|
|
24434
25103
|
}
|
|
24435
25104
|
}
|
|
24436
|
-
exports.
|
|
24437
|
-
Object.defineProperty(
|
|
25105
|
+
exports.channels_setEmojiStickers_ = channels_setEmojiStickers_;
|
|
25106
|
+
Object.defineProperty(channels_setEmojiStickers_, "__F", {
|
|
24438
25107
|
enumerable: true,
|
|
24439
25108
|
configurable: true,
|
|
24440
25109
|
writable: true,
|
|
24441
25110
|
value: null
|
|
24442
25111
|
});
|
|
24443
|
-
class
|
|
25112
|
+
class channels_reportSponsoredMessage_ extends Function_ {
|
|
24444
25113
|
get [_1_tl_object_js_1.id]() {
|
|
24445
|
-
return
|
|
25114
|
+
return 0xAF8FF6B9;
|
|
24446
25115
|
}
|
|
24447
25116
|
static get [_1_tl_object_js_1.name]() {
|
|
24448
|
-
return "channels.
|
|
25117
|
+
return "channels.reportSponsoredMessage";
|
|
24449
25118
|
}
|
|
24450
25119
|
static get [_1_tl_object_js_1.paramDesc]() {
|
|
24451
25120
|
return [
|
|
24452
25121
|
["channel", _2_types_js_1.types._InputChannel, "InputChannel"],
|
|
24453
|
-
["
|
|
25122
|
+
["random_id", Uint8Array, "bytes"],
|
|
25123
|
+
["option", Uint8Array, "bytes"],
|
|
24454
25124
|
];
|
|
24455
25125
|
}
|
|
24456
25126
|
get [_1_tl_object_js_1.params]() {
|
|
24457
25127
|
return [
|
|
24458
25128
|
[this.channel, _2_types_js_1.types._InputChannel, "InputChannel"],
|
|
24459
|
-
[this.
|
|
25129
|
+
[this.random_id, Uint8Array, "bytes"],
|
|
25130
|
+
[this.option, Uint8Array, "bytes"],
|
|
24460
25131
|
];
|
|
24461
25132
|
}
|
|
24462
25133
|
constructor(params) {
|
|
@@ -24467,40 +25138,47 @@ class channels_setBoostsToUnblockRestrictions_ extends Function_ {
|
|
|
24467
25138
|
writable: true,
|
|
24468
25139
|
value: void 0
|
|
24469
25140
|
});
|
|
24470
|
-
Object.defineProperty(this, "
|
|
25141
|
+
Object.defineProperty(this, "random_id", {
|
|
25142
|
+
enumerable: true,
|
|
25143
|
+
configurable: true,
|
|
25144
|
+
writable: true,
|
|
25145
|
+
value: void 0
|
|
25146
|
+
});
|
|
25147
|
+
Object.defineProperty(this, "option", {
|
|
24471
25148
|
enumerable: true,
|
|
24472
25149
|
configurable: true,
|
|
24473
25150
|
writable: true,
|
|
24474
25151
|
value: void 0
|
|
24475
25152
|
});
|
|
24476
25153
|
this.channel = params.channel;
|
|
24477
|
-
this.
|
|
25154
|
+
this.random_id = params.random_id;
|
|
25155
|
+
this.option = params.option;
|
|
24478
25156
|
}
|
|
24479
25157
|
}
|
|
24480
|
-
exports.
|
|
24481
|
-
Object.defineProperty(
|
|
25158
|
+
exports.channels_reportSponsoredMessage_ = channels_reportSponsoredMessage_;
|
|
25159
|
+
Object.defineProperty(channels_reportSponsoredMessage_, "__F", {
|
|
24482
25160
|
enumerable: true,
|
|
24483
25161
|
configurable: true,
|
|
24484
25162
|
writable: true,
|
|
24485
25163
|
value: null
|
|
24486
25164
|
});
|
|
24487
|
-
class
|
|
25165
|
+
class channels_restrictSponsoredMessages_ extends Function_ {
|
|
24488
25166
|
get [_1_tl_object_js_1.id]() {
|
|
24489
|
-
return
|
|
25167
|
+
return 0x9AE91519;
|
|
24490
25168
|
}
|
|
24491
25169
|
static get [_1_tl_object_js_1.name]() {
|
|
24492
|
-
return "channels.
|
|
25170
|
+
return "channels.restrictSponsoredMessages";
|
|
24493
25171
|
}
|
|
24494
25172
|
static get [_1_tl_object_js_1.paramDesc]() {
|
|
24495
25173
|
return [
|
|
24496
25174
|
["channel", _2_types_js_1.types._InputChannel, "InputChannel"],
|
|
24497
|
-
["
|
|
25175
|
+
["restricted", "boolean", "Bool"],
|
|
24498
25176
|
];
|
|
24499
25177
|
}
|
|
24500
25178
|
get [_1_tl_object_js_1.params]() {
|
|
24501
25179
|
return [
|
|
24502
25180
|
[this.channel, _2_types_js_1.types._InputChannel, "InputChannel"],
|
|
24503
|
-
[this.
|
|
25181
|
+
[this.restricted, "boolean", "Bool"],
|
|
24504
25182
|
];
|
|
24505
25183
|
}
|
|
24506
25184
|
constructor(params) {
|
|
@@ -24511,18 +25189,18 @@ class channels_setEmojiStickers_ extends Function_ {
|
|
|
24511
25189
|
writable: true,
|
|
24512
25190
|
value: void 0
|
|
24513
25191
|
});
|
|
24514
|
-
Object.defineProperty(this, "
|
|
25192
|
+
Object.defineProperty(this, "restricted", {
|
|
24515
25193
|
enumerable: true,
|
|
24516
25194
|
configurable: true,
|
|
24517
25195
|
writable: true,
|
|
24518
25196
|
value: void 0
|
|
24519
25197
|
});
|
|
24520
25198
|
this.channel = params.channel;
|
|
24521
|
-
this.
|
|
25199
|
+
this.restricted = params.restricted;
|
|
24522
25200
|
}
|
|
24523
25201
|
}
|
|
24524
|
-
exports.
|
|
24525
|
-
Object.defineProperty(
|
|
25202
|
+
exports.channels_restrictSponsoredMessages_ = channels_restrictSponsoredMessages_;
|
|
25203
|
+
Object.defineProperty(channels_restrictSponsoredMessages_, "__F", {
|
|
24526
25204
|
enumerable: true,
|
|
24527
25205
|
configurable: true,
|
|
24528
25206
|
writable: true,
|
|
@@ -26052,8 +26730,6 @@ class stickers_createStickerSet_ extends Function_ {
|
|
|
26052
26730
|
return [
|
|
26053
26731
|
["flags", _1_tl_object_js_1.flags, "#"],
|
|
26054
26732
|
["masks", "true", "flags.0?true"],
|
|
26055
|
-
["animated", "true", "flags.1?true"],
|
|
26056
|
-
["videos", "true", "flags.4?true"],
|
|
26057
26733
|
["emojis", "true", "flags.5?true"],
|
|
26058
26734
|
["text_color", "true", "flags.6?true"],
|
|
26059
26735
|
["user_id", _2_types_js_1.types._InputUser, "InputUser"],
|
|
@@ -26068,8 +26744,6 @@ class stickers_createStickerSet_ extends Function_ {
|
|
|
26068
26744
|
return [
|
|
26069
26745
|
["flags", _1_tl_object_js_1.flags, "#"],
|
|
26070
26746
|
[this.masks ?? null, "true", "flags.0?true"],
|
|
26071
|
-
[this.animated ?? null, "true", "flags.1?true"],
|
|
26072
|
-
[this.videos ?? null, "true", "flags.4?true"],
|
|
26073
26747
|
[this.emojis ?? null, "true", "flags.5?true"],
|
|
26074
26748
|
[this.text_color ?? null, "true", "flags.6?true"],
|
|
26075
26749
|
[this.user_id, _2_types_js_1.types._InputUser, "InputUser"],
|
|
@@ -26089,20 +26763,6 @@ class stickers_createStickerSet_ extends Function_ {
|
|
|
26089
26763
|
writable: true,
|
|
26090
26764
|
value: void 0
|
|
26091
26765
|
});
|
|
26092
|
-
/** Whether this is an animated stickerset */
|
|
26093
|
-
Object.defineProperty(this, "animated", {
|
|
26094
|
-
enumerable: true,
|
|
26095
|
-
configurable: true,
|
|
26096
|
-
writable: true,
|
|
26097
|
-
value: void 0
|
|
26098
|
-
});
|
|
26099
|
-
/** Whether this is a video stickerset */
|
|
26100
|
-
Object.defineProperty(this, "videos", {
|
|
26101
|
-
enumerable: true,
|
|
26102
|
-
configurable: true,
|
|
26103
|
-
writable: true,
|
|
26104
|
-
value: void 0
|
|
26105
|
-
});
|
|
26106
26766
|
/** Whether this is a [custom emoji](https://core.telegram.org/api/custom-emoji) stickerset. */
|
|
26107
26767
|
Object.defineProperty(this, "emojis", {
|
|
26108
26768
|
enumerable: true,
|
|
@@ -26160,8 +26820,6 @@ class stickers_createStickerSet_ extends Function_ {
|
|
|
26160
26820
|
value: void 0
|
|
26161
26821
|
});
|
|
26162
26822
|
this.masks = params.masks;
|
|
26163
|
-
this.animated = params.animated;
|
|
26164
|
-
this.videos = params.videos;
|
|
26165
26823
|
this.emojis = params.emojis;
|
|
26166
26824
|
this.text_color = params.text_color;
|
|
26167
26825
|
this.user_id = params.user_id;
|
|
@@ -26596,6 +27254,50 @@ Object.defineProperty(stickers_deleteStickerSet_, "__F", {
|
|
|
26596
27254
|
writable: true,
|
|
26597
27255
|
value: null
|
|
26598
27256
|
});
|
|
27257
|
+
class stickers_replaceSticker_ extends Function_ {
|
|
27258
|
+
get [_1_tl_object_js_1.id]() {
|
|
27259
|
+
return 0x4696459A;
|
|
27260
|
+
}
|
|
27261
|
+
static get [_1_tl_object_js_1.name]() {
|
|
27262
|
+
return "stickers.replaceSticker";
|
|
27263
|
+
}
|
|
27264
|
+
static get [_1_tl_object_js_1.paramDesc]() {
|
|
27265
|
+
return [
|
|
27266
|
+
["sticker", _2_types_js_1.types._InputDocument, "InputDocument"],
|
|
27267
|
+
["new_sticker", _2_types_js_1.types._InputStickerSetItem, "InputStickerSetItem"],
|
|
27268
|
+
];
|
|
27269
|
+
}
|
|
27270
|
+
get [_1_tl_object_js_1.params]() {
|
|
27271
|
+
return [
|
|
27272
|
+
[this.sticker, _2_types_js_1.types._InputDocument, "InputDocument"],
|
|
27273
|
+
[this.new_sticker, _2_types_js_1.types._InputStickerSetItem, "InputStickerSetItem"],
|
|
27274
|
+
];
|
|
27275
|
+
}
|
|
27276
|
+
constructor(params) {
|
|
27277
|
+
super();
|
|
27278
|
+
Object.defineProperty(this, "sticker", {
|
|
27279
|
+
enumerable: true,
|
|
27280
|
+
configurable: true,
|
|
27281
|
+
writable: true,
|
|
27282
|
+
value: void 0
|
|
27283
|
+
});
|
|
27284
|
+
Object.defineProperty(this, "new_sticker", {
|
|
27285
|
+
enumerable: true,
|
|
27286
|
+
configurable: true,
|
|
27287
|
+
writable: true,
|
|
27288
|
+
value: void 0
|
|
27289
|
+
});
|
|
27290
|
+
this.sticker = params.sticker;
|
|
27291
|
+
this.new_sticker = params.new_sticker;
|
|
27292
|
+
}
|
|
27293
|
+
}
|
|
27294
|
+
exports.stickers_replaceSticker_ = stickers_replaceSticker_;
|
|
27295
|
+
Object.defineProperty(stickers_replaceSticker_, "__F", {
|
|
27296
|
+
enumerable: true,
|
|
27297
|
+
configurable: true,
|
|
27298
|
+
writable: true,
|
|
27299
|
+
value: null
|
|
27300
|
+
});
|
|
26599
27301
|
/** Get phone call configuration to be passed to libtgvoip's shared config */
|
|
26600
27302
|
class phone_getCallConfig_ extends Function_ {
|
|
26601
27303
|
get [_1_tl_object_js_1.id]() {
|
|
@@ -28985,6 +29687,149 @@ Object.defineProperty(stats_getStoryPublicForwards_, "__F", {
|
|
|
28985
29687
|
writable: true,
|
|
28986
29688
|
value: null
|
|
28987
29689
|
});
|
|
29690
|
+
class stats_getBroadcastRevenueStats_ extends Function_ {
|
|
29691
|
+
get [_1_tl_object_js_1.id]() {
|
|
29692
|
+
return 0x75DFB671;
|
|
29693
|
+
}
|
|
29694
|
+
static get [_1_tl_object_js_1.name]() {
|
|
29695
|
+
return "stats.getBroadcastRevenueStats";
|
|
29696
|
+
}
|
|
29697
|
+
static get [_1_tl_object_js_1.paramDesc]() {
|
|
29698
|
+
return [
|
|
29699
|
+
["flags", _1_tl_object_js_1.flags, "#"],
|
|
29700
|
+
["dark", "true", "flags.0?true"],
|
|
29701
|
+
["channel", _2_types_js_1.types._InputChannel, "InputChannel"],
|
|
29702
|
+
];
|
|
29703
|
+
}
|
|
29704
|
+
get [_1_tl_object_js_1.params]() {
|
|
29705
|
+
return [
|
|
29706
|
+
["flags", _1_tl_object_js_1.flags, "#"],
|
|
29707
|
+
[this.dark ?? null, "true", "flags.0?true"],
|
|
29708
|
+
[this.channel, _2_types_js_1.types._InputChannel, "InputChannel"],
|
|
29709
|
+
];
|
|
29710
|
+
}
|
|
29711
|
+
constructor(params) {
|
|
29712
|
+
super();
|
|
29713
|
+
Object.defineProperty(this, "dark", {
|
|
29714
|
+
enumerable: true,
|
|
29715
|
+
configurable: true,
|
|
29716
|
+
writable: true,
|
|
29717
|
+
value: void 0
|
|
29718
|
+
});
|
|
29719
|
+
Object.defineProperty(this, "channel", {
|
|
29720
|
+
enumerable: true,
|
|
29721
|
+
configurable: true,
|
|
29722
|
+
writable: true,
|
|
29723
|
+
value: void 0
|
|
29724
|
+
});
|
|
29725
|
+
this.dark = params.dark;
|
|
29726
|
+
this.channel = params.channel;
|
|
29727
|
+
}
|
|
29728
|
+
}
|
|
29729
|
+
exports.stats_getBroadcastRevenueStats_ = stats_getBroadcastRevenueStats_;
|
|
29730
|
+
Object.defineProperty(stats_getBroadcastRevenueStats_, "__F", {
|
|
29731
|
+
enumerable: true,
|
|
29732
|
+
configurable: true,
|
|
29733
|
+
writable: true,
|
|
29734
|
+
value: null
|
|
29735
|
+
});
|
|
29736
|
+
class stats_getBroadcastRevenueWithdrawalUrl_ extends Function_ {
|
|
29737
|
+
get [_1_tl_object_js_1.id]() {
|
|
29738
|
+
return 0x2A65EF73;
|
|
29739
|
+
}
|
|
29740
|
+
static get [_1_tl_object_js_1.name]() {
|
|
29741
|
+
return "stats.getBroadcastRevenueWithdrawalUrl";
|
|
29742
|
+
}
|
|
29743
|
+
static get [_1_tl_object_js_1.paramDesc]() {
|
|
29744
|
+
return [
|
|
29745
|
+
["channel", _2_types_js_1.types._InputChannel, "InputChannel"],
|
|
29746
|
+
["password", _2_types_js_1.types._InputCheckPasswordSRP, "InputCheckPasswordSRP"],
|
|
29747
|
+
];
|
|
29748
|
+
}
|
|
29749
|
+
get [_1_tl_object_js_1.params]() {
|
|
29750
|
+
return [
|
|
29751
|
+
[this.channel, _2_types_js_1.types._InputChannel, "InputChannel"],
|
|
29752
|
+
[this.password, _2_types_js_1.types._InputCheckPasswordSRP, "InputCheckPasswordSRP"],
|
|
29753
|
+
];
|
|
29754
|
+
}
|
|
29755
|
+
constructor(params) {
|
|
29756
|
+
super();
|
|
29757
|
+
Object.defineProperty(this, "channel", {
|
|
29758
|
+
enumerable: true,
|
|
29759
|
+
configurable: true,
|
|
29760
|
+
writable: true,
|
|
29761
|
+
value: void 0
|
|
29762
|
+
});
|
|
29763
|
+
Object.defineProperty(this, "password", {
|
|
29764
|
+
enumerable: true,
|
|
29765
|
+
configurable: true,
|
|
29766
|
+
writable: true,
|
|
29767
|
+
value: void 0
|
|
29768
|
+
});
|
|
29769
|
+
this.channel = params.channel;
|
|
29770
|
+
this.password = params.password;
|
|
29771
|
+
}
|
|
29772
|
+
}
|
|
29773
|
+
exports.stats_getBroadcastRevenueWithdrawalUrl_ = stats_getBroadcastRevenueWithdrawalUrl_;
|
|
29774
|
+
Object.defineProperty(stats_getBroadcastRevenueWithdrawalUrl_, "__F", {
|
|
29775
|
+
enumerable: true,
|
|
29776
|
+
configurable: true,
|
|
29777
|
+
writable: true,
|
|
29778
|
+
value: null
|
|
29779
|
+
});
|
|
29780
|
+
class stats_getBroadcastRevenueTransactions_ extends Function_ {
|
|
29781
|
+
get [_1_tl_object_js_1.id]() {
|
|
29782
|
+
return 0x0069280F;
|
|
29783
|
+
}
|
|
29784
|
+
static get [_1_tl_object_js_1.name]() {
|
|
29785
|
+
return "stats.getBroadcastRevenueTransactions";
|
|
29786
|
+
}
|
|
29787
|
+
static get [_1_tl_object_js_1.paramDesc]() {
|
|
29788
|
+
return [
|
|
29789
|
+
["channel", _2_types_js_1.types._InputChannel, "InputChannel"],
|
|
29790
|
+
["offset", "number", "int"],
|
|
29791
|
+
["limit", "number", "int"],
|
|
29792
|
+
];
|
|
29793
|
+
}
|
|
29794
|
+
get [_1_tl_object_js_1.params]() {
|
|
29795
|
+
return [
|
|
29796
|
+
[this.channel, _2_types_js_1.types._InputChannel, "InputChannel"],
|
|
29797
|
+
[this.offset, "number", "int"],
|
|
29798
|
+
[this.limit, "number", "int"],
|
|
29799
|
+
];
|
|
29800
|
+
}
|
|
29801
|
+
constructor(params) {
|
|
29802
|
+
super();
|
|
29803
|
+
Object.defineProperty(this, "channel", {
|
|
29804
|
+
enumerable: true,
|
|
29805
|
+
configurable: true,
|
|
29806
|
+
writable: true,
|
|
29807
|
+
value: void 0
|
|
29808
|
+
});
|
|
29809
|
+
Object.defineProperty(this, "offset", {
|
|
29810
|
+
enumerable: true,
|
|
29811
|
+
configurable: true,
|
|
29812
|
+
writable: true,
|
|
29813
|
+
value: void 0
|
|
29814
|
+
});
|
|
29815
|
+
Object.defineProperty(this, "limit", {
|
|
29816
|
+
enumerable: true,
|
|
29817
|
+
configurable: true,
|
|
29818
|
+
writable: true,
|
|
29819
|
+
value: void 0
|
|
29820
|
+
});
|
|
29821
|
+
this.channel = params.channel;
|
|
29822
|
+
this.offset = params.offset;
|
|
29823
|
+
this.limit = params.limit;
|
|
29824
|
+
}
|
|
29825
|
+
}
|
|
29826
|
+
exports.stats_getBroadcastRevenueTransactions_ = stats_getBroadcastRevenueTransactions_;
|
|
29827
|
+
Object.defineProperty(stats_getBroadcastRevenueTransactions_, "__F", {
|
|
29828
|
+
enumerable: true,
|
|
29829
|
+
configurable: true,
|
|
29830
|
+
writable: true,
|
|
29831
|
+
value: null
|
|
29832
|
+
});
|
|
28988
29833
|
/** Export a [folder »](https://core.telegram.org/api/folders), creating a [chat folder deep link »](https://core.telegram.org/api/links#chat-folder-links). */
|
|
28989
29834
|
class chatlists_exportChatlistInvite_ extends Function_ {
|
|
28990
29835
|
get [_1_tl_object_js_1.id]() {
|
|
@@ -31323,6 +32168,41 @@ Object.defineProperty(smsjobs_finishJob_, "__F", {
|
|
|
31323
32168
|
writable: true,
|
|
31324
32169
|
value: null
|
|
31325
32170
|
});
|
|
32171
|
+
class fragment_getCollectibleInfo_ extends Function_ {
|
|
32172
|
+
get [_1_tl_object_js_1.id]() {
|
|
32173
|
+
return 0xBE1E85BA;
|
|
32174
|
+
}
|
|
32175
|
+
static get [_1_tl_object_js_1.name]() {
|
|
32176
|
+
return "fragment.getCollectibleInfo";
|
|
32177
|
+
}
|
|
32178
|
+
static get [_1_tl_object_js_1.paramDesc]() {
|
|
32179
|
+
return [
|
|
32180
|
+
["collectible", _2_types_js_1.types._InputCollectible, "InputCollectible"],
|
|
32181
|
+
];
|
|
32182
|
+
}
|
|
32183
|
+
get [_1_tl_object_js_1.params]() {
|
|
32184
|
+
return [
|
|
32185
|
+
[this.collectible, _2_types_js_1.types._InputCollectible, "InputCollectible"],
|
|
32186
|
+
];
|
|
32187
|
+
}
|
|
32188
|
+
constructor(params) {
|
|
32189
|
+
super();
|
|
32190
|
+
Object.defineProperty(this, "collectible", {
|
|
32191
|
+
enumerable: true,
|
|
32192
|
+
configurable: true,
|
|
32193
|
+
writable: true,
|
|
32194
|
+
value: void 0
|
|
32195
|
+
});
|
|
32196
|
+
this.collectible = params.collectible;
|
|
32197
|
+
}
|
|
32198
|
+
}
|
|
32199
|
+
exports.fragment_getCollectibleInfo_ = fragment_getCollectibleInfo_;
|
|
32200
|
+
Object.defineProperty(fragment_getCollectibleInfo_, "__F", {
|
|
32201
|
+
enumerable: true,
|
|
32202
|
+
configurable: true,
|
|
32203
|
+
writable: true,
|
|
32204
|
+
value: null
|
|
32205
|
+
});
|
|
31326
32206
|
exports.functions = {
|
|
31327
32207
|
Function: Function_,
|
|
31328
32208
|
req_pq_multi: req_pq_multi_,
|
|
@@ -31334,6 +32214,7 @@ exports.functions = {
|
|
|
31334
32214
|
ping_delay_disconnect: ping_delay_disconnect_,
|
|
31335
32215
|
destroy_session: destroy_session_,
|
|
31336
32216
|
destroy_auth_key: destroy_auth_key_,
|
|
32217
|
+
invokeWithBusinessConnectionPrefix: invokeWithBusinessConnectionPrefix_,
|
|
31337
32218
|
invokeAfterMsg: invokeAfterMsg_,
|
|
31338
32219
|
invokeAfterMsgs: invokeAfterMsgs_,
|
|
31339
32220
|
initConnection: initConnection_,
|
|
@@ -31341,6 +32222,7 @@ exports.functions = {
|
|
|
31341
32222
|
invokeWithoutUpdates: invokeWithoutUpdates_,
|
|
31342
32223
|
invokeWithMessagesRange: invokeWithMessagesRange_,
|
|
31343
32224
|
invokeWithTakeout: invokeWithTakeout_,
|
|
32225
|
+
invokeWithBusinessConnection: invokeWithBusinessConnection_,
|
|
31344
32226
|
auth: {
|
|
31345
32227
|
sendCode: auth_sendCode_,
|
|
31346
32228
|
signUp: auth_signUp_,
|
|
@@ -31464,6 +32346,17 @@ exports.functions = {
|
|
|
31464
32346
|
updateBusinessAwayMessage: account_updateBusinessAwayMessage_,
|
|
31465
32347
|
updateConnectedBot: account_updateConnectedBot_,
|
|
31466
32348
|
getConnectedBots: account_getConnectedBots_,
|
|
32349
|
+
getBotBusinessConnection: account_getBotBusinessConnection_,
|
|
32350
|
+
updateBusinessIntro: account_updateBusinessIntro_,
|
|
32351
|
+
toggleConnectedBotPaused: account_toggleConnectedBotPaused_,
|
|
32352
|
+
disablePeerConnectedBot: account_disablePeerConnectedBot_,
|
|
32353
|
+
updateBirthday: account_updateBirthday_,
|
|
32354
|
+
createBusinessChatLink: account_createBusinessChatLink_,
|
|
32355
|
+
editBusinessChatLink: account_editBusinessChatLink_,
|
|
32356
|
+
deleteBusinessChatLink: account_deleteBusinessChatLink_,
|
|
32357
|
+
getBusinessChatLinks: account_getBusinessChatLinks_,
|
|
32358
|
+
resolveBusinessChatLink: account_resolveBusinessChatLink_,
|
|
32359
|
+
updatePersonalChannel: account_updatePersonalChannel_,
|
|
31467
32360
|
},
|
|
31468
32361
|
users: {
|
|
31469
32362
|
getUsers: users_getUsers_,
|
|
@@ -31497,6 +32390,7 @@ exports.functions = {
|
|
|
31497
32390
|
importContactToken: contacts_importContactToken_,
|
|
31498
32391
|
editCloseFriends: contacts_editCloseFriends_,
|
|
31499
32392
|
setBlocked: contacts_setBlocked_,
|
|
32393
|
+
getBirthdays: contacts_getBirthdays_,
|
|
31500
32394
|
},
|
|
31501
32395
|
messages: {
|
|
31502
32396
|
getMessages: messages_getMessages_,
|
|
@@ -31706,6 +32600,7 @@ exports.functions = {
|
|
|
31706
32600
|
sendQuickReplyMessages: messages_sendQuickReplyMessages_,
|
|
31707
32601
|
deleteQuickReplyMessages: messages_deleteQuickReplyMessages_,
|
|
31708
32602
|
toggleDialogFilterTags: messages_toggleDialogFilterTags_,
|
|
32603
|
+
getMyStickers: messages_getMyStickers_,
|
|
31709
32604
|
},
|
|
31710
32605
|
updates: {
|
|
31711
32606
|
getState: updates_getState_,
|
|
@@ -31819,6 +32714,8 @@ exports.functions = {
|
|
|
31819
32714
|
updateEmojiStatus: channels_updateEmojiStatus_,
|
|
31820
32715
|
setBoostsToUnblockRestrictions: channels_setBoostsToUnblockRestrictions_,
|
|
31821
32716
|
setEmojiStickers: channels_setEmojiStickers_,
|
|
32717
|
+
reportSponsoredMessage: channels_reportSponsoredMessage_,
|
|
32718
|
+
restrictSponsoredMessages: channels_restrictSponsoredMessages_,
|
|
31822
32719
|
},
|
|
31823
32720
|
bots: {
|
|
31824
32721
|
sendCustomRequest: bots_sendCustomRequest_,
|
|
@@ -31867,6 +32764,7 @@ exports.functions = {
|
|
|
31867
32764
|
changeSticker: stickers_changeSticker_,
|
|
31868
32765
|
renameStickerSet: stickers_renameStickerSet_,
|
|
31869
32766
|
deleteStickerSet: stickers_deleteStickerSet_,
|
|
32767
|
+
replaceSticker: stickers_replaceSticker_,
|
|
31870
32768
|
},
|
|
31871
32769
|
phone: {
|
|
31872
32770
|
getCallConfig: phone_getCallConfig_,
|
|
@@ -31919,6 +32817,9 @@ exports.functions = {
|
|
|
31919
32817
|
getMessageStats: stats_getMessageStats_,
|
|
31920
32818
|
getStoryStats: stats_getStoryStats_,
|
|
31921
32819
|
getStoryPublicForwards: stats_getStoryPublicForwards_,
|
|
32820
|
+
getBroadcastRevenueStats: stats_getBroadcastRevenueStats_,
|
|
32821
|
+
getBroadcastRevenueWithdrawalUrl: stats_getBroadcastRevenueWithdrawalUrl_,
|
|
32822
|
+
getBroadcastRevenueTransactions: stats_getBroadcastRevenueTransactions_,
|
|
31922
32823
|
},
|
|
31923
32824
|
chatlists: {
|
|
31924
32825
|
exportChatlistInvite: chatlists_exportChatlistInvite_,
|
|
@@ -31975,4 +32876,7 @@ exports.functions = {
|
|
|
31975
32876
|
getSmsJob: smsjobs_getSmsJob_,
|
|
31976
32877
|
finishJob: smsjobs_finishJob_,
|
|
31977
32878
|
},
|
|
32879
|
+
fragment: {
|
|
32880
|
+
getCollectibleInfo: fragment_getCollectibleInfo_,
|
|
32881
|
+
},
|
|
31978
32882
|
};
|