@mtkruto/node 0.1.106 → 0.1.108
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/4_constants.d.ts +2 -2
- package/esm/4_constants.js +3 -3
- package/esm/5_client.d.ts +1 -0
- package/esm/5_client.js +1 -0
- package/esm/client/3_types.d.ts +18 -13
- package/esm/client/4_client.d.ts +48 -21
- package/esm/client/4_client.js +56 -37
- package/esm/tl/2_types.d.ts +634 -75
- package/esm/tl/2_types.js +2387 -289
- package/esm/tl/3_functions.d.ts +260 -57
- package/esm/tl/3_functions.js +869 -203
- package/esm/types/0_audio.d.ts +9 -9
- package/esm/types/0_bot_command.d.ts +2 -0
- package/esm/types/0_chat_action.d.ts +1 -0
- package/esm/types/0_chat_administrator_rights.d.ts +13 -13
- package/esm/types/0_chat_photo.d.ts +7 -6
- package/esm/types/0_chat_photo.js +1 -1
- package/esm/types/0_contact.d.ts +6 -6
- package/esm/types/0_dice.d.ts +3 -3
- package/esm/types/0_force_reply.d.ts +4 -4
- package/esm/types/0_input_contact_message_content.d.ts +5 -0
- package/esm/types/0_input_location_message_content.d.ts +7 -0
- package/esm/types/0_input_venue_message_content.d.ts +10 -1
- package/esm/types/0_keyboard_button_poll_type.d.ts +3 -3
- package/esm/types/0_location.d.ts +7 -7
- package/esm/types/0_login_url.d.ts +4 -5
- package/esm/types/0_mask_position.d.ts +0 -1
- package/esm/types/0_message_entity.d.ts +6 -6
- package/esm/types/0_parse_mode.d.ts +1 -0
- package/esm/types/0_poll_option.d.ts +2 -2
- package/esm/types/0_reply_keyboard_remove.d.ts +3 -3
- package/esm/types/0_thumbnail.d.ts +6 -6
- package/esm/types/0_venue.d.ts +6 -6
- package/esm/types/0_voice.d.ts +6 -6
- package/esm/types/0_web_app_info.d.ts +1 -2
- package/esm/types/1_animation.d.ts +9 -9
- package/esm/types/1_chat.d.ts +29 -28
- package/esm/types/1_document.d.ts +6 -7
- package/esm/types/1_keyboard_button.d.ts +1 -1
- package/esm/types/1_photo.d.ts +3 -3
- package/esm/types/1_sticker.d.ts +2 -2
- package/esm/types/1_user.d.ts +2 -1
- package/esm/types/1_video.d.ts +4 -4
- package/esm/types/1_video_note.d.ts +3 -3
- package/esm/types/3_message.js +1 -1
- package/package.json +1 -1
- package/script/4_constants.d.ts +2 -2
- package/script/4_constants.js +3 -3
- package/script/5_client.d.ts +1 -0
- package/script/5_client.js +1 -0
- package/script/client/3_types.d.ts +18 -13
- package/script/client/4_client.d.ts +48 -21
- package/script/client/4_client.js +56 -37
- package/script/tl/2_types.d.ts +634 -75
- package/script/tl/2_types.js +2454 -321
- package/script/tl/3_functions.d.ts +260 -57
- package/script/tl/3_functions.js +895 -211
- package/script/types/0_audio.d.ts +9 -9
- package/script/types/0_bot_command.d.ts +2 -0
- package/script/types/0_chat_action.d.ts +1 -0
- package/script/types/0_chat_administrator_rights.d.ts +13 -13
- package/script/types/0_chat_photo.d.ts +7 -6
- package/script/types/0_chat_photo.js +1 -1
- package/script/types/0_contact.d.ts +6 -6
- package/script/types/0_dice.d.ts +3 -3
- package/script/types/0_force_reply.d.ts +4 -4
- package/script/types/0_input_contact_message_content.d.ts +5 -0
- package/script/types/0_input_location_message_content.d.ts +7 -0
- package/script/types/0_input_venue_message_content.d.ts +10 -1
- package/script/types/0_keyboard_button_poll_type.d.ts +3 -3
- package/script/types/0_location.d.ts +7 -7
- package/script/types/0_login_url.d.ts +4 -5
- package/script/types/0_mask_position.d.ts +0 -1
- package/script/types/0_message_entity.d.ts +6 -6
- package/script/types/0_parse_mode.d.ts +1 -0
- package/script/types/0_poll_option.d.ts +2 -2
- package/script/types/0_reply_keyboard_remove.d.ts +3 -3
- package/script/types/0_thumbnail.d.ts +6 -6
- package/script/types/0_venue.d.ts +6 -6
- package/script/types/0_voice.d.ts +6 -6
- package/script/types/0_web_app_info.d.ts +1 -2
- package/script/types/1_animation.d.ts +9 -9
- package/script/types/1_chat.d.ts +29 -28
- package/script/types/1_document.d.ts +6 -7
- package/script/types/1_keyboard_button.d.ts +1 -1
- package/script/types/1_photo.d.ts +3 -3
- package/script/types/1_sticker.d.ts +2 -2
- package/script/types/1_user.d.ts +2 -1
- package/script/types/1_video.d.ts +4 -4
- package/script/types/1_video_note.d.ts +3 -3
- package/script/types/3_message.js +1 -1
package/script/tl/3_functions.js
CHANGED
|
@@ -25,15 +25,17 @@ 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.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.ContactsSetBlocked = exports.
|
|
28
|
+
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.UsersSetSecureValueErrors = exports.UsersGetFullUser = exports.UsersGetUsers = exports.AccountGetDefaultBackgroundEmojis = exports.AccountUpdateColor = 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.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.ContactsSetBlocked = exports.ContactsEditCloseFriends = exports.ContactsImportContactToken = exports.ContactsExportContactToken = exports.ContactsResolvePhone = exports.ContactsBlockFromReplies = exports.ContactsGetLocated = void 0;
|
|
30
30
|
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 = exports.MessagesStartBot = void 0;
|
|
31
31
|
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 = exports.MessagesMarkDialogUnread = void 0;
|
|
32
32
|
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 = exports.MessagesGetSearchResultsPositions = void 0;
|
|
33
33
|
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 = exports.PhotosGetUserPhotos = void 0;
|
|
34
|
-
exports.
|
|
35
|
-
exports.
|
|
36
|
-
exports.
|
|
34
|
+
exports.BotsSetBotInfo = exports.BotsSetBotGroupDefaultAdminRights = exports.BotsSetBotBroadcastDefaultAdminRights = exports.BotsGetBotMenuButton = exports.BotsSetBotMenuButton = exports.BotsGetBotCommands = exports.BotsResetBotCommands = exports.BotsSetBotCommands = exports.BotsAnswerWebhookJSONQuery = exports.BotsSendCustomRequest = exports.ChannelsUpdateColor = 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 = exports.ChannelsDeleteChannel = void 0;
|
|
35
|
+
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.PaymentsLaunchPrepaidGiveaway = exports.PaymentsGetGiveawayInfo = exports.PaymentsApplyGiftCode = exports.PaymentsCheckGiftCode = exports.PaymentsGetPremiumGiftCodeOptions = exports.PaymentsCanPurchasePremium = exports.PaymentsAssignPlayMarketTransaction = exports.PaymentsAssignAppStoreTransaction = exports.PaymentsExportInvoice = exports.PaymentsGetBankCardData = exports.PaymentsClearSavedInfo = exports.PaymentsGetSavedInfo = exports.PaymentsSendPaymentForm = exports.PaymentsValidateRequestedInfo = exports.PaymentsGetPaymentReceipt = exports.PaymentsGetPaymentForm = exports.BotsInvokeWebViewCustomMethod = exports.BotsAllowSendMessage = exports.BotsCanSendMessage = exports.BotsToggleUsername = exports.BotsReorderUsernames = exports.BotsGetBotInfo = void 0;
|
|
36
|
+
exports.StoriesExportStoryLink = exports.StoriesGetStoriesViews = exports.StoriesGetStoryViewsList = exports.StoriesIncrementStoryViews = exports.StoriesReadStories = exports.StoriesToggleAllStoriesHidden = exports.StoriesGetStoriesByID = exports.StoriesGetStoriesArchive = exports.StoriesGetPinnedStories = exports.StoriesGetAllStories = exports.StoriesTogglePinned = exports.StoriesDeleteStories = exports.StoriesEditStory = exports.StoriesSendStory = exports.StoriesCanSendStory = 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 = exports.PhoneLeaveGroupCallPresentation = exports.PhoneJoinGroupCallPresentation = exports.PhoneSaveDefaultGroupCallJoinAs = exports.PhoneStartScheduledGroupCall = exports.PhoneToggleGroupCallStartSubscription = exports.PhoneExportGroupCallInvite = exports.PhoneGetGroupCallJoinAs = exports.PhoneEditGroupCallTitle = exports.PhoneEditGroupCallParticipant = exports.PhoneToggleGroupCallRecord = void 0;
|
|
37
|
+
exports.PremiumGetBoostsStatus = exports.PremiumApplyBoost = exports.PremiumGetMyBoosts = exports.PremiumGetBoostsList = exports.StoriesTogglePeerStoriesHidden = exports.StoriesGetChatsToSend = exports.StoriesGetPeerMaxIDs = exports.StoriesGetAllReadPeerStories = exports.StoriesGetPeerStories = exports.StoriesSendReaction = exports.StoriesActivateStealthMode = exports.StoriesReport = void 0;
|
|
38
|
+
// deno-fmt-ignore-file
|
|
37
39
|
const _1_tl_object_js_1 = require("./1_tl_object.js");
|
|
38
40
|
const types = __importStar(require("./2_types.js"));
|
|
39
41
|
class Function extends _1_tl_object_js_1.TLObject {
|
|
@@ -3791,6 +3793,7 @@ class AccountChangeAuthorizationSettings extends Function {
|
|
|
3791
3793
|
static get [_1_tl_object_js_1.paramDesc]() {
|
|
3792
3794
|
return [
|
|
3793
3795
|
["flags", _1_tl_object_js_1.flags, "#"],
|
|
3796
|
+
["confirmed", "true", "flags.3?true"],
|
|
3794
3797
|
["hash", "bigint", "long"],
|
|
3795
3798
|
["encryptedRequestsDisabled", "boolean", "flags.0?Bool"],
|
|
3796
3799
|
["callRequestsDisabled", "boolean", "flags.1?Bool"],
|
|
@@ -3799,6 +3802,7 @@ class AccountChangeAuthorizationSettings extends Function {
|
|
|
3799
3802
|
get [_1_tl_object_js_1.params]() {
|
|
3800
3803
|
return [
|
|
3801
3804
|
["flags", _1_tl_object_js_1.flags, "#"],
|
|
3805
|
+
[this.confirmed ?? null, "true", "flags.3?true"],
|
|
3802
3806
|
[this.hash, "bigint", "long"],
|
|
3803
3807
|
[this.encryptedRequestsDisabled ?? null, "boolean", "flags.0?Bool"],
|
|
3804
3808
|
[this.callRequestsDisabled ?? null, "boolean", "flags.1?Bool"],
|
|
@@ -3806,6 +3810,12 @@ class AccountChangeAuthorizationSettings extends Function {
|
|
|
3806
3810
|
}
|
|
3807
3811
|
constructor(params) {
|
|
3808
3812
|
super();
|
|
3813
|
+
Object.defineProperty(this, "confirmed", {
|
|
3814
|
+
enumerable: true,
|
|
3815
|
+
configurable: true,
|
|
3816
|
+
writable: true,
|
|
3817
|
+
value: void 0
|
|
3818
|
+
});
|
|
3809
3819
|
Object.defineProperty(this, "hash", {
|
|
3810
3820
|
enumerable: true,
|
|
3811
3821
|
configurable: true,
|
|
@@ -3824,6 +3834,7 @@ class AccountChangeAuthorizationSettings extends Function {
|
|
|
3824
3834
|
writable: true,
|
|
3825
3835
|
value: void 0
|
|
3826
3836
|
});
|
|
3837
|
+
this.confirmed = params.confirmed;
|
|
3827
3838
|
this.hash = params.hash;
|
|
3828
3839
|
this.encryptedRequestsDisabled = params.encryptedRequestsDisabled;
|
|
3829
3840
|
this.callRequestsDisabled = params.callRequestsDisabled;
|
|
@@ -4261,6 +4272,69 @@ class AccountInvalidateSignInCodes extends Function {
|
|
|
4261
4272
|
}
|
|
4262
4273
|
}
|
|
4263
4274
|
exports.AccountInvalidateSignInCodes = AccountInvalidateSignInCodes;
|
|
4275
|
+
class AccountUpdateColor extends Function {
|
|
4276
|
+
get [_1_tl_object_js_1.id]() {
|
|
4277
|
+
return 0xA001CC43;
|
|
4278
|
+
}
|
|
4279
|
+
static get [_1_tl_object_js_1.paramDesc]() {
|
|
4280
|
+
return [
|
|
4281
|
+
["flags", _1_tl_object_js_1.flags, "#"],
|
|
4282
|
+
["color", "number", "int"],
|
|
4283
|
+
["backgroundEmojiId", "bigint", "flags.0?long"],
|
|
4284
|
+
];
|
|
4285
|
+
}
|
|
4286
|
+
get [_1_tl_object_js_1.params]() {
|
|
4287
|
+
return [
|
|
4288
|
+
["flags", _1_tl_object_js_1.flags, "#"],
|
|
4289
|
+
[this.color, "number", "int"],
|
|
4290
|
+
[this.backgroundEmojiId ?? null, "bigint", "flags.0?long"],
|
|
4291
|
+
];
|
|
4292
|
+
}
|
|
4293
|
+
constructor(params) {
|
|
4294
|
+
super();
|
|
4295
|
+
Object.defineProperty(this, "color", {
|
|
4296
|
+
enumerable: true,
|
|
4297
|
+
configurable: true,
|
|
4298
|
+
writable: true,
|
|
4299
|
+
value: void 0
|
|
4300
|
+
});
|
|
4301
|
+
Object.defineProperty(this, "backgroundEmojiId", {
|
|
4302
|
+
enumerable: true,
|
|
4303
|
+
configurable: true,
|
|
4304
|
+
writable: true,
|
|
4305
|
+
value: void 0
|
|
4306
|
+
});
|
|
4307
|
+
this.color = params.color;
|
|
4308
|
+
this.backgroundEmojiId = params.backgroundEmojiId;
|
|
4309
|
+
}
|
|
4310
|
+
}
|
|
4311
|
+
exports.AccountUpdateColor = AccountUpdateColor;
|
|
4312
|
+
class AccountGetDefaultBackgroundEmojis extends Function {
|
|
4313
|
+
get [_1_tl_object_js_1.id]() {
|
|
4314
|
+
return 0xA60AB9CE;
|
|
4315
|
+
}
|
|
4316
|
+
static get [_1_tl_object_js_1.paramDesc]() {
|
|
4317
|
+
return [
|
|
4318
|
+
["hash", "bigint", "long"],
|
|
4319
|
+
];
|
|
4320
|
+
}
|
|
4321
|
+
get [_1_tl_object_js_1.params]() {
|
|
4322
|
+
return [
|
|
4323
|
+
[this.hash, "bigint", "long"],
|
|
4324
|
+
];
|
|
4325
|
+
}
|
|
4326
|
+
constructor(params) {
|
|
4327
|
+
super();
|
|
4328
|
+
Object.defineProperty(this, "hash", {
|
|
4329
|
+
enumerable: true,
|
|
4330
|
+
configurable: true,
|
|
4331
|
+
writable: true,
|
|
4332
|
+
value: void 0
|
|
4333
|
+
});
|
|
4334
|
+
this.hash = params.hash;
|
|
4335
|
+
}
|
|
4336
|
+
}
|
|
4337
|
+
exports.AccountGetDefaultBackgroundEmojis = AccountGetDefaultBackgroundEmojis;
|
|
4264
4338
|
class UsersGetUsers extends Function {
|
|
4265
4339
|
get [_1_tl_object_js_1.id]() {
|
|
4266
4340
|
return 0x0D91A548;
|
|
@@ -4348,32 +4422,6 @@ class UsersSetSecureValueErrors extends Function {
|
|
|
4348
4422
|
}
|
|
4349
4423
|
}
|
|
4350
4424
|
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;
|
|
4377
4425
|
class ContactsGetContactIDs extends Function {
|
|
4378
4426
|
get [_1_tl_object_js_1.id]() {
|
|
4379
4427
|
return 0x7ADC669D;
|
|
@@ -5193,41 +5241,6 @@ class ContactsEditCloseFriends extends Function {
|
|
|
5193
5241
|
}
|
|
5194
5242
|
}
|
|
5195
5243
|
exports.ContactsEditCloseFriends = ContactsEditCloseFriends;
|
|
5196
|
-
class ContactsToggleStoriesHidden extends Function {
|
|
5197
|
-
get [_1_tl_object_js_1.id]() {
|
|
5198
|
-
return 0x753FB865;
|
|
5199
|
-
}
|
|
5200
|
-
static get [_1_tl_object_js_1.paramDesc]() {
|
|
5201
|
-
return [
|
|
5202
|
-
["id", types._TypeInputUser, "InputUser"],
|
|
5203
|
-
["hidden", "boolean", "Bool"],
|
|
5204
|
-
];
|
|
5205
|
-
}
|
|
5206
|
-
get [_1_tl_object_js_1.params]() {
|
|
5207
|
-
return [
|
|
5208
|
-
[this.id, types._TypeInputUser, "InputUser"],
|
|
5209
|
-
[this.hidden, "boolean", "Bool"],
|
|
5210
|
-
];
|
|
5211
|
-
}
|
|
5212
|
-
constructor(params) {
|
|
5213
|
-
super();
|
|
5214
|
-
Object.defineProperty(this, "id", {
|
|
5215
|
-
enumerable: true,
|
|
5216
|
-
configurable: true,
|
|
5217
|
-
writable: true,
|
|
5218
|
-
value: void 0
|
|
5219
|
-
});
|
|
5220
|
-
Object.defineProperty(this, "hidden", {
|
|
5221
|
-
enumerable: true,
|
|
5222
|
-
configurable: true,
|
|
5223
|
-
writable: true,
|
|
5224
|
-
value: void 0
|
|
5225
|
-
});
|
|
5226
|
-
this.id = params.id;
|
|
5227
|
-
this.hidden = params.hidden;
|
|
5228
|
-
}
|
|
5229
|
-
}
|
|
5230
|
-
exports.ContactsToggleStoriesHidden = ContactsToggleStoriesHidden;
|
|
5231
5244
|
class ContactsSetBlocked extends Function {
|
|
5232
5245
|
get [_1_tl_object_js_1.id]() {
|
|
5233
5246
|
return 0x94C65C76;
|
|
@@ -5837,6 +5850,7 @@ class MessagesSendMessage extends Function {
|
|
|
5837
5850
|
["clearDraft", "true", "flags.7?true"],
|
|
5838
5851
|
["noforwards", "true", "flags.14?true"],
|
|
5839
5852
|
["updateStickersetsOrder", "true", "flags.15?true"],
|
|
5853
|
+
["invertMedia", "true", "flags.16?true"],
|
|
5840
5854
|
["peer", types._TypeInputPeer, "InputPeer"],
|
|
5841
5855
|
["replyTo", types._TypeInputReplyTo, "flags.0?InputReplyTo"],
|
|
5842
5856
|
["message", "string", "string"],
|
|
@@ -5856,6 +5870,7 @@ class MessagesSendMessage extends Function {
|
|
|
5856
5870
|
[this.clearDraft ?? null, "true", "flags.7?true"],
|
|
5857
5871
|
[this.noforwards ?? null, "true", "flags.14?true"],
|
|
5858
5872
|
[this.updateStickersetsOrder ?? null, "true", "flags.15?true"],
|
|
5873
|
+
[this.invertMedia ?? null, "true", "flags.16?true"],
|
|
5859
5874
|
[this.peer, types._TypeInputPeer, "InputPeer"],
|
|
5860
5875
|
[this.replyTo ?? null, types._TypeInputReplyTo, "flags.0?InputReplyTo"],
|
|
5861
5876
|
[this.message, "string", "string"],
|
|
@@ -5904,6 +5919,12 @@ class MessagesSendMessage extends Function {
|
|
|
5904
5919
|
writable: true,
|
|
5905
5920
|
value: void 0
|
|
5906
5921
|
});
|
|
5922
|
+
Object.defineProperty(this, "invertMedia", {
|
|
5923
|
+
enumerable: true,
|
|
5924
|
+
configurable: true,
|
|
5925
|
+
writable: true,
|
|
5926
|
+
value: void 0
|
|
5927
|
+
});
|
|
5907
5928
|
Object.defineProperty(this, "peer", {
|
|
5908
5929
|
enumerable: true,
|
|
5909
5930
|
configurable: true,
|
|
@@ -5958,6 +5979,7 @@ class MessagesSendMessage extends Function {
|
|
|
5958
5979
|
this.clearDraft = params.clearDraft;
|
|
5959
5980
|
this.noforwards = params.noforwards;
|
|
5960
5981
|
this.updateStickersetsOrder = params.updateStickersetsOrder;
|
|
5982
|
+
this.invertMedia = params.invertMedia;
|
|
5961
5983
|
this.peer = params.peer;
|
|
5962
5984
|
this.replyTo = params.replyTo;
|
|
5963
5985
|
this.message = params.message;
|
|
@@ -5981,6 +6003,7 @@ class MessagesSendMedia extends Function {
|
|
|
5981
6003
|
["clearDraft", "true", "flags.7?true"],
|
|
5982
6004
|
["noforwards", "true", "flags.14?true"],
|
|
5983
6005
|
["updateStickersetsOrder", "true", "flags.15?true"],
|
|
6006
|
+
["invertMedia", "true", "flags.16?true"],
|
|
5984
6007
|
["peer", types._TypeInputPeer, "InputPeer"],
|
|
5985
6008
|
["replyTo", types._TypeInputReplyTo, "flags.0?InputReplyTo"],
|
|
5986
6009
|
["media", types._TypeInputMedia, "InputMedia"],
|
|
@@ -6000,6 +6023,7 @@ class MessagesSendMedia extends Function {
|
|
|
6000
6023
|
[this.clearDraft ?? null, "true", "flags.7?true"],
|
|
6001
6024
|
[this.noforwards ?? null, "true", "flags.14?true"],
|
|
6002
6025
|
[this.updateStickersetsOrder ?? null, "true", "flags.15?true"],
|
|
6026
|
+
[this.invertMedia ?? null, "true", "flags.16?true"],
|
|
6003
6027
|
[this.peer, types._TypeInputPeer, "InputPeer"],
|
|
6004
6028
|
[this.replyTo ?? null, types._TypeInputReplyTo, "flags.0?InputReplyTo"],
|
|
6005
6029
|
[this.media, types._TypeInputMedia, "InputMedia"],
|
|
@@ -6043,6 +6067,12 @@ class MessagesSendMedia extends Function {
|
|
|
6043
6067
|
writable: true,
|
|
6044
6068
|
value: void 0
|
|
6045
6069
|
});
|
|
6070
|
+
Object.defineProperty(this, "invertMedia", {
|
|
6071
|
+
enumerable: true,
|
|
6072
|
+
configurable: true,
|
|
6073
|
+
writable: true,
|
|
6074
|
+
value: void 0
|
|
6075
|
+
});
|
|
6046
6076
|
Object.defineProperty(this, "peer", {
|
|
6047
6077
|
enumerable: true,
|
|
6048
6078
|
configurable: true,
|
|
@@ -6102,6 +6132,7 @@ class MessagesSendMedia extends Function {
|
|
|
6102
6132
|
this.clearDraft = params.clearDraft;
|
|
6103
6133
|
this.noforwards = params.noforwards;
|
|
6104
6134
|
this.updateStickersetsOrder = params.updateStickersetsOrder;
|
|
6135
|
+
this.invertMedia = params.invertMedia;
|
|
6105
6136
|
this.peer = params.peer;
|
|
6106
6137
|
this.replyTo = params.replyTo;
|
|
6107
6138
|
this.media = params.media;
|
|
@@ -8137,6 +8168,7 @@ class MessagesEditMessage extends Function {
|
|
|
8137
8168
|
return [
|
|
8138
8169
|
["flags", _1_tl_object_js_1.flags, "#"],
|
|
8139
8170
|
["noWebpage", "true", "flags.1?true"],
|
|
8171
|
+
["invertMedia", "true", "flags.16?true"],
|
|
8140
8172
|
["peer", types._TypeInputPeer, "InputPeer"],
|
|
8141
8173
|
["id", "number", "int"],
|
|
8142
8174
|
["message", "string", "flags.11?string"],
|
|
@@ -8150,6 +8182,7 @@ class MessagesEditMessage extends Function {
|
|
|
8150
8182
|
return [
|
|
8151
8183
|
["flags", _1_tl_object_js_1.flags, "#"],
|
|
8152
8184
|
[this.noWebpage ?? null, "true", "flags.1?true"],
|
|
8185
|
+
[this.invertMedia ?? null, "true", "flags.16?true"],
|
|
8153
8186
|
[this.peer, types._TypeInputPeer, "InputPeer"],
|
|
8154
8187
|
[this.id, "number", "int"],
|
|
8155
8188
|
[this.message ?? null, "string", "flags.11?string"],
|
|
@@ -8167,6 +8200,12 @@ class MessagesEditMessage extends Function {
|
|
|
8167
8200
|
writable: true,
|
|
8168
8201
|
value: void 0
|
|
8169
8202
|
});
|
|
8203
|
+
Object.defineProperty(this, "invertMedia", {
|
|
8204
|
+
enumerable: true,
|
|
8205
|
+
configurable: true,
|
|
8206
|
+
writable: true,
|
|
8207
|
+
value: void 0
|
|
8208
|
+
});
|
|
8170
8209
|
Object.defineProperty(this, "peer", {
|
|
8171
8210
|
enumerable: true,
|
|
8172
8211
|
configurable: true,
|
|
@@ -8210,6 +8249,7 @@ class MessagesEditMessage extends Function {
|
|
|
8210
8249
|
value: void 0
|
|
8211
8250
|
});
|
|
8212
8251
|
this.noWebpage = params.noWebpage;
|
|
8252
|
+
this.invertMedia = params.invertMedia;
|
|
8213
8253
|
this.peer = params.peer;
|
|
8214
8254
|
this.id = params.id;
|
|
8215
8255
|
this.message = params.message;
|
|
@@ -8228,6 +8268,7 @@ class MessagesEditInlineBotMessage extends Function {
|
|
|
8228
8268
|
return [
|
|
8229
8269
|
["flags", _1_tl_object_js_1.flags, "#"],
|
|
8230
8270
|
["noWebpage", "true", "flags.1?true"],
|
|
8271
|
+
["invertMedia", "true", "flags.16?true"],
|
|
8231
8272
|
["id", types._TypeInputBotInlineMessageID, "InputBotInlineMessageID"],
|
|
8232
8273
|
["message", "string", "flags.11?string"],
|
|
8233
8274
|
["media", types._TypeInputMedia, "flags.14?InputMedia"],
|
|
@@ -8239,6 +8280,7 @@ class MessagesEditInlineBotMessage extends Function {
|
|
|
8239
8280
|
return [
|
|
8240
8281
|
["flags", _1_tl_object_js_1.flags, "#"],
|
|
8241
8282
|
[this.noWebpage ?? null, "true", "flags.1?true"],
|
|
8283
|
+
[this.invertMedia ?? null, "true", "flags.16?true"],
|
|
8242
8284
|
[this.id, types._TypeInputBotInlineMessageID, "InputBotInlineMessageID"],
|
|
8243
8285
|
[this.message ?? null, "string", "flags.11?string"],
|
|
8244
8286
|
[this.media ?? null, types._TypeInputMedia, "flags.14?InputMedia"],
|
|
@@ -8254,6 +8296,12 @@ class MessagesEditInlineBotMessage extends Function {
|
|
|
8254
8296
|
writable: true,
|
|
8255
8297
|
value: void 0
|
|
8256
8298
|
});
|
|
8299
|
+
Object.defineProperty(this, "invertMedia", {
|
|
8300
|
+
enumerable: true,
|
|
8301
|
+
configurable: true,
|
|
8302
|
+
writable: true,
|
|
8303
|
+
value: void 0
|
|
8304
|
+
});
|
|
8257
8305
|
Object.defineProperty(this, "id", {
|
|
8258
8306
|
enumerable: true,
|
|
8259
8307
|
configurable: true,
|
|
@@ -8285,6 +8333,7 @@ class MessagesEditInlineBotMessage extends Function {
|
|
|
8285
8333
|
value: void 0
|
|
8286
8334
|
});
|
|
8287
8335
|
this.noWebpage = params.noWebpage;
|
|
8336
|
+
this.invertMedia = params.invertMedia;
|
|
8288
8337
|
this.id = params.id;
|
|
8289
8338
|
this.message = params.message;
|
|
8290
8339
|
this.media = params.media;
|
|
@@ -8449,28 +8498,30 @@ class MessagesGetPeerDialogs extends Function {
|
|
|
8449
8498
|
exports.MessagesGetPeerDialogs = MessagesGetPeerDialogs;
|
|
8450
8499
|
class MessagesSaveDraft extends Function {
|
|
8451
8500
|
get [_1_tl_object_js_1.id]() {
|
|
8452
|
-
return
|
|
8501
|
+
return 0x7FF3B806;
|
|
8453
8502
|
}
|
|
8454
8503
|
static get [_1_tl_object_js_1.paramDesc]() {
|
|
8455
8504
|
return [
|
|
8456
8505
|
["flags", _1_tl_object_js_1.flags, "#"],
|
|
8457
8506
|
["noWebpage", "true", "flags.1?true"],
|
|
8458
|
-
["
|
|
8459
|
-
["
|
|
8507
|
+
["invertMedia", "true", "flags.6?true"],
|
|
8508
|
+
["replyTo", types._TypeInputReplyTo, "flags.4?InputReplyTo"],
|
|
8460
8509
|
["peer", types._TypeInputPeer, "InputPeer"],
|
|
8461
8510
|
["message", "string", "string"],
|
|
8462
8511
|
["entities", [types._TypeMessageEntity], "flags.3?Vector<MessageEntity>"],
|
|
8512
|
+
["media", types._TypeInputMedia, "flags.5?InputMedia"],
|
|
8463
8513
|
];
|
|
8464
8514
|
}
|
|
8465
8515
|
get [_1_tl_object_js_1.params]() {
|
|
8466
8516
|
return [
|
|
8467
8517
|
["flags", _1_tl_object_js_1.flags, "#"],
|
|
8468
8518
|
[this.noWebpage ?? null, "true", "flags.1?true"],
|
|
8469
|
-
[this.
|
|
8470
|
-
[this.
|
|
8519
|
+
[this.invertMedia ?? null, "true", "flags.6?true"],
|
|
8520
|
+
[this.replyTo ?? null, types._TypeInputReplyTo, "flags.4?InputReplyTo"],
|
|
8471
8521
|
[this.peer, types._TypeInputPeer, "InputPeer"],
|
|
8472
8522
|
[this.message, "string", "string"],
|
|
8473
8523
|
[this.entities ?? null, [types._TypeMessageEntity], "flags.3?Vector<MessageEntity>"],
|
|
8524
|
+
[this.media ?? null, types._TypeInputMedia, "flags.5?InputMedia"],
|
|
8474
8525
|
];
|
|
8475
8526
|
}
|
|
8476
8527
|
constructor(params) {
|
|
@@ -8481,13 +8532,13 @@ class MessagesSaveDraft extends Function {
|
|
|
8481
8532
|
writable: true,
|
|
8482
8533
|
value: void 0
|
|
8483
8534
|
});
|
|
8484
|
-
Object.defineProperty(this, "
|
|
8535
|
+
Object.defineProperty(this, "invertMedia", {
|
|
8485
8536
|
enumerable: true,
|
|
8486
8537
|
configurable: true,
|
|
8487
8538
|
writable: true,
|
|
8488
8539
|
value: void 0
|
|
8489
8540
|
});
|
|
8490
|
-
Object.defineProperty(this, "
|
|
8541
|
+
Object.defineProperty(this, "replyTo", {
|
|
8491
8542
|
enumerable: true,
|
|
8492
8543
|
configurable: true,
|
|
8493
8544
|
writable: true,
|
|
@@ -8511,12 +8562,19 @@ class MessagesSaveDraft extends Function {
|
|
|
8511
8562
|
writable: true,
|
|
8512
8563
|
value: void 0
|
|
8513
8564
|
});
|
|
8565
|
+
Object.defineProperty(this, "media", {
|
|
8566
|
+
enumerable: true,
|
|
8567
|
+
configurable: true,
|
|
8568
|
+
writable: true,
|
|
8569
|
+
value: void 0
|
|
8570
|
+
});
|
|
8514
8571
|
this.noWebpage = params.noWebpage;
|
|
8515
|
-
this.
|
|
8516
|
-
this.
|
|
8572
|
+
this.invertMedia = params.invertMedia;
|
|
8573
|
+
this.replyTo = params.replyTo;
|
|
8517
8574
|
this.peer = params.peer;
|
|
8518
8575
|
this.message = params.message;
|
|
8519
8576
|
this.entities = params.entities;
|
|
8577
|
+
this.media = params.media;
|
|
8520
8578
|
}
|
|
8521
8579
|
}
|
|
8522
8580
|
exports.MessagesSaveDraft = MessagesSaveDraft;
|
|
@@ -9067,7 +9125,7 @@ class MessagesGetCommonChats extends Function {
|
|
|
9067
9125
|
exports.MessagesGetCommonChats = MessagesGetCommonChats;
|
|
9068
9126
|
class MessagesGetWebPage extends Function {
|
|
9069
9127
|
get [_1_tl_object_js_1.id]() {
|
|
9070
|
-
return
|
|
9128
|
+
return 0x8D9692A3;
|
|
9071
9129
|
}
|
|
9072
9130
|
static get [_1_tl_object_js_1.paramDesc]() {
|
|
9073
9131
|
return [
|
|
@@ -9616,6 +9674,7 @@ class MessagesSendMultiMedia extends Function {
|
|
|
9616
9674
|
["clearDraft", "true", "flags.7?true"],
|
|
9617
9675
|
["noforwards", "true", "flags.14?true"],
|
|
9618
9676
|
["updateStickersetsOrder", "true", "flags.15?true"],
|
|
9677
|
+
["invertMedia", "true", "flags.16?true"],
|
|
9619
9678
|
["peer", types._TypeInputPeer, "InputPeer"],
|
|
9620
9679
|
["replyTo", types._TypeInputReplyTo, "flags.0?InputReplyTo"],
|
|
9621
9680
|
["multiMedia", [types._TypeInputSingleMedia], "Vector<InputSingleMedia>"],
|
|
@@ -9631,6 +9690,7 @@ class MessagesSendMultiMedia extends Function {
|
|
|
9631
9690
|
[this.clearDraft ?? null, "true", "flags.7?true"],
|
|
9632
9691
|
[this.noforwards ?? null, "true", "flags.14?true"],
|
|
9633
9692
|
[this.updateStickersetsOrder ?? null, "true", "flags.15?true"],
|
|
9693
|
+
[this.invertMedia ?? null, "true", "flags.16?true"],
|
|
9634
9694
|
[this.peer, types._TypeInputPeer, "InputPeer"],
|
|
9635
9695
|
[this.replyTo ?? null, types._TypeInputReplyTo, "flags.0?InputReplyTo"],
|
|
9636
9696
|
[this.multiMedia, [types._TypeInputSingleMedia], "Vector<InputSingleMedia>"],
|
|
@@ -9670,6 +9730,12 @@ class MessagesSendMultiMedia extends Function {
|
|
|
9670
9730
|
writable: true,
|
|
9671
9731
|
value: void 0
|
|
9672
9732
|
});
|
|
9733
|
+
Object.defineProperty(this, "invertMedia", {
|
|
9734
|
+
enumerable: true,
|
|
9735
|
+
configurable: true,
|
|
9736
|
+
writable: true,
|
|
9737
|
+
value: void 0
|
|
9738
|
+
});
|
|
9673
9739
|
Object.defineProperty(this, "peer", {
|
|
9674
9740
|
enumerable: true,
|
|
9675
9741
|
configurable: true,
|
|
@@ -9705,6 +9771,7 @@ class MessagesSendMultiMedia extends Function {
|
|
|
9705
9771
|
this.clearDraft = params.clearDraft;
|
|
9706
9772
|
this.noforwards = params.noforwards;
|
|
9707
9773
|
this.updateStickersetsOrder = params.updateStickersetsOrder;
|
|
9774
|
+
this.invertMedia = params.invertMedia;
|
|
9708
9775
|
this.peer = params.peer;
|
|
9709
9776
|
this.replyTo = params.replyTo;
|
|
9710
9777
|
this.multiMedia = params.multiMedia;
|
|
@@ -12758,14 +12825,16 @@ class MessagesProlongWebView extends Function {
|
|
|
12758
12825
|
exports.MessagesProlongWebView = MessagesProlongWebView;
|
|
12759
12826
|
class MessagesRequestSimpleWebView extends Function {
|
|
12760
12827
|
get [_1_tl_object_js_1.id]() {
|
|
12761
|
-
return
|
|
12828
|
+
return 0x1A46500A;
|
|
12762
12829
|
}
|
|
12763
12830
|
static get [_1_tl_object_js_1.paramDesc]() {
|
|
12764
12831
|
return [
|
|
12765
12832
|
["flags", _1_tl_object_js_1.flags, "#"],
|
|
12766
12833
|
["fromSwitchWebview", "true", "flags.1?true"],
|
|
12834
|
+
["fromSideMenu", "true", "flags.2?true"],
|
|
12767
12835
|
["bot", types._TypeInputUser, "InputUser"],
|
|
12768
|
-
["url", "string", "string"],
|
|
12836
|
+
["url", "string", "flags.3?string"],
|
|
12837
|
+
["startParam", "string", "flags.4?string"],
|
|
12769
12838
|
["themeParams", types._TypeDataJSON, "flags.0?DataJSON"],
|
|
12770
12839
|
["platform", "string", "string"],
|
|
12771
12840
|
];
|
|
@@ -12774,8 +12843,10 @@ class MessagesRequestSimpleWebView extends Function {
|
|
|
12774
12843
|
return [
|
|
12775
12844
|
["flags", _1_tl_object_js_1.flags, "#"],
|
|
12776
12845
|
[this.fromSwitchWebview ?? null, "true", "flags.1?true"],
|
|
12846
|
+
[this.fromSideMenu ?? null, "true", "flags.2?true"],
|
|
12777
12847
|
[this.bot, types._TypeInputUser, "InputUser"],
|
|
12778
|
-
[this.url, "string", "string"],
|
|
12848
|
+
[this.url ?? null, "string", "flags.3?string"],
|
|
12849
|
+
[this.startParam ?? null, "string", "flags.4?string"],
|
|
12779
12850
|
[this.themeParams ?? null, types._TypeDataJSON, "flags.0?DataJSON"],
|
|
12780
12851
|
[this.platform, "string", "string"],
|
|
12781
12852
|
];
|
|
@@ -12788,6 +12859,12 @@ class MessagesRequestSimpleWebView extends Function {
|
|
|
12788
12859
|
writable: true,
|
|
12789
12860
|
value: void 0
|
|
12790
12861
|
});
|
|
12862
|
+
Object.defineProperty(this, "fromSideMenu", {
|
|
12863
|
+
enumerable: true,
|
|
12864
|
+
configurable: true,
|
|
12865
|
+
writable: true,
|
|
12866
|
+
value: void 0
|
|
12867
|
+
});
|
|
12791
12868
|
Object.defineProperty(this, "bot", {
|
|
12792
12869
|
enumerable: true,
|
|
12793
12870
|
configurable: true,
|
|
@@ -12800,6 +12877,12 @@ class MessagesRequestSimpleWebView extends Function {
|
|
|
12800
12877
|
writable: true,
|
|
12801
12878
|
value: void 0
|
|
12802
12879
|
});
|
|
12880
|
+
Object.defineProperty(this, "startParam", {
|
|
12881
|
+
enumerable: true,
|
|
12882
|
+
configurable: true,
|
|
12883
|
+
writable: true,
|
|
12884
|
+
value: void 0
|
|
12885
|
+
});
|
|
12803
12886
|
Object.defineProperty(this, "themeParams", {
|
|
12804
12887
|
enumerable: true,
|
|
12805
12888
|
configurable: true,
|
|
@@ -12813,8 +12896,10 @@ class MessagesRequestSimpleWebView extends Function {
|
|
|
12813
12896
|
value: void 0
|
|
12814
12897
|
});
|
|
12815
12898
|
this.fromSwitchWebview = params.fromSwitchWebview;
|
|
12899
|
+
this.fromSideMenu = params.fromSideMenu;
|
|
12816
12900
|
this.bot = params.bot;
|
|
12817
12901
|
this.url = params.url;
|
|
12902
|
+
this.startParam = params.startParam;
|
|
12818
12903
|
this.themeParams = params.themeParams;
|
|
12819
12904
|
this.platform = params.platform;
|
|
12820
12905
|
}
|
|
@@ -17174,6 +17259,52 @@ class ChannelsClickSponsoredMessage extends Function {
|
|
|
17174
17259
|
}
|
|
17175
17260
|
}
|
|
17176
17261
|
exports.ChannelsClickSponsoredMessage = ChannelsClickSponsoredMessage;
|
|
17262
|
+
class ChannelsUpdateColor extends Function {
|
|
17263
|
+
get [_1_tl_object_js_1.id]() {
|
|
17264
|
+
return 0x621A201F;
|
|
17265
|
+
}
|
|
17266
|
+
static get [_1_tl_object_js_1.paramDesc]() {
|
|
17267
|
+
return [
|
|
17268
|
+
["flags", _1_tl_object_js_1.flags, "#"],
|
|
17269
|
+
["channel", types._TypeInputChannel, "InputChannel"],
|
|
17270
|
+
["color", "number", "int"],
|
|
17271
|
+
["backgroundEmojiId", "bigint", "flags.0?long"],
|
|
17272
|
+
];
|
|
17273
|
+
}
|
|
17274
|
+
get [_1_tl_object_js_1.params]() {
|
|
17275
|
+
return [
|
|
17276
|
+
["flags", _1_tl_object_js_1.flags, "#"],
|
|
17277
|
+
[this.channel, types._TypeInputChannel, "InputChannel"],
|
|
17278
|
+
[this.color, "number", "int"],
|
|
17279
|
+
[this.backgroundEmojiId ?? null, "bigint", "flags.0?long"],
|
|
17280
|
+
];
|
|
17281
|
+
}
|
|
17282
|
+
constructor(params) {
|
|
17283
|
+
super();
|
|
17284
|
+
Object.defineProperty(this, "channel", {
|
|
17285
|
+
enumerable: true,
|
|
17286
|
+
configurable: true,
|
|
17287
|
+
writable: true,
|
|
17288
|
+
value: void 0
|
|
17289
|
+
});
|
|
17290
|
+
Object.defineProperty(this, "color", {
|
|
17291
|
+
enumerable: true,
|
|
17292
|
+
configurable: true,
|
|
17293
|
+
writable: true,
|
|
17294
|
+
value: void 0
|
|
17295
|
+
});
|
|
17296
|
+
Object.defineProperty(this, "backgroundEmojiId", {
|
|
17297
|
+
enumerable: true,
|
|
17298
|
+
configurable: true,
|
|
17299
|
+
writable: true,
|
|
17300
|
+
value: void 0
|
|
17301
|
+
});
|
|
17302
|
+
this.channel = params.channel;
|
|
17303
|
+
this.color = params.color;
|
|
17304
|
+
this.backgroundEmojiId = params.backgroundEmojiId;
|
|
17305
|
+
}
|
|
17306
|
+
}
|
|
17307
|
+
exports.ChannelsUpdateColor = ChannelsUpdateColor;
|
|
17177
17308
|
class BotsSendCustomRequest extends Function {
|
|
17178
17309
|
get [_1_tl_object_js_1.id]() {
|
|
17179
17310
|
return 0xAA2769ED;
|
|
@@ -17651,107 +17782,203 @@ class BotsToggleUsername extends Function {
|
|
|
17651
17782
|
}
|
|
17652
17783
|
}
|
|
17653
17784
|
exports.BotsToggleUsername = BotsToggleUsername;
|
|
17654
|
-
class
|
|
17785
|
+
class BotsCanSendMessage extends Function {
|
|
17655
17786
|
get [_1_tl_object_js_1.id]() {
|
|
17656
|
-
return
|
|
17787
|
+
return 0x1359F4E6;
|
|
17657
17788
|
}
|
|
17658
17789
|
static get [_1_tl_object_js_1.paramDesc]() {
|
|
17659
17790
|
return [
|
|
17660
|
-
["
|
|
17661
|
-
["invoice", types._TypeInputInvoice, "InputInvoice"],
|
|
17662
|
-
["themeParams", types._TypeDataJSON, "flags.0?DataJSON"],
|
|
17791
|
+
["bot", types._TypeInputUser, "InputUser"],
|
|
17663
17792
|
];
|
|
17664
17793
|
}
|
|
17665
17794
|
get [_1_tl_object_js_1.params]() {
|
|
17666
17795
|
return [
|
|
17667
|
-
[
|
|
17668
|
-
[this.invoice, types._TypeInputInvoice, "InputInvoice"],
|
|
17669
|
-
[this.themeParams ?? null, types._TypeDataJSON, "flags.0?DataJSON"],
|
|
17796
|
+
[this.bot, types._TypeInputUser, "InputUser"],
|
|
17670
17797
|
];
|
|
17671
17798
|
}
|
|
17672
17799
|
constructor(params) {
|
|
17673
17800
|
super();
|
|
17674
|
-
Object.defineProperty(this, "
|
|
17675
|
-
enumerable: true,
|
|
17676
|
-
configurable: true,
|
|
17677
|
-
writable: true,
|
|
17678
|
-
value: void 0
|
|
17679
|
-
});
|
|
17680
|
-
Object.defineProperty(this, "themeParams", {
|
|
17801
|
+
Object.defineProperty(this, "bot", {
|
|
17681
17802
|
enumerable: true,
|
|
17682
17803
|
configurable: true,
|
|
17683
17804
|
writable: true,
|
|
17684
17805
|
value: void 0
|
|
17685
17806
|
});
|
|
17686
|
-
this.
|
|
17687
|
-
this.themeParams = params.themeParams;
|
|
17807
|
+
this.bot = params.bot;
|
|
17688
17808
|
}
|
|
17689
17809
|
}
|
|
17690
|
-
exports.
|
|
17691
|
-
class
|
|
17810
|
+
exports.BotsCanSendMessage = BotsCanSendMessage;
|
|
17811
|
+
class BotsAllowSendMessage extends Function {
|
|
17692
17812
|
get [_1_tl_object_js_1.id]() {
|
|
17693
|
-
return
|
|
17813
|
+
return 0xF132E3EF;
|
|
17694
17814
|
}
|
|
17695
17815
|
static get [_1_tl_object_js_1.paramDesc]() {
|
|
17696
17816
|
return [
|
|
17697
|
-
["
|
|
17698
|
-
["msgId", "number", "int"],
|
|
17817
|
+
["bot", types._TypeInputUser, "InputUser"],
|
|
17699
17818
|
];
|
|
17700
17819
|
}
|
|
17701
17820
|
get [_1_tl_object_js_1.params]() {
|
|
17702
17821
|
return [
|
|
17703
|
-
[this.
|
|
17704
|
-
[this.msgId, "number", "int"],
|
|
17822
|
+
[this.bot, types._TypeInputUser, "InputUser"],
|
|
17705
17823
|
];
|
|
17706
17824
|
}
|
|
17707
17825
|
constructor(params) {
|
|
17708
17826
|
super();
|
|
17709
|
-
Object.defineProperty(this, "
|
|
17710
|
-
enumerable: true,
|
|
17711
|
-
configurable: true,
|
|
17712
|
-
writable: true,
|
|
17713
|
-
value: void 0
|
|
17714
|
-
});
|
|
17715
|
-
Object.defineProperty(this, "msgId", {
|
|
17827
|
+
Object.defineProperty(this, "bot", {
|
|
17716
17828
|
enumerable: true,
|
|
17717
17829
|
configurable: true,
|
|
17718
17830
|
writable: true,
|
|
17719
17831
|
value: void 0
|
|
17720
17832
|
});
|
|
17721
|
-
this.
|
|
17722
|
-
this.msgId = params.msgId;
|
|
17833
|
+
this.bot = params.bot;
|
|
17723
17834
|
}
|
|
17724
17835
|
}
|
|
17725
|
-
exports.
|
|
17726
|
-
class
|
|
17836
|
+
exports.BotsAllowSendMessage = BotsAllowSendMessage;
|
|
17837
|
+
class BotsInvokeWebViewCustomMethod extends Function {
|
|
17727
17838
|
get [_1_tl_object_js_1.id]() {
|
|
17728
|
-
return
|
|
17839
|
+
return 0x087FC5E7;
|
|
17729
17840
|
}
|
|
17730
17841
|
static get [_1_tl_object_js_1.paramDesc]() {
|
|
17731
17842
|
return [
|
|
17732
|
-
["
|
|
17733
|
-
["
|
|
17734
|
-
["
|
|
17735
|
-
["info", types._TypePaymentRequestedInfo, "PaymentRequestedInfo"],
|
|
17843
|
+
["bot", types._TypeInputUser, "InputUser"],
|
|
17844
|
+
["customMethod", "string", "string"],
|
|
17845
|
+
["params", types._TypeDataJSON, "DataJSON"],
|
|
17736
17846
|
];
|
|
17737
17847
|
}
|
|
17738
17848
|
get [_1_tl_object_js_1.params]() {
|
|
17739
17849
|
return [
|
|
17740
|
-
[
|
|
17741
|
-
[this.
|
|
17742
|
-
[this.
|
|
17743
|
-
[this.info, types._TypePaymentRequestedInfo, "PaymentRequestedInfo"],
|
|
17850
|
+
[this.bot, types._TypeInputUser, "InputUser"],
|
|
17851
|
+
[this.customMethod, "string", "string"],
|
|
17852
|
+
[this.params, types._TypeDataJSON, "DataJSON"],
|
|
17744
17853
|
];
|
|
17745
17854
|
}
|
|
17746
17855
|
constructor(params) {
|
|
17747
17856
|
super();
|
|
17748
|
-
Object.defineProperty(this, "
|
|
17857
|
+
Object.defineProperty(this, "bot", {
|
|
17749
17858
|
enumerable: true,
|
|
17750
17859
|
configurable: true,
|
|
17751
17860
|
writable: true,
|
|
17752
17861
|
value: void 0
|
|
17753
17862
|
});
|
|
17754
|
-
Object.defineProperty(this, "
|
|
17863
|
+
Object.defineProperty(this, "customMethod", {
|
|
17864
|
+
enumerable: true,
|
|
17865
|
+
configurable: true,
|
|
17866
|
+
writable: true,
|
|
17867
|
+
value: void 0
|
|
17868
|
+
});
|
|
17869
|
+
Object.defineProperty(this, "params", {
|
|
17870
|
+
enumerable: true,
|
|
17871
|
+
configurable: true,
|
|
17872
|
+
writable: true,
|
|
17873
|
+
value: void 0
|
|
17874
|
+
});
|
|
17875
|
+
this.bot = params.bot;
|
|
17876
|
+
this.customMethod = params.customMethod;
|
|
17877
|
+
this.params = params.params;
|
|
17878
|
+
}
|
|
17879
|
+
}
|
|
17880
|
+
exports.BotsInvokeWebViewCustomMethod = BotsInvokeWebViewCustomMethod;
|
|
17881
|
+
class PaymentsGetPaymentForm extends Function {
|
|
17882
|
+
get [_1_tl_object_js_1.id]() {
|
|
17883
|
+
return 0x37148DBB;
|
|
17884
|
+
}
|
|
17885
|
+
static get [_1_tl_object_js_1.paramDesc]() {
|
|
17886
|
+
return [
|
|
17887
|
+
["flags", _1_tl_object_js_1.flags, "#"],
|
|
17888
|
+
["invoice", types._TypeInputInvoice, "InputInvoice"],
|
|
17889
|
+
["themeParams", types._TypeDataJSON, "flags.0?DataJSON"],
|
|
17890
|
+
];
|
|
17891
|
+
}
|
|
17892
|
+
get [_1_tl_object_js_1.params]() {
|
|
17893
|
+
return [
|
|
17894
|
+
["flags", _1_tl_object_js_1.flags, "#"],
|
|
17895
|
+
[this.invoice, types._TypeInputInvoice, "InputInvoice"],
|
|
17896
|
+
[this.themeParams ?? null, types._TypeDataJSON, "flags.0?DataJSON"],
|
|
17897
|
+
];
|
|
17898
|
+
}
|
|
17899
|
+
constructor(params) {
|
|
17900
|
+
super();
|
|
17901
|
+
Object.defineProperty(this, "invoice", {
|
|
17902
|
+
enumerable: true,
|
|
17903
|
+
configurable: true,
|
|
17904
|
+
writable: true,
|
|
17905
|
+
value: void 0
|
|
17906
|
+
});
|
|
17907
|
+
Object.defineProperty(this, "themeParams", {
|
|
17908
|
+
enumerable: true,
|
|
17909
|
+
configurable: true,
|
|
17910
|
+
writable: true,
|
|
17911
|
+
value: void 0
|
|
17912
|
+
});
|
|
17913
|
+
this.invoice = params.invoice;
|
|
17914
|
+
this.themeParams = params.themeParams;
|
|
17915
|
+
}
|
|
17916
|
+
}
|
|
17917
|
+
exports.PaymentsGetPaymentForm = PaymentsGetPaymentForm;
|
|
17918
|
+
class PaymentsGetPaymentReceipt extends Function {
|
|
17919
|
+
get [_1_tl_object_js_1.id]() {
|
|
17920
|
+
return 0x2478D1CC;
|
|
17921
|
+
}
|
|
17922
|
+
static get [_1_tl_object_js_1.paramDesc]() {
|
|
17923
|
+
return [
|
|
17924
|
+
["peer", types._TypeInputPeer, "InputPeer"],
|
|
17925
|
+
["msgId", "number", "int"],
|
|
17926
|
+
];
|
|
17927
|
+
}
|
|
17928
|
+
get [_1_tl_object_js_1.params]() {
|
|
17929
|
+
return [
|
|
17930
|
+
[this.peer, types._TypeInputPeer, "InputPeer"],
|
|
17931
|
+
[this.msgId, "number", "int"],
|
|
17932
|
+
];
|
|
17933
|
+
}
|
|
17934
|
+
constructor(params) {
|
|
17935
|
+
super();
|
|
17936
|
+
Object.defineProperty(this, "peer", {
|
|
17937
|
+
enumerable: true,
|
|
17938
|
+
configurable: true,
|
|
17939
|
+
writable: true,
|
|
17940
|
+
value: void 0
|
|
17941
|
+
});
|
|
17942
|
+
Object.defineProperty(this, "msgId", {
|
|
17943
|
+
enumerable: true,
|
|
17944
|
+
configurable: true,
|
|
17945
|
+
writable: true,
|
|
17946
|
+
value: void 0
|
|
17947
|
+
});
|
|
17948
|
+
this.peer = params.peer;
|
|
17949
|
+
this.msgId = params.msgId;
|
|
17950
|
+
}
|
|
17951
|
+
}
|
|
17952
|
+
exports.PaymentsGetPaymentReceipt = PaymentsGetPaymentReceipt;
|
|
17953
|
+
class PaymentsValidateRequestedInfo extends Function {
|
|
17954
|
+
get [_1_tl_object_js_1.id]() {
|
|
17955
|
+
return 0xB6C8F12B;
|
|
17956
|
+
}
|
|
17957
|
+
static get [_1_tl_object_js_1.paramDesc]() {
|
|
17958
|
+
return [
|
|
17959
|
+
["flags", _1_tl_object_js_1.flags, "#"],
|
|
17960
|
+
["save", "true", "flags.0?true"],
|
|
17961
|
+
["invoice", types._TypeInputInvoice, "InputInvoice"],
|
|
17962
|
+
["info", types._TypePaymentRequestedInfo, "PaymentRequestedInfo"],
|
|
17963
|
+
];
|
|
17964
|
+
}
|
|
17965
|
+
get [_1_tl_object_js_1.params]() {
|
|
17966
|
+
return [
|
|
17967
|
+
["flags", _1_tl_object_js_1.flags, "#"],
|
|
17968
|
+
[this.save ?? null, "true", "flags.0?true"],
|
|
17969
|
+
[this.invoice, types._TypeInputInvoice, "InputInvoice"],
|
|
17970
|
+
[this.info, types._TypePaymentRequestedInfo, "PaymentRequestedInfo"],
|
|
17971
|
+
];
|
|
17972
|
+
}
|
|
17973
|
+
constructor(params) {
|
|
17974
|
+
super();
|
|
17975
|
+
Object.defineProperty(this, "save", {
|
|
17976
|
+
enumerable: true,
|
|
17977
|
+
configurable: true,
|
|
17978
|
+
writable: true,
|
|
17979
|
+
value: void 0
|
|
17980
|
+
});
|
|
17981
|
+
Object.defineProperty(this, "invoice", {
|
|
17755
17982
|
enumerable: true,
|
|
17756
17983
|
configurable: true,
|
|
17757
17984
|
writable: true,
|
|
@@ -18042,6 +18269,165 @@ class PaymentsCanPurchasePremium extends Function {
|
|
|
18042
18269
|
}
|
|
18043
18270
|
}
|
|
18044
18271
|
exports.PaymentsCanPurchasePremium = PaymentsCanPurchasePremium;
|
|
18272
|
+
class PaymentsGetPremiumGiftCodeOptions extends Function {
|
|
18273
|
+
get [_1_tl_object_js_1.id]() {
|
|
18274
|
+
return 0x2757BA54;
|
|
18275
|
+
}
|
|
18276
|
+
static get [_1_tl_object_js_1.paramDesc]() {
|
|
18277
|
+
return [
|
|
18278
|
+
["flags", _1_tl_object_js_1.flags, "#"],
|
|
18279
|
+
["boostPeer", types._TypeInputPeer, "flags.0?InputPeer"],
|
|
18280
|
+
];
|
|
18281
|
+
}
|
|
18282
|
+
get [_1_tl_object_js_1.params]() {
|
|
18283
|
+
return [
|
|
18284
|
+
["flags", _1_tl_object_js_1.flags, "#"],
|
|
18285
|
+
[this.boostPeer ?? null, types._TypeInputPeer, "flags.0?InputPeer"],
|
|
18286
|
+
];
|
|
18287
|
+
}
|
|
18288
|
+
constructor(params) {
|
|
18289
|
+
super();
|
|
18290
|
+
Object.defineProperty(this, "boostPeer", {
|
|
18291
|
+
enumerable: true,
|
|
18292
|
+
configurable: true,
|
|
18293
|
+
writable: true,
|
|
18294
|
+
value: void 0
|
|
18295
|
+
});
|
|
18296
|
+
this.boostPeer = params?.boostPeer;
|
|
18297
|
+
}
|
|
18298
|
+
}
|
|
18299
|
+
exports.PaymentsGetPremiumGiftCodeOptions = PaymentsGetPremiumGiftCodeOptions;
|
|
18300
|
+
class PaymentsCheckGiftCode extends Function {
|
|
18301
|
+
get [_1_tl_object_js_1.id]() {
|
|
18302
|
+
return 0x8E51B4C1;
|
|
18303
|
+
}
|
|
18304
|
+
static get [_1_tl_object_js_1.paramDesc]() {
|
|
18305
|
+
return [
|
|
18306
|
+
["slug", "string", "string"],
|
|
18307
|
+
];
|
|
18308
|
+
}
|
|
18309
|
+
get [_1_tl_object_js_1.params]() {
|
|
18310
|
+
return [
|
|
18311
|
+
[this.slug, "string", "string"],
|
|
18312
|
+
];
|
|
18313
|
+
}
|
|
18314
|
+
constructor(params) {
|
|
18315
|
+
super();
|
|
18316
|
+
Object.defineProperty(this, "slug", {
|
|
18317
|
+
enumerable: true,
|
|
18318
|
+
configurable: true,
|
|
18319
|
+
writable: true,
|
|
18320
|
+
value: void 0
|
|
18321
|
+
});
|
|
18322
|
+
this.slug = params.slug;
|
|
18323
|
+
}
|
|
18324
|
+
}
|
|
18325
|
+
exports.PaymentsCheckGiftCode = PaymentsCheckGiftCode;
|
|
18326
|
+
class PaymentsApplyGiftCode extends Function {
|
|
18327
|
+
get [_1_tl_object_js_1.id]() {
|
|
18328
|
+
return 0xF6E26854;
|
|
18329
|
+
}
|
|
18330
|
+
static get [_1_tl_object_js_1.paramDesc]() {
|
|
18331
|
+
return [
|
|
18332
|
+
["slug", "string", "string"],
|
|
18333
|
+
];
|
|
18334
|
+
}
|
|
18335
|
+
get [_1_tl_object_js_1.params]() {
|
|
18336
|
+
return [
|
|
18337
|
+
[this.slug, "string", "string"],
|
|
18338
|
+
];
|
|
18339
|
+
}
|
|
18340
|
+
constructor(params) {
|
|
18341
|
+
super();
|
|
18342
|
+
Object.defineProperty(this, "slug", {
|
|
18343
|
+
enumerable: true,
|
|
18344
|
+
configurable: true,
|
|
18345
|
+
writable: true,
|
|
18346
|
+
value: void 0
|
|
18347
|
+
});
|
|
18348
|
+
this.slug = params.slug;
|
|
18349
|
+
}
|
|
18350
|
+
}
|
|
18351
|
+
exports.PaymentsApplyGiftCode = PaymentsApplyGiftCode;
|
|
18352
|
+
class PaymentsGetGiveawayInfo extends Function {
|
|
18353
|
+
get [_1_tl_object_js_1.id]() {
|
|
18354
|
+
return 0xF4239425;
|
|
18355
|
+
}
|
|
18356
|
+
static get [_1_tl_object_js_1.paramDesc]() {
|
|
18357
|
+
return [
|
|
18358
|
+
["peer", types._TypeInputPeer, "InputPeer"],
|
|
18359
|
+
["msgId", "number", "int"],
|
|
18360
|
+
];
|
|
18361
|
+
}
|
|
18362
|
+
get [_1_tl_object_js_1.params]() {
|
|
18363
|
+
return [
|
|
18364
|
+
[this.peer, types._TypeInputPeer, "InputPeer"],
|
|
18365
|
+
[this.msgId, "number", "int"],
|
|
18366
|
+
];
|
|
18367
|
+
}
|
|
18368
|
+
constructor(params) {
|
|
18369
|
+
super();
|
|
18370
|
+
Object.defineProperty(this, "peer", {
|
|
18371
|
+
enumerable: true,
|
|
18372
|
+
configurable: true,
|
|
18373
|
+
writable: true,
|
|
18374
|
+
value: void 0
|
|
18375
|
+
});
|
|
18376
|
+
Object.defineProperty(this, "msgId", {
|
|
18377
|
+
enumerable: true,
|
|
18378
|
+
configurable: true,
|
|
18379
|
+
writable: true,
|
|
18380
|
+
value: void 0
|
|
18381
|
+
});
|
|
18382
|
+
this.peer = params.peer;
|
|
18383
|
+
this.msgId = params.msgId;
|
|
18384
|
+
}
|
|
18385
|
+
}
|
|
18386
|
+
exports.PaymentsGetGiveawayInfo = PaymentsGetGiveawayInfo;
|
|
18387
|
+
class PaymentsLaunchPrepaidGiveaway extends Function {
|
|
18388
|
+
get [_1_tl_object_js_1.id]() {
|
|
18389
|
+
return 0x5FF58F20;
|
|
18390
|
+
}
|
|
18391
|
+
static get [_1_tl_object_js_1.paramDesc]() {
|
|
18392
|
+
return [
|
|
18393
|
+
["peer", types._TypeInputPeer, "InputPeer"],
|
|
18394
|
+
["giveawayId", "bigint", "long"],
|
|
18395
|
+
["purpose", types._TypeInputStorePaymentPurpose, "InputStorePaymentPurpose"],
|
|
18396
|
+
];
|
|
18397
|
+
}
|
|
18398
|
+
get [_1_tl_object_js_1.params]() {
|
|
18399
|
+
return [
|
|
18400
|
+
[this.peer, types._TypeInputPeer, "InputPeer"],
|
|
18401
|
+
[this.giveawayId, "bigint", "long"],
|
|
18402
|
+
[this.purpose, types._TypeInputStorePaymentPurpose, "InputStorePaymentPurpose"],
|
|
18403
|
+
];
|
|
18404
|
+
}
|
|
18405
|
+
constructor(params) {
|
|
18406
|
+
super();
|
|
18407
|
+
Object.defineProperty(this, "peer", {
|
|
18408
|
+
enumerable: true,
|
|
18409
|
+
configurable: true,
|
|
18410
|
+
writable: true,
|
|
18411
|
+
value: void 0
|
|
18412
|
+
});
|
|
18413
|
+
Object.defineProperty(this, "giveawayId", {
|
|
18414
|
+
enumerable: true,
|
|
18415
|
+
configurable: true,
|
|
18416
|
+
writable: true,
|
|
18417
|
+
value: void 0
|
|
18418
|
+
});
|
|
18419
|
+
Object.defineProperty(this, "purpose", {
|
|
18420
|
+
enumerable: true,
|
|
18421
|
+
configurable: true,
|
|
18422
|
+
writable: true,
|
|
18423
|
+
value: void 0
|
|
18424
|
+
});
|
|
18425
|
+
this.peer = params.peer;
|
|
18426
|
+
this.giveawayId = params.giveawayId;
|
|
18427
|
+
this.purpose = params.purpose;
|
|
18428
|
+
}
|
|
18429
|
+
}
|
|
18430
|
+
exports.PaymentsLaunchPrepaidGiveaway = PaymentsLaunchPrepaidGiveaway;
|
|
18045
18431
|
class StickersCreateStickerSet extends Function {
|
|
18046
18432
|
get [_1_tl_object_js_1.id]() {
|
|
18047
18433
|
return 0x9021AB67;
|
|
@@ -20585,15 +20971,42 @@ class ChatlistsLeaveChatlist extends Function {
|
|
|
20585
20971
|
}
|
|
20586
20972
|
}
|
|
20587
20973
|
exports.ChatlistsLeaveChatlist = ChatlistsLeaveChatlist;
|
|
20588
|
-
class
|
|
20974
|
+
class StoriesCanSendStory extends Function {
|
|
20589
20975
|
get [_1_tl_object_js_1.id]() {
|
|
20590
|
-
return
|
|
20976
|
+
return 0xC7DFDFDD;
|
|
20591
20977
|
}
|
|
20592
20978
|
static get [_1_tl_object_js_1.paramDesc]() {
|
|
20593
20979
|
return [
|
|
20594
|
-
["
|
|
20595
|
-
|
|
20980
|
+
["peer", types._TypeInputPeer, "InputPeer"],
|
|
20981
|
+
];
|
|
20982
|
+
}
|
|
20983
|
+
get [_1_tl_object_js_1.params]() {
|
|
20984
|
+
return [
|
|
20985
|
+
[this.peer, types._TypeInputPeer, "InputPeer"],
|
|
20986
|
+
];
|
|
20987
|
+
}
|
|
20988
|
+
constructor(params) {
|
|
20989
|
+
super();
|
|
20990
|
+
Object.defineProperty(this, "peer", {
|
|
20991
|
+
enumerable: true,
|
|
20992
|
+
configurable: true,
|
|
20993
|
+
writable: true,
|
|
20994
|
+
value: void 0
|
|
20995
|
+
});
|
|
20996
|
+
this.peer = params.peer;
|
|
20997
|
+
}
|
|
20998
|
+
}
|
|
20999
|
+
exports.StoriesCanSendStory = StoriesCanSendStory;
|
|
21000
|
+
class StoriesSendStory extends Function {
|
|
21001
|
+
get [_1_tl_object_js_1.id]() {
|
|
21002
|
+
return 0xBCB73644;
|
|
21003
|
+
}
|
|
21004
|
+
static get [_1_tl_object_js_1.paramDesc]() {
|
|
21005
|
+
return [
|
|
21006
|
+
["flags", _1_tl_object_js_1.flags, "#"],
|
|
21007
|
+
["pinned", "true", "flags.2?true"],
|
|
20596
21008
|
["noforwards", "true", "flags.4?true"],
|
|
21009
|
+
["peer", types._TypeInputPeer, "InputPeer"],
|
|
20597
21010
|
["media", types._TypeInputMedia, "InputMedia"],
|
|
20598
21011
|
["mediaAreas", [types._TypeMediaArea], "flags.5?Vector<MediaArea>"],
|
|
20599
21012
|
["caption", "string", "flags.0?string"],
|
|
@@ -20608,6 +21021,7 @@ class StoriesSendStory extends Function {
|
|
|
20608
21021
|
["flags", _1_tl_object_js_1.flags, "#"],
|
|
20609
21022
|
[this.pinned ?? null, "true", "flags.2?true"],
|
|
20610
21023
|
[this.noforwards ?? null, "true", "flags.4?true"],
|
|
21024
|
+
[this.peer, types._TypeInputPeer, "InputPeer"],
|
|
20611
21025
|
[this.media, types._TypeInputMedia, "InputMedia"],
|
|
20612
21026
|
[this.mediaAreas ?? null, [types._TypeMediaArea], "flags.5?Vector<MediaArea>"],
|
|
20613
21027
|
[this.caption ?? null, "string", "flags.0?string"],
|
|
@@ -20631,6 +21045,12 @@ class StoriesSendStory extends Function {
|
|
|
20631
21045
|
writable: true,
|
|
20632
21046
|
value: void 0
|
|
20633
21047
|
});
|
|
21048
|
+
Object.defineProperty(this, "peer", {
|
|
21049
|
+
enumerable: true,
|
|
21050
|
+
configurable: true,
|
|
21051
|
+
writable: true,
|
|
21052
|
+
value: void 0
|
|
21053
|
+
});
|
|
20634
21054
|
Object.defineProperty(this, "media", {
|
|
20635
21055
|
enumerable: true,
|
|
20636
21056
|
configurable: true,
|
|
@@ -20675,6 +21095,7 @@ class StoriesSendStory extends Function {
|
|
|
20675
21095
|
});
|
|
20676
21096
|
this.pinned = params.pinned;
|
|
20677
21097
|
this.noforwards = params.noforwards;
|
|
21098
|
+
this.peer = params.peer;
|
|
20678
21099
|
this.media = params.media;
|
|
20679
21100
|
this.mediaAreas = params.mediaAreas;
|
|
20680
21101
|
this.caption = params.caption;
|
|
@@ -20687,11 +21108,12 @@ class StoriesSendStory extends Function {
|
|
|
20687
21108
|
exports.StoriesSendStory = StoriesSendStory;
|
|
20688
21109
|
class StoriesEditStory extends Function {
|
|
20689
21110
|
get [_1_tl_object_js_1.id]() {
|
|
20690
|
-
return
|
|
21111
|
+
return 0xB583BA46;
|
|
20691
21112
|
}
|
|
20692
21113
|
static get [_1_tl_object_js_1.paramDesc]() {
|
|
20693
21114
|
return [
|
|
20694
21115
|
["flags", _1_tl_object_js_1.flags, "#"],
|
|
21116
|
+
["peer", types._TypeInputPeer, "InputPeer"],
|
|
20695
21117
|
["id", "number", "int"],
|
|
20696
21118
|
["media", types._TypeInputMedia, "flags.0?InputMedia"],
|
|
20697
21119
|
["mediaAreas", [types._TypeMediaArea], "flags.3?Vector<MediaArea>"],
|
|
@@ -20703,6 +21125,7 @@ class StoriesEditStory extends Function {
|
|
|
20703
21125
|
get [_1_tl_object_js_1.params]() {
|
|
20704
21126
|
return [
|
|
20705
21127
|
["flags", _1_tl_object_js_1.flags, "#"],
|
|
21128
|
+
[this.peer, types._TypeInputPeer, "InputPeer"],
|
|
20706
21129
|
[this.id, "number", "int"],
|
|
20707
21130
|
[this.media ?? null, types._TypeInputMedia, "flags.0?InputMedia"],
|
|
20708
21131
|
[this.mediaAreas ?? null, [types._TypeMediaArea], "flags.3?Vector<MediaArea>"],
|
|
@@ -20713,6 +21136,12 @@ class StoriesEditStory extends Function {
|
|
|
20713
21136
|
}
|
|
20714
21137
|
constructor(params) {
|
|
20715
21138
|
super();
|
|
21139
|
+
Object.defineProperty(this, "peer", {
|
|
21140
|
+
enumerable: true,
|
|
21141
|
+
configurable: true,
|
|
21142
|
+
writable: true,
|
|
21143
|
+
value: void 0
|
|
21144
|
+
});
|
|
20716
21145
|
Object.defineProperty(this, "id", {
|
|
20717
21146
|
enumerable: true,
|
|
20718
21147
|
configurable: true,
|
|
@@ -20749,6 +21178,7 @@ class StoriesEditStory extends Function {
|
|
|
20749
21178
|
writable: true,
|
|
20750
21179
|
value: void 0
|
|
20751
21180
|
});
|
|
21181
|
+
this.peer = params.peer;
|
|
20752
21182
|
this.id = params.id;
|
|
20753
21183
|
this.media = params.media;
|
|
20754
21184
|
this.mediaAreas = params.mediaAreas;
|
|
@@ -20760,48 +21190,65 @@ class StoriesEditStory extends Function {
|
|
|
20760
21190
|
exports.StoriesEditStory = StoriesEditStory;
|
|
20761
21191
|
class StoriesDeleteStories extends Function {
|
|
20762
21192
|
get [_1_tl_object_js_1.id]() {
|
|
20763
|
-
return
|
|
21193
|
+
return 0xAE59DB5F;
|
|
20764
21194
|
}
|
|
20765
21195
|
static get [_1_tl_object_js_1.paramDesc]() {
|
|
20766
21196
|
return [
|
|
21197
|
+
["peer", types._TypeInputPeer, "InputPeer"],
|
|
20767
21198
|
["id", ["number"], "Vector<int>"],
|
|
20768
21199
|
];
|
|
20769
21200
|
}
|
|
20770
21201
|
get [_1_tl_object_js_1.params]() {
|
|
20771
21202
|
return [
|
|
21203
|
+
[this.peer, types._TypeInputPeer, "InputPeer"],
|
|
20772
21204
|
[this.id, ["number"], "Vector<int>"],
|
|
20773
21205
|
];
|
|
20774
21206
|
}
|
|
20775
21207
|
constructor(params) {
|
|
20776
21208
|
super();
|
|
21209
|
+
Object.defineProperty(this, "peer", {
|
|
21210
|
+
enumerable: true,
|
|
21211
|
+
configurable: true,
|
|
21212
|
+
writable: true,
|
|
21213
|
+
value: void 0
|
|
21214
|
+
});
|
|
20777
21215
|
Object.defineProperty(this, "id", {
|
|
20778
21216
|
enumerable: true,
|
|
20779
21217
|
configurable: true,
|
|
20780
21218
|
writable: true,
|
|
20781
21219
|
value: void 0
|
|
20782
21220
|
});
|
|
21221
|
+
this.peer = params.peer;
|
|
20783
21222
|
this.id = params.id;
|
|
20784
21223
|
}
|
|
20785
21224
|
}
|
|
20786
21225
|
exports.StoriesDeleteStories = StoriesDeleteStories;
|
|
20787
21226
|
class StoriesTogglePinned extends Function {
|
|
20788
21227
|
get [_1_tl_object_js_1.id]() {
|
|
20789
|
-
return
|
|
21228
|
+
return 0x9A75A1EF;
|
|
20790
21229
|
}
|
|
20791
21230
|
static get [_1_tl_object_js_1.paramDesc]() {
|
|
20792
21231
|
return [
|
|
21232
|
+
["peer", types._TypeInputPeer, "InputPeer"],
|
|
20793
21233
|
["id", ["number"], "Vector<int>"],
|
|
20794
21234
|
["pinned", "boolean", "Bool"],
|
|
20795
21235
|
];
|
|
20796
21236
|
}
|
|
20797
21237
|
get [_1_tl_object_js_1.params]() {
|
|
20798
21238
|
return [
|
|
21239
|
+
[this.peer, types._TypeInputPeer, "InputPeer"],
|
|
20799
21240
|
[this.id, ["number"], "Vector<int>"],
|
|
20800
21241
|
[this.pinned, "boolean", "Bool"],
|
|
20801
21242
|
];
|
|
20802
21243
|
}
|
|
20803
21244
|
constructor(params) {
|
|
20804
21245
|
super();
|
|
21246
|
+
Object.defineProperty(this, "peer", {
|
|
21247
|
+
enumerable: true,
|
|
21248
|
+
configurable: true,
|
|
21249
|
+
writable: true,
|
|
21250
|
+
value: void 0
|
|
21251
|
+
});
|
|
20805
21252
|
Object.defineProperty(this, "id", {
|
|
20806
21253
|
enumerable: true,
|
|
20807
21254
|
configurable: true,
|
|
@@ -20814,6 +21261,7 @@ class StoriesTogglePinned extends Function {
|
|
|
20814
21261
|
writable: true,
|
|
20815
21262
|
value: void 0
|
|
20816
21263
|
});
|
|
21264
|
+
this.peer = params.peer;
|
|
20817
21265
|
this.id = params.id;
|
|
20818
21266
|
this.pinned = params.pinned;
|
|
20819
21267
|
}
|
|
@@ -20865,53 +21313,27 @@ class StoriesGetAllStories extends Function {
|
|
|
20865
21313
|
}
|
|
20866
21314
|
}
|
|
20867
21315
|
exports.StoriesGetAllStories = StoriesGetAllStories;
|
|
20868
|
-
class StoriesGetUserStories extends Function {
|
|
20869
|
-
get [_1_tl_object_js_1.id]() {
|
|
20870
|
-
return 0x96D528E0;
|
|
20871
|
-
}
|
|
20872
|
-
static get [_1_tl_object_js_1.paramDesc]() {
|
|
20873
|
-
return [
|
|
20874
|
-
["userId", types._TypeInputUser, "InputUser"],
|
|
20875
|
-
];
|
|
20876
|
-
}
|
|
20877
|
-
get [_1_tl_object_js_1.params]() {
|
|
20878
|
-
return [
|
|
20879
|
-
[this.userId, types._TypeInputUser, "InputUser"],
|
|
20880
|
-
];
|
|
20881
|
-
}
|
|
20882
|
-
constructor(params) {
|
|
20883
|
-
super();
|
|
20884
|
-
Object.defineProperty(this, "userId", {
|
|
20885
|
-
enumerable: true,
|
|
20886
|
-
configurable: true,
|
|
20887
|
-
writable: true,
|
|
20888
|
-
value: void 0
|
|
20889
|
-
});
|
|
20890
|
-
this.userId = params.userId;
|
|
20891
|
-
}
|
|
20892
|
-
}
|
|
20893
|
-
exports.StoriesGetUserStories = StoriesGetUserStories;
|
|
20894
21316
|
class StoriesGetPinnedStories extends Function {
|
|
20895
21317
|
get [_1_tl_object_js_1.id]() {
|
|
20896
|
-
return
|
|
21318
|
+
return 0x5821A5DC;
|
|
20897
21319
|
}
|
|
20898
21320
|
static get [_1_tl_object_js_1.paramDesc]() {
|
|
20899
21321
|
return [
|
|
20900
|
-
["
|
|
21322
|
+
["peer", types._TypeInputPeer, "InputPeer"],
|
|
20901
21323
|
["offsetId", "number", "int"],
|
|
20902
21324
|
["limit", "number", "int"],
|
|
20903
21325
|
];
|
|
20904
21326
|
}
|
|
20905
21327
|
get [_1_tl_object_js_1.params]() {
|
|
20906
21328
|
return [
|
|
20907
|
-
[this.
|
|
21329
|
+
[this.peer, types._TypeInputPeer, "InputPeer"],
|
|
20908
21330
|
[this.offsetId, "number", "int"],
|
|
20909
21331
|
[this.limit, "number", "int"],
|
|
20910
21332
|
];
|
|
20911
21333
|
}
|
|
20912
21334
|
constructor(params) {
|
|
20913
21335
|
super();
|
|
20914
|
-
Object.defineProperty(this, "
|
|
21336
|
+
Object.defineProperty(this, "peer", {
|
|
20915
21337
|
enumerable: true,
|
|
20916
21338
|
configurable: true,
|
|
20917
21339
|
writable: true,
|
|
@@ -20929,7 +21351,7 @@ class StoriesGetPinnedStories extends Function {
|
|
|
20929
21351
|
writable: true,
|
|
20930
21352
|
value: void 0
|
|
20931
21353
|
});
|
|
20932
|
-
this.
|
|
21354
|
+
this.peer = params.peer;
|
|
20933
21355
|
this.offsetId = params.offsetId;
|
|
20934
21356
|
this.limit = params.limit;
|
|
20935
21357
|
}
|
|
@@ -20937,22 +21359,30 @@ class StoriesGetPinnedStories extends Function {
|
|
|
20937
21359
|
exports.StoriesGetPinnedStories = StoriesGetPinnedStories;
|
|
20938
21360
|
class StoriesGetStoriesArchive extends Function {
|
|
20939
21361
|
get [_1_tl_object_js_1.id]() {
|
|
20940
|
-
return
|
|
21362
|
+
return 0xB4352016;
|
|
20941
21363
|
}
|
|
20942
21364
|
static get [_1_tl_object_js_1.paramDesc]() {
|
|
20943
21365
|
return [
|
|
21366
|
+
["peer", types._TypeInputPeer, "InputPeer"],
|
|
20944
21367
|
["offsetId", "number", "int"],
|
|
20945
21368
|
["limit", "number", "int"],
|
|
20946
21369
|
];
|
|
20947
21370
|
}
|
|
20948
21371
|
get [_1_tl_object_js_1.params]() {
|
|
20949
21372
|
return [
|
|
21373
|
+
[this.peer, types._TypeInputPeer, "InputPeer"],
|
|
20950
21374
|
[this.offsetId, "number", "int"],
|
|
20951
21375
|
[this.limit, "number", "int"],
|
|
20952
21376
|
];
|
|
20953
21377
|
}
|
|
20954
21378
|
constructor(params) {
|
|
20955
21379
|
super();
|
|
21380
|
+
Object.defineProperty(this, "peer", {
|
|
21381
|
+
enumerable: true,
|
|
21382
|
+
configurable: true,
|
|
21383
|
+
writable: true,
|
|
21384
|
+
value: void 0
|
|
21385
|
+
});
|
|
20956
21386
|
Object.defineProperty(this, "offsetId", {
|
|
20957
21387
|
enumerable: true,
|
|
20958
21388
|
configurable: true,
|
|
@@ -20965,6 +21395,7 @@ class StoriesGetStoriesArchive extends Function {
|
|
|
20965
21395
|
writable: true,
|
|
20966
21396
|
value: void 0
|
|
20967
21397
|
});
|
|
21398
|
+
this.peer = params.peer;
|
|
20968
21399
|
this.offsetId = params.offsetId;
|
|
20969
21400
|
this.limit = params.limit;
|
|
20970
21401
|
}
|
|
@@ -20972,23 +21403,23 @@ class StoriesGetStoriesArchive extends Function {
|
|
|
20972
21403
|
exports.StoriesGetStoriesArchive = StoriesGetStoriesArchive;
|
|
20973
21404
|
class StoriesGetStoriesByID extends Function {
|
|
20974
21405
|
get [_1_tl_object_js_1.id]() {
|
|
20975
|
-
return
|
|
21406
|
+
return 0x5774CA74;
|
|
20976
21407
|
}
|
|
20977
21408
|
static get [_1_tl_object_js_1.paramDesc]() {
|
|
20978
21409
|
return [
|
|
20979
|
-
["
|
|
21410
|
+
["peer", types._TypeInputPeer, "InputPeer"],
|
|
20980
21411
|
["id", ["number"], "Vector<int>"],
|
|
20981
21412
|
];
|
|
20982
21413
|
}
|
|
20983
21414
|
get [_1_tl_object_js_1.params]() {
|
|
20984
21415
|
return [
|
|
20985
|
-
[this.
|
|
21416
|
+
[this.peer, types._TypeInputPeer, "InputPeer"],
|
|
20986
21417
|
[this.id, ["number"], "Vector<int>"],
|
|
20987
21418
|
];
|
|
20988
21419
|
}
|
|
20989
21420
|
constructor(params) {
|
|
20990
21421
|
super();
|
|
20991
|
-
Object.defineProperty(this, "
|
|
21422
|
+
Object.defineProperty(this, "peer", {
|
|
20992
21423
|
enumerable: true,
|
|
20993
21424
|
configurable: true,
|
|
20994
21425
|
writable: true,
|
|
@@ -21000,7 +21431,7 @@ class StoriesGetStoriesByID extends Function {
|
|
|
21000
21431
|
writable: true,
|
|
21001
21432
|
value: void 0
|
|
21002
21433
|
});
|
|
21003
|
-
this.
|
|
21434
|
+
this.peer = params.peer;
|
|
21004
21435
|
this.id = params.id;
|
|
21005
21436
|
}
|
|
21006
21437
|
}
|
|
@@ -21031,40 +21462,25 @@ class StoriesToggleAllStoriesHidden extends Function {
|
|
|
21031
21462
|
}
|
|
21032
21463
|
}
|
|
21033
21464
|
exports.StoriesToggleAllStoriesHidden = StoriesToggleAllStoriesHidden;
|
|
21034
|
-
class StoriesGetAllReadUserStories extends Function {
|
|
21035
|
-
get [_1_tl_object_js_1.id]() {
|
|
21036
|
-
return 0x729C562C;
|
|
21037
|
-
}
|
|
21038
|
-
static get [_1_tl_object_js_1.paramDesc]() {
|
|
21039
|
-
return [];
|
|
21040
|
-
}
|
|
21041
|
-
get [_1_tl_object_js_1.params]() {
|
|
21042
|
-
return [];
|
|
21043
|
-
}
|
|
21044
|
-
constructor() {
|
|
21045
|
-
super();
|
|
21046
|
-
}
|
|
21047
|
-
}
|
|
21048
|
-
exports.StoriesGetAllReadUserStories = StoriesGetAllReadUserStories;
|
|
21049
21465
|
class StoriesReadStories extends Function {
|
|
21050
21466
|
get [_1_tl_object_js_1.id]() {
|
|
21051
|
-
return
|
|
21467
|
+
return 0xA556DAC8;
|
|
21052
21468
|
}
|
|
21053
21469
|
static get [_1_tl_object_js_1.paramDesc]() {
|
|
21054
21470
|
return [
|
|
21055
|
-
["
|
|
21471
|
+
["peer", types._TypeInputPeer, "InputPeer"],
|
|
21056
21472
|
["maxId", "number", "int"],
|
|
21057
21473
|
];
|
|
21058
21474
|
}
|
|
21059
21475
|
get [_1_tl_object_js_1.params]() {
|
|
21060
21476
|
return [
|
|
21061
|
-
[this.
|
|
21477
|
+
[this.peer, types._TypeInputPeer, "InputPeer"],
|
|
21062
21478
|
[this.maxId, "number", "int"],
|
|
21063
21479
|
];
|
|
21064
21480
|
}
|
|
21065
21481
|
constructor(params) {
|
|
21066
21482
|
super();
|
|
21067
|
-
Object.defineProperty(this, "
|
|
21483
|
+
Object.defineProperty(this, "peer", {
|
|
21068
21484
|
enumerable: true,
|
|
21069
21485
|
configurable: true,
|
|
21070
21486
|
writable: true,
|
|
@@ -21076,30 +21492,30 @@ class StoriesReadStories extends Function {
|
|
|
21076
21492
|
writable: true,
|
|
21077
21493
|
value: void 0
|
|
21078
21494
|
});
|
|
21079
|
-
this.
|
|
21495
|
+
this.peer = params.peer;
|
|
21080
21496
|
this.maxId = params.maxId;
|
|
21081
21497
|
}
|
|
21082
21498
|
}
|
|
21083
21499
|
exports.StoriesReadStories = StoriesReadStories;
|
|
21084
21500
|
class StoriesIncrementStoryViews extends Function {
|
|
21085
21501
|
get [_1_tl_object_js_1.id]() {
|
|
21086
|
-
return
|
|
21502
|
+
return 0xB2028AFB;
|
|
21087
21503
|
}
|
|
21088
21504
|
static get [_1_tl_object_js_1.paramDesc]() {
|
|
21089
21505
|
return [
|
|
21090
|
-
["
|
|
21506
|
+
["peer", types._TypeInputPeer, "InputPeer"],
|
|
21091
21507
|
["id", ["number"], "Vector<int>"],
|
|
21092
21508
|
];
|
|
21093
21509
|
}
|
|
21094
21510
|
get [_1_tl_object_js_1.params]() {
|
|
21095
21511
|
return [
|
|
21096
|
-
[this.
|
|
21512
|
+
[this.peer, types._TypeInputPeer, "InputPeer"],
|
|
21097
21513
|
[this.id, ["number"], "Vector<int>"],
|
|
21098
21514
|
];
|
|
21099
21515
|
}
|
|
21100
21516
|
constructor(params) {
|
|
21101
21517
|
super();
|
|
21102
|
-
Object.defineProperty(this, "
|
|
21518
|
+
Object.defineProperty(this, "peer", {
|
|
21103
21519
|
enumerable: true,
|
|
21104
21520
|
configurable: true,
|
|
21105
21521
|
writable: true,
|
|
@@ -21111,20 +21527,21 @@ class StoriesIncrementStoryViews extends Function {
|
|
|
21111
21527
|
writable: true,
|
|
21112
21528
|
value: void 0
|
|
21113
21529
|
});
|
|
21114
|
-
this.
|
|
21530
|
+
this.peer = params.peer;
|
|
21115
21531
|
this.id = params.id;
|
|
21116
21532
|
}
|
|
21117
21533
|
}
|
|
21118
21534
|
exports.StoriesIncrementStoryViews = StoriesIncrementStoryViews;
|
|
21119
21535
|
class StoriesGetStoryViewsList extends Function {
|
|
21120
21536
|
get [_1_tl_object_js_1.id]() {
|
|
21121
|
-
return
|
|
21537
|
+
return 0x7ED23C57;
|
|
21122
21538
|
}
|
|
21123
21539
|
static get [_1_tl_object_js_1.paramDesc]() {
|
|
21124
21540
|
return [
|
|
21125
21541
|
["flags", _1_tl_object_js_1.flags, "#"],
|
|
21126
21542
|
["justContacts", "true", "flags.0?true"],
|
|
21127
21543
|
["reactionsFirst", "true", "flags.2?true"],
|
|
21544
|
+
["peer", types._TypeInputPeer, "InputPeer"],
|
|
21128
21545
|
["q", "string", "flags.1?string"],
|
|
21129
21546
|
["id", "number", "int"],
|
|
21130
21547
|
["offset", "string", "string"],
|
|
@@ -21136,6 +21553,7 @@ class StoriesGetStoryViewsList extends Function {
|
|
|
21136
21553
|
["flags", _1_tl_object_js_1.flags, "#"],
|
|
21137
21554
|
[this.justContacts ?? null, "true", "flags.0?true"],
|
|
21138
21555
|
[this.reactionsFirst ?? null, "true", "flags.2?true"],
|
|
21556
|
+
[this.peer, types._TypeInputPeer, "InputPeer"],
|
|
21139
21557
|
[this.q ?? null, "string", "flags.1?string"],
|
|
21140
21558
|
[this.id, "number", "int"],
|
|
21141
21559
|
[this.offset, "string", "string"],
|
|
@@ -21156,6 +21574,12 @@ class StoriesGetStoryViewsList extends Function {
|
|
|
21156
21574
|
writable: true,
|
|
21157
21575
|
value: void 0
|
|
21158
21576
|
});
|
|
21577
|
+
Object.defineProperty(this, "peer", {
|
|
21578
|
+
enumerable: true,
|
|
21579
|
+
configurable: true,
|
|
21580
|
+
writable: true,
|
|
21581
|
+
value: void 0
|
|
21582
|
+
});
|
|
21159
21583
|
Object.defineProperty(this, "q", {
|
|
21160
21584
|
enumerable: true,
|
|
21161
21585
|
configurable: true,
|
|
@@ -21182,6 +21606,7 @@ class StoriesGetStoryViewsList extends Function {
|
|
|
21182
21606
|
});
|
|
21183
21607
|
this.justContacts = params.justContacts;
|
|
21184
21608
|
this.reactionsFirst = params.reactionsFirst;
|
|
21609
|
+
this.peer = params.peer;
|
|
21185
21610
|
this.q = params.q;
|
|
21186
21611
|
this.id = params.id;
|
|
21187
21612
|
this.offset = params.offset;
|
|
@@ -21191,49 +21616,58 @@ class StoriesGetStoryViewsList extends Function {
|
|
|
21191
21616
|
exports.StoriesGetStoryViewsList = StoriesGetStoryViewsList;
|
|
21192
21617
|
class StoriesGetStoriesViews extends Function {
|
|
21193
21618
|
get [_1_tl_object_js_1.id]() {
|
|
21194
|
-
return
|
|
21619
|
+
return 0x28E16CC8;
|
|
21195
21620
|
}
|
|
21196
21621
|
static get [_1_tl_object_js_1.paramDesc]() {
|
|
21197
21622
|
return [
|
|
21623
|
+
["peer", types._TypeInputPeer, "InputPeer"],
|
|
21198
21624
|
["id", ["number"], "Vector<int>"],
|
|
21199
21625
|
];
|
|
21200
21626
|
}
|
|
21201
21627
|
get [_1_tl_object_js_1.params]() {
|
|
21202
21628
|
return [
|
|
21629
|
+
[this.peer, types._TypeInputPeer, "InputPeer"],
|
|
21203
21630
|
[this.id, ["number"], "Vector<int>"],
|
|
21204
21631
|
];
|
|
21205
21632
|
}
|
|
21206
21633
|
constructor(params) {
|
|
21207
21634
|
super();
|
|
21635
|
+
Object.defineProperty(this, "peer", {
|
|
21636
|
+
enumerable: true,
|
|
21637
|
+
configurable: true,
|
|
21638
|
+
writable: true,
|
|
21639
|
+
value: void 0
|
|
21640
|
+
});
|
|
21208
21641
|
Object.defineProperty(this, "id", {
|
|
21209
21642
|
enumerable: true,
|
|
21210
21643
|
configurable: true,
|
|
21211
21644
|
writable: true,
|
|
21212
21645
|
value: void 0
|
|
21213
21646
|
});
|
|
21647
|
+
this.peer = params.peer;
|
|
21214
21648
|
this.id = params.id;
|
|
21215
21649
|
}
|
|
21216
21650
|
}
|
|
21217
21651
|
exports.StoriesGetStoriesViews = StoriesGetStoriesViews;
|
|
21218
21652
|
class StoriesExportStoryLink extends Function {
|
|
21219
21653
|
get [_1_tl_object_js_1.id]() {
|
|
21220
|
-
return
|
|
21654
|
+
return 0x7B8DEF20;
|
|
21221
21655
|
}
|
|
21222
21656
|
static get [_1_tl_object_js_1.paramDesc]() {
|
|
21223
21657
|
return [
|
|
21224
|
-
["
|
|
21658
|
+
["peer", types._TypeInputPeer, "InputPeer"],
|
|
21225
21659
|
["id", "number", "int"],
|
|
21226
21660
|
];
|
|
21227
21661
|
}
|
|
21228
21662
|
get [_1_tl_object_js_1.params]() {
|
|
21229
21663
|
return [
|
|
21230
|
-
[this.
|
|
21664
|
+
[this.peer, types._TypeInputPeer, "InputPeer"],
|
|
21231
21665
|
[this.id, "number", "int"],
|
|
21232
21666
|
];
|
|
21233
21667
|
}
|
|
21234
21668
|
constructor(params) {
|
|
21235
21669
|
super();
|
|
21236
|
-
Object.defineProperty(this, "
|
|
21670
|
+
Object.defineProperty(this, "peer", {
|
|
21237
21671
|
enumerable: true,
|
|
21238
21672
|
configurable: true,
|
|
21239
21673
|
writable: true,
|
|
@@ -21245,18 +21679,18 @@ class StoriesExportStoryLink extends Function {
|
|
|
21245
21679
|
writable: true,
|
|
21246
21680
|
value: void 0
|
|
21247
21681
|
});
|
|
21248
|
-
this.
|
|
21682
|
+
this.peer = params.peer;
|
|
21249
21683
|
this.id = params.id;
|
|
21250
21684
|
}
|
|
21251
21685
|
}
|
|
21252
21686
|
exports.StoriesExportStoryLink = StoriesExportStoryLink;
|
|
21253
21687
|
class StoriesReport extends Function {
|
|
21254
21688
|
get [_1_tl_object_js_1.id]() {
|
|
21255
|
-
return
|
|
21689
|
+
return 0x1923FA8C;
|
|
21256
21690
|
}
|
|
21257
21691
|
static get [_1_tl_object_js_1.paramDesc]() {
|
|
21258
21692
|
return [
|
|
21259
|
-
["
|
|
21693
|
+
["peer", types._TypeInputPeer, "InputPeer"],
|
|
21260
21694
|
["id", ["number"], "Vector<int>"],
|
|
21261
21695
|
["reason", types._TypeReportReason, "ReportReason"],
|
|
21262
21696
|
["message", "string", "string"],
|
|
@@ -21264,7 +21698,7 @@ class StoriesReport extends Function {
|
|
|
21264
21698
|
}
|
|
21265
21699
|
get [_1_tl_object_js_1.params]() {
|
|
21266
21700
|
return [
|
|
21267
|
-
[this.
|
|
21701
|
+
[this.peer, types._TypeInputPeer, "InputPeer"],
|
|
21268
21702
|
[this.id, ["number"], "Vector<int>"],
|
|
21269
21703
|
[this.reason, types._TypeReportReason, "ReportReason"],
|
|
21270
21704
|
[this.message, "string", "string"],
|
|
@@ -21272,7 +21706,7 @@ class StoriesReport extends Function {
|
|
|
21272
21706
|
}
|
|
21273
21707
|
constructor(params) {
|
|
21274
21708
|
super();
|
|
21275
|
-
Object.defineProperty(this, "
|
|
21709
|
+
Object.defineProperty(this, "peer", {
|
|
21276
21710
|
enumerable: true,
|
|
21277
21711
|
configurable: true,
|
|
21278
21712
|
writable: true,
|
|
@@ -21296,7 +21730,7 @@ class StoriesReport extends Function {
|
|
|
21296
21730
|
writable: true,
|
|
21297
21731
|
value: void 0
|
|
21298
21732
|
});
|
|
21299
|
-
this.
|
|
21733
|
+
this.peer = params.peer;
|
|
21300
21734
|
this.id = params.id;
|
|
21301
21735
|
this.reason = params.reason;
|
|
21302
21736
|
this.message = params.message;
|
|
@@ -21342,13 +21776,13 @@ class StoriesActivateStealthMode extends Function {
|
|
|
21342
21776
|
exports.StoriesActivateStealthMode = StoriesActivateStealthMode;
|
|
21343
21777
|
class StoriesSendReaction extends Function {
|
|
21344
21778
|
get [_1_tl_object_js_1.id]() {
|
|
21345
|
-
return
|
|
21779
|
+
return 0x7FD736B2;
|
|
21346
21780
|
}
|
|
21347
21781
|
static get [_1_tl_object_js_1.paramDesc]() {
|
|
21348
21782
|
return [
|
|
21349
21783
|
["flags", _1_tl_object_js_1.flags, "#"],
|
|
21350
21784
|
["addToRecent", "true", "flags.0?true"],
|
|
21351
|
-
["
|
|
21785
|
+
["peer", types._TypeInputPeer, "InputPeer"],
|
|
21352
21786
|
["storyId", "number", "int"],
|
|
21353
21787
|
["reaction", types._TypeReaction, "Reaction"],
|
|
21354
21788
|
];
|
|
@@ -21357,7 +21791,7 @@ class StoriesSendReaction extends Function {
|
|
|
21357
21791
|
return [
|
|
21358
21792
|
["flags", _1_tl_object_js_1.flags, "#"],
|
|
21359
21793
|
[this.addToRecent ?? null, "true", "flags.0?true"],
|
|
21360
|
-
[this.
|
|
21794
|
+
[this.peer, types._TypeInputPeer, "InputPeer"],
|
|
21361
21795
|
[this.storyId, "number", "int"],
|
|
21362
21796
|
[this.reaction, types._TypeReaction, "Reaction"],
|
|
21363
21797
|
];
|
|
@@ -21370,7 +21804,7 @@ class StoriesSendReaction extends Function {
|
|
|
21370
21804
|
writable: true,
|
|
21371
21805
|
value: void 0
|
|
21372
21806
|
});
|
|
21373
|
-
Object.defineProperty(this, "
|
|
21807
|
+
Object.defineProperty(this, "peer", {
|
|
21374
21808
|
enumerable: true,
|
|
21375
21809
|
configurable: true,
|
|
21376
21810
|
writable: true,
|
|
@@ -21389,9 +21823,259 @@ class StoriesSendReaction extends Function {
|
|
|
21389
21823
|
value: void 0
|
|
21390
21824
|
});
|
|
21391
21825
|
this.addToRecent = params.addToRecent;
|
|
21392
|
-
this.
|
|
21826
|
+
this.peer = params.peer;
|
|
21393
21827
|
this.storyId = params.storyId;
|
|
21394
21828
|
this.reaction = params.reaction;
|
|
21395
21829
|
}
|
|
21396
21830
|
}
|
|
21397
21831
|
exports.StoriesSendReaction = StoriesSendReaction;
|
|
21832
|
+
class StoriesGetPeerStories extends Function {
|
|
21833
|
+
get [_1_tl_object_js_1.id]() {
|
|
21834
|
+
return 0x2C4ADA50;
|
|
21835
|
+
}
|
|
21836
|
+
static get [_1_tl_object_js_1.paramDesc]() {
|
|
21837
|
+
return [
|
|
21838
|
+
["peer", types._TypeInputPeer, "InputPeer"],
|
|
21839
|
+
];
|
|
21840
|
+
}
|
|
21841
|
+
get [_1_tl_object_js_1.params]() {
|
|
21842
|
+
return [
|
|
21843
|
+
[this.peer, types._TypeInputPeer, "InputPeer"],
|
|
21844
|
+
];
|
|
21845
|
+
}
|
|
21846
|
+
constructor(params) {
|
|
21847
|
+
super();
|
|
21848
|
+
Object.defineProperty(this, "peer", {
|
|
21849
|
+
enumerable: true,
|
|
21850
|
+
configurable: true,
|
|
21851
|
+
writable: true,
|
|
21852
|
+
value: void 0
|
|
21853
|
+
});
|
|
21854
|
+
this.peer = params.peer;
|
|
21855
|
+
}
|
|
21856
|
+
}
|
|
21857
|
+
exports.StoriesGetPeerStories = StoriesGetPeerStories;
|
|
21858
|
+
class StoriesGetAllReadPeerStories extends Function {
|
|
21859
|
+
get [_1_tl_object_js_1.id]() {
|
|
21860
|
+
return 0x9B5AE7F9;
|
|
21861
|
+
}
|
|
21862
|
+
static get [_1_tl_object_js_1.paramDesc]() {
|
|
21863
|
+
return [];
|
|
21864
|
+
}
|
|
21865
|
+
get [_1_tl_object_js_1.params]() {
|
|
21866
|
+
return [];
|
|
21867
|
+
}
|
|
21868
|
+
constructor() {
|
|
21869
|
+
super();
|
|
21870
|
+
}
|
|
21871
|
+
}
|
|
21872
|
+
exports.StoriesGetAllReadPeerStories = StoriesGetAllReadPeerStories;
|
|
21873
|
+
class StoriesGetPeerMaxIDs extends Function {
|
|
21874
|
+
get [_1_tl_object_js_1.id]() {
|
|
21875
|
+
return 0x535983C3;
|
|
21876
|
+
}
|
|
21877
|
+
static get [_1_tl_object_js_1.paramDesc]() {
|
|
21878
|
+
return [
|
|
21879
|
+
["id", [types._TypeInputPeer], "Vector<InputPeer>"],
|
|
21880
|
+
];
|
|
21881
|
+
}
|
|
21882
|
+
get [_1_tl_object_js_1.params]() {
|
|
21883
|
+
return [
|
|
21884
|
+
[this.id, [types._TypeInputPeer], "Vector<InputPeer>"],
|
|
21885
|
+
];
|
|
21886
|
+
}
|
|
21887
|
+
constructor(params) {
|
|
21888
|
+
super();
|
|
21889
|
+
Object.defineProperty(this, "id", {
|
|
21890
|
+
enumerable: true,
|
|
21891
|
+
configurable: true,
|
|
21892
|
+
writable: true,
|
|
21893
|
+
value: void 0
|
|
21894
|
+
});
|
|
21895
|
+
this.id = params.id;
|
|
21896
|
+
}
|
|
21897
|
+
}
|
|
21898
|
+
exports.StoriesGetPeerMaxIDs = StoriesGetPeerMaxIDs;
|
|
21899
|
+
class StoriesGetChatsToSend extends Function {
|
|
21900
|
+
get [_1_tl_object_js_1.id]() {
|
|
21901
|
+
return 0xA56A8B60;
|
|
21902
|
+
}
|
|
21903
|
+
static get [_1_tl_object_js_1.paramDesc]() {
|
|
21904
|
+
return [];
|
|
21905
|
+
}
|
|
21906
|
+
get [_1_tl_object_js_1.params]() {
|
|
21907
|
+
return [];
|
|
21908
|
+
}
|
|
21909
|
+
constructor() {
|
|
21910
|
+
super();
|
|
21911
|
+
}
|
|
21912
|
+
}
|
|
21913
|
+
exports.StoriesGetChatsToSend = StoriesGetChatsToSend;
|
|
21914
|
+
class StoriesTogglePeerStoriesHidden extends Function {
|
|
21915
|
+
get [_1_tl_object_js_1.id]() {
|
|
21916
|
+
return 0xBD0415C4;
|
|
21917
|
+
}
|
|
21918
|
+
static get [_1_tl_object_js_1.paramDesc]() {
|
|
21919
|
+
return [
|
|
21920
|
+
["peer", types._TypeInputPeer, "InputPeer"],
|
|
21921
|
+
["hidden", "boolean", "Bool"],
|
|
21922
|
+
];
|
|
21923
|
+
}
|
|
21924
|
+
get [_1_tl_object_js_1.params]() {
|
|
21925
|
+
return [
|
|
21926
|
+
[this.peer, types._TypeInputPeer, "InputPeer"],
|
|
21927
|
+
[this.hidden, "boolean", "Bool"],
|
|
21928
|
+
];
|
|
21929
|
+
}
|
|
21930
|
+
constructor(params) {
|
|
21931
|
+
super();
|
|
21932
|
+
Object.defineProperty(this, "peer", {
|
|
21933
|
+
enumerable: true,
|
|
21934
|
+
configurable: true,
|
|
21935
|
+
writable: true,
|
|
21936
|
+
value: void 0
|
|
21937
|
+
});
|
|
21938
|
+
Object.defineProperty(this, "hidden", {
|
|
21939
|
+
enumerable: true,
|
|
21940
|
+
configurable: true,
|
|
21941
|
+
writable: true,
|
|
21942
|
+
value: void 0
|
|
21943
|
+
});
|
|
21944
|
+
this.peer = params.peer;
|
|
21945
|
+
this.hidden = params.hidden;
|
|
21946
|
+
}
|
|
21947
|
+
}
|
|
21948
|
+
exports.StoriesTogglePeerStoriesHidden = StoriesTogglePeerStoriesHidden;
|
|
21949
|
+
class PremiumGetBoostsList extends Function {
|
|
21950
|
+
get [_1_tl_object_js_1.id]() {
|
|
21951
|
+
return 0x60F67660;
|
|
21952
|
+
}
|
|
21953
|
+
static get [_1_tl_object_js_1.paramDesc]() {
|
|
21954
|
+
return [
|
|
21955
|
+
["flags", _1_tl_object_js_1.flags, "#"],
|
|
21956
|
+
["gifts", "true", "flags.0?true"],
|
|
21957
|
+
["peer", types._TypeInputPeer, "InputPeer"],
|
|
21958
|
+
["offset", "string", "string"],
|
|
21959
|
+
["limit", "number", "int"],
|
|
21960
|
+
];
|
|
21961
|
+
}
|
|
21962
|
+
get [_1_tl_object_js_1.params]() {
|
|
21963
|
+
return [
|
|
21964
|
+
["flags", _1_tl_object_js_1.flags, "#"],
|
|
21965
|
+
[this.gifts ?? null, "true", "flags.0?true"],
|
|
21966
|
+
[this.peer, types._TypeInputPeer, "InputPeer"],
|
|
21967
|
+
[this.offset, "string", "string"],
|
|
21968
|
+
[this.limit, "number", "int"],
|
|
21969
|
+
];
|
|
21970
|
+
}
|
|
21971
|
+
constructor(params) {
|
|
21972
|
+
super();
|
|
21973
|
+
Object.defineProperty(this, "gifts", {
|
|
21974
|
+
enumerable: true,
|
|
21975
|
+
configurable: true,
|
|
21976
|
+
writable: true,
|
|
21977
|
+
value: void 0
|
|
21978
|
+
});
|
|
21979
|
+
Object.defineProperty(this, "peer", {
|
|
21980
|
+
enumerable: true,
|
|
21981
|
+
configurable: true,
|
|
21982
|
+
writable: true,
|
|
21983
|
+
value: void 0
|
|
21984
|
+
});
|
|
21985
|
+
Object.defineProperty(this, "offset", {
|
|
21986
|
+
enumerable: true,
|
|
21987
|
+
configurable: true,
|
|
21988
|
+
writable: true,
|
|
21989
|
+
value: void 0
|
|
21990
|
+
});
|
|
21991
|
+
Object.defineProperty(this, "limit", {
|
|
21992
|
+
enumerable: true,
|
|
21993
|
+
configurable: true,
|
|
21994
|
+
writable: true,
|
|
21995
|
+
value: void 0
|
|
21996
|
+
});
|
|
21997
|
+
this.gifts = params.gifts;
|
|
21998
|
+
this.peer = params.peer;
|
|
21999
|
+
this.offset = params.offset;
|
|
22000
|
+
this.limit = params.limit;
|
|
22001
|
+
}
|
|
22002
|
+
}
|
|
22003
|
+
exports.PremiumGetBoostsList = PremiumGetBoostsList;
|
|
22004
|
+
class PremiumGetMyBoosts extends Function {
|
|
22005
|
+
get [_1_tl_object_js_1.id]() {
|
|
22006
|
+
return 0x0BE77B4A;
|
|
22007
|
+
}
|
|
22008
|
+
static get [_1_tl_object_js_1.paramDesc]() {
|
|
22009
|
+
return [];
|
|
22010
|
+
}
|
|
22011
|
+
get [_1_tl_object_js_1.params]() {
|
|
22012
|
+
return [];
|
|
22013
|
+
}
|
|
22014
|
+
constructor() {
|
|
22015
|
+
super();
|
|
22016
|
+
}
|
|
22017
|
+
}
|
|
22018
|
+
exports.PremiumGetMyBoosts = PremiumGetMyBoosts;
|
|
22019
|
+
class PremiumApplyBoost extends Function {
|
|
22020
|
+
get [_1_tl_object_js_1.id]() {
|
|
22021
|
+
return 0x6B7DA746;
|
|
22022
|
+
}
|
|
22023
|
+
static get [_1_tl_object_js_1.paramDesc]() {
|
|
22024
|
+
return [
|
|
22025
|
+
["flags", _1_tl_object_js_1.flags, "#"],
|
|
22026
|
+
["slots", ["number"], "flags.0?Vector<int>"],
|
|
22027
|
+
["peer", types._TypeInputPeer, "InputPeer"],
|
|
22028
|
+
];
|
|
22029
|
+
}
|
|
22030
|
+
get [_1_tl_object_js_1.params]() {
|
|
22031
|
+
return [
|
|
22032
|
+
["flags", _1_tl_object_js_1.flags, "#"],
|
|
22033
|
+
[this.slots ?? null, ["number"], "flags.0?Vector<int>"],
|
|
22034
|
+
[this.peer, types._TypeInputPeer, "InputPeer"],
|
|
22035
|
+
];
|
|
22036
|
+
}
|
|
22037
|
+
constructor(params) {
|
|
22038
|
+
super();
|
|
22039
|
+
Object.defineProperty(this, "slots", {
|
|
22040
|
+
enumerable: true,
|
|
22041
|
+
configurable: true,
|
|
22042
|
+
writable: true,
|
|
22043
|
+
value: void 0
|
|
22044
|
+
});
|
|
22045
|
+
Object.defineProperty(this, "peer", {
|
|
22046
|
+
enumerable: true,
|
|
22047
|
+
configurable: true,
|
|
22048
|
+
writable: true,
|
|
22049
|
+
value: void 0
|
|
22050
|
+
});
|
|
22051
|
+
this.slots = params.slots;
|
|
22052
|
+
this.peer = params.peer;
|
|
22053
|
+
}
|
|
22054
|
+
}
|
|
22055
|
+
exports.PremiumApplyBoost = PremiumApplyBoost;
|
|
22056
|
+
class PremiumGetBoostsStatus extends Function {
|
|
22057
|
+
get [_1_tl_object_js_1.id]() {
|
|
22058
|
+
return 0x042F1F61;
|
|
22059
|
+
}
|
|
22060
|
+
static get [_1_tl_object_js_1.paramDesc]() {
|
|
22061
|
+
return [
|
|
22062
|
+
["peer", types._TypeInputPeer, "InputPeer"],
|
|
22063
|
+
];
|
|
22064
|
+
}
|
|
22065
|
+
get [_1_tl_object_js_1.params]() {
|
|
22066
|
+
return [
|
|
22067
|
+
[this.peer, types._TypeInputPeer, "InputPeer"],
|
|
22068
|
+
];
|
|
22069
|
+
}
|
|
22070
|
+
constructor(params) {
|
|
22071
|
+
super();
|
|
22072
|
+
Object.defineProperty(this, "peer", {
|
|
22073
|
+
enumerable: true,
|
|
22074
|
+
configurable: true,
|
|
22075
|
+
writable: true,
|
|
22076
|
+
value: void 0
|
|
22077
|
+
});
|
|
22078
|
+
this.peer = params.peer;
|
|
22079
|
+
}
|
|
22080
|
+
}
|
|
22081
|
+
exports.PremiumGetBoostsStatus = PremiumGetBoostsStatus;
|