@mtkruto/node 0.0.967 → 0.0.968
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/client/1_client_abstract.js +2 -2
- package/esm/client/3_client.d.ts +3 -3
- package/esm/client/3_client.js +3 -6
- package/esm/connection/0_connection.d.ts +11 -2
- package/esm/connection/0_connection.js +23 -1
- package/esm/connection/1_connection_http.d.ts +16 -0
- package/esm/connection/1_connection_http.js +91 -0
- package/esm/connection/1_connection_web_socket.d.ts +2 -2
- package/esm/connection/1_connection_web_socket.js +3 -2
- package/esm/constants.d.ts +2 -2
- package/esm/constants.js +2 -2
- package/esm/tl/2_types.d.ts +484 -87
- package/esm/tl/2_types.js +1647 -308
- package/esm/tl/3_functions.d.ts +286 -48
- package/esm/tl/3_functions.js +919 -165
- package/esm/transport/1_transport_piped.d.ts +10 -0
- package/esm/transport/1_transport_piped.js +23 -0
- package/esm/transport/2_transport_provider.d.ts +8 -2
- package/esm/transport/2_transport_provider.js +40 -2
- package/package.json +1 -1
- package/script/client/1_client_abstract.js +1 -1
- package/script/client/3_client.d.ts +3 -3
- package/script/client/3_client.js +3 -6
- package/script/connection/0_connection.d.ts +11 -2
- package/script/connection/0_connection.js +26 -3
- package/script/connection/1_connection_http.d.ts +16 -0
- package/script/connection/1_connection_http.js +95 -0
- package/script/connection/1_connection_web_socket.d.ts +2 -2
- package/script/connection/1_connection_web_socket.js +3 -2
- package/script/constants.d.ts +2 -2
- package/script/constants.js +2 -2
- package/script/tl/2_types.d.ts +484 -87
- package/script/tl/2_types.js +1718 -339
- package/script/tl/3_functions.d.ts +286 -48
- package/script/tl/3_functions.js +950 -175
- package/script/transport/1_transport_piped.d.ts +10 -0
- package/script/transport/1_transport_piped.js +27 -0
- package/script/transport/2_transport_provider.d.ts +8 -2
- package/script/transport/2_transport_provider.js +43 -4
package/script/tl/3_functions.js
CHANGED
|
@@ -25,15 +25,15 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
26
|
exports.AccountUpdateUsername = exports.AccountCheckUsername = exports.AccountReportPeer = exports.AccountGetWallPapers = exports.AccountUpdateStatus = exports.AccountUpdateProfile = exports.AccountResetNotifySettings = exports.AccountGetNotifySettings = exports.AccountUpdateNotifySettings = exports.AccountUnregisterDevice = exports.AccountRegisterDevice = exports.AuthResetLoginEmail = exports.AuthRequestFirebaseSms = exports.AuthImportWebTokenAuthorization = exports.AuthCheckRecoveryPassword = exports.AuthAcceptLoginToken = exports.AuthImportLoginToken = exports.AuthExportLoginToken = exports.AuthDropTempAuthKeys = exports.AuthCancelCode = exports.AuthResendCode = exports.AuthRecoverPassword = exports.AuthRequestPasswordRecovery = exports.AuthCheckPassword = exports.AuthImportBotAuthorization = exports.AuthBindTempAuthKey = exports.AuthImportAuthorization = exports.AuthExportAuthorization = exports.AuthResetAuthorizations = exports.AuthLogOut = exports.AuthSignIn = exports.AuthSignUp = exports.AuthSendCode = exports.InvokeWithTakeout = exports.InvokeWithMessagesRange = exports.InvokeWithoutUpdates = exports.InvokeWithLayer = exports.InitConnection = exports.InvokeAfterMsgs = exports.InvokeAfterMsg = exports.DestroyAuthKey = exports.DestroySession = exports.PingDelayDisconnect = exports.Ping = exports.GetFutureSalts = exports.RPCDropAnswer = exports.SetClientDHParams = exports.ReqDHParams = exports.ReqPQMulti = exports.Function = void 0;
|
|
27
27
|
exports.AccountGetTheme = exports.AccountInstallTheme = exports.AccountSaveTheme = exports.AccountUpdateTheme = exports.AccountCreateTheme = exports.AccountUploadTheme = exports.AccountSaveAutoDownloadSettings = exports.AccountGetAutoDownloadSettings = exports.AccountResetWallPapers = exports.AccountInstallWallPaper = exports.AccountSaveWallPaper = exports.AccountUploadWallPaper = exports.AccountGetWallPaper = exports.AccountGetNotifyExceptions = exports.AccountSetContactSignUpNotification = exports.AccountGetContactSignUpNotification = exports.AccountCancelPasswordEmail = exports.AccountResendPasswordEmail = exports.AccountConfirmPasswordEmail = exports.AccountFinishTakeoutSession = exports.AccountInitTakeoutSession = exports.AccountVerifyEmail = exports.AccountSendVerifyEmailCode = exports.AccountVerifyPhone = exports.AccountSendVerifyPhoneCode = exports.AccountAcceptAuthorization = exports.AccountGetAuthorizationForm = exports.AccountDeleteSecureValue = exports.AccountSaveSecureValue = exports.AccountGetSecureValue = exports.AccountGetAllSecureValues = exports.AccountResetWebAuthorizations = exports.AccountResetWebAuthorization = exports.AccountGetWebAuthorizations = exports.AccountGetTmpPassword = exports.AccountConfirmPhone = exports.AccountSendConfirmPhoneCode = exports.AccountUpdatePasswordSettings = exports.AccountGetPasswordSettings = exports.AccountGetPassword = exports.AccountResetAuthorization = exports.AccountGetAuthorizations = exports.AccountUpdateDeviceLocked = exports.AccountChangePhone = exports.AccountSendChangePhoneCode = exports.AccountSetAccountTTL = exports.AccountGetAccountTTL = exports.AccountDeleteAccount = exports.AccountSetPrivacy = exports.AccountGetPrivacy = void 0;
|
|
28
|
-
exports.
|
|
29
|
-
exports.
|
|
30
|
-
exports.
|
|
31
|
-
exports.
|
|
32
|
-
exports.
|
|
33
|
-
exports.
|
|
34
|
-
exports.
|
|
35
|
-
exports.
|
|
36
|
-
exports.ChatlistsLeaveChatlist = exports.ChatlistsGetLeaveChatlistSuggestions = exports.ChatlistsHideChatlistUpdates = exports.ChatlistsJoinChatlistUpdates = exports.ChatlistsGetChatlistUpdates = exports.ChatlistsJoinChatlistInvite = exports.ChatlistsCheckChatlistInvite = exports.ChatlistsGetExportedInvites = exports.ChatlistsEditExportedInvite = exports.ChatlistsDeleteExportedInvite = exports.ChatlistsExportChatlistInvite = exports.StatsGetMessageStats = exports.StatsGetMessagePublicForwards = exports.StatsGetMegagroupStats = exports.StatsLoadAsyncGraph = exports.StatsGetBroadcastStats = exports.FoldersEditPeerFolders = exports.LangpackGetLanguage = exports.LangpackGetLanguages = exports.LangpackGetDifference = exports.LangpackGetStrings = void 0;
|
|
28
|
+
exports.ContactsGetLocated = exports.ContactsAcceptContact = exports.ContactsAddContact = exports.ContactsToggleTopPeers = exports.ContactsGetSaved = exports.ContactsResetSaved = exports.ContactsResetTopPeerRating = exports.ContactsGetTopPeers = exports.ContactsResolveUsername = exports.ContactsSearch = exports.ContactsGetBlocked = exports.ContactsUnblock = exports.ContactsBlock = exports.ContactsDeleteByPhones = exports.ContactsDeleteContacts = exports.ContactsImportContacts = exports.ContactsGetContacts = exports.ContactsGetStatuses = exports.ContactsGetContactIDs = exports.UsersGetStoriesMaxIDs = exports.UsersSetSecureValueErrors = exports.UsersGetFullUser = exports.UsersGetUsers = exports.AccountInvalidateSignInCodes = exports.AccountDeleteAutoSaveExceptions = exports.AccountSaveAutoSaveSettings = exports.AccountGetAutoSaveSettings = exports.AccountGetDefaultGroupPhotoEmojis = exports.AccountGetDefaultProfilePhotoEmojis = exports.AccountToggleUsername = exports.AccountReorderUsernames = exports.AccountClearRecentEmojiStatuses = exports.AccountGetRecentEmojiStatuses = exports.AccountGetDefaultEmojiStatuses = exports.AccountUpdateEmojiStatus = exports.AccountUploadRingtone = exports.AccountSaveRingtone = exports.AccountGetSavedRingtones = exports.AccountChangeAuthorizationSettings = exports.AccountSetAuthorizationTTL = exports.AccountGetChatThemes = exports.AccountDeclinePasswordReset = exports.AccountResetPassword = exports.AccountReportProfilePhoto = exports.AccountSetGlobalPrivacySettings = exports.AccountGetGlobalPrivacySettings = exports.AccountGetMultiWallPapers = exports.AccountGetContentSettings = exports.AccountSetContentSettings = exports.AccountGetThemes = void 0;
|
|
29
|
+
exports.MessagesStartBot = exports.MessagesUninstallStickerSet = exports.MessagesInstallStickerSet = exports.MessagesGetStickerSet = exports.MessagesImportChatInvite = exports.MessagesCheckChatInvite = exports.MessagesExportChatInvite = exports.MessagesGetWebPagePreview = exports.MessagesGetAllStickers = exports.MessagesGetStickers = exports.MessagesReadMessageContents = exports.MessagesReportEncryptedSpam = exports.MessagesReceivedQueue = exports.MessagesSendEncryptedService = exports.MessagesSendEncryptedFile = exports.MessagesSendEncrypted = exports.MessagesReadEncryptedHistory = exports.MessagesSetEncryptedTyping = exports.MessagesDiscardEncryption = exports.MessagesAcceptEncryption = exports.MessagesRequestEncryption = exports.MessagesGetDhConfig = exports.MessagesCreateChat = exports.MessagesDeleteChatUser = exports.MessagesAddChatUser = exports.MessagesEditChatPhoto = exports.MessagesEditChatTitle = exports.MessagesGetFullChat = exports.MessagesGetChats = exports.MessagesReport = exports.MessagesGetPeerSettings = exports.MessagesReportSpam = exports.MessagesForwardMessages = exports.MessagesSendMedia = exports.MessagesSendMessage = exports.MessagesSetTyping = exports.MessagesReceivedMessages = exports.MessagesDeleteMessages = exports.MessagesDeleteHistory = exports.MessagesReadHistory = exports.MessagesSearch = exports.MessagesGetHistory = exports.MessagesGetDialogs = exports.MessagesGetMessages = exports.ContactsToggleStoriesHidden = exports.ContactsEditCloseFriends = exports.ContactsImportContactToken = exports.ContactsExportContactToken = exports.ContactsResolvePhone = exports.ContactsBlockFromReplies = void 0;
|
|
30
|
+
exports.MessagesMarkDialogUnread = exports.MessagesGetSplitRanges = exports.MessagesSearchStickerSets = exports.MessagesUploadEncryptedFile = exports.MessagesSendMultiMedia = exports.MessagesGetRecentLocations = exports.MessagesReadMentions = exports.MessagesGetUnreadMentions = exports.MessagesFaveSticker = exports.MessagesGetFavedStickers = exports.MessagesSendScreenshotNotification = exports.MessagesUploadMedia = exports.MessagesSetBotPrecheckoutResults = exports.MessagesSetBotShippingResults = exports.MessagesGetPinnedDialogs = exports.MessagesReorderPinnedDialogs = exports.MessagesToggleDialogPin = exports.MessagesGetWebPage = exports.MessagesGetCommonChats = exports.MessagesGetInlineGameHighScores = exports.MessagesGetGameHighScores = exports.MessagesSetInlineGameScore = exports.MessagesSetGameScore = exports.MessagesGetAttachedStickers = exports.MessagesGetMaskStickers = exports.MessagesGetArchivedStickers = exports.MessagesClearRecentStickers = exports.MessagesSaveRecentSticker = exports.MessagesGetRecentStickers = exports.MessagesReadFeaturedStickers = exports.MessagesGetFeaturedStickers = exports.MessagesGetAllDrafts = exports.MessagesSaveDraft = exports.MessagesGetPeerDialogs = exports.MessagesSetBotCallbackAnswer = exports.MessagesGetBotCallbackAnswer = exports.MessagesEditInlineBotMessage = exports.MessagesEditMessage = exports.MessagesGetMessageEditData = exports.MessagesSendInlineBotResult = exports.MessagesSetInlineBotResults = exports.MessagesGetInlineBotResults = exports.MessagesSaveGif = exports.MessagesGetSavedGifs = exports.MessagesGetDocumentByHash = exports.MessagesReorderStickerSets = exports.MessagesSearchGlobal = exports.MessagesMigrateChat = exports.MessagesEditChatAdmin = exports.MessagesGetMessagesViews = void 0;
|
|
31
|
+
exports.MessagesGetSearchResultsPositions = exports.MessagesGetSearchResultsCalendar = exports.MessagesGetMessageReadParticipants = exports.MessagesSetChatTheme = exports.MessagesCheckHistoryImportPeer = exports.MessagesSetHistoryTTL = exports.MessagesGetChatInviteImporters = exports.MessagesGetAdminsWithInvites = exports.MessagesDeleteExportedChatInvite = exports.MessagesDeleteRevokedExportedChatInvites = exports.MessagesEditExportedChatInvite = exports.MessagesGetExportedChatInvite = exports.MessagesGetExportedChatInvites = exports.MessagesStartHistoryImport = exports.MessagesUploadImportedMedia = exports.MessagesInitHistoryImport = exports.MessagesCheckHistoryImport = exports.MessagesDeletePhoneCallHistory = exports.MessagesDeleteChat = exports.MessagesUnpinAllMessages = exports.MessagesReadDiscussion = exports.MessagesGetDiscussionMessage = exports.MessagesGetReplies = exports.MessagesGetOldFeaturedStickers = exports.MessagesUpdateDialogFiltersOrder = exports.MessagesUpdateDialogFilter = exports.MessagesGetSuggestedDialogFilters = exports.MessagesGetDialogFilters = exports.MessagesToggleStickerSets = exports.MessagesGetPollVotes = exports.MessagesDeleteScheduledMessages = exports.MessagesSendScheduledMessages = exports.MessagesGetScheduledMessages = exports.MessagesGetScheduledHistory = exports.MessagesHidePeerSettingsBar = exports.MessagesAcceptURLAuth = exports.MessagesRequestURLAuth = exports.MessagesGetSearchCounters = exports.MessagesGetEmojiURL = exports.MessagesGetEmojiKeywordsLanguages = exports.MessagesGetEmojiKeywordsDifference = exports.MessagesGetEmojiKeywords = exports.MessagesEditChatDefaultBannedRights = exports.MessagesEditChatAbout = exports.MessagesGetOnlines = exports.MessagesGetPollResults = exports.MessagesSendVote = exports.MessagesUpdatePinnedMessage = exports.MessagesClearAllDrafts = exports.MessagesGetDialogUnreadMarks = void 0;
|
|
32
|
+
exports.PhotosGetUserPhotos = exports.PhotosDeletePhotos = exports.PhotosUploadProfilePhoto = exports.PhotosUpdateProfilePhoto = exports.UpdatesGetChannelDifference = exports.UpdatesGetDifference = exports.UpdatesGetState = exports.MessagesSetChatWallPaper = exports.MessagesRequestAppWebView = exports.MessagesGetBotApp = exports.MessagesTogglePeerTranslations = exports.MessagesSearchCustomEmoji = exports.MessagesGetEmojiProfilePhotoGroups = exports.MessagesGetEmojiStatusGroups = exports.MessagesGetEmojiGroups = exports.MessagesSendBotRequestedPeer = exports.MessagesGetDefaultHistoryTTL = exports.MessagesSetDefaultHistoryTTL = exports.MessagesGetExtendedMedia = exports.MessagesClearRecentReactions = exports.MessagesGetRecentReactions = exports.MessagesGetTopReactions = exports.MessagesReportReaction = exports.MessagesGetFeaturedEmojiStickers = exports.MessagesGetEmojiStickers = exports.MessagesGetCustomEmojiDocuments = exports.MessagesRateTranscribedAudio = exports.MessagesTranscribeAudio = exports.MessagesSendWebViewData = exports.MessagesSendWebViewResultMessage = exports.MessagesRequestSimpleWebView = exports.MessagesProlongWebView = exports.MessagesRequestWebView = exports.MessagesToggleBotInAttachMenu = exports.MessagesGetAttachMenuBot = exports.MessagesGetAttachMenuBots = exports.MessagesSearchSentMedia = exports.MessagesReadReactions = exports.MessagesGetUnreadReactions = exports.MessagesTranslateText = exports.MessagesSetDefaultReaction = exports.MessagesGetAvailableReactions = exports.MessagesSetChatAvailableReactions = exports.MessagesGetMessageReactionsList = exports.MessagesGetMessagesReactions = exports.MessagesSendReaction = exports.MessagesSaveDefaultSendAs = exports.MessagesToggleNoForwards = exports.MessagesHideAllChatJoinRequests = exports.MessagesHideChatJoinRequest = void 0;
|
|
33
|
+
exports.ChannelsDeleteChannel = exports.ChannelsInviteToChannel = exports.ChannelsLeaveChannel = exports.ChannelsJoinChannel = exports.ChannelsUpdateUsername = exports.ChannelsCheckUsername = exports.ChannelsEditPhoto = exports.ChannelsEditTitle = exports.ChannelsEditAdmin = exports.ChannelsCreateChannel = exports.ChannelsGetFullChannel = exports.ChannelsGetChannels = exports.ChannelsGetParticipant = exports.ChannelsGetParticipants = exports.ChannelsGetMessages = exports.ChannelsReportSpam = exports.ChannelsDeleteMessages = exports.ChannelsReadHistory = exports.HelpGetPremiumPromo = exports.HelpGetCountriesList = exports.HelpDismissSuggestion = exports.HelpHidePromoData = exports.HelpGetPromoData = exports.HelpEditUserInfo = exports.HelpGetUserInfo = exports.HelpGetSupportName = exports.HelpGetPassportConfig = exports.HelpSaveAppLog = exports.HelpGetAppConfig = exports.HelpGetDeepLinkInfo = exports.HelpAcceptTermsOfService = exports.HelpGetTermsOfServiceUpdate = exports.HelpGetRecentMeURLs = exports.HelpGetCdnConfig = exports.HelpSetBotUpdatesStatus = exports.HelpGetAppChangelog = exports.HelpGetSupport = exports.HelpGetInviteText = exports.HelpGetAppUpdate = exports.HelpGetNearestDc = exports.HelpGetConfig = exports.UploadGetFileHashes = exports.UploadGetCdnFileHashes = exports.UploadReuploadCdnFile = exports.UploadGetCdnFile = exports.UploadGetWebFile = exports.UploadSaveBigFilePart = exports.UploadGetFile = exports.UploadSaveFilePart = exports.PhotosUploadContactProfilePhoto = void 0;
|
|
34
|
+
exports.BotsReorderUsernames = exports.BotsGetBotInfo = exports.BotsSetBotInfo = exports.BotsSetBotGroupDefaultAdminRights = exports.BotsSetBotBroadcastDefaultAdminRights = exports.BotsGetBotMenuButton = exports.BotsSetBotMenuButton = exports.BotsGetBotCommands = exports.BotsResetBotCommands = exports.BotsSetBotCommands = exports.BotsAnswerWebhookJSONQuery = exports.BotsSendCustomRequest = exports.ChannelsClickSponsoredMessage = exports.ChannelsToggleParticipantsHidden = exports.ChannelsReportAntiSpamFalsePositive = exports.ChannelsToggleAntiSpam = exports.ChannelsReorderPinnedForumTopics = exports.ChannelsDeleteTopicHistory = exports.ChannelsUpdatePinnedForumTopic = exports.ChannelsEditForumTopic = exports.ChannelsGetForumTopicsByID = exports.ChannelsGetForumTopics = exports.ChannelsCreateForumTopic = exports.ChannelsToggleForum = exports.ChannelsDeactivateAllUsernames = exports.ChannelsToggleUsername = exports.ChannelsReorderUsernames = exports.ChannelsToggleJoinRequest = exports.ChannelsToggleJoinToSend = exports.ChannelsDeleteParticipantHistory = exports.ChannelsGetSendAs = exports.ChannelsGetSponsoredMessages = exports.ChannelsViewSponsoredMessage = exports.ChannelsConvertToGigagroup = exports.ChannelsGetInactiveChannels = exports.ChannelsToggleSlowMode = exports.ChannelsEditLocation = exports.ChannelsEditCreator = exports.ChannelsSetDiscussionGroup = exports.ChannelsGetGroupsForDiscussion = exports.ChannelsGetLeftChannels = exports.ChannelsTogglePreHistoryHidden = exports.ChannelsDeleteHistory = exports.ChannelsReadMessageContents = exports.ChannelsSetStickers = exports.ChannelsGetAdminLog = exports.ChannelsEditBanned = exports.ChannelsGetAdminedPublicChannels = exports.ChannelsToggleSignatures = exports.ChannelsExportMessageLink = void 0;
|
|
35
|
+
exports.PhoneLeaveGroupCallPresentation = exports.PhoneJoinGroupCallPresentation = exports.PhoneSaveDefaultGroupCallJoinAs = exports.PhoneStartScheduledGroupCall = exports.PhoneToggleGroupCallStartSubscription = exports.PhoneExportGroupCallInvite = exports.PhoneGetGroupCallJoinAs = exports.PhoneEditGroupCallTitle = exports.PhoneEditGroupCallParticipant = exports.PhoneToggleGroupCallRecord = exports.PhoneCheckGroupCall = exports.PhoneGetGroupParticipants = exports.PhoneGetGroupCall = exports.PhoneToggleGroupCallSettings = exports.PhoneDiscardGroupCall = exports.PhoneInviteToGroupCall = exports.PhoneLeaveGroupCall = exports.PhoneJoinGroupCall = exports.PhoneCreateGroupCall = exports.PhoneSendSignalingData = exports.PhoneSaveCallDebug = exports.PhoneSetCallRating = exports.PhoneDiscardCall = exports.PhoneReceivedCall = exports.PhoneConfirmCall = exports.PhoneAcceptCall = exports.PhoneRequestCall = exports.PhoneGetCallConfig = exports.StickersDeleteStickerSet = exports.StickersRenameStickerSet = exports.StickersChangeSticker = exports.StickersSuggestShortName = exports.StickersCheckShortName = exports.StickersSetStickerSetThumb = exports.StickersAddStickerToSet = exports.StickersChangeStickerPosition = exports.StickersRemoveStickerFromSet = exports.StickersCreateStickerSet = exports.PaymentsCanPurchasePremium = exports.PaymentsAssignPlayMarketTransaction = exports.PaymentsAssignAppStoreTransaction = exports.PaymentsExportInvoice = exports.PaymentsGetBankCardData = exports.PaymentsClearSavedInfo = exports.PaymentsGetSavedInfo = exports.PaymentsSendPaymentForm = exports.PaymentsValidateRequestedInfo = exports.PaymentsGetPaymentReceipt = exports.PaymentsGetPaymentForm = exports.BotsToggleUsername = void 0;
|
|
36
|
+
exports.StoriesReport = exports.StoriesExportStoryLink = exports.StoriesGetStoriesViews = exports.StoriesGetStoryViewsList = exports.StoriesIncrementStoryViews = exports.StoriesReadStories = exports.StoriesGetAllReadUserStories = exports.StoriesToggleAllStoriesHidden = exports.StoriesGetStoriesByID = exports.StoriesGetStoriesArchive = exports.StoriesGetPinnedStories = exports.StoriesGetUserStories = exports.StoriesGetAllStories = exports.StoriesTogglePinned = exports.StoriesDeleteStories = exports.StoriesEditStory = exports.StoriesSendStory = exports.ChatlistsLeaveChatlist = exports.ChatlistsGetLeaveChatlistSuggestions = exports.ChatlistsHideChatlistUpdates = exports.ChatlistsJoinChatlistUpdates = exports.ChatlistsGetChatlistUpdates = exports.ChatlistsJoinChatlistInvite = exports.ChatlistsCheckChatlistInvite = exports.ChatlistsGetExportedInvites = exports.ChatlistsEditExportedInvite = exports.ChatlistsDeleteExportedInvite = exports.ChatlistsExportChatlistInvite = exports.StatsGetMessageStats = exports.StatsGetMessagePublicForwards = exports.StatsGetMegagroupStats = exports.StatsLoadAsyncGraph = exports.StatsGetBroadcastStats = exports.FoldersEditPeerFolders = exports.LangpackGetLanguage = exports.LangpackGetLanguages = exports.LangpackGetDifference = exports.LangpackGetStrings = exports.LangpackGetLangPack = exports.PhoneSaveCallLog = exports.PhoneGetGroupCallStreamRtmpURL = exports.PhoneGetGroupCallStreamChannels = void 0;
|
|
37
37
|
const _1_tl_object_js_1 = require("./1_tl_object.js");
|
|
38
38
|
const types = __importStar(require("./2_types.js"));
|
|
39
39
|
class Function extends _1_tl_object_js_1.TLObject {
|
|
@@ -1674,9 +1674,9 @@ class AccountUpdateProfile extends Function {
|
|
|
1674
1674
|
writable: true,
|
|
1675
1675
|
value: void 0
|
|
1676
1676
|
});
|
|
1677
|
-
this.firstName = params
|
|
1678
|
-
this.lastName = params
|
|
1679
|
-
this.about = params
|
|
1677
|
+
this.firstName = params.firstName;
|
|
1678
|
+
this.lastName = params.lastName;
|
|
1679
|
+
this.about = params.about;
|
|
1680
1680
|
}
|
|
1681
1681
|
}
|
|
1682
1682
|
exports.AccountUpdateProfile = AccountUpdateProfile;
|
|
@@ -2779,13 +2779,13 @@ class AccountInitTakeoutSession extends Function {
|
|
|
2779
2779
|
writable: true,
|
|
2780
2780
|
value: void 0
|
|
2781
2781
|
});
|
|
2782
|
-
this.contacts = params
|
|
2783
|
-
this.messageUsers = params
|
|
2784
|
-
this.messageChats = params
|
|
2785
|
-
this.messageMegagroups = params
|
|
2786
|
-
this.messageChannels = params
|
|
2787
|
-
this.files = params
|
|
2788
|
-
this.fileMaxSize = params
|
|
2782
|
+
this.contacts = params.contacts;
|
|
2783
|
+
this.messageUsers = params.messageUsers;
|
|
2784
|
+
this.messageChats = params.messageChats;
|
|
2785
|
+
this.messageMegagroups = params.messageMegagroups;
|
|
2786
|
+
this.messageChannels = params.messageChannels;
|
|
2787
|
+
this.files = params.files;
|
|
2788
|
+
this.fileMaxSize = params.fileMaxSize;
|
|
2789
2789
|
}
|
|
2790
2790
|
}
|
|
2791
2791
|
exports.AccountInitTakeoutSession = AccountInitTakeoutSession;
|
|
@@ -2813,7 +2813,7 @@ class AccountFinishTakeoutSession extends Function {
|
|
|
2813
2813
|
writable: true,
|
|
2814
2814
|
value: void 0
|
|
2815
2815
|
});
|
|
2816
|
-
this.success = params
|
|
2816
|
+
this.success = params.success;
|
|
2817
2817
|
}
|
|
2818
2818
|
}
|
|
2819
2819
|
exports.AccountFinishTakeoutSession = AccountFinishTakeoutSession;
|
|
@@ -2922,6 +2922,7 @@ class AccountGetNotifyExceptions extends Function {
|
|
|
2922
2922
|
return [
|
|
2923
2923
|
["flags", _1_tl_object_js_1.flags, "#"],
|
|
2924
2924
|
["compareSound", "true", "flags.1?true"],
|
|
2925
|
+
["compareStories", "true", "flags.2?true"],
|
|
2925
2926
|
["peer", types.TypeInputNotifyPeer, "flags.0?InputNotifyPeer"],
|
|
2926
2927
|
];
|
|
2927
2928
|
}
|
|
@@ -2929,6 +2930,7 @@ class AccountGetNotifyExceptions extends Function {
|
|
|
2929
2930
|
return [
|
|
2930
2931
|
["flags", _1_tl_object_js_1.flags, "#"],
|
|
2931
2932
|
[this.compareSound ?? null, "true", "flags.1?true"],
|
|
2933
|
+
[this.compareStories ?? null, "true", "flags.2?true"],
|
|
2932
2934
|
[this.peer ?? null, types.TypeInputNotifyPeer, "flags.0?InputNotifyPeer"],
|
|
2933
2935
|
];
|
|
2934
2936
|
}
|
|
@@ -2940,14 +2942,21 @@ class AccountGetNotifyExceptions extends Function {
|
|
|
2940
2942
|
writable: true,
|
|
2941
2943
|
value: void 0
|
|
2942
2944
|
});
|
|
2945
|
+
Object.defineProperty(this, "compareStories", {
|
|
2946
|
+
enumerable: true,
|
|
2947
|
+
configurable: true,
|
|
2948
|
+
writable: true,
|
|
2949
|
+
value: void 0
|
|
2950
|
+
});
|
|
2943
2951
|
Object.defineProperty(this, "peer", {
|
|
2944
2952
|
enumerable: true,
|
|
2945
2953
|
configurable: true,
|
|
2946
2954
|
writable: true,
|
|
2947
2955
|
value: void 0
|
|
2948
2956
|
});
|
|
2949
|
-
this.compareSound = params
|
|
2950
|
-
this.
|
|
2957
|
+
this.compareSound = params.compareSound;
|
|
2958
|
+
this.compareStories = params.compareStories;
|
|
2959
|
+
this.peer = params.peer;
|
|
2951
2960
|
}
|
|
2952
2961
|
}
|
|
2953
2962
|
exports.AccountGetNotifyExceptions = AccountGetNotifyExceptions;
|
|
@@ -3453,10 +3462,10 @@ class AccountInstallTheme extends Function {
|
|
|
3453
3462
|
writable: true,
|
|
3454
3463
|
value: void 0
|
|
3455
3464
|
});
|
|
3456
|
-
this.dark = params
|
|
3457
|
-
this.theme = params
|
|
3458
|
-
this.format = params
|
|
3459
|
-
this.baseTheme = params
|
|
3465
|
+
this.dark = params.dark;
|
|
3466
|
+
this.theme = params.theme;
|
|
3467
|
+
this.format = params.format;
|
|
3468
|
+
this.baseTheme = params.baseTheme;
|
|
3460
3469
|
}
|
|
3461
3470
|
}
|
|
3462
3471
|
exports.AccountInstallTheme = AccountInstallTheme;
|
|
@@ -3554,7 +3563,7 @@ class AccountSetContentSettings extends Function {
|
|
|
3554
3563
|
writable: true,
|
|
3555
3564
|
value: void 0
|
|
3556
3565
|
});
|
|
3557
|
-
this.sensitiveEnabled = params
|
|
3566
|
+
this.sensitiveEnabled = params.sensitiveEnabled;
|
|
3558
3567
|
}
|
|
3559
3568
|
}
|
|
3560
3569
|
exports.AccountSetContentSettings = AccountSetContentSettings;
|
|
@@ -4226,6 +4235,32 @@ class AccountDeleteAutoSaveExceptions extends Function {
|
|
|
4226
4235
|
}
|
|
4227
4236
|
}
|
|
4228
4237
|
exports.AccountDeleteAutoSaveExceptions = AccountDeleteAutoSaveExceptions;
|
|
4238
|
+
class AccountInvalidateSignInCodes extends Function {
|
|
4239
|
+
get [_1_tl_object_js_1.id]() {
|
|
4240
|
+
return 0xCA8AE8BA;
|
|
4241
|
+
}
|
|
4242
|
+
static get [_1_tl_object_js_1.paramDesc]() {
|
|
4243
|
+
return [
|
|
4244
|
+
["codes", ["string"], "Vector<string>"],
|
|
4245
|
+
];
|
|
4246
|
+
}
|
|
4247
|
+
get [_1_tl_object_js_1.params]() {
|
|
4248
|
+
return [
|
|
4249
|
+
[this.codes, ["string"], "Vector<string>"],
|
|
4250
|
+
];
|
|
4251
|
+
}
|
|
4252
|
+
constructor(params) {
|
|
4253
|
+
super();
|
|
4254
|
+
Object.defineProperty(this, "codes", {
|
|
4255
|
+
enumerable: true,
|
|
4256
|
+
configurable: true,
|
|
4257
|
+
writable: true,
|
|
4258
|
+
value: void 0
|
|
4259
|
+
});
|
|
4260
|
+
this.codes = params.codes;
|
|
4261
|
+
}
|
|
4262
|
+
}
|
|
4263
|
+
exports.AccountInvalidateSignInCodes = AccountInvalidateSignInCodes;
|
|
4229
4264
|
class UsersGetUsers extends Function {
|
|
4230
4265
|
get [_1_tl_object_js_1.id]() {
|
|
4231
4266
|
return 0x0D91A548;
|
|
@@ -4313,6 +4348,32 @@ class UsersSetSecureValueErrors extends Function {
|
|
|
4313
4348
|
}
|
|
4314
4349
|
}
|
|
4315
4350
|
exports.UsersSetSecureValueErrors = UsersSetSecureValueErrors;
|
|
4351
|
+
class UsersGetStoriesMaxIDs extends Function {
|
|
4352
|
+
get [_1_tl_object_js_1.id]() {
|
|
4353
|
+
return 0xCA1CB9AB;
|
|
4354
|
+
}
|
|
4355
|
+
static get [_1_tl_object_js_1.paramDesc]() {
|
|
4356
|
+
return [
|
|
4357
|
+
["id", [types.TypeInputUser], "Vector<InputUser>"],
|
|
4358
|
+
];
|
|
4359
|
+
}
|
|
4360
|
+
get [_1_tl_object_js_1.params]() {
|
|
4361
|
+
return [
|
|
4362
|
+
[this.id, [types.TypeInputUser], "Vector<InputUser>"],
|
|
4363
|
+
];
|
|
4364
|
+
}
|
|
4365
|
+
constructor(params) {
|
|
4366
|
+
super();
|
|
4367
|
+
Object.defineProperty(this, "id", {
|
|
4368
|
+
enumerable: true,
|
|
4369
|
+
configurable: true,
|
|
4370
|
+
writable: true,
|
|
4371
|
+
value: void 0
|
|
4372
|
+
});
|
|
4373
|
+
this.id = params.id;
|
|
4374
|
+
}
|
|
4375
|
+
}
|
|
4376
|
+
exports.UsersGetStoriesMaxIDs = UsersGetStoriesMaxIDs;
|
|
4316
4377
|
class ContactsGetContactIDs extends Function {
|
|
4317
4378
|
get [_1_tl_object_js_1.id]() {
|
|
4318
4379
|
return 0x7ADC669D;
|
|
@@ -5073,6 +5134,67 @@ class ContactsImportContactToken extends Function {
|
|
|
5073
5134
|
}
|
|
5074
5135
|
}
|
|
5075
5136
|
exports.ContactsImportContactToken = ContactsImportContactToken;
|
|
5137
|
+
class ContactsEditCloseFriends extends Function {
|
|
5138
|
+
get [_1_tl_object_js_1.id]() {
|
|
5139
|
+
return 0xBA6705F0;
|
|
5140
|
+
}
|
|
5141
|
+
static get [_1_tl_object_js_1.paramDesc]() {
|
|
5142
|
+
return [
|
|
5143
|
+
["id", ["bigint"], "Vector<long>"],
|
|
5144
|
+
];
|
|
5145
|
+
}
|
|
5146
|
+
get [_1_tl_object_js_1.params]() {
|
|
5147
|
+
return [
|
|
5148
|
+
[this.id, ["bigint"], "Vector<long>"],
|
|
5149
|
+
];
|
|
5150
|
+
}
|
|
5151
|
+
constructor(params) {
|
|
5152
|
+
super();
|
|
5153
|
+
Object.defineProperty(this, "id", {
|
|
5154
|
+
enumerable: true,
|
|
5155
|
+
configurable: true,
|
|
5156
|
+
writable: true,
|
|
5157
|
+
value: void 0
|
|
5158
|
+
});
|
|
5159
|
+
this.id = params.id;
|
|
5160
|
+
}
|
|
5161
|
+
}
|
|
5162
|
+
exports.ContactsEditCloseFriends = ContactsEditCloseFriends;
|
|
5163
|
+
class ContactsToggleStoriesHidden extends Function {
|
|
5164
|
+
get [_1_tl_object_js_1.id]() {
|
|
5165
|
+
return 0x753FB865;
|
|
5166
|
+
}
|
|
5167
|
+
static get [_1_tl_object_js_1.paramDesc]() {
|
|
5168
|
+
return [
|
|
5169
|
+
["id", types.TypeInputUser, "InputUser"],
|
|
5170
|
+
["hidden", "boolean", "Bool"],
|
|
5171
|
+
];
|
|
5172
|
+
}
|
|
5173
|
+
get [_1_tl_object_js_1.params]() {
|
|
5174
|
+
return [
|
|
5175
|
+
[this.id, types.TypeInputUser, "InputUser"],
|
|
5176
|
+
[this.hidden, "boolean", "Bool"],
|
|
5177
|
+
];
|
|
5178
|
+
}
|
|
5179
|
+
constructor(params) {
|
|
5180
|
+
super();
|
|
5181
|
+
Object.defineProperty(this, "id", {
|
|
5182
|
+
enumerable: true,
|
|
5183
|
+
configurable: true,
|
|
5184
|
+
writable: true,
|
|
5185
|
+
value: void 0
|
|
5186
|
+
});
|
|
5187
|
+
Object.defineProperty(this, "hidden", {
|
|
5188
|
+
enumerable: true,
|
|
5189
|
+
configurable: true,
|
|
5190
|
+
writable: true,
|
|
5191
|
+
value: void 0
|
|
5192
|
+
});
|
|
5193
|
+
this.id = params.id;
|
|
5194
|
+
this.hidden = params.hidden;
|
|
5195
|
+
}
|
|
5196
|
+
}
|
|
5197
|
+
exports.ContactsToggleStoriesHidden = ContactsToggleStoriesHidden;
|
|
5076
5198
|
class MessagesGetMessages extends Function {
|
|
5077
5199
|
get [_1_tl_object_js_1.id]() {
|
|
5078
5200
|
return 0x63C66506;
|
|
@@ -5625,7 +5747,7 @@ class MessagesSetTyping extends Function {
|
|
|
5625
5747
|
exports.MessagesSetTyping = MessagesSetTyping;
|
|
5626
5748
|
class MessagesSendMessage extends Function {
|
|
5627
5749
|
get [_1_tl_object_js_1.id]() {
|
|
5628
|
-
return
|
|
5750
|
+
return 0x280D096F;
|
|
5629
5751
|
}
|
|
5630
5752
|
static get [_1_tl_object_js_1.paramDesc]() {
|
|
5631
5753
|
return [
|
|
@@ -5637,8 +5759,7 @@ class MessagesSendMessage extends Function {
|
|
|
5637
5759
|
["noforwards", "true", "flags.14?true"],
|
|
5638
5760
|
["updateStickersetsOrder", "true", "flags.15?true"],
|
|
5639
5761
|
["peer", types.TypeInputPeer, "InputPeer"],
|
|
5640
|
-
["
|
|
5641
|
-
["topMsgId", "number", "flags.9?int"],
|
|
5762
|
+
["replyTo", types.TypeInputReplyTo, "flags.0?InputReplyTo"],
|
|
5642
5763
|
["message", "string", "string"],
|
|
5643
5764
|
["randomId", "bigint", "long"],
|
|
5644
5765
|
["replyMarkup", types.TypeReplyMarkup, "flags.2?ReplyMarkup"],
|
|
@@ -5657,8 +5778,7 @@ class MessagesSendMessage extends Function {
|
|
|
5657
5778
|
[this.noforwards ?? null, "true", "flags.14?true"],
|
|
5658
5779
|
[this.updateStickersetsOrder ?? null, "true", "flags.15?true"],
|
|
5659
5780
|
[this.peer, types.TypeInputPeer, "InputPeer"],
|
|
5660
|
-
[this.
|
|
5661
|
-
[this.topMsgId ?? null, "number", "flags.9?int"],
|
|
5781
|
+
[this.replyTo ?? null, types.TypeInputReplyTo, "flags.0?InputReplyTo"],
|
|
5662
5782
|
[this.message, "string", "string"],
|
|
5663
5783
|
[this.randomId, "bigint", "long"],
|
|
5664
5784
|
[this.replyMarkup ?? null, types.TypeReplyMarkup, "flags.2?ReplyMarkup"],
|
|
@@ -5711,13 +5831,7 @@ class MessagesSendMessage extends Function {
|
|
|
5711
5831
|
writable: true,
|
|
5712
5832
|
value: void 0
|
|
5713
5833
|
});
|
|
5714
|
-
Object.defineProperty(this, "
|
|
5715
|
-
enumerable: true,
|
|
5716
|
-
configurable: true,
|
|
5717
|
-
writable: true,
|
|
5718
|
-
value: void 0
|
|
5719
|
-
});
|
|
5720
|
-
Object.defineProperty(this, "topMsgId", {
|
|
5834
|
+
Object.defineProperty(this, "replyTo", {
|
|
5721
5835
|
enumerable: true,
|
|
5722
5836
|
configurable: true,
|
|
5723
5837
|
writable: true,
|
|
@@ -5766,8 +5880,7 @@ class MessagesSendMessage extends Function {
|
|
|
5766
5880
|
this.noforwards = params.noforwards;
|
|
5767
5881
|
this.updateStickersetsOrder = params.updateStickersetsOrder;
|
|
5768
5882
|
this.peer = params.peer;
|
|
5769
|
-
this.
|
|
5770
|
-
this.topMsgId = params.topMsgId;
|
|
5883
|
+
this.replyTo = params.replyTo;
|
|
5771
5884
|
this.message = params.message;
|
|
5772
5885
|
this.randomId = params.randomId;
|
|
5773
5886
|
this.replyMarkup = params.replyMarkup;
|
|
@@ -5779,7 +5892,7 @@ class MessagesSendMessage extends Function {
|
|
|
5779
5892
|
exports.MessagesSendMessage = MessagesSendMessage;
|
|
5780
5893
|
class MessagesSendMedia extends Function {
|
|
5781
5894
|
get [_1_tl_object_js_1.id]() {
|
|
5782
|
-
return
|
|
5895
|
+
return 0x72CCC23D;
|
|
5783
5896
|
}
|
|
5784
5897
|
static get [_1_tl_object_js_1.paramDesc]() {
|
|
5785
5898
|
return [
|
|
@@ -5790,8 +5903,7 @@ class MessagesSendMedia extends Function {
|
|
|
5790
5903
|
["noforwards", "true", "flags.14?true"],
|
|
5791
5904
|
["updateStickersetsOrder", "true", "flags.15?true"],
|
|
5792
5905
|
["peer", types.TypeInputPeer, "InputPeer"],
|
|
5793
|
-
["
|
|
5794
|
-
["topMsgId", "number", "flags.9?int"],
|
|
5906
|
+
["replyTo", types.TypeInputReplyTo, "flags.0?InputReplyTo"],
|
|
5795
5907
|
["media", types.TypeInputMedia, "InputMedia"],
|
|
5796
5908
|
["message", "string", "string"],
|
|
5797
5909
|
["randomId", "bigint", "long"],
|
|
@@ -5810,8 +5922,7 @@ class MessagesSendMedia extends Function {
|
|
|
5810
5922
|
[this.noforwards ?? null, "true", "flags.14?true"],
|
|
5811
5923
|
[this.updateStickersetsOrder ?? null, "true", "flags.15?true"],
|
|
5812
5924
|
[this.peer, types.TypeInputPeer, "InputPeer"],
|
|
5813
|
-
[this.
|
|
5814
|
-
[this.topMsgId ?? null, "number", "flags.9?int"],
|
|
5925
|
+
[this.replyTo ?? null, types.TypeInputReplyTo, "flags.0?InputReplyTo"],
|
|
5815
5926
|
[this.media, types.TypeInputMedia, "InputMedia"],
|
|
5816
5927
|
[this.message, "string", "string"],
|
|
5817
5928
|
[this.randomId, "bigint", "long"],
|
|
@@ -5859,13 +5970,7 @@ class MessagesSendMedia extends Function {
|
|
|
5859
5970
|
writable: true,
|
|
5860
5971
|
value: void 0
|
|
5861
5972
|
});
|
|
5862
|
-
Object.defineProperty(this, "
|
|
5863
|
-
enumerable: true,
|
|
5864
|
-
configurable: true,
|
|
5865
|
-
writable: true,
|
|
5866
|
-
value: void 0
|
|
5867
|
-
});
|
|
5868
|
-
Object.defineProperty(this, "topMsgId", {
|
|
5973
|
+
Object.defineProperty(this, "replyTo", {
|
|
5869
5974
|
enumerable: true,
|
|
5870
5975
|
configurable: true,
|
|
5871
5976
|
writable: true,
|
|
@@ -5919,8 +6024,7 @@ class MessagesSendMedia extends Function {
|
|
|
5919
6024
|
this.noforwards = params.noforwards;
|
|
5920
6025
|
this.updateStickersetsOrder = params.updateStickersetsOrder;
|
|
5921
6026
|
this.peer = params.peer;
|
|
5922
|
-
this.
|
|
5923
|
-
this.topMsgId = params.topMsgId;
|
|
6027
|
+
this.replyTo = params.replyTo;
|
|
5924
6028
|
this.media = params.media;
|
|
5925
6029
|
this.message = params.message;
|
|
5926
6030
|
this.randomId = params.randomId;
|
|
@@ -7795,7 +7899,7 @@ class MessagesSetInlineBotResults extends Function {
|
|
|
7795
7899
|
exports.MessagesSetInlineBotResults = MessagesSetInlineBotResults;
|
|
7796
7900
|
class MessagesSendInlineBotResult extends Function {
|
|
7797
7901
|
get [_1_tl_object_js_1.id]() {
|
|
7798
|
-
return
|
|
7902
|
+
return 0xF7BC68BA;
|
|
7799
7903
|
}
|
|
7800
7904
|
static get [_1_tl_object_js_1.paramDesc]() {
|
|
7801
7905
|
return [
|
|
@@ -7805,8 +7909,7 @@ class MessagesSendInlineBotResult extends Function {
|
|
|
7805
7909
|
["clearDraft", "true", "flags.7?true"],
|
|
7806
7910
|
["hideVia", "true", "flags.11?true"],
|
|
7807
7911
|
["peer", types.TypeInputPeer, "InputPeer"],
|
|
7808
|
-
["
|
|
7809
|
-
["topMsgId", "number", "flags.9?int"],
|
|
7912
|
+
["replyTo", types.TypeInputReplyTo, "flags.0?InputReplyTo"],
|
|
7810
7913
|
["randomId", "bigint", "long"],
|
|
7811
7914
|
["queryId", "bigint", "long"],
|
|
7812
7915
|
["id", "string", "string"],
|
|
@@ -7822,8 +7925,7 @@ class MessagesSendInlineBotResult extends Function {
|
|
|
7822
7925
|
[this.clearDraft ?? null, "true", "flags.7?true"],
|
|
7823
7926
|
[this.hideVia ?? null, "true", "flags.11?true"],
|
|
7824
7927
|
[this.peer, types.TypeInputPeer, "InputPeer"],
|
|
7825
|
-
[this.
|
|
7826
|
-
[this.topMsgId ?? null, "number", "flags.9?int"],
|
|
7928
|
+
[this.replyTo ?? null, types.TypeInputReplyTo, "flags.0?InputReplyTo"],
|
|
7827
7929
|
[this.randomId, "bigint", "long"],
|
|
7828
7930
|
[this.queryId, "bigint", "long"],
|
|
7829
7931
|
[this.id, "string", "string"],
|
|
@@ -7863,13 +7965,7 @@ class MessagesSendInlineBotResult extends Function {
|
|
|
7863
7965
|
writable: true,
|
|
7864
7966
|
value: void 0
|
|
7865
7967
|
});
|
|
7866
|
-
Object.defineProperty(this, "
|
|
7867
|
-
enumerable: true,
|
|
7868
|
-
configurable: true,
|
|
7869
|
-
writable: true,
|
|
7870
|
-
value: void 0
|
|
7871
|
-
});
|
|
7872
|
-
Object.defineProperty(this, "topMsgId", {
|
|
7968
|
+
Object.defineProperty(this, "replyTo", {
|
|
7873
7969
|
enumerable: true,
|
|
7874
7970
|
configurable: true,
|
|
7875
7971
|
writable: true,
|
|
@@ -7910,8 +8006,7 @@ class MessagesSendInlineBotResult extends Function {
|
|
|
7910
8006
|
this.clearDraft = params.clearDraft;
|
|
7911
8007
|
this.hideVia = params.hideVia;
|
|
7912
8008
|
this.peer = params.peer;
|
|
7913
|
-
this.
|
|
7914
|
-
this.topMsgId = params.topMsgId;
|
|
8009
|
+
this.replyTo = params.replyTo;
|
|
7915
8010
|
this.randomId = params.randomId;
|
|
7916
8011
|
this.queryId = params.queryId;
|
|
7917
8012
|
this.id = params.id;
|
|
@@ -8520,7 +8615,7 @@ class MessagesClearRecentStickers extends Function {
|
|
|
8520
8615
|
writable: true,
|
|
8521
8616
|
value: void 0
|
|
8522
8617
|
});
|
|
8523
|
-
this.attached = params
|
|
8618
|
+
this.attached = params.attached;
|
|
8524
8619
|
}
|
|
8525
8620
|
}
|
|
8526
8621
|
exports.MessagesClearRecentStickers = MessagesClearRecentStickers;
|
|
@@ -8891,32 +8986,6 @@ class MessagesGetCommonChats extends Function {
|
|
|
8891
8986
|
}
|
|
8892
8987
|
}
|
|
8893
8988
|
exports.MessagesGetCommonChats = MessagesGetCommonChats;
|
|
8894
|
-
class MessagesGetAllChats extends Function {
|
|
8895
|
-
get [_1_tl_object_js_1.id]() {
|
|
8896
|
-
return 0x875F74BE;
|
|
8897
|
-
}
|
|
8898
|
-
static get [_1_tl_object_js_1.paramDesc]() {
|
|
8899
|
-
return [
|
|
8900
|
-
["exceptIds", ["bigint"], "Vector<long>"],
|
|
8901
|
-
];
|
|
8902
|
-
}
|
|
8903
|
-
get [_1_tl_object_js_1.params]() {
|
|
8904
|
-
return [
|
|
8905
|
-
[this.exceptIds, ["bigint"], "Vector<long>"],
|
|
8906
|
-
];
|
|
8907
|
-
}
|
|
8908
|
-
constructor(params) {
|
|
8909
|
-
super();
|
|
8910
|
-
Object.defineProperty(this, "exceptIds", {
|
|
8911
|
-
enumerable: true,
|
|
8912
|
-
configurable: true,
|
|
8913
|
-
writable: true,
|
|
8914
|
-
value: void 0
|
|
8915
|
-
});
|
|
8916
|
-
this.exceptIds = params.exceptIds;
|
|
8917
|
-
}
|
|
8918
|
-
}
|
|
8919
|
-
exports.MessagesGetAllChats = MessagesGetAllChats;
|
|
8920
8989
|
class MessagesGetWebPage extends Function {
|
|
8921
8990
|
get [_1_tl_object_js_1.id]() {
|
|
8922
8991
|
return 0x32CA8F91;
|
|
@@ -9190,19 +9259,19 @@ class MessagesUploadMedia extends Function {
|
|
|
9190
9259
|
exports.MessagesUploadMedia = MessagesUploadMedia;
|
|
9191
9260
|
class MessagesSendScreenshotNotification extends Function {
|
|
9192
9261
|
get [_1_tl_object_js_1.id]() {
|
|
9193
|
-
return
|
|
9262
|
+
return 0xA1405817;
|
|
9194
9263
|
}
|
|
9195
9264
|
static get [_1_tl_object_js_1.paramDesc]() {
|
|
9196
9265
|
return [
|
|
9197
9266
|
["peer", types.TypeInputPeer, "InputPeer"],
|
|
9198
|
-
["
|
|
9267
|
+
["replyTo", types.TypeInputReplyTo, "InputReplyTo"],
|
|
9199
9268
|
["randomId", "bigint", "long"],
|
|
9200
9269
|
];
|
|
9201
9270
|
}
|
|
9202
9271
|
get [_1_tl_object_js_1.params]() {
|
|
9203
9272
|
return [
|
|
9204
9273
|
[this.peer, types.TypeInputPeer, "InputPeer"],
|
|
9205
|
-
[this.
|
|
9274
|
+
[this.replyTo, types.TypeInputReplyTo, "InputReplyTo"],
|
|
9206
9275
|
[this.randomId, "bigint", "long"],
|
|
9207
9276
|
];
|
|
9208
9277
|
}
|
|
@@ -9214,7 +9283,7 @@ class MessagesSendScreenshotNotification extends Function {
|
|
|
9214
9283
|
writable: true,
|
|
9215
9284
|
value: void 0
|
|
9216
9285
|
});
|
|
9217
|
-
Object.defineProperty(this, "
|
|
9286
|
+
Object.defineProperty(this, "replyTo", {
|
|
9218
9287
|
enumerable: true,
|
|
9219
9288
|
configurable: true,
|
|
9220
9289
|
writable: true,
|
|
@@ -9227,7 +9296,7 @@ class MessagesSendScreenshotNotification extends Function {
|
|
|
9227
9296
|
value: void 0
|
|
9228
9297
|
});
|
|
9229
9298
|
this.peer = params.peer;
|
|
9230
|
-
this.
|
|
9299
|
+
this.replyTo = params.replyTo;
|
|
9231
9300
|
this.randomId = params.randomId;
|
|
9232
9301
|
}
|
|
9233
9302
|
}
|
|
@@ -9458,7 +9527,7 @@ class MessagesGetRecentLocations extends Function {
|
|
|
9458
9527
|
exports.MessagesGetRecentLocations = MessagesGetRecentLocations;
|
|
9459
9528
|
class MessagesSendMultiMedia extends Function {
|
|
9460
9529
|
get [_1_tl_object_js_1.id]() {
|
|
9461
|
-
return
|
|
9530
|
+
return 0x456E8987;
|
|
9462
9531
|
}
|
|
9463
9532
|
static get [_1_tl_object_js_1.paramDesc]() {
|
|
9464
9533
|
return [
|
|
@@ -9469,8 +9538,7 @@ class MessagesSendMultiMedia extends Function {
|
|
|
9469
9538
|
["noforwards", "true", "flags.14?true"],
|
|
9470
9539
|
["updateStickersetsOrder", "true", "flags.15?true"],
|
|
9471
9540
|
["peer", types.TypeInputPeer, "InputPeer"],
|
|
9472
|
-
["
|
|
9473
|
-
["topMsgId", "number", "flags.9?int"],
|
|
9541
|
+
["replyTo", types.TypeInputReplyTo, "flags.0?InputReplyTo"],
|
|
9474
9542
|
["multiMedia", [types.TypeInputSingleMedia], "Vector<InputSingleMedia>"],
|
|
9475
9543
|
["scheduleDate", "number", "flags.10?int"],
|
|
9476
9544
|
["sendAs", types.TypeInputPeer, "flags.13?InputPeer"],
|
|
@@ -9485,8 +9553,7 @@ class MessagesSendMultiMedia extends Function {
|
|
|
9485
9553
|
[this.noforwards ?? null, "true", "flags.14?true"],
|
|
9486
9554
|
[this.updateStickersetsOrder ?? null, "true", "flags.15?true"],
|
|
9487
9555
|
[this.peer, types.TypeInputPeer, "InputPeer"],
|
|
9488
|
-
[this.
|
|
9489
|
-
[this.topMsgId ?? null, "number", "flags.9?int"],
|
|
9556
|
+
[this.replyTo ?? null, types.TypeInputReplyTo, "flags.0?InputReplyTo"],
|
|
9490
9557
|
[this.multiMedia, [types.TypeInputSingleMedia], "Vector<InputSingleMedia>"],
|
|
9491
9558
|
[this.scheduleDate ?? null, "number", "flags.10?int"],
|
|
9492
9559
|
[this.sendAs ?? null, types.TypeInputPeer, "flags.13?InputPeer"],
|
|
@@ -9530,13 +9597,7 @@ class MessagesSendMultiMedia extends Function {
|
|
|
9530
9597
|
writable: true,
|
|
9531
9598
|
value: void 0
|
|
9532
9599
|
});
|
|
9533
|
-
Object.defineProperty(this, "
|
|
9534
|
-
enumerable: true,
|
|
9535
|
-
configurable: true,
|
|
9536
|
-
writable: true,
|
|
9537
|
-
value: void 0
|
|
9538
|
-
});
|
|
9539
|
-
Object.defineProperty(this, "topMsgId", {
|
|
9600
|
+
Object.defineProperty(this, "replyTo", {
|
|
9540
9601
|
enumerable: true,
|
|
9541
9602
|
configurable: true,
|
|
9542
9603
|
writable: true,
|
|
@@ -9566,8 +9627,7 @@ class MessagesSendMultiMedia extends Function {
|
|
|
9566
9627
|
this.noforwards = params.noforwards;
|
|
9567
9628
|
this.updateStickersetsOrder = params.updateStickersetsOrder;
|
|
9568
9629
|
this.peer = params.peer;
|
|
9569
|
-
this.
|
|
9570
|
-
this.topMsgId = params.topMsgId;
|
|
9630
|
+
this.replyTo = params.replyTo;
|
|
9571
9631
|
this.multiMedia = params.multiMedia;
|
|
9572
9632
|
this.scheduleDate = params.scheduleDate;
|
|
9573
9633
|
this.sendAs = params.sendAs;
|
|
@@ -10183,10 +10243,10 @@ class MessagesRequestURLAuth extends Function {
|
|
|
10183
10243
|
writable: true,
|
|
10184
10244
|
value: void 0
|
|
10185
10245
|
});
|
|
10186
|
-
this.peer = params
|
|
10187
|
-
this.msgId = params
|
|
10188
|
-
this.buttonId = params
|
|
10189
|
-
this.url = params
|
|
10246
|
+
this.peer = params.peer;
|
|
10247
|
+
this.msgId = params.msgId;
|
|
10248
|
+
this.buttonId = params.buttonId;
|
|
10249
|
+
this.url = params.url;
|
|
10190
10250
|
}
|
|
10191
10251
|
}
|
|
10192
10252
|
exports.MessagesRequestURLAuth = MessagesRequestURLAuth;
|
|
@@ -10246,11 +10306,11 @@ class MessagesAcceptURLAuth extends Function {
|
|
|
10246
10306
|
writable: true,
|
|
10247
10307
|
value: void 0
|
|
10248
10308
|
});
|
|
10249
|
-
this.writeAllowed = params
|
|
10250
|
-
this.peer = params
|
|
10251
|
-
this.msgId = params
|
|
10252
|
-
this.buttonId = params
|
|
10253
|
-
this.url = params
|
|
10309
|
+
this.writeAllowed = params.writeAllowed;
|
|
10310
|
+
this.peer = params.peer;
|
|
10311
|
+
this.msgId = params.msgId;
|
|
10312
|
+
this.buttonId = params.buttonId;
|
|
10313
|
+
this.url = params.url;
|
|
10254
10314
|
}
|
|
10255
10315
|
}
|
|
10256
10316
|
exports.MessagesAcceptURLAuth = MessagesAcceptURLAuth;
|
|
@@ -10940,7 +11000,7 @@ class MessagesDeletePhoneCallHistory extends Function {
|
|
|
10940
11000
|
writable: true,
|
|
10941
11001
|
value: void 0
|
|
10942
11002
|
});
|
|
10943
|
-
this.revoke = params
|
|
11003
|
+
this.revoke = params.revoke;
|
|
10944
11004
|
}
|
|
10945
11005
|
}
|
|
10946
11006
|
exports.MessagesDeletePhoneCallHistory = MessagesDeletePhoneCallHistory;
|
|
@@ -12437,7 +12497,7 @@ class MessagesToggleBotInAttachMenu extends Function {
|
|
|
12437
12497
|
exports.MessagesToggleBotInAttachMenu = MessagesToggleBotInAttachMenu;
|
|
12438
12498
|
class MessagesRequestWebView extends Function {
|
|
12439
12499
|
get [_1_tl_object_js_1.id]() {
|
|
12440
|
-
return
|
|
12500
|
+
return 0x269DC2C1;
|
|
12441
12501
|
}
|
|
12442
12502
|
static get [_1_tl_object_js_1.paramDesc]() {
|
|
12443
12503
|
return [
|
|
@@ -12450,8 +12510,7 @@ class MessagesRequestWebView extends Function {
|
|
|
12450
12510
|
["startParam", "string", "flags.3?string"],
|
|
12451
12511
|
["themeParams", types.TypeDataJSON, "flags.2?DataJSON"],
|
|
12452
12512
|
["platform", "string", "string"],
|
|
12453
|
-
["
|
|
12454
|
-
["topMsgId", "number", "flags.9?int"],
|
|
12513
|
+
["replyTo", types.TypeInputReplyTo, "flags.0?InputReplyTo"],
|
|
12455
12514
|
["sendAs", types.TypeInputPeer, "flags.13?InputPeer"],
|
|
12456
12515
|
];
|
|
12457
12516
|
}
|
|
@@ -12466,8 +12525,7 @@ class MessagesRequestWebView extends Function {
|
|
|
12466
12525
|
[this.startParam ?? null, "string", "flags.3?string"],
|
|
12467
12526
|
[this.themeParams ?? null, types.TypeDataJSON, "flags.2?DataJSON"],
|
|
12468
12527
|
[this.platform, "string", "string"],
|
|
12469
|
-
[this.
|
|
12470
|
-
[this.topMsgId ?? null, "number", "flags.9?int"],
|
|
12528
|
+
[this.replyTo ?? null, types.TypeInputReplyTo, "flags.0?InputReplyTo"],
|
|
12471
12529
|
[this.sendAs ?? null, types.TypeInputPeer, "flags.13?InputPeer"],
|
|
12472
12530
|
];
|
|
12473
12531
|
}
|
|
@@ -12521,13 +12579,7 @@ class MessagesRequestWebView extends Function {
|
|
|
12521
12579
|
writable: true,
|
|
12522
12580
|
value: void 0
|
|
12523
12581
|
});
|
|
12524
|
-
Object.defineProperty(this, "
|
|
12525
|
-
enumerable: true,
|
|
12526
|
-
configurable: true,
|
|
12527
|
-
writable: true,
|
|
12528
|
-
value: void 0
|
|
12529
|
-
});
|
|
12530
|
-
Object.defineProperty(this, "topMsgId", {
|
|
12582
|
+
Object.defineProperty(this, "replyTo", {
|
|
12531
12583
|
enumerable: true,
|
|
12532
12584
|
configurable: true,
|
|
12533
12585
|
writable: true,
|
|
@@ -12547,15 +12599,14 @@ class MessagesRequestWebView extends Function {
|
|
|
12547
12599
|
this.startParam = params.startParam;
|
|
12548
12600
|
this.themeParams = params.themeParams;
|
|
12549
12601
|
this.platform = params.platform;
|
|
12550
|
-
this.
|
|
12551
|
-
this.topMsgId = params.topMsgId;
|
|
12602
|
+
this.replyTo = params.replyTo;
|
|
12552
12603
|
this.sendAs = params.sendAs;
|
|
12553
12604
|
}
|
|
12554
12605
|
}
|
|
12555
12606
|
exports.MessagesRequestWebView = MessagesRequestWebView;
|
|
12556
12607
|
class MessagesProlongWebView extends Function {
|
|
12557
12608
|
get [_1_tl_object_js_1.id]() {
|
|
12558
|
-
return
|
|
12609
|
+
return 0xB0D81A83;
|
|
12559
12610
|
}
|
|
12560
12611
|
static get [_1_tl_object_js_1.paramDesc]() {
|
|
12561
12612
|
return [
|
|
@@ -12564,8 +12615,7 @@ class MessagesProlongWebView extends Function {
|
|
|
12564
12615
|
["peer", types.TypeInputPeer, "InputPeer"],
|
|
12565
12616
|
["bot", types.TypeInputUser, "InputUser"],
|
|
12566
12617
|
["queryId", "bigint", "long"],
|
|
12567
|
-
["
|
|
12568
|
-
["topMsgId", "number", "flags.9?int"],
|
|
12618
|
+
["replyTo", types.TypeInputReplyTo, "flags.0?InputReplyTo"],
|
|
12569
12619
|
["sendAs", types.TypeInputPeer, "flags.13?InputPeer"],
|
|
12570
12620
|
];
|
|
12571
12621
|
}
|
|
@@ -12576,8 +12626,7 @@ class MessagesProlongWebView extends Function {
|
|
|
12576
12626
|
[this.peer, types.TypeInputPeer, "InputPeer"],
|
|
12577
12627
|
[this.bot, types.TypeInputUser, "InputUser"],
|
|
12578
12628
|
[this.queryId, "bigint", "long"],
|
|
12579
|
-
[this.
|
|
12580
|
-
[this.topMsgId ?? null, "number", "flags.9?int"],
|
|
12629
|
+
[this.replyTo ?? null, types.TypeInputReplyTo, "flags.0?InputReplyTo"],
|
|
12581
12630
|
[this.sendAs ?? null, types.TypeInputPeer, "flags.13?InputPeer"],
|
|
12582
12631
|
];
|
|
12583
12632
|
}
|
|
@@ -12607,13 +12656,7 @@ class MessagesProlongWebView extends Function {
|
|
|
12607
12656
|
writable: true,
|
|
12608
12657
|
value: void 0
|
|
12609
12658
|
});
|
|
12610
|
-
Object.defineProperty(this, "
|
|
12611
|
-
enumerable: true,
|
|
12612
|
-
configurable: true,
|
|
12613
|
-
writable: true,
|
|
12614
|
-
value: void 0
|
|
12615
|
-
});
|
|
12616
|
-
Object.defineProperty(this, "topMsgId", {
|
|
12659
|
+
Object.defineProperty(this, "replyTo", {
|
|
12617
12660
|
enumerable: true,
|
|
12618
12661
|
configurable: true,
|
|
12619
12662
|
writable: true,
|
|
@@ -12629,8 +12672,7 @@ class MessagesProlongWebView extends Function {
|
|
|
12629
12672
|
this.peer = params.peer;
|
|
12630
12673
|
this.bot = params.bot;
|
|
12631
12674
|
this.queryId = params.queryId;
|
|
12632
|
-
this.
|
|
12633
|
-
this.topMsgId = params.topMsgId;
|
|
12675
|
+
this.replyTo = params.replyTo;
|
|
12634
12676
|
this.sendAs = params.sendAs;
|
|
12635
12677
|
}
|
|
12636
12678
|
}
|
|
@@ -13541,24 +13583,28 @@ class UpdatesGetState extends Function {
|
|
|
13541
13583
|
exports.UpdatesGetState = UpdatesGetState;
|
|
13542
13584
|
class UpdatesGetDifference extends Function {
|
|
13543
13585
|
get [_1_tl_object_js_1.id]() {
|
|
13544
|
-
return
|
|
13586
|
+
return 0x19C2F763;
|
|
13545
13587
|
}
|
|
13546
13588
|
static get [_1_tl_object_js_1.paramDesc]() {
|
|
13547
13589
|
return [
|
|
13548
13590
|
["flags", _1_tl_object_js_1.flags, "#"],
|
|
13549
13591
|
["pts", "number", "int"],
|
|
13592
|
+
["ptsLimit", "number", "flags.1?int"],
|
|
13550
13593
|
["ptsTotalLimit", "number", "flags.0?int"],
|
|
13551
13594
|
["date", "number", "int"],
|
|
13552
13595
|
["qts", "number", "int"],
|
|
13596
|
+
["qtsLimit", "number", "flags.2?int"],
|
|
13553
13597
|
];
|
|
13554
13598
|
}
|
|
13555
13599
|
get [_1_tl_object_js_1.params]() {
|
|
13556
13600
|
return [
|
|
13557
13601
|
["flags", _1_tl_object_js_1.flags, "#"],
|
|
13558
13602
|
[this.pts, "number", "int"],
|
|
13603
|
+
[this.ptsLimit ?? null, "number", "flags.1?int"],
|
|
13559
13604
|
[this.ptsTotalLimit ?? null, "number", "flags.0?int"],
|
|
13560
13605
|
[this.date, "number", "int"],
|
|
13561
13606
|
[this.qts, "number", "int"],
|
|
13607
|
+
[this.qtsLimit ?? null, "number", "flags.2?int"],
|
|
13562
13608
|
];
|
|
13563
13609
|
}
|
|
13564
13610
|
constructor(params) {
|
|
@@ -13569,6 +13615,12 @@ class UpdatesGetDifference extends Function {
|
|
|
13569
13615
|
writable: true,
|
|
13570
13616
|
value: void 0
|
|
13571
13617
|
});
|
|
13618
|
+
Object.defineProperty(this, "ptsLimit", {
|
|
13619
|
+
enumerable: true,
|
|
13620
|
+
configurable: true,
|
|
13621
|
+
writable: true,
|
|
13622
|
+
value: void 0
|
|
13623
|
+
});
|
|
13572
13624
|
Object.defineProperty(this, "ptsTotalLimit", {
|
|
13573
13625
|
enumerable: true,
|
|
13574
13626
|
configurable: true,
|
|
@@ -13587,10 +13639,18 @@ class UpdatesGetDifference extends Function {
|
|
|
13587
13639
|
writable: true,
|
|
13588
13640
|
value: void 0
|
|
13589
13641
|
});
|
|
13642
|
+
Object.defineProperty(this, "qtsLimit", {
|
|
13643
|
+
enumerable: true,
|
|
13644
|
+
configurable: true,
|
|
13645
|
+
writable: true,
|
|
13646
|
+
value: void 0
|
|
13647
|
+
});
|
|
13590
13648
|
this.pts = params.pts;
|
|
13649
|
+
this.ptsLimit = params.ptsLimit;
|
|
13591
13650
|
this.ptsTotalLimit = params.ptsTotalLimit;
|
|
13592
13651
|
this.date = params.date;
|
|
13593
13652
|
this.qts = params.qts;
|
|
13653
|
+
this.qtsLimit = params.qtsLimit;
|
|
13594
13654
|
}
|
|
13595
13655
|
}
|
|
13596
13656
|
exports.UpdatesGetDifference = UpdatesGetDifference;
|
|
@@ -13768,12 +13828,12 @@ class PhotosUploadProfilePhoto extends Function {
|
|
|
13768
13828
|
writable: true,
|
|
13769
13829
|
value: void 0
|
|
13770
13830
|
});
|
|
13771
|
-
this.fallback = params
|
|
13772
|
-
this.bot = params
|
|
13773
|
-
this.file = params
|
|
13774
|
-
this.video = params
|
|
13775
|
-
this.videoStartTs = params
|
|
13776
|
-
this.videoEmojiMarkup = params
|
|
13831
|
+
this.fallback = params.fallback;
|
|
13832
|
+
this.bot = params.bot;
|
|
13833
|
+
this.file = params.file;
|
|
13834
|
+
this.video = params.video;
|
|
13835
|
+
this.videoStartTs = params.videoStartTs;
|
|
13836
|
+
this.videoEmojiMarkup = params.videoEmojiMarkup;
|
|
13777
13837
|
}
|
|
13778
13838
|
}
|
|
13779
13839
|
exports.PhotosUploadProfilePhoto = PhotosUploadProfilePhoto;
|
|
@@ -15662,8 +15722,8 @@ class ChannelsGetAdminedPublicChannels extends Function {
|
|
|
15662
15722
|
writable: true,
|
|
15663
15723
|
value: void 0
|
|
15664
15724
|
});
|
|
15665
|
-
this.byLocation = params
|
|
15666
|
-
this.checkLimit = params
|
|
15725
|
+
this.byLocation = params.byLocation;
|
|
15726
|
+
this.checkLimit = params.checkLimit;
|
|
15667
15727
|
}
|
|
15668
15728
|
}
|
|
15669
15729
|
exports.ChannelsGetAdminedPublicChannels = ChannelsGetAdminedPublicChannels;
|
|
@@ -17000,39 +17060,74 @@ class ChannelsToggleParticipantsHidden extends Function {
|
|
|
17000
17060
|
}
|
|
17001
17061
|
}
|
|
17002
17062
|
exports.ChannelsToggleParticipantsHidden = ChannelsToggleParticipantsHidden;
|
|
17003
|
-
class
|
|
17063
|
+
class ChannelsClickSponsoredMessage extends Function {
|
|
17004
17064
|
get [_1_tl_object_js_1.id]() {
|
|
17005
|
-
return
|
|
17065
|
+
return 0x18AFBC93;
|
|
17006
17066
|
}
|
|
17007
17067
|
static get [_1_tl_object_js_1.paramDesc]() {
|
|
17008
17068
|
return [
|
|
17009
|
-
["
|
|
17010
|
-
["
|
|
17069
|
+
["channel", types.TypeInputChannel, "InputChannel"],
|
|
17070
|
+
["randomId", Uint8Array, "bytes"],
|
|
17011
17071
|
];
|
|
17012
17072
|
}
|
|
17013
17073
|
get [_1_tl_object_js_1.params]() {
|
|
17014
17074
|
return [
|
|
17015
|
-
[this.
|
|
17016
|
-
[this.
|
|
17075
|
+
[this.channel, types.TypeInputChannel, "InputChannel"],
|
|
17076
|
+
[this.randomId, Uint8Array, "bytes"],
|
|
17017
17077
|
];
|
|
17018
17078
|
}
|
|
17019
17079
|
constructor(params) {
|
|
17020
17080
|
super();
|
|
17021
|
-
Object.defineProperty(this, "
|
|
17081
|
+
Object.defineProperty(this, "channel", {
|
|
17022
17082
|
enumerable: true,
|
|
17023
17083
|
configurable: true,
|
|
17024
17084
|
writable: true,
|
|
17025
17085
|
value: void 0
|
|
17026
17086
|
});
|
|
17027
|
-
Object.defineProperty(this, "
|
|
17087
|
+
Object.defineProperty(this, "randomId", {
|
|
17028
17088
|
enumerable: true,
|
|
17029
17089
|
configurable: true,
|
|
17030
17090
|
writable: true,
|
|
17031
17091
|
value: void 0
|
|
17032
17092
|
});
|
|
17033
|
-
this.
|
|
17034
|
-
this.
|
|
17035
|
-
}
|
|
17093
|
+
this.channel = params.channel;
|
|
17094
|
+
this.randomId = params.randomId;
|
|
17095
|
+
}
|
|
17096
|
+
}
|
|
17097
|
+
exports.ChannelsClickSponsoredMessage = ChannelsClickSponsoredMessage;
|
|
17098
|
+
class BotsSendCustomRequest extends Function {
|
|
17099
|
+
get [_1_tl_object_js_1.id]() {
|
|
17100
|
+
return 0xAA2769ED;
|
|
17101
|
+
}
|
|
17102
|
+
static get [_1_tl_object_js_1.paramDesc]() {
|
|
17103
|
+
return [
|
|
17104
|
+
["customMethod", "string", "string"],
|
|
17105
|
+
["params", types.TypeDataJSON, "DataJSON"],
|
|
17106
|
+
];
|
|
17107
|
+
}
|
|
17108
|
+
get [_1_tl_object_js_1.params]() {
|
|
17109
|
+
return [
|
|
17110
|
+
[this.customMethod, "string", "string"],
|
|
17111
|
+
[this.params, types.TypeDataJSON, "DataJSON"],
|
|
17112
|
+
];
|
|
17113
|
+
}
|
|
17114
|
+
constructor(params) {
|
|
17115
|
+
super();
|
|
17116
|
+
Object.defineProperty(this, "customMethod", {
|
|
17117
|
+
enumerable: true,
|
|
17118
|
+
configurable: true,
|
|
17119
|
+
writable: true,
|
|
17120
|
+
value: void 0
|
|
17121
|
+
});
|
|
17122
|
+
Object.defineProperty(this, "params", {
|
|
17123
|
+
enumerable: true,
|
|
17124
|
+
configurable: true,
|
|
17125
|
+
writable: true,
|
|
17126
|
+
value: void 0
|
|
17127
|
+
});
|
|
17128
|
+
this.customMethod = params.customMethod;
|
|
17129
|
+
this.params = params.params;
|
|
17130
|
+
}
|
|
17036
17131
|
}
|
|
17037
17132
|
exports.BotsSendCustomRequest = BotsSendCustomRequest;
|
|
17038
17133
|
class BotsAnswerWebhookJSONQuery extends Function {
|
|
@@ -17715,8 +17810,8 @@ class PaymentsClearSavedInfo extends Function {
|
|
|
17715
17810
|
writable: true,
|
|
17716
17811
|
value: void 0
|
|
17717
17812
|
});
|
|
17718
|
-
this.credentials = params
|
|
17719
|
-
this.info = params
|
|
17813
|
+
this.credentials = params.credentials;
|
|
17814
|
+
this.info = params.info;
|
|
17720
17815
|
}
|
|
17721
17816
|
}
|
|
17722
17817
|
exports.PaymentsClearSavedInfo = PaymentsClearSavedInfo;
|
|
@@ -20411,3 +20506,683 @@ class ChatlistsLeaveChatlist extends Function {
|
|
|
20411
20506
|
}
|
|
20412
20507
|
}
|
|
20413
20508
|
exports.ChatlistsLeaveChatlist = ChatlistsLeaveChatlist;
|
|
20509
|
+
class StoriesSendStory extends Function {
|
|
20510
|
+
get [_1_tl_object_js_1.id]() {
|
|
20511
|
+
return 0x424CD47A;
|
|
20512
|
+
}
|
|
20513
|
+
static get [_1_tl_object_js_1.paramDesc]() {
|
|
20514
|
+
return [
|
|
20515
|
+
["flags", _1_tl_object_js_1.flags, "#"],
|
|
20516
|
+
["pinned", "true", "flags.2?true"],
|
|
20517
|
+
["noforwards", "true", "flags.4?true"],
|
|
20518
|
+
["media", types.TypeInputMedia, "InputMedia"],
|
|
20519
|
+
["caption", "string", "flags.0?string"],
|
|
20520
|
+
["entities", [types.TypeMessageEntity], "flags.1?Vector<MessageEntity>"],
|
|
20521
|
+
["privacyRules", [types.TypeInputPrivacyRule], "Vector<InputPrivacyRule>"],
|
|
20522
|
+
["randomId", "bigint", "long"],
|
|
20523
|
+
["period", "number", "flags.3?int"],
|
|
20524
|
+
];
|
|
20525
|
+
}
|
|
20526
|
+
get [_1_tl_object_js_1.params]() {
|
|
20527
|
+
return [
|
|
20528
|
+
["flags", _1_tl_object_js_1.flags, "#"],
|
|
20529
|
+
[this.pinned ?? null, "true", "flags.2?true"],
|
|
20530
|
+
[this.noforwards ?? null, "true", "flags.4?true"],
|
|
20531
|
+
[this.media, types.TypeInputMedia, "InputMedia"],
|
|
20532
|
+
[this.caption ?? null, "string", "flags.0?string"],
|
|
20533
|
+
[this.entities ?? null, [types.TypeMessageEntity], "flags.1?Vector<MessageEntity>"],
|
|
20534
|
+
[this.privacyRules, [types.TypeInputPrivacyRule], "Vector<InputPrivacyRule>"],
|
|
20535
|
+
[this.randomId, "bigint", "long"],
|
|
20536
|
+
[this.period ?? null, "number", "flags.3?int"],
|
|
20537
|
+
];
|
|
20538
|
+
}
|
|
20539
|
+
constructor(params) {
|
|
20540
|
+
super();
|
|
20541
|
+
Object.defineProperty(this, "pinned", {
|
|
20542
|
+
enumerable: true,
|
|
20543
|
+
configurable: true,
|
|
20544
|
+
writable: true,
|
|
20545
|
+
value: void 0
|
|
20546
|
+
});
|
|
20547
|
+
Object.defineProperty(this, "noforwards", {
|
|
20548
|
+
enumerable: true,
|
|
20549
|
+
configurable: true,
|
|
20550
|
+
writable: true,
|
|
20551
|
+
value: void 0
|
|
20552
|
+
});
|
|
20553
|
+
Object.defineProperty(this, "media", {
|
|
20554
|
+
enumerable: true,
|
|
20555
|
+
configurable: true,
|
|
20556
|
+
writable: true,
|
|
20557
|
+
value: void 0
|
|
20558
|
+
});
|
|
20559
|
+
Object.defineProperty(this, "caption", {
|
|
20560
|
+
enumerable: true,
|
|
20561
|
+
configurable: true,
|
|
20562
|
+
writable: true,
|
|
20563
|
+
value: void 0
|
|
20564
|
+
});
|
|
20565
|
+
Object.defineProperty(this, "entities", {
|
|
20566
|
+
enumerable: true,
|
|
20567
|
+
configurable: true,
|
|
20568
|
+
writable: true,
|
|
20569
|
+
value: void 0
|
|
20570
|
+
});
|
|
20571
|
+
Object.defineProperty(this, "privacyRules", {
|
|
20572
|
+
enumerable: true,
|
|
20573
|
+
configurable: true,
|
|
20574
|
+
writable: true,
|
|
20575
|
+
value: void 0
|
|
20576
|
+
});
|
|
20577
|
+
Object.defineProperty(this, "randomId", {
|
|
20578
|
+
enumerable: true,
|
|
20579
|
+
configurable: true,
|
|
20580
|
+
writable: true,
|
|
20581
|
+
value: void 0
|
|
20582
|
+
});
|
|
20583
|
+
Object.defineProperty(this, "period", {
|
|
20584
|
+
enumerable: true,
|
|
20585
|
+
configurable: true,
|
|
20586
|
+
writable: true,
|
|
20587
|
+
value: void 0
|
|
20588
|
+
});
|
|
20589
|
+
this.pinned = params.pinned;
|
|
20590
|
+
this.noforwards = params.noforwards;
|
|
20591
|
+
this.media = params.media;
|
|
20592
|
+
this.caption = params.caption;
|
|
20593
|
+
this.entities = params.entities;
|
|
20594
|
+
this.privacyRules = params.privacyRules;
|
|
20595
|
+
this.randomId = params.randomId;
|
|
20596
|
+
this.period = params.period;
|
|
20597
|
+
}
|
|
20598
|
+
}
|
|
20599
|
+
exports.StoriesSendStory = StoriesSendStory;
|
|
20600
|
+
class StoriesEditStory extends Function {
|
|
20601
|
+
get [_1_tl_object_js_1.id]() {
|
|
20602
|
+
return 0x2AAE7A41;
|
|
20603
|
+
}
|
|
20604
|
+
static get [_1_tl_object_js_1.paramDesc]() {
|
|
20605
|
+
return [
|
|
20606
|
+
["flags", _1_tl_object_js_1.flags, "#"],
|
|
20607
|
+
["id", "number", "int"],
|
|
20608
|
+
["media", types.TypeInputMedia, "flags.0?InputMedia"],
|
|
20609
|
+
["caption", "string", "flags.1?string"],
|
|
20610
|
+
["entities", [types.TypeMessageEntity], "flags.1?Vector<MessageEntity>"],
|
|
20611
|
+
["privacyRules", [types.TypeInputPrivacyRule], "flags.2?Vector<InputPrivacyRule>"],
|
|
20612
|
+
];
|
|
20613
|
+
}
|
|
20614
|
+
get [_1_tl_object_js_1.params]() {
|
|
20615
|
+
return [
|
|
20616
|
+
["flags", _1_tl_object_js_1.flags, "#"],
|
|
20617
|
+
[this.id, "number", "int"],
|
|
20618
|
+
[this.media ?? null, types.TypeInputMedia, "flags.0?InputMedia"],
|
|
20619
|
+
[this.caption ?? null, "string", "flags.1?string"],
|
|
20620
|
+
[this.entities ?? null, [types.TypeMessageEntity], "flags.1?Vector<MessageEntity>"],
|
|
20621
|
+
[this.privacyRules ?? null, [types.TypeInputPrivacyRule], "flags.2?Vector<InputPrivacyRule>"],
|
|
20622
|
+
];
|
|
20623
|
+
}
|
|
20624
|
+
constructor(params) {
|
|
20625
|
+
super();
|
|
20626
|
+
Object.defineProperty(this, "id", {
|
|
20627
|
+
enumerable: true,
|
|
20628
|
+
configurable: true,
|
|
20629
|
+
writable: true,
|
|
20630
|
+
value: void 0
|
|
20631
|
+
});
|
|
20632
|
+
Object.defineProperty(this, "media", {
|
|
20633
|
+
enumerable: true,
|
|
20634
|
+
configurable: true,
|
|
20635
|
+
writable: true,
|
|
20636
|
+
value: void 0
|
|
20637
|
+
});
|
|
20638
|
+
Object.defineProperty(this, "caption", {
|
|
20639
|
+
enumerable: true,
|
|
20640
|
+
configurable: true,
|
|
20641
|
+
writable: true,
|
|
20642
|
+
value: void 0
|
|
20643
|
+
});
|
|
20644
|
+
Object.defineProperty(this, "entities", {
|
|
20645
|
+
enumerable: true,
|
|
20646
|
+
configurable: true,
|
|
20647
|
+
writable: true,
|
|
20648
|
+
value: void 0
|
|
20649
|
+
});
|
|
20650
|
+
Object.defineProperty(this, "privacyRules", {
|
|
20651
|
+
enumerable: true,
|
|
20652
|
+
configurable: true,
|
|
20653
|
+
writable: true,
|
|
20654
|
+
value: void 0
|
|
20655
|
+
});
|
|
20656
|
+
this.id = params.id;
|
|
20657
|
+
this.media = params.media;
|
|
20658
|
+
this.caption = params.caption;
|
|
20659
|
+
this.entities = params.entities;
|
|
20660
|
+
this.privacyRules = params.privacyRules;
|
|
20661
|
+
}
|
|
20662
|
+
}
|
|
20663
|
+
exports.StoriesEditStory = StoriesEditStory;
|
|
20664
|
+
class StoriesDeleteStories extends Function {
|
|
20665
|
+
get [_1_tl_object_js_1.id]() {
|
|
20666
|
+
return 0xB5D501D7;
|
|
20667
|
+
}
|
|
20668
|
+
static get [_1_tl_object_js_1.paramDesc]() {
|
|
20669
|
+
return [
|
|
20670
|
+
["id", ["number"], "Vector<int>"],
|
|
20671
|
+
];
|
|
20672
|
+
}
|
|
20673
|
+
get [_1_tl_object_js_1.params]() {
|
|
20674
|
+
return [
|
|
20675
|
+
[this.id, ["number"], "Vector<int>"],
|
|
20676
|
+
];
|
|
20677
|
+
}
|
|
20678
|
+
constructor(params) {
|
|
20679
|
+
super();
|
|
20680
|
+
Object.defineProperty(this, "id", {
|
|
20681
|
+
enumerable: true,
|
|
20682
|
+
configurable: true,
|
|
20683
|
+
writable: true,
|
|
20684
|
+
value: void 0
|
|
20685
|
+
});
|
|
20686
|
+
this.id = params.id;
|
|
20687
|
+
}
|
|
20688
|
+
}
|
|
20689
|
+
exports.StoriesDeleteStories = StoriesDeleteStories;
|
|
20690
|
+
class StoriesTogglePinned extends Function {
|
|
20691
|
+
get [_1_tl_object_js_1.id]() {
|
|
20692
|
+
return 0x51602944;
|
|
20693
|
+
}
|
|
20694
|
+
static get [_1_tl_object_js_1.paramDesc]() {
|
|
20695
|
+
return [
|
|
20696
|
+
["id", ["number"], "Vector<int>"],
|
|
20697
|
+
["pinned", "boolean", "Bool"],
|
|
20698
|
+
];
|
|
20699
|
+
}
|
|
20700
|
+
get [_1_tl_object_js_1.params]() {
|
|
20701
|
+
return [
|
|
20702
|
+
[this.id, ["number"], "Vector<int>"],
|
|
20703
|
+
[this.pinned, "boolean", "Bool"],
|
|
20704
|
+
];
|
|
20705
|
+
}
|
|
20706
|
+
constructor(params) {
|
|
20707
|
+
super();
|
|
20708
|
+
Object.defineProperty(this, "id", {
|
|
20709
|
+
enumerable: true,
|
|
20710
|
+
configurable: true,
|
|
20711
|
+
writable: true,
|
|
20712
|
+
value: void 0
|
|
20713
|
+
});
|
|
20714
|
+
Object.defineProperty(this, "pinned", {
|
|
20715
|
+
enumerable: true,
|
|
20716
|
+
configurable: true,
|
|
20717
|
+
writable: true,
|
|
20718
|
+
value: void 0
|
|
20719
|
+
});
|
|
20720
|
+
this.id = params.id;
|
|
20721
|
+
this.pinned = params.pinned;
|
|
20722
|
+
}
|
|
20723
|
+
}
|
|
20724
|
+
exports.StoriesTogglePinned = StoriesTogglePinned;
|
|
20725
|
+
class StoriesGetAllStories extends Function {
|
|
20726
|
+
get [_1_tl_object_js_1.id]() {
|
|
20727
|
+
return 0xEEB0D625;
|
|
20728
|
+
}
|
|
20729
|
+
static get [_1_tl_object_js_1.paramDesc]() {
|
|
20730
|
+
return [
|
|
20731
|
+
["flags", _1_tl_object_js_1.flags, "#"],
|
|
20732
|
+
["next", "true", "flags.1?true"],
|
|
20733
|
+
["hidden", "true", "flags.2?true"],
|
|
20734
|
+
["state", "string", "flags.0?string"],
|
|
20735
|
+
];
|
|
20736
|
+
}
|
|
20737
|
+
get [_1_tl_object_js_1.params]() {
|
|
20738
|
+
return [
|
|
20739
|
+
["flags", _1_tl_object_js_1.flags, "#"],
|
|
20740
|
+
[this.next ?? null, "true", "flags.1?true"],
|
|
20741
|
+
[this.hidden ?? null, "true", "flags.2?true"],
|
|
20742
|
+
[this.state ?? null, "string", "flags.0?string"],
|
|
20743
|
+
];
|
|
20744
|
+
}
|
|
20745
|
+
constructor(params) {
|
|
20746
|
+
super();
|
|
20747
|
+
Object.defineProperty(this, "next", {
|
|
20748
|
+
enumerable: true,
|
|
20749
|
+
configurable: true,
|
|
20750
|
+
writable: true,
|
|
20751
|
+
value: void 0
|
|
20752
|
+
});
|
|
20753
|
+
Object.defineProperty(this, "hidden", {
|
|
20754
|
+
enumerable: true,
|
|
20755
|
+
configurable: true,
|
|
20756
|
+
writable: true,
|
|
20757
|
+
value: void 0
|
|
20758
|
+
});
|
|
20759
|
+
Object.defineProperty(this, "state", {
|
|
20760
|
+
enumerable: true,
|
|
20761
|
+
configurable: true,
|
|
20762
|
+
writable: true,
|
|
20763
|
+
value: void 0
|
|
20764
|
+
});
|
|
20765
|
+
this.next = params.next;
|
|
20766
|
+
this.hidden = params.hidden;
|
|
20767
|
+
this.state = params.state;
|
|
20768
|
+
}
|
|
20769
|
+
}
|
|
20770
|
+
exports.StoriesGetAllStories = StoriesGetAllStories;
|
|
20771
|
+
class StoriesGetUserStories extends Function {
|
|
20772
|
+
get [_1_tl_object_js_1.id]() {
|
|
20773
|
+
return 0x96D528E0;
|
|
20774
|
+
}
|
|
20775
|
+
static get [_1_tl_object_js_1.paramDesc]() {
|
|
20776
|
+
return [
|
|
20777
|
+
["userId", types.TypeInputUser, "InputUser"],
|
|
20778
|
+
];
|
|
20779
|
+
}
|
|
20780
|
+
get [_1_tl_object_js_1.params]() {
|
|
20781
|
+
return [
|
|
20782
|
+
[this.userId, types.TypeInputUser, "InputUser"],
|
|
20783
|
+
];
|
|
20784
|
+
}
|
|
20785
|
+
constructor(params) {
|
|
20786
|
+
super();
|
|
20787
|
+
Object.defineProperty(this, "userId", {
|
|
20788
|
+
enumerable: true,
|
|
20789
|
+
configurable: true,
|
|
20790
|
+
writable: true,
|
|
20791
|
+
value: void 0
|
|
20792
|
+
});
|
|
20793
|
+
this.userId = params.userId;
|
|
20794
|
+
}
|
|
20795
|
+
}
|
|
20796
|
+
exports.StoriesGetUserStories = StoriesGetUserStories;
|
|
20797
|
+
class StoriesGetPinnedStories extends Function {
|
|
20798
|
+
get [_1_tl_object_js_1.id]() {
|
|
20799
|
+
return 0x0B471137;
|
|
20800
|
+
}
|
|
20801
|
+
static get [_1_tl_object_js_1.paramDesc]() {
|
|
20802
|
+
return [
|
|
20803
|
+
["userId", types.TypeInputUser, "InputUser"],
|
|
20804
|
+
["offsetId", "number", "int"],
|
|
20805
|
+
["limit", "number", "int"],
|
|
20806
|
+
];
|
|
20807
|
+
}
|
|
20808
|
+
get [_1_tl_object_js_1.params]() {
|
|
20809
|
+
return [
|
|
20810
|
+
[this.userId, types.TypeInputUser, "InputUser"],
|
|
20811
|
+
[this.offsetId, "number", "int"],
|
|
20812
|
+
[this.limit, "number", "int"],
|
|
20813
|
+
];
|
|
20814
|
+
}
|
|
20815
|
+
constructor(params) {
|
|
20816
|
+
super();
|
|
20817
|
+
Object.defineProperty(this, "userId", {
|
|
20818
|
+
enumerable: true,
|
|
20819
|
+
configurable: true,
|
|
20820
|
+
writable: true,
|
|
20821
|
+
value: void 0
|
|
20822
|
+
});
|
|
20823
|
+
Object.defineProperty(this, "offsetId", {
|
|
20824
|
+
enumerable: true,
|
|
20825
|
+
configurable: true,
|
|
20826
|
+
writable: true,
|
|
20827
|
+
value: void 0
|
|
20828
|
+
});
|
|
20829
|
+
Object.defineProperty(this, "limit", {
|
|
20830
|
+
enumerable: true,
|
|
20831
|
+
configurable: true,
|
|
20832
|
+
writable: true,
|
|
20833
|
+
value: void 0
|
|
20834
|
+
});
|
|
20835
|
+
this.userId = params.userId;
|
|
20836
|
+
this.offsetId = params.offsetId;
|
|
20837
|
+
this.limit = params.limit;
|
|
20838
|
+
}
|
|
20839
|
+
}
|
|
20840
|
+
exports.StoriesGetPinnedStories = StoriesGetPinnedStories;
|
|
20841
|
+
class StoriesGetStoriesArchive extends Function {
|
|
20842
|
+
get [_1_tl_object_js_1.id]() {
|
|
20843
|
+
return 0x1F5BC5D2;
|
|
20844
|
+
}
|
|
20845
|
+
static get [_1_tl_object_js_1.paramDesc]() {
|
|
20846
|
+
return [
|
|
20847
|
+
["offsetId", "number", "int"],
|
|
20848
|
+
["limit", "number", "int"],
|
|
20849
|
+
];
|
|
20850
|
+
}
|
|
20851
|
+
get [_1_tl_object_js_1.params]() {
|
|
20852
|
+
return [
|
|
20853
|
+
[this.offsetId, "number", "int"],
|
|
20854
|
+
[this.limit, "number", "int"],
|
|
20855
|
+
];
|
|
20856
|
+
}
|
|
20857
|
+
constructor(params) {
|
|
20858
|
+
super();
|
|
20859
|
+
Object.defineProperty(this, "offsetId", {
|
|
20860
|
+
enumerable: true,
|
|
20861
|
+
configurable: true,
|
|
20862
|
+
writable: true,
|
|
20863
|
+
value: void 0
|
|
20864
|
+
});
|
|
20865
|
+
Object.defineProperty(this, "limit", {
|
|
20866
|
+
enumerable: true,
|
|
20867
|
+
configurable: true,
|
|
20868
|
+
writable: true,
|
|
20869
|
+
value: void 0
|
|
20870
|
+
});
|
|
20871
|
+
this.offsetId = params.offsetId;
|
|
20872
|
+
this.limit = params.limit;
|
|
20873
|
+
}
|
|
20874
|
+
}
|
|
20875
|
+
exports.StoriesGetStoriesArchive = StoriesGetStoriesArchive;
|
|
20876
|
+
class StoriesGetStoriesByID extends Function {
|
|
20877
|
+
get [_1_tl_object_js_1.id]() {
|
|
20878
|
+
return 0x6A15CF46;
|
|
20879
|
+
}
|
|
20880
|
+
static get [_1_tl_object_js_1.paramDesc]() {
|
|
20881
|
+
return [
|
|
20882
|
+
["userId", types.TypeInputUser, "InputUser"],
|
|
20883
|
+
["id", ["number"], "Vector<int>"],
|
|
20884
|
+
];
|
|
20885
|
+
}
|
|
20886
|
+
get [_1_tl_object_js_1.params]() {
|
|
20887
|
+
return [
|
|
20888
|
+
[this.userId, types.TypeInputUser, "InputUser"],
|
|
20889
|
+
[this.id, ["number"], "Vector<int>"],
|
|
20890
|
+
];
|
|
20891
|
+
}
|
|
20892
|
+
constructor(params) {
|
|
20893
|
+
super();
|
|
20894
|
+
Object.defineProperty(this, "userId", {
|
|
20895
|
+
enumerable: true,
|
|
20896
|
+
configurable: true,
|
|
20897
|
+
writable: true,
|
|
20898
|
+
value: void 0
|
|
20899
|
+
});
|
|
20900
|
+
Object.defineProperty(this, "id", {
|
|
20901
|
+
enumerable: true,
|
|
20902
|
+
configurable: true,
|
|
20903
|
+
writable: true,
|
|
20904
|
+
value: void 0
|
|
20905
|
+
});
|
|
20906
|
+
this.userId = params.userId;
|
|
20907
|
+
this.id = params.id;
|
|
20908
|
+
}
|
|
20909
|
+
}
|
|
20910
|
+
exports.StoriesGetStoriesByID = StoriesGetStoriesByID;
|
|
20911
|
+
class StoriesToggleAllStoriesHidden extends Function {
|
|
20912
|
+
get [_1_tl_object_js_1.id]() {
|
|
20913
|
+
return 0x7C2557C4;
|
|
20914
|
+
}
|
|
20915
|
+
static get [_1_tl_object_js_1.paramDesc]() {
|
|
20916
|
+
return [
|
|
20917
|
+
["hidden", "boolean", "Bool"],
|
|
20918
|
+
];
|
|
20919
|
+
}
|
|
20920
|
+
get [_1_tl_object_js_1.params]() {
|
|
20921
|
+
return [
|
|
20922
|
+
[this.hidden, "boolean", "Bool"],
|
|
20923
|
+
];
|
|
20924
|
+
}
|
|
20925
|
+
constructor(params) {
|
|
20926
|
+
super();
|
|
20927
|
+
Object.defineProperty(this, "hidden", {
|
|
20928
|
+
enumerable: true,
|
|
20929
|
+
configurable: true,
|
|
20930
|
+
writable: true,
|
|
20931
|
+
value: void 0
|
|
20932
|
+
});
|
|
20933
|
+
this.hidden = params.hidden;
|
|
20934
|
+
}
|
|
20935
|
+
}
|
|
20936
|
+
exports.StoriesToggleAllStoriesHidden = StoriesToggleAllStoriesHidden;
|
|
20937
|
+
class StoriesGetAllReadUserStories extends Function {
|
|
20938
|
+
get [_1_tl_object_js_1.id]() {
|
|
20939
|
+
return 0x729C562C;
|
|
20940
|
+
}
|
|
20941
|
+
static get [_1_tl_object_js_1.paramDesc]() {
|
|
20942
|
+
return [];
|
|
20943
|
+
}
|
|
20944
|
+
get [_1_tl_object_js_1.params]() {
|
|
20945
|
+
return [];
|
|
20946
|
+
}
|
|
20947
|
+
constructor() {
|
|
20948
|
+
super();
|
|
20949
|
+
}
|
|
20950
|
+
}
|
|
20951
|
+
exports.StoriesGetAllReadUserStories = StoriesGetAllReadUserStories;
|
|
20952
|
+
class StoriesReadStories extends Function {
|
|
20953
|
+
get [_1_tl_object_js_1.id]() {
|
|
20954
|
+
return 0xEDC5105B;
|
|
20955
|
+
}
|
|
20956
|
+
static get [_1_tl_object_js_1.paramDesc]() {
|
|
20957
|
+
return [
|
|
20958
|
+
["userId", types.TypeInputUser, "InputUser"],
|
|
20959
|
+
["maxId", "number", "int"],
|
|
20960
|
+
];
|
|
20961
|
+
}
|
|
20962
|
+
get [_1_tl_object_js_1.params]() {
|
|
20963
|
+
return [
|
|
20964
|
+
[this.userId, types.TypeInputUser, "InputUser"],
|
|
20965
|
+
[this.maxId, "number", "int"],
|
|
20966
|
+
];
|
|
20967
|
+
}
|
|
20968
|
+
constructor(params) {
|
|
20969
|
+
super();
|
|
20970
|
+
Object.defineProperty(this, "userId", {
|
|
20971
|
+
enumerable: true,
|
|
20972
|
+
configurable: true,
|
|
20973
|
+
writable: true,
|
|
20974
|
+
value: void 0
|
|
20975
|
+
});
|
|
20976
|
+
Object.defineProperty(this, "maxId", {
|
|
20977
|
+
enumerable: true,
|
|
20978
|
+
configurable: true,
|
|
20979
|
+
writable: true,
|
|
20980
|
+
value: void 0
|
|
20981
|
+
});
|
|
20982
|
+
this.userId = params.userId;
|
|
20983
|
+
this.maxId = params.maxId;
|
|
20984
|
+
}
|
|
20985
|
+
}
|
|
20986
|
+
exports.StoriesReadStories = StoriesReadStories;
|
|
20987
|
+
class StoriesIncrementStoryViews extends Function {
|
|
20988
|
+
get [_1_tl_object_js_1.id]() {
|
|
20989
|
+
return 0x22126127;
|
|
20990
|
+
}
|
|
20991
|
+
static get [_1_tl_object_js_1.paramDesc]() {
|
|
20992
|
+
return [
|
|
20993
|
+
["userId", types.TypeInputUser, "InputUser"],
|
|
20994
|
+
["id", ["number"], "Vector<int>"],
|
|
20995
|
+
];
|
|
20996
|
+
}
|
|
20997
|
+
get [_1_tl_object_js_1.params]() {
|
|
20998
|
+
return [
|
|
20999
|
+
[this.userId, types.TypeInputUser, "InputUser"],
|
|
21000
|
+
[this.id, ["number"], "Vector<int>"],
|
|
21001
|
+
];
|
|
21002
|
+
}
|
|
21003
|
+
constructor(params) {
|
|
21004
|
+
super();
|
|
21005
|
+
Object.defineProperty(this, "userId", {
|
|
21006
|
+
enumerable: true,
|
|
21007
|
+
configurable: true,
|
|
21008
|
+
writable: true,
|
|
21009
|
+
value: void 0
|
|
21010
|
+
});
|
|
21011
|
+
Object.defineProperty(this, "id", {
|
|
21012
|
+
enumerable: true,
|
|
21013
|
+
configurable: true,
|
|
21014
|
+
writable: true,
|
|
21015
|
+
value: void 0
|
|
21016
|
+
});
|
|
21017
|
+
this.userId = params.userId;
|
|
21018
|
+
this.id = params.id;
|
|
21019
|
+
}
|
|
21020
|
+
}
|
|
21021
|
+
exports.StoriesIncrementStoryViews = StoriesIncrementStoryViews;
|
|
21022
|
+
class StoriesGetStoryViewsList extends Function {
|
|
21023
|
+
get [_1_tl_object_js_1.id]() {
|
|
21024
|
+
return 0x4B3B5E97;
|
|
21025
|
+
}
|
|
21026
|
+
static get [_1_tl_object_js_1.paramDesc]() {
|
|
21027
|
+
return [
|
|
21028
|
+
["id", "number", "int"],
|
|
21029
|
+
["offsetDate", "number", "int"],
|
|
21030
|
+
["offsetId", "bigint", "long"],
|
|
21031
|
+
["limit", "number", "int"],
|
|
21032
|
+
];
|
|
21033
|
+
}
|
|
21034
|
+
get [_1_tl_object_js_1.params]() {
|
|
21035
|
+
return [
|
|
21036
|
+
[this.id, "number", "int"],
|
|
21037
|
+
[this.offsetDate, "number", "int"],
|
|
21038
|
+
[this.offsetId, "bigint", "long"],
|
|
21039
|
+
[this.limit, "number", "int"],
|
|
21040
|
+
];
|
|
21041
|
+
}
|
|
21042
|
+
constructor(params) {
|
|
21043
|
+
super();
|
|
21044
|
+
Object.defineProperty(this, "id", {
|
|
21045
|
+
enumerable: true,
|
|
21046
|
+
configurable: true,
|
|
21047
|
+
writable: true,
|
|
21048
|
+
value: void 0
|
|
21049
|
+
});
|
|
21050
|
+
Object.defineProperty(this, "offsetDate", {
|
|
21051
|
+
enumerable: true,
|
|
21052
|
+
configurable: true,
|
|
21053
|
+
writable: true,
|
|
21054
|
+
value: void 0
|
|
21055
|
+
});
|
|
21056
|
+
Object.defineProperty(this, "offsetId", {
|
|
21057
|
+
enumerable: true,
|
|
21058
|
+
configurable: true,
|
|
21059
|
+
writable: true,
|
|
21060
|
+
value: void 0
|
|
21061
|
+
});
|
|
21062
|
+
Object.defineProperty(this, "limit", {
|
|
21063
|
+
enumerable: true,
|
|
21064
|
+
configurable: true,
|
|
21065
|
+
writable: true,
|
|
21066
|
+
value: void 0
|
|
21067
|
+
});
|
|
21068
|
+
this.id = params.id;
|
|
21069
|
+
this.offsetDate = params.offsetDate;
|
|
21070
|
+
this.offsetId = params.offsetId;
|
|
21071
|
+
this.limit = params.limit;
|
|
21072
|
+
}
|
|
21073
|
+
}
|
|
21074
|
+
exports.StoriesGetStoryViewsList = StoriesGetStoryViewsList;
|
|
21075
|
+
class StoriesGetStoriesViews extends Function {
|
|
21076
|
+
get [_1_tl_object_js_1.id]() {
|
|
21077
|
+
return 0x9A75D6A6;
|
|
21078
|
+
}
|
|
21079
|
+
static get [_1_tl_object_js_1.paramDesc]() {
|
|
21080
|
+
return [
|
|
21081
|
+
["id", ["number"], "Vector<int>"],
|
|
21082
|
+
];
|
|
21083
|
+
}
|
|
21084
|
+
get [_1_tl_object_js_1.params]() {
|
|
21085
|
+
return [
|
|
21086
|
+
[this.id, ["number"], "Vector<int>"],
|
|
21087
|
+
];
|
|
21088
|
+
}
|
|
21089
|
+
constructor(params) {
|
|
21090
|
+
super();
|
|
21091
|
+
Object.defineProperty(this, "id", {
|
|
21092
|
+
enumerable: true,
|
|
21093
|
+
configurable: true,
|
|
21094
|
+
writable: true,
|
|
21095
|
+
value: void 0
|
|
21096
|
+
});
|
|
21097
|
+
this.id = params.id;
|
|
21098
|
+
}
|
|
21099
|
+
}
|
|
21100
|
+
exports.StoriesGetStoriesViews = StoriesGetStoriesViews;
|
|
21101
|
+
class StoriesExportStoryLink extends Function {
|
|
21102
|
+
get [_1_tl_object_js_1.id]() {
|
|
21103
|
+
return 0x16E443CE;
|
|
21104
|
+
}
|
|
21105
|
+
static get [_1_tl_object_js_1.paramDesc]() {
|
|
21106
|
+
return [
|
|
21107
|
+
["userId", types.TypeInputUser, "InputUser"],
|
|
21108
|
+
["id", "number", "int"],
|
|
21109
|
+
];
|
|
21110
|
+
}
|
|
21111
|
+
get [_1_tl_object_js_1.params]() {
|
|
21112
|
+
return [
|
|
21113
|
+
[this.userId, types.TypeInputUser, "InputUser"],
|
|
21114
|
+
[this.id, "number", "int"],
|
|
21115
|
+
];
|
|
21116
|
+
}
|
|
21117
|
+
constructor(params) {
|
|
21118
|
+
super();
|
|
21119
|
+
Object.defineProperty(this, "userId", {
|
|
21120
|
+
enumerable: true,
|
|
21121
|
+
configurable: true,
|
|
21122
|
+
writable: true,
|
|
21123
|
+
value: void 0
|
|
21124
|
+
});
|
|
21125
|
+
Object.defineProperty(this, "id", {
|
|
21126
|
+
enumerable: true,
|
|
21127
|
+
configurable: true,
|
|
21128
|
+
writable: true,
|
|
21129
|
+
value: void 0
|
|
21130
|
+
});
|
|
21131
|
+
this.userId = params.userId;
|
|
21132
|
+
this.id = params.id;
|
|
21133
|
+
}
|
|
21134
|
+
}
|
|
21135
|
+
exports.StoriesExportStoryLink = StoriesExportStoryLink;
|
|
21136
|
+
class StoriesReport extends Function {
|
|
21137
|
+
get [_1_tl_object_js_1.id]() {
|
|
21138
|
+
return 0xC95BE06A;
|
|
21139
|
+
}
|
|
21140
|
+
static get [_1_tl_object_js_1.paramDesc]() {
|
|
21141
|
+
return [
|
|
21142
|
+
["userId", types.TypeInputUser, "InputUser"],
|
|
21143
|
+
["id", ["number"], "Vector<int>"],
|
|
21144
|
+
["reason", types.TypeReportReason, "ReportReason"],
|
|
21145
|
+
["message", "string", "string"],
|
|
21146
|
+
];
|
|
21147
|
+
}
|
|
21148
|
+
get [_1_tl_object_js_1.params]() {
|
|
21149
|
+
return [
|
|
21150
|
+
[this.userId, types.TypeInputUser, "InputUser"],
|
|
21151
|
+
[this.id, ["number"], "Vector<int>"],
|
|
21152
|
+
[this.reason, types.TypeReportReason, "ReportReason"],
|
|
21153
|
+
[this.message, "string", "string"],
|
|
21154
|
+
];
|
|
21155
|
+
}
|
|
21156
|
+
constructor(params) {
|
|
21157
|
+
super();
|
|
21158
|
+
Object.defineProperty(this, "userId", {
|
|
21159
|
+
enumerable: true,
|
|
21160
|
+
configurable: true,
|
|
21161
|
+
writable: true,
|
|
21162
|
+
value: void 0
|
|
21163
|
+
});
|
|
21164
|
+
Object.defineProperty(this, "id", {
|
|
21165
|
+
enumerable: true,
|
|
21166
|
+
configurable: true,
|
|
21167
|
+
writable: true,
|
|
21168
|
+
value: void 0
|
|
21169
|
+
});
|
|
21170
|
+
Object.defineProperty(this, "reason", {
|
|
21171
|
+
enumerable: true,
|
|
21172
|
+
configurable: true,
|
|
21173
|
+
writable: true,
|
|
21174
|
+
value: void 0
|
|
21175
|
+
});
|
|
21176
|
+
Object.defineProperty(this, "message", {
|
|
21177
|
+
enumerable: true,
|
|
21178
|
+
configurable: true,
|
|
21179
|
+
writable: true,
|
|
21180
|
+
value: void 0
|
|
21181
|
+
});
|
|
21182
|
+
this.userId = params.userId;
|
|
21183
|
+
this.id = params.id;
|
|
21184
|
+
this.reason = params.reason;
|
|
21185
|
+
this.message = params.message;
|
|
21186
|
+
}
|
|
21187
|
+
}
|
|
21188
|
+
exports.StoriesReport = StoriesReport;
|