@mtkruto/node 0.0.967 → 0.0.969
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 +3 -3
- package/esm/client/2_client_plain.d.ts +3 -0
- package/esm/client/2_client_plain.js +11 -5
- package/esm/client/3_client.d.ts +6 -3
- package/esm/client/3_client.js +19 -15
- 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 +11 -10
- package/esm/constants.js +10 -18
- package/esm/mod.d.ts +1 -1
- package/esm/mod.js +1 -1
- package/esm/tl/2_types.d.ts +437 -40
- package/esm/tl/2_types.js +1470 -130
- package/esm/tl/3_functions.d.ts +274 -36
- package/esm/tl/3_functions.js +871 -116
- 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/2_client_plain.d.ts +3 -0
- package/script/client/2_client_plain.js +10 -4
- package/script/client/3_client.d.ts +6 -3
- package/script/client/3_client.js +18 -14
- 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 +11 -10
- package/script/constants.js +11 -19
- package/script/mod.d.ts +1 -1
- package/script/mod.js +8 -8
- package/script/tl/2_types.d.ts +437 -40
- package/script/tl/2_types.js +1540 -160
- package/script/tl/3_functions.d.ts +274 -36
- package/script/tl/3_functions.js +901 -125
- 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,16 @@ 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
|
+
// deno-fmt-ignore-file
|
|
37
38
|
const _1_tl_object_js_1 = require("./1_tl_object.js");
|
|
38
39
|
const types = __importStar(require("./2_types.js"));
|
|
39
40
|
class Function extends _1_tl_object_js_1.TLObject {
|
|
@@ -2922,6 +2923,7 @@ class AccountGetNotifyExceptions extends Function {
|
|
|
2922
2923
|
return [
|
|
2923
2924
|
["flags", _1_tl_object_js_1.flags, "#"],
|
|
2924
2925
|
["compareSound", "true", "flags.1?true"],
|
|
2926
|
+
["compareStories", "true", "flags.2?true"],
|
|
2925
2927
|
["peer", types.TypeInputNotifyPeer, "flags.0?InputNotifyPeer"],
|
|
2926
2928
|
];
|
|
2927
2929
|
}
|
|
@@ -2929,6 +2931,7 @@ class AccountGetNotifyExceptions extends Function {
|
|
|
2929
2931
|
return [
|
|
2930
2932
|
["flags", _1_tl_object_js_1.flags, "#"],
|
|
2931
2933
|
[this.compareSound ?? null, "true", "flags.1?true"],
|
|
2934
|
+
[this.compareStories ?? null, "true", "flags.2?true"],
|
|
2932
2935
|
[this.peer ?? null, types.TypeInputNotifyPeer, "flags.0?InputNotifyPeer"],
|
|
2933
2936
|
];
|
|
2934
2937
|
}
|
|
@@ -2940,6 +2943,12 @@ class AccountGetNotifyExceptions extends Function {
|
|
|
2940
2943
|
writable: true,
|
|
2941
2944
|
value: void 0
|
|
2942
2945
|
});
|
|
2946
|
+
Object.defineProperty(this, "compareStories", {
|
|
2947
|
+
enumerable: true,
|
|
2948
|
+
configurable: true,
|
|
2949
|
+
writable: true,
|
|
2950
|
+
value: void 0
|
|
2951
|
+
});
|
|
2943
2952
|
Object.defineProperty(this, "peer", {
|
|
2944
2953
|
enumerable: true,
|
|
2945
2954
|
configurable: true,
|
|
@@ -2947,6 +2956,7 @@ class AccountGetNotifyExceptions extends Function {
|
|
|
2947
2956
|
value: void 0
|
|
2948
2957
|
});
|
|
2949
2958
|
this.compareSound = params?.compareSound;
|
|
2959
|
+
this.compareStories = params?.compareStories;
|
|
2950
2960
|
this.peer = params?.peer;
|
|
2951
2961
|
}
|
|
2952
2962
|
}
|
|
@@ -4226,6 +4236,32 @@ class AccountDeleteAutoSaveExceptions extends Function {
|
|
|
4226
4236
|
}
|
|
4227
4237
|
}
|
|
4228
4238
|
exports.AccountDeleteAutoSaveExceptions = AccountDeleteAutoSaveExceptions;
|
|
4239
|
+
class AccountInvalidateSignInCodes extends Function {
|
|
4240
|
+
get [_1_tl_object_js_1.id]() {
|
|
4241
|
+
return 0xCA8AE8BA;
|
|
4242
|
+
}
|
|
4243
|
+
static get [_1_tl_object_js_1.paramDesc]() {
|
|
4244
|
+
return [
|
|
4245
|
+
["codes", ["string"], "Vector<string>"],
|
|
4246
|
+
];
|
|
4247
|
+
}
|
|
4248
|
+
get [_1_tl_object_js_1.params]() {
|
|
4249
|
+
return [
|
|
4250
|
+
[this.codes, ["string"], "Vector<string>"],
|
|
4251
|
+
];
|
|
4252
|
+
}
|
|
4253
|
+
constructor(params) {
|
|
4254
|
+
super();
|
|
4255
|
+
Object.defineProperty(this, "codes", {
|
|
4256
|
+
enumerable: true,
|
|
4257
|
+
configurable: true,
|
|
4258
|
+
writable: true,
|
|
4259
|
+
value: void 0
|
|
4260
|
+
});
|
|
4261
|
+
this.codes = params.codes;
|
|
4262
|
+
}
|
|
4263
|
+
}
|
|
4264
|
+
exports.AccountInvalidateSignInCodes = AccountInvalidateSignInCodes;
|
|
4229
4265
|
class UsersGetUsers extends Function {
|
|
4230
4266
|
get [_1_tl_object_js_1.id]() {
|
|
4231
4267
|
return 0x0D91A548;
|
|
@@ -4313,6 +4349,32 @@ class UsersSetSecureValueErrors extends Function {
|
|
|
4313
4349
|
}
|
|
4314
4350
|
}
|
|
4315
4351
|
exports.UsersSetSecureValueErrors = UsersSetSecureValueErrors;
|
|
4352
|
+
class UsersGetStoriesMaxIDs extends Function {
|
|
4353
|
+
get [_1_tl_object_js_1.id]() {
|
|
4354
|
+
return 0xCA1CB9AB;
|
|
4355
|
+
}
|
|
4356
|
+
static get [_1_tl_object_js_1.paramDesc]() {
|
|
4357
|
+
return [
|
|
4358
|
+
["id", [types.TypeInputUser], "Vector<InputUser>"],
|
|
4359
|
+
];
|
|
4360
|
+
}
|
|
4361
|
+
get [_1_tl_object_js_1.params]() {
|
|
4362
|
+
return [
|
|
4363
|
+
[this.id, [types.TypeInputUser], "Vector<InputUser>"],
|
|
4364
|
+
];
|
|
4365
|
+
}
|
|
4366
|
+
constructor(params) {
|
|
4367
|
+
super();
|
|
4368
|
+
Object.defineProperty(this, "id", {
|
|
4369
|
+
enumerable: true,
|
|
4370
|
+
configurable: true,
|
|
4371
|
+
writable: true,
|
|
4372
|
+
value: void 0
|
|
4373
|
+
});
|
|
4374
|
+
this.id = params.id;
|
|
4375
|
+
}
|
|
4376
|
+
}
|
|
4377
|
+
exports.UsersGetStoriesMaxIDs = UsersGetStoriesMaxIDs;
|
|
4316
4378
|
class ContactsGetContactIDs extends Function {
|
|
4317
4379
|
get [_1_tl_object_js_1.id]() {
|
|
4318
4380
|
return 0x7ADC669D;
|
|
@@ -5073,6 +5135,67 @@ class ContactsImportContactToken extends Function {
|
|
|
5073
5135
|
}
|
|
5074
5136
|
}
|
|
5075
5137
|
exports.ContactsImportContactToken = ContactsImportContactToken;
|
|
5138
|
+
class ContactsEditCloseFriends extends Function {
|
|
5139
|
+
get [_1_tl_object_js_1.id]() {
|
|
5140
|
+
return 0xBA6705F0;
|
|
5141
|
+
}
|
|
5142
|
+
static get [_1_tl_object_js_1.paramDesc]() {
|
|
5143
|
+
return [
|
|
5144
|
+
["id", ["bigint"], "Vector<long>"],
|
|
5145
|
+
];
|
|
5146
|
+
}
|
|
5147
|
+
get [_1_tl_object_js_1.params]() {
|
|
5148
|
+
return [
|
|
5149
|
+
[this.id, ["bigint"], "Vector<long>"],
|
|
5150
|
+
];
|
|
5151
|
+
}
|
|
5152
|
+
constructor(params) {
|
|
5153
|
+
super();
|
|
5154
|
+
Object.defineProperty(this, "id", {
|
|
5155
|
+
enumerable: true,
|
|
5156
|
+
configurable: true,
|
|
5157
|
+
writable: true,
|
|
5158
|
+
value: void 0
|
|
5159
|
+
});
|
|
5160
|
+
this.id = params.id;
|
|
5161
|
+
}
|
|
5162
|
+
}
|
|
5163
|
+
exports.ContactsEditCloseFriends = ContactsEditCloseFriends;
|
|
5164
|
+
class ContactsToggleStoriesHidden extends Function {
|
|
5165
|
+
get [_1_tl_object_js_1.id]() {
|
|
5166
|
+
return 0x753FB865;
|
|
5167
|
+
}
|
|
5168
|
+
static get [_1_tl_object_js_1.paramDesc]() {
|
|
5169
|
+
return [
|
|
5170
|
+
["id", types.TypeInputUser, "InputUser"],
|
|
5171
|
+
["hidden", "boolean", "Bool"],
|
|
5172
|
+
];
|
|
5173
|
+
}
|
|
5174
|
+
get [_1_tl_object_js_1.params]() {
|
|
5175
|
+
return [
|
|
5176
|
+
[this.id, types.TypeInputUser, "InputUser"],
|
|
5177
|
+
[this.hidden, "boolean", "Bool"],
|
|
5178
|
+
];
|
|
5179
|
+
}
|
|
5180
|
+
constructor(params) {
|
|
5181
|
+
super();
|
|
5182
|
+
Object.defineProperty(this, "id", {
|
|
5183
|
+
enumerable: true,
|
|
5184
|
+
configurable: true,
|
|
5185
|
+
writable: true,
|
|
5186
|
+
value: void 0
|
|
5187
|
+
});
|
|
5188
|
+
Object.defineProperty(this, "hidden", {
|
|
5189
|
+
enumerable: true,
|
|
5190
|
+
configurable: true,
|
|
5191
|
+
writable: true,
|
|
5192
|
+
value: void 0
|
|
5193
|
+
});
|
|
5194
|
+
this.id = params.id;
|
|
5195
|
+
this.hidden = params.hidden;
|
|
5196
|
+
}
|
|
5197
|
+
}
|
|
5198
|
+
exports.ContactsToggleStoriesHidden = ContactsToggleStoriesHidden;
|
|
5076
5199
|
class MessagesGetMessages extends Function {
|
|
5077
5200
|
get [_1_tl_object_js_1.id]() {
|
|
5078
5201
|
return 0x63C66506;
|
|
@@ -5625,7 +5748,7 @@ class MessagesSetTyping extends Function {
|
|
|
5625
5748
|
exports.MessagesSetTyping = MessagesSetTyping;
|
|
5626
5749
|
class MessagesSendMessage extends Function {
|
|
5627
5750
|
get [_1_tl_object_js_1.id]() {
|
|
5628
|
-
return
|
|
5751
|
+
return 0x280D096F;
|
|
5629
5752
|
}
|
|
5630
5753
|
static get [_1_tl_object_js_1.paramDesc]() {
|
|
5631
5754
|
return [
|
|
@@ -5637,8 +5760,7 @@ class MessagesSendMessage extends Function {
|
|
|
5637
5760
|
["noforwards", "true", "flags.14?true"],
|
|
5638
5761
|
["updateStickersetsOrder", "true", "flags.15?true"],
|
|
5639
5762
|
["peer", types.TypeInputPeer, "InputPeer"],
|
|
5640
|
-
["
|
|
5641
|
-
["topMsgId", "number", "flags.9?int"],
|
|
5763
|
+
["replyTo", types.TypeInputReplyTo, "flags.0?InputReplyTo"],
|
|
5642
5764
|
["message", "string", "string"],
|
|
5643
5765
|
["randomId", "bigint", "long"],
|
|
5644
5766
|
["replyMarkup", types.TypeReplyMarkup, "flags.2?ReplyMarkup"],
|
|
@@ -5657,8 +5779,7 @@ class MessagesSendMessage extends Function {
|
|
|
5657
5779
|
[this.noforwards ?? null, "true", "flags.14?true"],
|
|
5658
5780
|
[this.updateStickersetsOrder ?? null, "true", "flags.15?true"],
|
|
5659
5781
|
[this.peer, types.TypeInputPeer, "InputPeer"],
|
|
5660
|
-
[this.
|
|
5661
|
-
[this.topMsgId ?? null, "number", "flags.9?int"],
|
|
5782
|
+
[this.replyTo ?? null, types.TypeInputReplyTo, "flags.0?InputReplyTo"],
|
|
5662
5783
|
[this.message, "string", "string"],
|
|
5663
5784
|
[this.randomId, "bigint", "long"],
|
|
5664
5785
|
[this.replyMarkup ?? null, types.TypeReplyMarkup, "flags.2?ReplyMarkup"],
|
|
@@ -5711,13 +5832,7 @@ class MessagesSendMessage extends Function {
|
|
|
5711
5832
|
writable: true,
|
|
5712
5833
|
value: void 0
|
|
5713
5834
|
});
|
|
5714
|
-
Object.defineProperty(this, "
|
|
5715
|
-
enumerable: true,
|
|
5716
|
-
configurable: true,
|
|
5717
|
-
writable: true,
|
|
5718
|
-
value: void 0
|
|
5719
|
-
});
|
|
5720
|
-
Object.defineProperty(this, "topMsgId", {
|
|
5835
|
+
Object.defineProperty(this, "replyTo", {
|
|
5721
5836
|
enumerable: true,
|
|
5722
5837
|
configurable: true,
|
|
5723
5838
|
writable: true,
|
|
@@ -5766,8 +5881,7 @@ class MessagesSendMessage extends Function {
|
|
|
5766
5881
|
this.noforwards = params.noforwards;
|
|
5767
5882
|
this.updateStickersetsOrder = params.updateStickersetsOrder;
|
|
5768
5883
|
this.peer = params.peer;
|
|
5769
|
-
this.
|
|
5770
|
-
this.topMsgId = params.topMsgId;
|
|
5884
|
+
this.replyTo = params.replyTo;
|
|
5771
5885
|
this.message = params.message;
|
|
5772
5886
|
this.randomId = params.randomId;
|
|
5773
5887
|
this.replyMarkup = params.replyMarkup;
|
|
@@ -5779,7 +5893,7 @@ class MessagesSendMessage extends Function {
|
|
|
5779
5893
|
exports.MessagesSendMessage = MessagesSendMessage;
|
|
5780
5894
|
class MessagesSendMedia extends Function {
|
|
5781
5895
|
get [_1_tl_object_js_1.id]() {
|
|
5782
|
-
return
|
|
5896
|
+
return 0x72CCC23D;
|
|
5783
5897
|
}
|
|
5784
5898
|
static get [_1_tl_object_js_1.paramDesc]() {
|
|
5785
5899
|
return [
|
|
@@ -5790,8 +5904,7 @@ class MessagesSendMedia extends Function {
|
|
|
5790
5904
|
["noforwards", "true", "flags.14?true"],
|
|
5791
5905
|
["updateStickersetsOrder", "true", "flags.15?true"],
|
|
5792
5906
|
["peer", types.TypeInputPeer, "InputPeer"],
|
|
5793
|
-
["
|
|
5794
|
-
["topMsgId", "number", "flags.9?int"],
|
|
5907
|
+
["replyTo", types.TypeInputReplyTo, "flags.0?InputReplyTo"],
|
|
5795
5908
|
["media", types.TypeInputMedia, "InputMedia"],
|
|
5796
5909
|
["message", "string", "string"],
|
|
5797
5910
|
["randomId", "bigint", "long"],
|
|
@@ -5810,8 +5923,7 @@ class MessagesSendMedia extends Function {
|
|
|
5810
5923
|
[this.noforwards ?? null, "true", "flags.14?true"],
|
|
5811
5924
|
[this.updateStickersetsOrder ?? null, "true", "flags.15?true"],
|
|
5812
5925
|
[this.peer, types.TypeInputPeer, "InputPeer"],
|
|
5813
|
-
[this.
|
|
5814
|
-
[this.topMsgId ?? null, "number", "flags.9?int"],
|
|
5926
|
+
[this.replyTo ?? null, types.TypeInputReplyTo, "flags.0?InputReplyTo"],
|
|
5815
5927
|
[this.media, types.TypeInputMedia, "InputMedia"],
|
|
5816
5928
|
[this.message, "string", "string"],
|
|
5817
5929
|
[this.randomId, "bigint", "long"],
|
|
@@ -5859,13 +5971,7 @@ class MessagesSendMedia extends Function {
|
|
|
5859
5971
|
writable: true,
|
|
5860
5972
|
value: void 0
|
|
5861
5973
|
});
|
|
5862
|
-
Object.defineProperty(this, "
|
|
5863
|
-
enumerable: true,
|
|
5864
|
-
configurable: true,
|
|
5865
|
-
writable: true,
|
|
5866
|
-
value: void 0
|
|
5867
|
-
});
|
|
5868
|
-
Object.defineProperty(this, "topMsgId", {
|
|
5974
|
+
Object.defineProperty(this, "replyTo", {
|
|
5869
5975
|
enumerable: true,
|
|
5870
5976
|
configurable: true,
|
|
5871
5977
|
writable: true,
|
|
@@ -5919,8 +6025,7 @@ class MessagesSendMedia extends Function {
|
|
|
5919
6025
|
this.noforwards = params.noforwards;
|
|
5920
6026
|
this.updateStickersetsOrder = params.updateStickersetsOrder;
|
|
5921
6027
|
this.peer = params.peer;
|
|
5922
|
-
this.
|
|
5923
|
-
this.topMsgId = params.topMsgId;
|
|
6028
|
+
this.replyTo = params.replyTo;
|
|
5924
6029
|
this.media = params.media;
|
|
5925
6030
|
this.message = params.message;
|
|
5926
6031
|
this.randomId = params.randomId;
|
|
@@ -7795,7 +7900,7 @@ class MessagesSetInlineBotResults extends Function {
|
|
|
7795
7900
|
exports.MessagesSetInlineBotResults = MessagesSetInlineBotResults;
|
|
7796
7901
|
class MessagesSendInlineBotResult extends Function {
|
|
7797
7902
|
get [_1_tl_object_js_1.id]() {
|
|
7798
|
-
return
|
|
7903
|
+
return 0xF7BC68BA;
|
|
7799
7904
|
}
|
|
7800
7905
|
static get [_1_tl_object_js_1.paramDesc]() {
|
|
7801
7906
|
return [
|
|
@@ -7805,8 +7910,7 @@ class MessagesSendInlineBotResult extends Function {
|
|
|
7805
7910
|
["clearDraft", "true", "flags.7?true"],
|
|
7806
7911
|
["hideVia", "true", "flags.11?true"],
|
|
7807
7912
|
["peer", types.TypeInputPeer, "InputPeer"],
|
|
7808
|
-
["
|
|
7809
|
-
["topMsgId", "number", "flags.9?int"],
|
|
7913
|
+
["replyTo", types.TypeInputReplyTo, "flags.0?InputReplyTo"],
|
|
7810
7914
|
["randomId", "bigint", "long"],
|
|
7811
7915
|
["queryId", "bigint", "long"],
|
|
7812
7916
|
["id", "string", "string"],
|
|
@@ -7822,8 +7926,7 @@ class MessagesSendInlineBotResult extends Function {
|
|
|
7822
7926
|
[this.clearDraft ?? null, "true", "flags.7?true"],
|
|
7823
7927
|
[this.hideVia ?? null, "true", "flags.11?true"],
|
|
7824
7928
|
[this.peer, types.TypeInputPeer, "InputPeer"],
|
|
7825
|
-
[this.
|
|
7826
|
-
[this.topMsgId ?? null, "number", "flags.9?int"],
|
|
7929
|
+
[this.replyTo ?? null, types.TypeInputReplyTo, "flags.0?InputReplyTo"],
|
|
7827
7930
|
[this.randomId, "bigint", "long"],
|
|
7828
7931
|
[this.queryId, "bigint", "long"],
|
|
7829
7932
|
[this.id, "string", "string"],
|
|
@@ -7863,13 +7966,7 @@ class MessagesSendInlineBotResult extends Function {
|
|
|
7863
7966
|
writable: true,
|
|
7864
7967
|
value: void 0
|
|
7865
7968
|
});
|
|
7866
|
-
Object.defineProperty(this, "
|
|
7867
|
-
enumerable: true,
|
|
7868
|
-
configurable: true,
|
|
7869
|
-
writable: true,
|
|
7870
|
-
value: void 0
|
|
7871
|
-
});
|
|
7872
|
-
Object.defineProperty(this, "topMsgId", {
|
|
7969
|
+
Object.defineProperty(this, "replyTo", {
|
|
7873
7970
|
enumerable: true,
|
|
7874
7971
|
configurable: true,
|
|
7875
7972
|
writable: true,
|
|
@@ -7910,8 +8007,7 @@ class MessagesSendInlineBotResult extends Function {
|
|
|
7910
8007
|
this.clearDraft = params.clearDraft;
|
|
7911
8008
|
this.hideVia = params.hideVia;
|
|
7912
8009
|
this.peer = params.peer;
|
|
7913
|
-
this.
|
|
7914
|
-
this.topMsgId = params.topMsgId;
|
|
8010
|
+
this.replyTo = params.replyTo;
|
|
7915
8011
|
this.randomId = params.randomId;
|
|
7916
8012
|
this.queryId = params.queryId;
|
|
7917
8013
|
this.id = params.id;
|
|
@@ -8891,32 +8987,6 @@ class MessagesGetCommonChats extends Function {
|
|
|
8891
8987
|
}
|
|
8892
8988
|
}
|
|
8893
8989
|
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
8990
|
class MessagesGetWebPage extends Function {
|
|
8921
8991
|
get [_1_tl_object_js_1.id]() {
|
|
8922
8992
|
return 0x32CA8F91;
|
|
@@ -9190,19 +9260,19 @@ class MessagesUploadMedia extends Function {
|
|
|
9190
9260
|
exports.MessagesUploadMedia = MessagesUploadMedia;
|
|
9191
9261
|
class MessagesSendScreenshotNotification extends Function {
|
|
9192
9262
|
get [_1_tl_object_js_1.id]() {
|
|
9193
|
-
return
|
|
9263
|
+
return 0xA1405817;
|
|
9194
9264
|
}
|
|
9195
9265
|
static get [_1_tl_object_js_1.paramDesc]() {
|
|
9196
9266
|
return [
|
|
9197
9267
|
["peer", types.TypeInputPeer, "InputPeer"],
|
|
9198
|
-
["
|
|
9268
|
+
["replyTo", types.TypeInputReplyTo, "InputReplyTo"],
|
|
9199
9269
|
["randomId", "bigint", "long"],
|
|
9200
9270
|
];
|
|
9201
9271
|
}
|
|
9202
9272
|
get [_1_tl_object_js_1.params]() {
|
|
9203
9273
|
return [
|
|
9204
9274
|
[this.peer, types.TypeInputPeer, "InputPeer"],
|
|
9205
|
-
[this.
|
|
9275
|
+
[this.replyTo, types.TypeInputReplyTo, "InputReplyTo"],
|
|
9206
9276
|
[this.randomId, "bigint", "long"],
|
|
9207
9277
|
];
|
|
9208
9278
|
}
|
|
@@ -9214,7 +9284,7 @@ class MessagesSendScreenshotNotification extends Function {
|
|
|
9214
9284
|
writable: true,
|
|
9215
9285
|
value: void 0
|
|
9216
9286
|
});
|
|
9217
|
-
Object.defineProperty(this, "
|
|
9287
|
+
Object.defineProperty(this, "replyTo", {
|
|
9218
9288
|
enumerable: true,
|
|
9219
9289
|
configurable: true,
|
|
9220
9290
|
writable: true,
|
|
@@ -9227,7 +9297,7 @@ class MessagesSendScreenshotNotification extends Function {
|
|
|
9227
9297
|
value: void 0
|
|
9228
9298
|
});
|
|
9229
9299
|
this.peer = params.peer;
|
|
9230
|
-
this.
|
|
9300
|
+
this.replyTo = params.replyTo;
|
|
9231
9301
|
this.randomId = params.randomId;
|
|
9232
9302
|
}
|
|
9233
9303
|
}
|
|
@@ -9458,7 +9528,7 @@ class MessagesGetRecentLocations extends Function {
|
|
|
9458
9528
|
exports.MessagesGetRecentLocations = MessagesGetRecentLocations;
|
|
9459
9529
|
class MessagesSendMultiMedia extends Function {
|
|
9460
9530
|
get [_1_tl_object_js_1.id]() {
|
|
9461
|
-
return
|
|
9531
|
+
return 0x456E8987;
|
|
9462
9532
|
}
|
|
9463
9533
|
static get [_1_tl_object_js_1.paramDesc]() {
|
|
9464
9534
|
return [
|
|
@@ -9469,8 +9539,7 @@ class MessagesSendMultiMedia extends Function {
|
|
|
9469
9539
|
["noforwards", "true", "flags.14?true"],
|
|
9470
9540
|
["updateStickersetsOrder", "true", "flags.15?true"],
|
|
9471
9541
|
["peer", types.TypeInputPeer, "InputPeer"],
|
|
9472
|
-
["
|
|
9473
|
-
["topMsgId", "number", "flags.9?int"],
|
|
9542
|
+
["replyTo", types.TypeInputReplyTo, "flags.0?InputReplyTo"],
|
|
9474
9543
|
["multiMedia", [types.TypeInputSingleMedia], "Vector<InputSingleMedia>"],
|
|
9475
9544
|
["scheduleDate", "number", "flags.10?int"],
|
|
9476
9545
|
["sendAs", types.TypeInputPeer, "flags.13?InputPeer"],
|
|
@@ -9485,8 +9554,7 @@ class MessagesSendMultiMedia extends Function {
|
|
|
9485
9554
|
[this.noforwards ?? null, "true", "flags.14?true"],
|
|
9486
9555
|
[this.updateStickersetsOrder ?? null, "true", "flags.15?true"],
|
|
9487
9556
|
[this.peer, types.TypeInputPeer, "InputPeer"],
|
|
9488
|
-
[this.
|
|
9489
|
-
[this.topMsgId ?? null, "number", "flags.9?int"],
|
|
9557
|
+
[this.replyTo ?? null, types.TypeInputReplyTo, "flags.0?InputReplyTo"],
|
|
9490
9558
|
[this.multiMedia, [types.TypeInputSingleMedia], "Vector<InputSingleMedia>"],
|
|
9491
9559
|
[this.scheduleDate ?? null, "number", "flags.10?int"],
|
|
9492
9560
|
[this.sendAs ?? null, types.TypeInputPeer, "flags.13?InputPeer"],
|
|
@@ -9530,13 +9598,7 @@ class MessagesSendMultiMedia extends Function {
|
|
|
9530
9598
|
writable: true,
|
|
9531
9599
|
value: void 0
|
|
9532
9600
|
});
|
|
9533
|
-
Object.defineProperty(this, "
|
|
9534
|
-
enumerable: true,
|
|
9535
|
-
configurable: true,
|
|
9536
|
-
writable: true,
|
|
9537
|
-
value: void 0
|
|
9538
|
-
});
|
|
9539
|
-
Object.defineProperty(this, "topMsgId", {
|
|
9601
|
+
Object.defineProperty(this, "replyTo", {
|
|
9540
9602
|
enumerable: true,
|
|
9541
9603
|
configurable: true,
|
|
9542
9604
|
writable: true,
|
|
@@ -9566,8 +9628,7 @@ class MessagesSendMultiMedia extends Function {
|
|
|
9566
9628
|
this.noforwards = params.noforwards;
|
|
9567
9629
|
this.updateStickersetsOrder = params.updateStickersetsOrder;
|
|
9568
9630
|
this.peer = params.peer;
|
|
9569
|
-
this.
|
|
9570
|
-
this.topMsgId = params.topMsgId;
|
|
9631
|
+
this.replyTo = params.replyTo;
|
|
9571
9632
|
this.multiMedia = params.multiMedia;
|
|
9572
9633
|
this.scheduleDate = params.scheduleDate;
|
|
9573
9634
|
this.sendAs = params.sendAs;
|
|
@@ -12437,7 +12498,7 @@ class MessagesToggleBotInAttachMenu extends Function {
|
|
|
12437
12498
|
exports.MessagesToggleBotInAttachMenu = MessagesToggleBotInAttachMenu;
|
|
12438
12499
|
class MessagesRequestWebView extends Function {
|
|
12439
12500
|
get [_1_tl_object_js_1.id]() {
|
|
12440
|
-
return
|
|
12501
|
+
return 0x269DC2C1;
|
|
12441
12502
|
}
|
|
12442
12503
|
static get [_1_tl_object_js_1.paramDesc]() {
|
|
12443
12504
|
return [
|
|
@@ -12450,8 +12511,7 @@ class MessagesRequestWebView extends Function {
|
|
|
12450
12511
|
["startParam", "string", "flags.3?string"],
|
|
12451
12512
|
["themeParams", types.TypeDataJSON, "flags.2?DataJSON"],
|
|
12452
12513
|
["platform", "string", "string"],
|
|
12453
|
-
["
|
|
12454
|
-
["topMsgId", "number", "flags.9?int"],
|
|
12514
|
+
["replyTo", types.TypeInputReplyTo, "flags.0?InputReplyTo"],
|
|
12455
12515
|
["sendAs", types.TypeInputPeer, "flags.13?InputPeer"],
|
|
12456
12516
|
];
|
|
12457
12517
|
}
|
|
@@ -12466,8 +12526,7 @@ class MessagesRequestWebView extends Function {
|
|
|
12466
12526
|
[this.startParam ?? null, "string", "flags.3?string"],
|
|
12467
12527
|
[this.themeParams ?? null, types.TypeDataJSON, "flags.2?DataJSON"],
|
|
12468
12528
|
[this.platform, "string", "string"],
|
|
12469
|
-
[this.
|
|
12470
|
-
[this.topMsgId ?? null, "number", "flags.9?int"],
|
|
12529
|
+
[this.replyTo ?? null, types.TypeInputReplyTo, "flags.0?InputReplyTo"],
|
|
12471
12530
|
[this.sendAs ?? null, types.TypeInputPeer, "flags.13?InputPeer"],
|
|
12472
12531
|
];
|
|
12473
12532
|
}
|
|
@@ -12521,13 +12580,7 @@ class MessagesRequestWebView extends Function {
|
|
|
12521
12580
|
writable: true,
|
|
12522
12581
|
value: void 0
|
|
12523
12582
|
});
|
|
12524
|
-
Object.defineProperty(this, "
|
|
12525
|
-
enumerable: true,
|
|
12526
|
-
configurable: true,
|
|
12527
|
-
writable: true,
|
|
12528
|
-
value: void 0
|
|
12529
|
-
});
|
|
12530
|
-
Object.defineProperty(this, "topMsgId", {
|
|
12583
|
+
Object.defineProperty(this, "replyTo", {
|
|
12531
12584
|
enumerable: true,
|
|
12532
12585
|
configurable: true,
|
|
12533
12586
|
writable: true,
|
|
@@ -12547,15 +12600,14 @@ class MessagesRequestWebView extends Function {
|
|
|
12547
12600
|
this.startParam = params.startParam;
|
|
12548
12601
|
this.themeParams = params.themeParams;
|
|
12549
12602
|
this.platform = params.platform;
|
|
12550
|
-
this.
|
|
12551
|
-
this.topMsgId = params.topMsgId;
|
|
12603
|
+
this.replyTo = params.replyTo;
|
|
12552
12604
|
this.sendAs = params.sendAs;
|
|
12553
12605
|
}
|
|
12554
12606
|
}
|
|
12555
12607
|
exports.MessagesRequestWebView = MessagesRequestWebView;
|
|
12556
12608
|
class MessagesProlongWebView extends Function {
|
|
12557
12609
|
get [_1_tl_object_js_1.id]() {
|
|
12558
|
-
return
|
|
12610
|
+
return 0xB0D81A83;
|
|
12559
12611
|
}
|
|
12560
12612
|
static get [_1_tl_object_js_1.paramDesc]() {
|
|
12561
12613
|
return [
|
|
@@ -12564,8 +12616,7 @@ class MessagesProlongWebView extends Function {
|
|
|
12564
12616
|
["peer", types.TypeInputPeer, "InputPeer"],
|
|
12565
12617
|
["bot", types.TypeInputUser, "InputUser"],
|
|
12566
12618
|
["queryId", "bigint", "long"],
|
|
12567
|
-
["
|
|
12568
|
-
["topMsgId", "number", "flags.9?int"],
|
|
12619
|
+
["replyTo", types.TypeInputReplyTo, "flags.0?InputReplyTo"],
|
|
12569
12620
|
["sendAs", types.TypeInputPeer, "flags.13?InputPeer"],
|
|
12570
12621
|
];
|
|
12571
12622
|
}
|
|
@@ -12576,8 +12627,7 @@ class MessagesProlongWebView extends Function {
|
|
|
12576
12627
|
[this.peer, types.TypeInputPeer, "InputPeer"],
|
|
12577
12628
|
[this.bot, types.TypeInputUser, "InputUser"],
|
|
12578
12629
|
[this.queryId, "bigint", "long"],
|
|
12579
|
-
[this.
|
|
12580
|
-
[this.topMsgId ?? null, "number", "flags.9?int"],
|
|
12630
|
+
[this.replyTo ?? null, types.TypeInputReplyTo, "flags.0?InputReplyTo"],
|
|
12581
12631
|
[this.sendAs ?? null, types.TypeInputPeer, "flags.13?InputPeer"],
|
|
12582
12632
|
];
|
|
12583
12633
|
}
|
|
@@ -12607,13 +12657,7 @@ class MessagesProlongWebView extends Function {
|
|
|
12607
12657
|
writable: true,
|
|
12608
12658
|
value: void 0
|
|
12609
12659
|
});
|
|
12610
|
-
Object.defineProperty(this, "
|
|
12611
|
-
enumerable: true,
|
|
12612
|
-
configurable: true,
|
|
12613
|
-
writable: true,
|
|
12614
|
-
value: void 0
|
|
12615
|
-
});
|
|
12616
|
-
Object.defineProperty(this, "topMsgId", {
|
|
12660
|
+
Object.defineProperty(this, "replyTo", {
|
|
12617
12661
|
enumerable: true,
|
|
12618
12662
|
configurable: true,
|
|
12619
12663
|
writable: true,
|
|
@@ -12629,8 +12673,7 @@ class MessagesProlongWebView extends Function {
|
|
|
12629
12673
|
this.peer = params.peer;
|
|
12630
12674
|
this.bot = params.bot;
|
|
12631
12675
|
this.queryId = params.queryId;
|
|
12632
|
-
this.
|
|
12633
|
-
this.topMsgId = params.topMsgId;
|
|
12676
|
+
this.replyTo = params.replyTo;
|
|
12634
12677
|
this.sendAs = params.sendAs;
|
|
12635
12678
|
}
|
|
12636
12679
|
}
|
|
@@ -13541,24 +13584,28 @@ class UpdatesGetState extends Function {
|
|
|
13541
13584
|
exports.UpdatesGetState = UpdatesGetState;
|
|
13542
13585
|
class UpdatesGetDifference extends Function {
|
|
13543
13586
|
get [_1_tl_object_js_1.id]() {
|
|
13544
|
-
return
|
|
13587
|
+
return 0x19C2F763;
|
|
13545
13588
|
}
|
|
13546
13589
|
static get [_1_tl_object_js_1.paramDesc]() {
|
|
13547
13590
|
return [
|
|
13548
13591
|
["flags", _1_tl_object_js_1.flags, "#"],
|
|
13549
13592
|
["pts", "number", "int"],
|
|
13593
|
+
["ptsLimit", "number", "flags.1?int"],
|
|
13550
13594
|
["ptsTotalLimit", "number", "flags.0?int"],
|
|
13551
13595
|
["date", "number", "int"],
|
|
13552
13596
|
["qts", "number", "int"],
|
|
13597
|
+
["qtsLimit", "number", "flags.2?int"],
|
|
13553
13598
|
];
|
|
13554
13599
|
}
|
|
13555
13600
|
get [_1_tl_object_js_1.params]() {
|
|
13556
13601
|
return [
|
|
13557
13602
|
["flags", _1_tl_object_js_1.flags, "#"],
|
|
13558
13603
|
[this.pts, "number", "int"],
|
|
13604
|
+
[this.ptsLimit ?? null, "number", "flags.1?int"],
|
|
13559
13605
|
[this.ptsTotalLimit ?? null, "number", "flags.0?int"],
|
|
13560
13606
|
[this.date, "number", "int"],
|
|
13561
13607
|
[this.qts, "number", "int"],
|
|
13608
|
+
[this.qtsLimit ?? null, "number", "flags.2?int"],
|
|
13562
13609
|
];
|
|
13563
13610
|
}
|
|
13564
13611
|
constructor(params) {
|
|
@@ -13569,6 +13616,12 @@ class UpdatesGetDifference extends Function {
|
|
|
13569
13616
|
writable: true,
|
|
13570
13617
|
value: void 0
|
|
13571
13618
|
});
|
|
13619
|
+
Object.defineProperty(this, "ptsLimit", {
|
|
13620
|
+
enumerable: true,
|
|
13621
|
+
configurable: true,
|
|
13622
|
+
writable: true,
|
|
13623
|
+
value: void 0
|
|
13624
|
+
});
|
|
13572
13625
|
Object.defineProperty(this, "ptsTotalLimit", {
|
|
13573
13626
|
enumerable: true,
|
|
13574
13627
|
configurable: true,
|
|
@@ -13587,10 +13640,18 @@ class UpdatesGetDifference extends Function {
|
|
|
13587
13640
|
writable: true,
|
|
13588
13641
|
value: void 0
|
|
13589
13642
|
});
|
|
13643
|
+
Object.defineProperty(this, "qtsLimit", {
|
|
13644
|
+
enumerable: true,
|
|
13645
|
+
configurable: true,
|
|
13646
|
+
writable: true,
|
|
13647
|
+
value: void 0
|
|
13648
|
+
});
|
|
13590
13649
|
this.pts = params.pts;
|
|
13650
|
+
this.ptsLimit = params.ptsLimit;
|
|
13591
13651
|
this.ptsTotalLimit = params.ptsTotalLimit;
|
|
13592
13652
|
this.date = params.date;
|
|
13593
13653
|
this.qts = params.qts;
|
|
13654
|
+
this.qtsLimit = params.qtsLimit;
|
|
13594
13655
|
}
|
|
13595
13656
|
}
|
|
13596
13657
|
exports.UpdatesGetDifference = UpdatesGetDifference;
|
|
@@ -17000,6 +17061,41 @@ class ChannelsToggleParticipantsHidden extends Function {
|
|
|
17000
17061
|
}
|
|
17001
17062
|
}
|
|
17002
17063
|
exports.ChannelsToggleParticipantsHidden = ChannelsToggleParticipantsHidden;
|
|
17064
|
+
class ChannelsClickSponsoredMessage extends Function {
|
|
17065
|
+
get [_1_tl_object_js_1.id]() {
|
|
17066
|
+
return 0x18AFBC93;
|
|
17067
|
+
}
|
|
17068
|
+
static get [_1_tl_object_js_1.paramDesc]() {
|
|
17069
|
+
return [
|
|
17070
|
+
["channel", types.TypeInputChannel, "InputChannel"],
|
|
17071
|
+
["randomId", Uint8Array, "bytes"],
|
|
17072
|
+
];
|
|
17073
|
+
}
|
|
17074
|
+
get [_1_tl_object_js_1.params]() {
|
|
17075
|
+
return [
|
|
17076
|
+
[this.channel, types.TypeInputChannel, "InputChannel"],
|
|
17077
|
+
[this.randomId, Uint8Array, "bytes"],
|
|
17078
|
+
];
|
|
17079
|
+
}
|
|
17080
|
+
constructor(params) {
|
|
17081
|
+
super();
|
|
17082
|
+
Object.defineProperty(this, "channel", {
|
|
17083
|
+
enumerable: true,
|
|
17084
|
+
configurable: true,
|
|
17085
|
+
writable: true,
|
|
17086
|
+
value: void 0
|
|
17087
|
+
});
|
|
17088
|
+
Object.defineProperty(this, "randomId", {
|
|
17089
|
+
enumerable: true,
|
|
17090
|
+
configurable: true,
|
|
17091
|
+
writable: true,
|
|
17092
|
+
value: void 0
|
|
17093
|
+
});
|
|
17094
|
+
this.channel = params.channel;
|
|
17095
|
+
this.randomId = params.randomId;
|
|
17096
|
+
}
|
|
17097
|
+
}
|
|
17098
|
+
exports.ChannelsClickSponsoredMessage = ChannelsClickSponsoredMessage;
|
|
17003
17099
|
class BotsSendCustomRequest extends Function {
|
|
17004
17100
|
get [_1_tl_object_js_1.id]() {
|
|
17005
17101
|
return 0xAA2769ED;
|
|
@@ -20411,3 +20507,683 @@ class ChatlistsLeaveChatlist extends Function {
|
|
|
20411
20507
|
}
|
|
20412
20508
|
}
|
|
20413
20509
|
exports.ChatlistsLeaveChatlist = ChatlistsLeaveChatlist;
|
|
20510
|
+
class StoriesSendStory extends Function {
|
|
20511
|
+
get [_1_tl_object_js_1.id]() {
|
|
20512
|
+
return 0x424CD47A;
|
|
20513
|
+
}
|
|
20514
|
+
static get [_1_tl_object_js_1.paramDesc]() {
|
|
20515
|
+
return [
|
|
20516
|
+
["flags", _1_tl_object_js_1.flags, "#"],
|
|
20517
|
+
["pinned", "true", "flags.2?true"],
|
|
20518
|
+
["noforwards", "true", "flags.4?true"],
|
|
20519
|
+
["media", types.TypeInputMedia, "InputMedia"],
|
|
20520
|
+
["caption", "string", "flags.0?string"],
|
|
20521
|
+
["entities", [types.TypeMessageEntity], "flags.1?Vector<MessageEntity>"],
|
|
20522
|
+
["privacyRules", [types.TypeInputPrivacyRule], "Vector<InputPrivacyRule>"],
|
|
20523
|
+
["randomId", "bigint", "long"],
|
|
20524
|
+
["period", "number", "flags.3?int"],
|
|
20525
|
+
];
|
|
20526
|
+
}
|
|
20527
|
+
get [_1_tl_object_js_1.params]() {
|
|
20528
|
+
return [
|
|
20529
|
+
["flags", _1_tl_object_js_1.flags, "#"],
|
|
20530
|
+
[this.pinned ?? null, "true", "flags.2?true"],
|
|
20531
|
+
[this.noforwards ?? null, "true", "flags.4?true"],
|
|
20532
|
+
[this.media, types.TypeInputMedia, "InputMedia"],
|
|
20533
|
+
[this.caption ?? null, "string", "flags.0?string"],
|
|
20534
|
+
[this.entities ?? null, [types.TypeMessageEntity], "flags.1?Vector<MessageEntity>"],
|
|
20535
|
+
[this.privacyRules, [types.TypeInputPrivacyRule], "Vector<InputPrivacyRule>"],
|
|
20536
|
+
[this.randomId, "bigint", "long"],
|
|
20537
|
+
[this.period ?? null, "number", "flags.3?int"],
|
|
20538
|
+
];
|
|
20539
|
+
}
|
|
20540
|
+
constructor(params) {
|
|
20541
|
+
super();
|
|
20542
|
+
Object.defineProperty(this, "pinned", {
|
|
20543
|
+
enumerable: true,
|
|
20544
|
+
configurable: true,
|
|
20545
|
+
writable: true,
|
|
20546
|
+
value: void 0
|
|
20547
|
+
});
|
|
20548
|
+
Object.defineProperty(this, "noforwards", {
|
|
20549
|
+
enumerable: true,
|
|
20550
|
+
configurable: true,
|
|
20551
|
+
writable: true,
|
|
20552
|
+
value: void 0
|
|
20553
|
+
});
|
|
20554
|
+
Object.defineProperty(this, "media", {
|
|
20555
|
+
enumerable: true,
|
|
20556
|
+
configurable: true,
|
|
20557
|
+
writable: true,
|
|
20558
|
+
value: void 0
|
|
20559
|
+
});
|
|
20560
|
+
Object.defineProperty(this, "caption", {
|
|
20561
|
+
enumerable: true,
|
|
20562
|
+
configurable: true,
|
|
20563
|
+
writable: true,
|
|
20564
|
+
value: void 0
|
|
20565
|
+
});
|
|
20566
|
+
Object.defineProperty(this, "entities", {
|
|
20567
|
+
enumerable: true,
|
|
20568
|
+
configurable: true,
|
|
20569
|
+
writable: true,
|
|
20570
|
+
value: void 0
|
|
20571
|
+
});
|
|
20572
|
+
Object.defineProperty(this, "privacyRules", {
|
|
20573
|
+
enumerable: true,
|
|
20574
|
+
configurable: true,
|
|
20575
|
+
writable: true,
|
|
20576
|
+
value: void 0
|
|
20577
|
+
});
|
|
20578
|
+
Object.defineProperty(this, "randomId", {
|
|
20579
|
+
enumerable: true,
|
|
20580
|
+
configurable: true,
|
|
20581
|
+
writable: true,
|
|
20582
|
+
value: void 0
|
|
20583
|
+
});
|
|
20584
|
+
Object.defineProperty(this, "period", {
|
|
20585
|
+
enumerable: true,
|
|
20586
|
+
configurable: true,
|
|
20587
|
+
writable: true,
|
|
20588
|
+
value: void 0
|
|
20589
|
+
});
|
|
20590
|
+
this.pinned = params.pinned;
|
|
20591
|
+
this.noforwards = params.noforwards;
|
|
20592
|
+
this.media = params.media;
|
|
20593
|
+
this.caption = params.caption;
|
|
20594
|
+
this.entities = params.entities;
|
|
20595
|
+
this.privacyRules = params.privacyRules;
|
|
20596
|
+
this.randomId = params.randomId;
|
|
20597
|
+
this.period = params.period;
|
|
20598
|
+
}
|
|
20599
|
+
}
|
|
20600
|
+
exports.StoriesSendStory = StoriesSendStory;
|
|
20601
|
+
class StoriesEditStory extends Function {
|
|
20602
|
+
get [_1_tl_object_js_1.id]() {
|
|
20603
|
+
return 0x2AAE7A41;
|
|
20604
|
+
}
|
|
20605
|
+
static get [_1_tl_object_js_1.paramDesc]() {
|
|
20606
|
+
return [
|
|
20607
|
+
["flags", _1_tl_object_js_1.flags, "#"],
|
|
20608
|
+
["id", "number", "int"],
|
|
20609
|
+
["media", types.TypeInputMedia, "flags.0?InputMedia"],
|
|
20610
|
+
["caption", "string", "flags.1?string"],
|
|
20611
|
+
["entities", [types.TypeMessageEntity], "flags.1?Vector<MessageEntity>"],
|
|
20612
|
+
["privacyRules", [types.TypeInputPrivacyRule], "flags.2?Vector<InputPrivacyRule>"],
|
|
20613
|
+
];
|
|
20614
|
+
}
|
|
20615
|
+
get [_1_tl_object_js_1.params]() {
|
|
20616
|
+
return [
|
|
20617
|
+
["flags", _1_tl_object_js_1.flags, "#"],
|
|
20618
|
+
[this.id, "number", "int"],
|
|
20619
|
+
[this.media ?? null, types.TypeInputMedia, "flags.0?InputMedia"],
|
|
20620
|
+
[this.caption ?? null, "string", "flags.1?string"],
|
|
20621
|
+
[this.entities ?? null, [types.TypeMessageEntity], "flags.1?Vector<MessageEntity>"],
|
|
20622
|
+
[this.privacyRules ?? null, [types.TypeInputPrivacyRule], "flags.2?Vector<InputPrivacyRule>"],
|
|
20623
|
+
];
|
|
20624
|
+
}
|
|
20625
|
+
constructor(params) {
|
|
20626
|
+
super();
|
|
20627
|
+
Object.defineProperty(this, "id", {
|
|
20628
|
+
enumerable: true,
|
|
20629
|
+
configurable: true,
|
|
20630
|
+
writable: true,
|
|
20631
|
+
value: void 0
|
|
20632
|
+
});
|
|
20633
|
+
Object.defineProperty(this, "media", {
|
|
20634
|
+
enumerable: true,
|
|
20635
|
+
configurable: true,
|
|
20636
|
+
writable: true,
|
|
20637
|
+
value: void 0
|
|
20638
|
+
});
|
|
20639
|
+
Object.defineProperty(this, "caption", {
|
|
20640
|
+
enumerable: true,
|
|
20641
|
+
configurable: true,
|
|
20642
|
+
writable: true,
|
|
20643
|
+
value: void 0
|
|
20644
|
+
});
|
|
20645
|
+
Object.defineProperty(this, "entities", {
|
|
20646
|
+
enumerable: true,
|
|
20647
|
+
configurable: true,
|
|
20648
|
+
writable: true,
|
|
20649
|
+
value: void 0
|
|
20650
|
+
});
|
|
20651
|
+
Object.defineProperty(this, "privacyRules", {
|
|
20652
|
+
enumerable: true,
|
|
20653
|
+
configurable: true,
|
|
20654
|
+
writable: true,
|
|
20655
|
+
value: void 0
|
|
20656
|
+
});
|
|
20657
|
+
this.id = params.id;
|
|
20658
|
+
this.media = params.media;
|
|
20659
|
+
this.caption = params.caption;
|
|
20660
|
+
this.entities = params.entities;
|
|
20661
|
+
this.privacyRules = params.privacyRules;
|
|
20662
|
+
}
|
|
20663
|
+
}
|
|
20664
|
+
exports.StoriesEditStory = StoriesEditStory;
|
|
20665
|
+
class StoriesDeleteStories extends Function {
|
|
20666
|
+
get [_1_tl_object_js_1.id]() {
|
|
20667
|
+
return 0xB5D501D7;
|
|
20668
|
+
}
|
|
20669
|
+
static get [_1_tl_object_js_1.paramDesc]() {
|
|
20670
|
+
return [
|
|
20671
|
+
["id", ["number"], "Vector<int>"],
|
|
20672
|
+
];
|
|
20673
|
+
}
|
|
20674
|
+
get [_1_tl_object_js_1.params]() {
|
|
20675
|
+
return [
|
|
20676
|
+
[this.id, ["number"], "Vector<int>"],
|
|
20677
|
+
];
|
|
20678
|
+
}
|
|
20679
|
+
constructor(params) {
|
|
20680
|
+
super();
|
|
20681
|
+
Object.defineProperty(this, "id", {
|
|
20682
|
+
enumerable: true,
|
|
20683
|
+
configurable: true,
|
|
20684
|
+
writable: true,
|
|
20685
|
+
value: void 0
|
|
20686
|
+
});
|
|
20687
|
+
this.id = params.id;
|
|
20688
|
+
}
|
|
20689
|
+
}
|
|
20690
|
+
exports.StoriesDeleteStories = StoriesDeleteStories;
|
|
20691
|
+
class StoriesTogglePinned extends Function {
|
|
20692
|
+
get [_1_tl_object_js_1.id]() {
|
|
20693
|
+
return 0x51602944;
|
|
20694
|
+
}
|
|
20695
|
+
static get [_1_tl_object_js_1.paramDesc]() {
|
|
20696
|
+
return [
|
|
20697
|
+
["id", ["number"], "Vector<int>"],
|
|
20698
|
+
["pinned", "boolean", "Bool"],
|
|
20699
|
+
];
|
|
20700
|
+
}
|
|
20701
|
+
get [_1_tl_object_js_1.params]() {
|
|
20702
|
+
return [
|
|
20703
|
+
[this.id, ["number"], "Vector<int>"],
|
|
20704
|
+
[this.pinned, "boolean", "Bool"],
|
|
20705
|
+
];
|
|
20706
|
+
}
|
|
20707
|
+
constructor(params) {
|
|
20708
|
+
super();
|
|
20709
|
+
Object.defineProperty(this, "id", {
|
|
20710
|
+
enumerable: true,
|
|
20711
|
+
configurable: true,
|
|
20712
|
+
writable: true,
|
|
20713
|
+
value: void 0
|
|
20714
|
+
});
|
|
20715
|
+
Object.defineProperty(this, "pinned", {
|
|
20716
|
+
enumerable: true,
|
|
20717
|
+
configurable: true,
|
|
20718
|
+
writable: true,
|
|
20719
|
+
value: void 0
|
|
20720
|
+
});
|
|
20721
|
+
this.id = params.id;
|
|
20722
|
+
this.pinned = params.pinned;
|
|
20723
|
+
}
|
|
20724
|
+
}
|
|
20725
|
+
exports.StoriesTogglePinned = StoriesTogglePinned;
|
|
20726
|
+
class StoriesGetAllStories extends Function {
|
|
20727
|
+
get [_1_tl_object_js_1.id]() {
|
|
20728
|
+
return 0xEEB0D625;
|
|
20729
|
+
}
|
|
20730
|
+
static get [_1_tl_object_js_1.paramDesc]() {
|
|
20731
|
+
return [
|
|
20732
|
+
["flags", _1_tl_object_js_1.flags, "#"],
|
|
20733
|
+
["next", "true", "flags.1?true"],
|
|
20734
|
+
["hidden", "true", "flags.2?true"],
|
|
20735
|
+
["state", "string", "flags.0?string"],
|
|
20736
|
+
];
|
|
20737
|
+
}
|
|
20738
|
+
get [_1_tl_object_js_1.params]() {
|
|
20739
|
+
return [
|
|
20740
|
+
["flags", _1_tl_object_js_1.flags, "#"],
|
|
20741
|
+
[this.next ?? null, "true", "flags.1?true"],
|
|
20742
|
+
[this.hidden ?? null, "true", "flags.2?true"],
|
|
20743
|
+
[this.state ?? null, "string", "flags.0?string"],
|
|
20744
|
+
];
|
|
20745
|
+
}
|
|
20746
|
+
constructor(params) {
|
|
20747
|
+
super();
|
|
20748
|
+
Object.defineProperty(this, "next", {
|
|
20749
|
+
enumerable: true,
|
|
20750
|
+
configurable: true,
|
|
20751
|
+
writable: true,
|
|
20752
|
+
value: void 0
|
|
20753
|
+
});
|
|
20754
|
+
Object.defineProperty(this, "hidden", {
|
|
20755
|
+
enumerable: true,
|
|
20756
|
+
configurable: true,
|
|
20757
|
+
writable: true,
|
|
20758
|
+
value: void 0
|
|
20759
|
+
});
|
|
20760
|
+
Object.defineProperty(this, "state", {
|
|
20761
|
+
enumerable: true,
|
|
20762
|
+
configurable: true,
|
|
20763
|
+
writable: true,
|
|
20764
|
+
value: void 0
|
|
20765
|
+
});
|
|
20766
|
+
this.next = params?.next;
|
|
20767
|
+
this.hidden = params?.hidden;
|
|
20768
|
+
this.state = params?.state;
|
|
20769
|
+
}
|
|
20770
|
+
}
|
|
20771
|
+
exports.StoriesGetAllStories = StoriesGetAllStories;
|
|
20772
|
+
class StoriesGetUserStories extends Function {
|
|
20773
|
+
get [_1_tl_object_js_1.id]() {
|
|
20774
|
+
return 0x96D528E0;
|
|
20775
|
+
}
|
|
20776
|
+
static get [_1_tl_object_js_1.paramDesc]() {
|
|
20777
|
+
return [
|
|
20778
|
+
["userId", types.TypeInputUser, "InputUser"],
|
|
20779
|
+
];
|
|
20780
|
+
}
|
|
20781
|
+
get [_1_tl_object_js_1.params]() {
|
|
20782
|
+
return [
|
|
20783
|
+
[this.userId, types.TypeInputUser, "InputUser"],
|
|
20784
|
+
];
|
|
20785
|
+
}
|
|
20786
|
+
constructor(params) {
|
|
20787
|
+
super();
|
|
20788
|
+
Object.defineProperty(this, "userId", {
|
|
20789
|
+
enumerable: true,
|
|
20790
|
+
configurable: true,
|
|
20791
|
+
writable: true,
|
|
20792
|
+
value: void 0
|
|
20793
|
+
});
|
|
20794
|
+
this.userId = params.userId;
|
|
20795
|
+
}
|
|
20796
|
+
}
|
|
20797
|
+
exports.StoriesGetUserStories = StoriesGetUserStories;
|
|
20798
|
+
class StoriesGetPinnedStories extends Function {
|
|
20799
|
+
get [_1_tl_object_js_1.id]() {
|
|
20800
|
+
return 0x0B471137;
|
|
20801
|
+
}
|
|
20802
|
+
static get [_1_tl_object_js_1.paramDesc]() {
|
|
20803
|
+
return [
|
|
20804
|
+
["userId", types.TypeInputUser, "InputUser"],
|
|
20805
|
+
["offsetId", "number", "int"],
|
|
20806
|
+
["limit", "number", "int"],
|
|
20807
|
+
];
|
|
20808
|
+
}
|
|
20809
|
+
get [_1_tl_object_js_1.params]() {
|
|
20810
|
+
return [
|
|
20811
|
+
[this.userId, types.TypeInputUser, "InputUser"],
|
|
20812
|
+
[this.offsetId, "number", "int"],
|
|
20813
|
+
[this.limit, "number", "int"],
|
|
20814
|
+
];
|
|
20815
|
+
}
|
|
20816
|
+
constructor(params) {
|
|
20817
|
+
super();
|
|
20818
|
+
Object.defineProperty(this, "userId", {
|
|
20819
|
+
enumerable: true,
|
|
20820
|
+
configurable: true,
|
|
20821
|
+
writable: true,
|
|
20822
|
+
value: void 0
|
|
20823
|
+
});
|
|
20824
|
+
Object.defineProperty(this, "offsetId", {
|
|
20825
|
+
enumerable: true,
|
|
20826
|
+
configurable: true,
|
|
20827
|
+
writable: true,
|
|
20828
|
+
value: void 0
|
|
20829
|
+
});
|
|
20830
|
+
Object.defineProperty(this, "limit", {
|
|
20831
|
+
enumerable: true,
|
|
20832
|
+
configurable: true,
|
|
20833
|
+
writable: true,
|
|
20834
|
+
value: void 0
|
|
20835
|
+
});
|
|
20836
|
+
this.userId = params.userId;
|
|
20837
|
+
this.offsetId = params.offsetId;
|
|
20838
|
+
this.limit = params.limit;
|
|
20839
|
+
}
|
|
20840
|
+
}
|
|
20841
|
+
exports.StoriesGetPinnedStories = StoriesGetPinnedStories;
|
|
20842
|
+
class StoriesGetStoriesArchive extends Function {
|
|
20843
|
+
get [_1_tl_object_js_1.id]() {
|
|
20844
|
+
return 0x1F5BC5D2;
|
|
20845
|
+
}
|
|
20846
|
+
static get [_1_tl_object_js_1.paramDesc]() {
|
|
20847
|
+
return [
|
|
20848
|
+
["offsetId", "number", "int"],
|
|
20849
|
+
["limit", "number", "int"],
|
|
20850
|
+
];
|
|
20851
|
+
}
|
|
20852
|
+
get [_1_tl_object_js_1.params]() {
|
|
20853
|
+
return [
|
|
20854
|
+
[this.offsetId, "number", "int"],
|
|
20855
|
+
[this.limit, "number", "int"],
|
|
20856
|
+
];
|
|
20857
|
+
}
|
|
20858
|
+
constructor(params) {
|
|
20859
|
+
super();
|
|
20860
|
+
Object.defineProperty(this, "offsetId", {
|
|
20861
|
+
enumerable: true,
|
|
20862
|
+
configurable: true,
|
|
20863
|
+
writable: true,
|
|
20864
|
+
value: void 0
|
|
20865
|
+
});
|
|
20866
|
+
Object.defineProperty(this, "limit", {
|
|
20867
|
+
enumerable: true,
|
|
20868
|
+
configurable: true,
|
|
20869
|
+
writable: true,
|
|
20870
|
+
value: void 0
|
|
20871
|
+
});
|
|
20872
|
+
this.offsetId = params.offsetId;
|
|
20873
|
+
this.limit = params.limit;
|
|
20874
|
+
}
|
|
20875
|
+
}
|
|
20876
|
+
exports.StoriesGetStoriesArchive = StoriesGetStoriesArchive;
|
|
20877
|
+
class StoriesGetStoriesByID extends Function {
|
|
20878
|
+
get [_1_tl_object_js_1.id]() {
|
|
20879
|
+
return 0x6A15CF46;
|
|
20880
|
+
}
|
|
20881
|
+
static get [_1_tl_object_js_1.paramDesc]() {
|
|
20882
|
+
return [
|
|
20883
|
+
["userId", types.TypeInputUser, "InputUser"],
|
|
20884
|
+
["id", ["number"], "Vector<int>"],
|
|
20885
|
+
];
|
|
20886
|
+
}
|
|
20887
|
+
get [_1_tl_object_js_1.params]() {
|
|
20888
|
+
return [
|
|
20889
|
+
[this.userId, types.TypeInputUser, "InputUser"],
|
|
20890
|
+
[this.id, ["number"], "Vector<int>"],
|
|
20891
|
+
];
|
|
20892
|
+
}
|
|
20893
|
+
constructor(params) {
|
|
20894
|
+
super();
|
|
20895
|
+
Object.defineProperty(this, "userId", {
|
|
20896
|
+
enumerable: true,
|
|
20897
|
+
configurable: true,
|
|
20898
|
+
writable: true,
|
|
20899
|
+
value: void 0
|
|
20900
|
+
});
|
|
20901
|
+
Object.defineProperty(this, "id", {
|
|
20902
|
+
enumerable: true,
|
|
20903
|
+
configurable: true,
|
|
20904
|
+
writable: true,
|
|
20905
|
+
value: void 0
|
|
20906
|
+
});
|
|
20907
|
+
this.userId = params.userId;
|
|
20908
|
+
this.id = params.id;
|
|
20909
|
+
}
|
|
20910
|
+
}
|
|
20911
|
+
exports.StoriesGetStoriesByID = StoriesGetStoriesByID;
|
|
20912
|
+
class StoriesToggleAllStoriesHidden extends Function {
|
|
20913
|
+
get [_1_tl_object_js_1.id]() {
|
|
20914
|
+
return 0x7C2557C4;
|
|
20915
|
+
}
|
|
20916
|
+
static get [_1_tl_object_js_1.paramDesc]() {
|
|
20917
|
+
return [
|
|
20918
|
+
["hidden", "boolean", "Bool"],
|
|
20919
|
+
];
|
|
20920
|
+
}
|
|
20921
|
+
get [_1_tl_object_js_1.params]() {
|
|
20922
|
+
return [
|
|
20923
|
+
[this.hidden, "boolean", "Bool"],
|
|
20924
|
+
];
|
|
20925
|
+
}
|
|
20926
|
+
constructor(params) {
|
|
20927
|
+
super();
|
|
20928
|
+
Object.defineProperty(this, "hidden", {
|
|
20929
|
+
enumerable: true,
|
|
20930
|
+
configurable: true,
|
|
20931
|
+
writable: true,
|
|
20932
|
+
value: void 0
|
|
20933
|
+
});
|
|
20934
|
+
this.hidden = params.hidden;
|
|
20935
|
+
}
|
|
20936
|
+
}
|
|
20937
|
+
exports.StoriesToggleAllStoriesHidden = StoriesToggleAllStoriesHidden;
|
|
20938
|
+
class StoriesGetAllReadUserStories extends Function {
|
|
20939
|
+
get [_1_tl_object_js_1.id]() {
|
|
20940
|
+
return 0x729C562C;
|
|
20941
|
+
}
|
|
20942
|
+
static get [_1_tl_object_js_1.paramDesc]() {
|
|
20943
|
+
return [];
|
|
20944
|
+
}
|
|
20945
|
+
get [_1_tl_object_js_1.params]() {
|
|
20946
|
+
return [];
|
|
20947
|
+
}
|
|
20948
|
+
constructor() {
|
|
20949
|
+
super();
|
|
20950
|
+
}
|
|
20951
|
+
}
|
|
20952
|
+
exports.StoriesGetAllReadUserStories = StoriesGetAllReadUserStories;
|
|
20953
|
+
class StoriesReadStories extends Function {
|
|
20954
|
+
get [_1_tl_object_js_1.id]() {
|
|
20955
|
+
return 0xEDC5105B;
|
|
20956
|
+
}
|
|
20957
|
+
static get [_1_tl_object_js_1.paramDesc]() {
|
|
20958
|
+
return [
|
|
20959
|
+
["userId", types.TypeInputUser, "InputUser"],
|
|
20960
|
+
["maxId", "number", "int"],
|
|
20961
|
+
];
|
|
20962
|
+
}
|
|
20963
|
+
get [_1_tl_object_js_1.params]() {
|
|
20964
|
+
return [
|
|
20965
|
+
[this.userId, types.TypeInputUser, "InputUser"],
|
|
20966
|
+
[this.maxId, "number", "int"],
|
|
20967
|
+
];
|
|
20968
|
+
}
|
|
20969
|
+
constructor(params) {
|
|
20970
|
+
super();
|
|
20971
|
+
Object.defineProperty(this, "userId", {
|
|
20972
|
+
enumerable: true,
|
|
20973
|
+
configurable: true,
|
|
20974
|
+
writable: true,
|
|
20975
|
+
value: void 0
|
|
20976
|
+
});
|
|
20977
|
+
Object.defineProperty(this, "maxId", {
|
|
20978
|
+
enumerable: true,
|
|
20979
|
+
configurable: true,
|
|
20980
|
+
writable: true,
|
|
20981
|
+
value: void 0
|
|
20982
|
+
});
|
|
20983
|
+
this.userId = params.userId;
|
|
20984
|
+
this.maxId = params.maxId;
|
|
20985
|
+
}
|
|
20986
|
+
}
|
|
20987
|
+
exports.StoriesReadStories = StoriesReadStories;
|
|
20988
|
+
class StoriesIncrementStoryViews extends Function {
|
|
20989
|
+
get [_1_tl_object_js_1.id]() {
|
|
20990
|
+
return 0x22126127;
|
|
20991
|
+
}
|
|
20992
|
+
static get [_1_tl_object_js_1.paramDesc]() {
|
|
20993
|
+
return [
|
|
20994
|
+
["userId", types.TypeInputUser, "InputUser"],
|
|
20995
|
+
["id", ["number"], "Vector<int>"],
|
|
20996
|
+
];
|
|
20997
|
+
}
|
|
20998
|
+
get [_1_tl_object_js_1.params]() {
|
|
20999
|
+
return [
|
|
21000
|
+
[this.userId, types.TypeInputUser, "InputUser"],
|
|
21001
|
+
[this.id, ["number"], "Vector<int>"],
|
|
21002
|
+
];
|
|
21003
|
+
}
|
|
21004
|
+
constructor(params) {
|
|
21005
|
+
super();
|
|
21006
|
+
Object.defineProperty(this, "userId", {
|
|
21007
|
+
enumerable: true,
|
|
21008
|
+
configurable: true,
|
|
21009
|
+
writable: true,
|
|
21010
|
+
value: void 0
|
|
21011
|
+
});
|
|
21012
|
+
Object.defineProperty(this, "id", {
|
|
21013
|
+
enumerable: true,
|
|
21014
|
+
configurable: true,
|
|
21015
|
+
writable: true,
|
|
21016
|
+
value: void 0
|
|
21017
|
+
});
|
|
21018
|
+
this.userId = params.userId;
|
|
21019
|
+
this.id = params.id;
|
|
21020
|
+
}
|
|
21021
|
+
}
|
|
21022
|
+
exports.StoriesIncrementStoryViews = StoriesIncrementStoryViews;
|
|
21023
|
+
class StoriesGetStoryViewsList extends Function {
|
|
21024
|
+
get [_1_tl_object_js_1.id]() {
|
|
21025
|
+
return 0x4B3B5E97;
|
|
21026
|
+
}
|
|
21027
|
+
static get [_1_tl_object_js_1.paramDesc]() {
|
|
21028
|
+
return [
|
|
21029
|
+
["id", "number", "int"],
|
|
21030
|
+
["offsetDate", "number", "int"],
|
|
21031
|
+
["offsetId", "bigint", "long"],
|
|
21032
|
+
["limit", "number", "int"],
|
|
21033
|
+
];
|
|
21034
|
+
}
|
|
21035
|
+
get [_1_tl_object_js_1.params]() {
|
|
21036
|
+
return [
|
|
21037
|
+
[this.id, "number", "int"],
|
|
21038
|
+
[this.offsetDate, "number", "int"],
|
|
21039
|
+
[this.offsetId, "bigint", "long"],
|
|
21040
|
+
[this.limit, "number", "int"],
|
|
21041
|
+
];
|
|
21042
|
+
}
|
|
21043
|
+
constructor(params) {
|
|
21044
|
+
super();
|
|
21045
|
+
Object.defineProperty(this, "id", {
|
|
21046
|
+
enumerable: true,
|
|
21047
|
+
configurable: true,
|
|
21048
|
+
writable: true,
|
|
21049
|
+
value: void 0
|
|
21050
|
+
});
|
|
21051
|
+
Object.defineProperty(this, "offsetDate", {
|
|
21052
|
+
enumerable: true,
|
|
21053
|
+
configurable: true,
|
|
21054
|
+
writable: true,
|
|
21055
|
+
value: void 0
|
|
21056
|
+
});
|
|
21057
|
+
Object.defineProperty(this, "offsetId", {
|
|
21058
|
+
enumerable: true,
|
|
21059
|
+
configurable: true,
|
|
21060
|
+
writable: true,
|
|
21061
|
+
value: void 0
|
|
21062
|
+
});
|
|
21063
|
+
Object.defineProperty(this, "limit", {
|
|
21064
|
+
enumerable: true,
|
|
21065
|
+
configurable: true,
|
|
21066
|
+
writable: true,
|
|
21067
|
+
value: void 0
|
|
21068
|
+
});
|
|
21069
|
+
this.id = params.id;
|
|
21070
|
+
this.offsetDate = params.offsetDate;
|
|
21071
|
+
this.offsetId = params.offsetId;
|
|
21072
|
+
this.limit = params.limit;
|
|
21073
|
+
}
|
|
21074
|
+
}
|
|
21075
|
+
exports.StoriesGetStoryViewsList = StoriesGetStoryViewsList;
|
|
21076
|
+
class StoriesGetStoriesViews extends Function {
|
|
21077
|
+
get [_1_tl_object_js_1.id]() {
|
|
21078
|
+
return 0x9A75D6A6;
|
|
21079
|
+
}
|
|
21080
|
+
static get [_1_tl_object_js_1.paramDesc]() {
|
|
21081
|
+
return [
|
|
21082
|
+
["id", ["number"], "Vector<int>"],
|
|
21083
|
+
];
|
|
21084
|
+
}
|
|
21085
|
+
get [_1_tl_object_js_1.params]() {
|
|
21086
|
+
return [
|
|
21087
|
+
[this.id, ["number"], "Vector<int>"],
|
|
21088
|
+
];
|
|
21089
|
+
}
|
|
21090
|
+
constructor(params) {
|
|
21091
|
+
super();
|
|
21092
|
+
Object.defineProperty(this, "id", {
|
|
21093
|
+
enumerable: true,
|
|
21094
|
+
configurable: true,
|
|
21095
|
+
writable: true,
|
|
21096
|
+
value: void 0
|
|
21097
|
+
});
|
|
21098
|
+
this.id = params.id;
|
|
21099
|
+
}
|
|
21100
|
+
}
|
|
21101
|
+
exports.StoriesGetStoriesViews = StoriesGetStoriesViews;
|
|
21102
|
+
class StoriesExportStoryLink extends Function {
|
|
21103
|
+
get [_1_tl_object_js_1.id]() {
|
|
21104
|
+
return 0x16E443CE;
|
|
21105
|
+
}
|
|
21106
|
+
static get [_1_tl_object_js_1.paramDesc]() {
|
|
21107
|
+
return [
|
|
21108
|
+
["userId", types.TypeInputUser, "InputUser"],
|
|
21109
|
+
["id", "number", "int"],
|
|
21110
|
+
];
|
|
21111
|
+
}
|
|
21112
|
+
get [_1_tl_object_js_1.params]() {
|
|
21113
|
+
return [
|
|
21114
|
+
[this.userId, types.TypeInputUser, "InputUser"],
|
|
21115
|
+
[this.id, "number", "int"],
|
|
21116
|
+
];
|
|
21117
|
+
}
|
|
21118
|
+
constructor(params) {
|
|
21119
|
+
super();
|
|
21120
|
+
Object.defineProperty(this, "userId", {
|
|
21121
|
+
enumerable: true,
|
|
21122
|
+
configurable: true,
|
|
21123
|
+
writable: true,
|
|
21124
|
+
value: void 0
|
|
21125
|
+
});
|
|
21126
|
+
Object.defineProperty(this, "id", {
|
|
21127
|
+
enumerable: true,
|
|
21128
|
+
configurable: true,
|
|
21129
|
+
writable: true,
|
|
21130
|
+
value: void 0
|
|
21131
|
+
});
|
|
21132
|
+
this.userId = params.userId;
|
|
21133
|
+
this.id = params.id;
|
|
21134
|
+
}
|
|
21135
|
+
}
|
|
21136
|
+
exports.StoriesExportStoryLink = StoriesExportStoryLink;
|
|
21137
|
+
class StoriesReport extends Function {
|
|
21138
|
+
get [_1_tl_object_js_1.id]() {
|
|
21139
|
+
return 0xC95BE06A;
|
|
21140
|
+
}
|
|
21141
|
+
static get [_1_tl_object_js_1.paramDesc]() {
|
|
21142
|
+
return [
|
|
21143
|
+
["userId", types.TypeInputUser, "InputUser"],
|
|
21144
|
+
["id", ["number"], "Vector<int>"],
|
|
21145
|
+
["reason", types.TypeReportReason, "ReportReason"],
|
|
21146
|
+
["message", "string", "string"],
|
|
21147
|
+
];
|
|
21148
|
+
}
|
|
21149
|
+
get [_1_tl_object_js_1.params]() {
|
|
21150
|
+
return [
|
|
21151
|
+
[this.userId, types.TypeInputUser, "InputUser"],
|
|
21152
|
+
[this.id, ["number"], "Vector<int>"],
|
|
21153
|
+
[this.reason, types.TypeReportReason, "ReportReason"],
|
|
21154
|
+
[this.message, "string", "string"],
|
|
21155
|
+
];
|
|
21156
|
+
}
|
|
21157
|
+
constructor(params) {
|
|
21158
|
+
super();
|
|
21159
|
+
Object.defineProperty(this, "userId", {
|
|
21160
|
+
enumerable: true,
|
|
21161
|
+
configurable: true,
|
|
21162
|
+
writable: true,
|
|
21163
|
+
value: void 0
|
|
21164
|
+
});
|
|
21165
|
+
Object.defineProperty(this, "id", {
|
|
21166
|
+
enumerable: true,
|
|
21167
|
+
configurable: true,
|
|
21168
|
+
writable: true,
|
|
21169
|
+
value: void 0
|
|
21170
|
+
});
|
|
21171
|
+
Object.defineProperty(this, "reason", {
|
|
21172
|
+
enumerable: true,
|
|
21173
|
+
configurable: true,
|
|
21174
|
+
writable: true,
|
|
21175
|
+
value: void 0
|
|
21176
|
+
});
|
|
21177
|
+
Object.defineProperty(this, "message", {
|
|
21178
|
+
enumerable: true,
|
|
21179
|
+
configurable: true,
|
|
21180
|
+
writable: true,
|
|
21181
|
+
value: void 0
|
|
21182
|
+
});
|
|
21183
|
+
this.userId = params.userId;
|
|
21184
|
+
this.id = params.id;
|
|
21185
|
+
this.reason = params.reason;
|
|
21186
|
+
this.message = params.message;
|
|
21187
|
+
}
|
|
21188
|
+
}
|
|
21189
|
+
exports.StoriesReport = StoriesReport;
|