@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/2_types.js
CHANGED
|
@@ -8,31 +8,33 @@ exports._TypePageTableCell = exports._TypeJSONValue = exports._TypeJSONObjectVal
|
|
|
8
8
|
exports._TypeStatsDateRangeDays = exports._TypeDialogFilterSuggested = exports._TypeDialogFilter = exports._TypePaymentsBankCardData = exports._TypeBankCardOpenURL = exports._TypeMessagesVotesList = exports._TypeWebPageAttribute = exports._TypeThemeSettings = exports._TypeInputThemeSettings = exports._TypeBaseTheme = exports._TypeMessagesInactiveChats = exports._TypeAccountContentSettings = exports._TypeAuthLoginToken = exports._TypeAccountThemes = exports._TypeTheme = exports._TypeInputTheme = exports._TypeRestrictionReason = exports._TypePeerLocated = exports._TypeChannelLocation = exports._TypeURLAuthResult = exports._TypeMessagesSearchCounter = exports._TypeFolderPeer = exports._TypeInputFolderPeer = exports._TypeFolder = exports._TypeEmojiLanguage = exports._TypeEmojiURL = exports._TypeEmojiKeywordsDifference = exports._TypeEmojiKeyword = exports._TypeAccountAutoDownloadSettings = exports._TypeAutoDownloadSettings = exports._TypeWallPaperSettings = exports._TypeCodeSettings = exports._TypeAccountWallPapers = exports._TypeInputWallPaper = exports._TypeChatBannedRights = exports._TypeChatAdminRights = exports._TypeStatsURL = exports._TypeChatOnlines = exports._TypePollResults = exports._TypePollAnswerVoters = exports._TypePoll = exports._TypePollAnswer = exports._TypeHelpUserInfo = exports._TypeHelpSupportName = exports._TypePage = exports._TypePageRelatedArticle = exports._TypePageListOrderedItem = exports._TypePageListItem = exports._TypePageCaption = exports._TypePageTableRow = void 0;
|
|
9
9
|
exports._TypeSearchResultsPosition = exports._TypeMessagesSearchResultsCalendar = exports._TypeSearchResultsCalendarPeriod = exports._TypeMessagesSponsoredMessages = exports._TypeSponsoredMessage = exports._TypeAccountResetPasswordResult = exports._TypeBotCommandScope = exports._TypeStickersSuggestedShortName = exports._TypeGroupCallParticipantVideo = exports._TypeGroupCallParticipantVideoSourceGroup = exports._TypePhoneExportedGroupCallInvite = exports._TypePhoneJoinAsPeers = exports._TypeMessagesCheckedHistoryImportPeer = exports._TypeMessagesChatAdminsWithInvites = exports._TypeChatAdminWithInvites = exports._TypeMessagesChatInviteImporters = exports._TypeMessagesExportedChatInvite = exports._TypeMessagesExportedChatInvites = exports._TypeChatInviteImporter = exports._TypeMessagesAffectedFoundMessages = exports._TypeMessagesHistoryImportParsed = exports._TypeMessagesHistoryImport = exports._TypeInlineQueryPeerType = exports._TypePhoneGroupParticipants = exports._TypePhoneGroupCall = exports._TypeGroupCallParticipant = exports._TypeInputGroupCall = exports._TypeGroupCall = exports._TypeStatsMessageStats = exports._TypePeerBlocked = exports._TypeMessageReplies = exports._TypeMessageReplyHeader = exports._TypeMessagesDiscussionMessage = exports._TypeMessagesMessageViews = exports._TypeMessageViews = exports._TypeHelpCountriesList = exports._TypeHelpCountry = exports._TypeHelpCountryCode = exports._TypeGlobalPrivacySettings = exports._TypeStatsMegagroupStats = exports._TypeStatsGroupTopInviter = exports._TypeStatsGroupTopAdmin = exports._TypeStatsGroupTopPoster = exports._TypeVideoSize = exports._TypeHelpPromoData = exports._TypeStatsBroadcastStats = exports._TypeMessageInteractionCounters = exports._TypeStatsGraph = exports._TypeStatsPercentValue = exports._TypeStatsAbsValueAndPrev = void 0;
|
|
10
10
|
exports._TypeDefaultHistoryTTL = exports._TypeMessagesForumTopics = exports._TypeForumTopic = exports._TypeUsername = exports._TypeStickerKeyword = exports._TypeMessageExtendedMedia = exports._TypeSendAsPeer = exports._TypePremiumSubscriptionOption = exports._TypeAccountEmailVerified = exports._TypeEmailVerification = exports._TypeEmailVerifyPurpose = exports._TypeMessagesReactions = exports._TypeChatReactions = exports._TypeReaction = exports._TypeAccountEmojiStatuses = exports._TypeEmojiStatus = exports._TypePaymentFormMethod = exports._TypePremiumGiftOption = exports._TypeInputStorePaymentPurpose = exports._TypeHelpPremiumPromo = exports._TypeMessagesTranscribedAudio = exports._TypePaymentsExportedInvoice = exports._TypeInputInvoice = exports._TypeAttachMenuPeerType = exports._TypeAccountSavedRingtone = exports._TypeNotificationSound = exports._TypeAccountSavedRingtones = exports._TypeBotMenuButton = exports._TypeWebViewMessageSent = exports._TypeSimpleWebViewResult = exports._TypeWebViewResult = exports._TypeAttachMenuBotsBot = exports._TypeAttachMenuBots = exports._TypeAttachMenuBot = exports._TypeAttachMenuBotIcon = exports._TypeAttachMenuBotIconColor = exports._TypePhoneGroupCallStreamRtmpURL = exports._TypePhoneGroupCallStreamChannels = exports._TypeGroupCallStreamChannel = exports._TypeMessagePeerReaction = exports._TypeMessagesAvailableReactions = exports._TypeAvailableReaction = exports._TypeMessagesMessageReactionsList = exports._TypeMessageReactions = exports._TypeReactionCount = exports._TypeAuthLoggedOut = exports._TypeMessagesPeerSettings = exports._TypeUsersUserFull = exports._TypeChannelsSendAsPeers = exports._TypeMessagesSearchResultsPositions = void 0;
|
|
11
|
-
exports.
|
|
12
|
-
exports.
|
|
13
|
-
exports.
|
|
14
|
-
exports.
|
|
15
|
-
exports.
|
|
16
|
-
exports.
|
|
17
|
-
exports.
|
|
18
|
-
exports.
|
|
19
|
-
exports.
|
|
20
|
-
exports.
|
|
21
|
-
exports.
|
|
22
|
-
exports.
|
|
23
|
-
exports.
|
|
24
|
-
exports.
|
|
25
|
-
exports.
|
|
26
|
-
exports.
|
|
27
|
-
exports.
|
|
28
|
-
exports.
|
|
29
|
-
exports.
|
|
30
|
-
exports.
|
|
31
|
-
exports.
|
|
32
|
-
exports.
|
|
33
|
-
exports.
|
|
34
|
-
exports.
|
|
35
|
-
exports.
|
|
11
|
+
exports._TypePremiumBoostsStatus = exports._TypePremiumMyBoosts = exports._TypeMyBoost = exports._TypePremiumBoostsList = exports._TypeBoost = exports._TypePrepaidGiveaway = exports._TypePaymentsGiveawayInfo = exports._TypePaymentsCheckedGiftCode = exports._TypePremiumGiftCodeOption = exports._TypeMessagesWebPage = exports._TypeStoriesPeerStories = exports._TypePeerStories = exports._TypeMediaArea = exports._TypeMediaAreaCoordinates = exports._TypeStoriesStealthMode = exports._TypeExportedStoryLink = exports._TypeInputReplyTo = exports._TypeStoriesStoryViews = exports._TypeStoriesStoryViewsList = exports._TypeStoryView = exports._TypeStoriesStories = exports._TypeStoriesAllStories = exports._TypeStoryItem = exports._TypeStoryViews = exports._TypeSponsoredWebPage = exports._TypeMessagePeerVote = exports._TypeBotsBotInfo = exports._TypeChatlistsChatlistUpdates = exports._TypeChatlistsChatlistInvite = exports._TypeChatlistsExportedInvites = exports._TypeChatlistsExportedChatlistInvite = exports._TypeExportedChatlistInvite = exports._TypeInputChatlist = exports._TypeReadParticipantDate = exports._TypeInlineBotWebView = exports._TypeAppWebViewResult = exports._TypeMessagesBotApp = exports._TypeBotApp = exports._TypeInputBotApp = exports._TypeHelpAppConfig = exports._TypeAccountAutoSaveSettings = exports._TypeAutoSaveException = exports._TypeAutoSaveSettings = exports._TypeMessagesTranslatedText = exports._TypeTextWithEntities = exports._TypeMessagesEmojiGroups = exports._TypeEmojiGroup = exports._TypeEmojiList = exports._TypeRequestPeerType = exports._TypeExportedContactToken = void 0;
|
|
12
|
+
exports.InputFile = exports.InputPhoneContact = exports.InputUserFromMessage = exports.InputUser = exports.InputUserSelf = exports.InputUserEmpty = exports.InputPeerChannelFromMessage = exports.InputPeerUserFromMessage = exports.InputPeerChannel = exports.InputPeerUser = exports.InputPeerChat = exports.InputPeerSelf = exports.InputPeerEmpty = exports.Null = exports.Error = exports.True = exports.HTTPWait = exports.DestroyAuthKeyFail = exports.DestroyAuthKeyNone = exports.DestroyAuthKeyOK = exports.MsgNewDetailedInfo = exports.MsgDetailedInfo = exports.MsgsAllInfo = exports.MsgsStateInfo = exports.MsgsStateReq = exports.MsgResendReq = exports.BadServerSalt = exports.BadMsgNotification = exports.MsgsAck = exports.GZIPPacked = exports.NewSessionCreated = exports.DestroySessionNone = exports.DestroySessionOK = exports.Pong = exports.FutureSalts = exports.FutureSalt = exports.RPCAnswerDropped = exports.RPCAnswerDroppedRunning = exports.RPCAnswerUnknown = exports.RPCError = exports.BindAuthKeyInner = exports.DHGenFail = exports.DHGenRetry = exports.DHGenOK = exports.ClientDHInnerData = exports.ServerDHInnerData = exports.ServerDHParamsOK = exports.PQInnerDataTempDC = exports.PQInnerDataDC = exports.ResPQ = void 0;
|
|
13
|
+
exports.User = exports.UserEmpty = exports.StorageFileWebp = exports.StorageFileMp4 = exports.StorageFileMov = exports.StorageFileMp3 = exports.StorageFilePdf = exports.StorageFilePng = exports.StorageFileGif = exports.StorageFileJpeg = exports.StorageFilePartial = exports.StorageFileUnknown = exports.PeerChannel = exports.PeerChat = exports.PeerUser = exports.InputGroupCallStream = exports.InputStickerSetThumb = exports.InputPeerPhotoFileLocation = exports.InputPhotoLegacyFileLocation = exports.InputPhotoFileLocation = exports.InputTakeoutFileLocation = exports.InputSecureFileLocation = exports.InputDocumentFileLocation = exports.InputEncryptedFileLocation = exports.InputFileLocation = exports.InputPhoto = exports.InputPhotoEmpty = exports.InputGeoPoint = exports.InputGeoPointEmpty = exports.InputChatPhoto = exports.InputChatUploadedPhoto = exports.InputChatPhotoEmpty = exports.InputMediaWebPage = exports.InputMediaStory = exports.InputMediaDice = exports.InputMediaPoll = exports.InputMediaGeoLive = exports.InputMediaInvoice = exports.InputMediaGame = exports.InputMediaDocumentExternal = exports.InputMediaPhotoExternal = exports.InputMediaVenue = exports.InputMediaDocument = exports.InputMediaUploadedDocument = exports.InputMediaContact = exports.InputMediaGeoPoint = exports.InputMediaPhoto = exports.InputMediaUploadedPhoto = exports.InputMediaEmpty = exports.InputFileBig = void 0;
|
|
14
|
+
exports.MessageActionChatMigrateTo = exports.MessageActionChannelCreate = exports.MessageActionChatJoinedByLink = exports.MessageActionChatDeleteUser = exports.MessageActionChatAddUser = exports.MessageActionChatDeletePhoto = exports.MessageActionChatEditPhoto = exports.MessageActionChatEditTitle = exports.MessageActionChatCreate = exports.MessageActionEmpty = exports.MessageMediaGiveaway = exports.MessageMediaStory = exports.MessageMediaDice = exports.MessageMediaPoll = exports.MessageMediaGeoLive = exports.MessageMediaInvoice = exports.MessageMediaGame = exports.MessageMediaVenue = exports.MessageMediaWebPage = exports.MessageMediaDocument = exports.MessageMediaUnsupported = exports.MessageMediaContact = exports.MessageMediaGeo = exports.MessageMediaPhoto = exports.MessageMediaEmpty = exports.MessageService = exports.Message = exports.MessageEmpty = exports.ChatPhoto = exports.ChatPhotoEmpty = exports.ChatParticipants = exports.ChatParticipantsForbidden = exports.ChatParticipantAdmin = exports.ChatParticipantCreator = exports.ChatParticipant = exports.ChannelFull = exports.ChatFull = exports.ChannelForbidden = exports.Channel = exports.ChatForbidden = exports.Chat = exports.ChatEmpty = exports.UserStatusLastMonth = exports.UserStatusLastWeek = exports.UserStatusRecently = exports.UserStatusOffline = exports.UserStatusOnline = exports.UserStatusEmpty = exports.UserProfilePhoto = exports.UserProfilePhotoEmpty = void 0;
|
|
15
|
+
exports.InputNotifyUsers = exports.InputNotifyPeer = exports.AuthExportedAuthorization = exports.AuthAuthorizationSignUpRequired = exports.AuthAuthorization = exports.AuthSentCodeSuccess = exports.AuthSentCode = exports.GeoPoint = exports.GeoPointEmpty = exports.PhotoPathSize = exports.PhotoSizeProgressive = exports.PhotoStrippedSize = exports.PhotoCachedSize = exports.PhotoSize = exports.PhotoSizeEmpty = exports.Photo = exports.PhotoEmpty = exports.DialogFolder = exports.Dialog = exports.MessageActionGiveawayLaunch = exports.MessageActionGiftCode = exports.MessageActionSetSameChatWallPaper = exports.MessageActionSetChatWallPaper = exports.MessageActionRequestedPeer = exports.MessageActionSuggestProfilePhoto = exports.MessageActionTopicEdit = exports.MessageActionTopicCreate = exports.MessageActionGiftPremium = exports.MessageActionWebViewDataSent = exports.MessageActionWebViewDataSentMe = exports.MessageActionChatJoinedByRequest = exports.MessageActionSetChatTheme = exports.MessageActionGroupCallScheduled = exports.MessageActionSetMessagesTTL = exports.MessageActionInviteToGroupCall = exports.MessageActionGroupCall = exports.MessageActionGeoProximityReached = exports.MessageActionContactSignUp = exports.MessageActionSecureValuesSent = exports.MessageActionSecureValuesSentMe = exports.MessageActionBotAllowed = exports.MessageActionCustomAction = exports.MessageActionScreenshotTaken = exports.MessageActionPhoneCall = exports.MessageActionPaymentSent = exports.MessageActionPaymentSentMe = exports.MessageActionGameScore = exports.MessageActionHistoryClear = exports.MessageActionPinMessage = exports.MessageActionChannelMigrateFrom = void 0;
|
|
16
|
+
exports.InputMessagesFilterRoundVoice = exports.InputMessagesFilterPhoneCalls = exports.InputMessagesFilterChatPhotos = exports.InputMessagesFilterMusic = exports.InputMessagesFilterVoice = exports.InputMessagesFilterGif = exports.InputMessagesFilterURL = exports.InputMessagesFilterDocument = exports.InputMessagesFilterPhotoVideo = exports.InputMessagesFilterVideo = exports.InputMessagesFilterPhotos = exports.InputMessagesFilterEmpty = exports.MessagesAffectedHistory = exports.MessagesChatFull = exports.MessagesChatsSlice = exports.MessagesChats = exports.MessagesMessagesNotModified = exports.MessagesChannelMessages = exports.MessagesMessagesSlice = exports.MessagesMessages = exports.MessagesDialogsNotModified = exports.MessagesDialogsSlice = exports.MessagesDialogs = exports.ContactsBlockedSlice = exports.ContactsBlocked = exports.ContactsImportedContacts = exports.ContactsContacts = exports.ContactsContactsNotModified = exports.ContactStatus = exports.ImportedContact = exports.Contact = exports.UserFull = exports.InputReportReasonPersonalDetails = exports.InputReportReasonIllegalDrugs = exports.InputReportReasonFake = exports.InputReportReasonGeoIrrelevant = exports.InputReportReasonCopyright = exports.InputReportReasonOther = exports.InputReportReasonChildAbuse = exports.InputReportReasonPornography = exports.InputReportReasonViolence = exports.InputReportReasonSpam = exports.WallPaperNoFile = exports.WallPaper = exports.PeerSettings = exports.PeerNotifySettings = exports.InputPeerNotifySettings = exports.InputNotifyForumTopic = exports.InputNotifyBroadcasts = exports.InputNotifyChats = void 0;
|
|
17
|
+
exports.UpdateRecentStickers = exports.UpdateReadFeaturedStickers = exports.UpdateDraftMessage = exports.UpdateReadChannelOutbox = exports.UpdateInlineBotCallbackQuery = exports.UpdateEditMessage = exports.UpdateBotCallbackQuery = exports.UpdateEditChannelMessage = exports.UpdateBotInlineSend = exports.UpdateBotInlineQuery = exports.UpdateSavedGifs = exports.UpdateStickerSets = exports.UpdateStickerSetsOrder = exports.UpdateNewStickerSet = exports.UpdateChatParticipantAdmin = exports.UpdateChannelMessageViews = exports.UpdateDeleteChannelMessages = exports.UpdateReadChannelInbox = exports.UpdateNewChannelMessage = exports.UpdateChannel = exports.UpdateChannelTooLong = exports.UpdateReadMessagesContents = exports.UpdateWebPage = exports.UpdateReadHistoryOutbox = exports.UpdateReadHistoryInbox = exports.UpdateUserPhone = exports.UpdatePrivacy = exports.UpdateServiceNotification = exports.UpdateNotifySettings = exports.UpdateDcOptions = exports.UpdateChatParticipantDelete = exports.UpdateChatParticipantAdd = exports.UpdateEncryptedMessagesRead = exports.UpdateEncryption = exports.UpdateEncryptedChatTyping = exports.UpdateNewEncryptedMessage = exports.UpdateNewAuthorization = exports.UpdateUserName = exports.UpdateUserStatus = exports.UpdateChatParticipants = exports.UpdateChatUserTyping = exports.UpdateUserTyping = exports.UpdateDeleteMessages = exports.UpdateMessageID = exports.UpdateNewMessage = exports.InputMessagesFilterPinned = exports.InputMessagesFilterContacts = exports.InputMessagesFilterGeo = exports.InputMessagesFilterMyMentions = exports.InputMessagesFilterRoundVideo = void 0;
|
|
18
|
+
exports.UpdateBotChatInviteRequester = exports.UpdatePendingJoinRequests = exports.UpdateBotCommands = exports.UpdateGroupCallConnection = exports.UpdateBotStopped = exports.UpdateChannelParticipant = exports.UpdateChatParticipant = exports.UpdatePeerHistoryTTL = exports.UpdateGroupCall = exports.UpdateGroupCallParticipants = exports.UpdateChat = exports.UpdatePinnedChannelMessages = exports.UpdatePinnedMessages = exports.UpdateChannelUserTyping = exports.UpdatePeerBlocked = exports.UpdateReadChannelDiscussionOutbox = exports.UpdateReadChannelDiscussionInbox = exports.UpdateChannelMessageForwards = exports.UpdatePhoneCallSignalingData = exports.UpdateDialogFilters = exports.UpdateDialogFilterOrder = exports.UpdateDialogFilter = exports.UpdateMessagePollVote = exports.UpdateLoginToken = exports.UpdateGeoLiveViewed = exports.UpdateTheme = exports.UpdateDeleteScheduledMessages = exports.UpdateNewScheduledMessage = exports.UpdatePeerLocated = exports.UpdatePeerSettings = exports.UpdateFolderPeers = exports.UpdateChatDefaultBannedRights = exports.UpdateMessagePoll = exports.UpdateDialogUnreadMark = exports.UpdateChannelAvailableMessages = exports.UpdateContactsReset = exports.UpdateChannelReadMessagesContents = exports.UpdateFavedStickers = exports.UpdateLangPack = exports.UpdateLangPackTooLong = exports.UpdatePhoneCall = exports.UpdateBotPrecheckoutQuery = exports.UpdateBotShippingQuery = exports.UpdateBotWebhookJSONQuery = exports.UpdateBotWebhookJSON = exports.UpdatePinnedDialogs = exports.UpdateDialogPinned = exports.UpdateChannelWebPage = exports.UpdatePtsChanged = exports.UpdateConfig = void 0;
|
|
19
|
+
exports.EncryptedChatDiscarded = exports.EncryptedChat = exports.EncryptedChatRequested = exports.EncryptedChatWaiting = exports.EncryptedChatEmpty = exports.HelpInviteText = exports.HelpNoAppUpdate = exports.HelpAppUpdate = exports.NearestDc = exports.Config = exports.DcOption = exports.UploadFileCdnRedirect = exports.UploadFile = exports.PhotosPhoto = exports.PhotosPhotosSlice = exports.PhotosPhotos = exports.UpdateShortSentMessage = exports.Updates = exports.UpdatesCombined = exports.UpdateShort = exports.UpdateShortChatMessage = exports.UpdateShortMessage = exports.UpdatesTooLong = exports.UpdatesDifferenceTooLong = exports.UpdatesDifferenceSlice = exports.UpdatesDifference = exports.UpdatesDifferenceEmpty = exports.UpdatesState = exports.UpdateSentStoryReaction = exports.UpdateStoriesStealthMode = exports.UpdateStoryID = exports.UpdateReadStories = exports.UpdateStory = exports.UpdateGroupInvitePrivacyForbidden = exports.UpdateAutoSaveSettings = exports.UpdateUser = exports.UpdateChannelPinnedTopics = exports.UpdateChannelPinnedTopic = exports.UpdateMessageExtendedMedia = exports.UpdateMoveStickerSetToTop = exports.UpdateRecentReactions = exports.UpdateRecentEmojiStatuses = exports.UpdateUserEmojiStatus = exports.UpdateReadFeaturedEmojiStickers = exports.UpdateTranscribedAudio = exports.UpdateSavedRingtones = exports.UpdateBotMenuButton = exports.UpdateWebViewResultSent = exports.UpdateAttachMenuBots = exports.UpdateMessageReactions = void 0;
|
|
20
|
+
exports.InputPrivacyKeyAddedByPhone = exports.InputPrivacyKeyPhoneNumber = exports.InputPrivacyKeyProfilePhoto = exports.InputPrivacyKeyForwards = exports.InputPrivacyKeyPhoneP2P = exports.InputPrivacyKeyPhoneCall = exports.InputPrivacyKeyChatInvite = exports.InputPrivacyKeyStatusTimestamp = exports.ContactsFound = exports.SendMessageEmojiInteractionSeen = exports.SendMessageEmojiInteraction = exports.SendMessageChooseStickerAction = exports.SendMessageHistoryImportAction = exports.SpeakingInGroupCallAction = exports.SendMessageUploadRoundAction = exports.SendMessageRecordRoundAction = exports.SendMessageGamePlayAction = exports.SendMessageChooseContactAction = exports.SendMessageGeoLocationAction = exports.SendMessageUploadDocumentAction = exports.SendMessageUploadPhotoAction = exports.SendMessageUploadAudioAction = exports.SendMessageRecordAudioAction = exports.SendMessageUploadVideoAction = exports.SendMessageRecordVideoAction = exports.SendMessageCancelAction = exports.SendMessageTypingAction = exports.NotifyForumTopic = exports.NotifyBroadcasts = exports.NotifyChats = exports.NotifyUsers = exports.NotifyPeer = exports.HelpSupport = exports.Document = exports.DocumentEmpty = exports.InputDocument = exports.InputDocumentEmpty = exports.MessagesSentEncryptedFile = exports.MessagesSentEncryptedMessage = exports.MessagesDhConfig = exports.MessagesDhConfigNotModified = exports.EncryptedMessageService = exports.EncryptedMessage = exports.InputEncryptedFileBigUploaded = exports.InputEncryptedFile = exports.InputEncryptedFileUploaded = exports.InputEncryptedFileEmpty = exports.EncryptedFile = exports.EncryptedFileEmpty = exports.InputEncryptedChat = void 0;
|
|
21
|
+
exports.WebPageNotModified = exports.WebPage = exports.WebPagePending = exports.WebPageEmpty = exports.MessagesAffectedMessages = exports.MessagesAllStickers = exports.MessagesAllStickersNotModified = exports.StickerPack = exports.MessagesStickers = exports.MessagesStickersNotModified = exports.DocumentAttributeCustomEmoji = exports.DocumentAttributeHasStickers = exports.DocumentAttributeFilename = exports.DocumentAttributeAudio = exports.DocumentAttributeVideo = exports.DocumentAttributeSticker = exports.DocumentAttributeAnimated = exports.DocumentAttributeImageSize = exports.AccountDaysTTL = exports.AccountPrivacyRules = exports.PrivacyValueAllowCloseFriends = exports.PrivacyValueDisallowChatParticipants = exports.PrivacyValueAllowChatParticipants = exports.PrivacyValueDisallowUsers = exports.PrivacyValueDisallowAll = exports.PrivacyValueDisallowContacts = exports.PrivacyValueAllowUsers = exports.PrivacyValueAllowAll = exports.PrivacyValueAllowContacts = exports.InputPrivacyValueAllowCloseFriends = exports.InputPrivacyValueDisallowChatParticipants = exports.InputPrivacyValueAllowChatParticipants = exports.InputPrivacyValueDisallowUsers = exports.InputPrivacyValueDisallowAll = exports.InputPrivacyValueDisallowContacts = exports.InputPrivacyValueAllowUsers = exports.InputPrivacyValueAllowAll = exports.InputPrivacyValueAllowContacts = exports.PrivacyKeyAbout = exports.PrivacyKeyVoiceMessages = exports.PrivacyKeyAddedByPhone = exports.PrivacyKeyPhoneNumber = exports.PrivacyKeyProfilePhoto = exports.PrivacyKeyForwards = exports.PrivacyKeyPhoneP2P = exports.PrivacyKeyPhoneCall = exports.PrivacyKeyChatInvite = exports.PrivacyKeyStatusTimestamp = exports.InputPrivacyKeyAbout = exports.InputPrivacyKeyVoiceMessages = void 0;
|
|
22
|
+
exports.MessageEntityMention = exports.MessageEntityUnknown = exports.ReplyInlineMarkup = exports.ReplyKeyboardMarkup = exports.ReplyKeyboardForceReply = exports.ReplyKeyboardHide = exports.KeyboardButtonRow = exports.KeyboardButtonRequestPeer = exports.KeyboardButtonSimpleWebView = exports.KeyboardButtonWebView = exports.KeyboardButtonUserProfile = exports.InputKeyboardButtonUserProfile = exports.KeyboardButtonRequestPoll = exports.InputKeyboardButtonURLAuth = exports.KeyboardButtonURLAuth = exports.KeyboardButtonBuy = exports.KeyboardButtonGame = exports.KeyboardButtonSwitchInline = exports.KeyboardButtonRequestGeoLocation = exports.KeyboardButtonRequestPhone = exports.KeyboardButtonCallback = exports.KeyboardButtonURL = exports.KeyboardButton = exports.BotInfo = exports.BotCommand = exports.MessagesStickerSetNotModified = exports.MessagesStickerSet = exports.StickerSet = exports.InputStickerSetEmojiDefaultTopicIcons = exports.InputStickerSetEmojiDefaultStatuses = exports.InputStickerSetEmojiGenericAnimations = exports.InputStickerSetPremiumGifts = exports.InputStickerSetAnimatedEmojiAnimations = exports.InputStickerSetDice = exports.InputStickerSetAnimatedEmoji = exports.InputStickerSetShortName = exports.InputStickerSetID = exports.InputStickerSetEmpty = exports.ChatInvitePeek = exports.ChatInvite = exports.ChatInviteAlready = exports.ChatInvitePublicJoinRequests = exports.ChatInviteExported = exports.ReceivedNotifyMessage = exports.AuthPasswordRecovery = exports.AccountPasswordInputSettings = exports.AccountPasswordSettings = exports.AccountPassword = exports.AccountAuthorizations = exports.Authorization = void 0;
|
|
23
|
+
exports.InputBotInlineMessageMediaAuto = exports.MessagesSavedGifs = exports.MessagesSavedGifsNotModified = exports.HelpTermsOfService = exports.ChannelsChannelParticipant = exports.ChannelsChannelParticipantsNotModified = exports.ChannelsChannelParticipants = exports.ChannelParticipantsMentions = exports.ChannelParticipantsContacts = exports.ChannelParticipantsSearch = exports.ChannelParticipantsBanned = exports.ChannelParticipantsBots = exports.ChannelParticipantsKicked = exports.ChannelParticipantsAdmins = exports.ChannelParticipantsRecent = exports.ChannelParticipantLeft = exports.ChannelParticipantBanned = exports.ChannelParticipantAdmin = exports.ChannelParticipantCreator = exports.ChannelParticipantSelf = exports.ChannelParticipant = exports.ChannelMessagesFilter = exports.ChannelMessagesFilterEmpty = exports.UpdatesChannelDifference = exports.UpdatesChannelDifferenceTooLong = exports.UpdatesChannelDifferenceEmpty = exports.MessageRange = exports.ContactsResolvedPeer = exports.InputChannelFromMessage = exports.InputChannel = exports.InputChannelEmpty = exports.MessageEntityBlockquote = exports.MessageEntityCustomEmoji = exports.MessageEntitySpoiler = exports.MessageEntityBankCard = exports.MessageEntityStrike = exports.MessageEntityUnderline = exports.MessageEntityCashtag = exports.MessageEntityPhone = exports.InputMessageEntityMentionName = exports.MessageEntityMentionName = exports.MessageEntityTextURL = exports.MessageEntityPre = exports.MessageEntityCode = exports.MessageEntityItalic = exports.MessageEntityBold = exports.MessageEntityEmail = exports.MessageEntityURL = exports.MessageEntityBotCommand = exports.MessageEntityHashtag = void 0;
|
|
24
|
+
exports.TopPeerCategoryPhoneCalls = exports.TopPeerCategoryChannels = exports.TopPeerCategoryGroups = exports.TopPeerCategoryCorrespondents = exports.TopPeerCategoryBotsInline = exports.TopPeerCategoryBotsPM = exports.TopPeer = exports.MessagesPeerDialogs = exports.InlineBotSwitchPM = exports.InputBotInlineMessageID64 = exports.InputBotInlineMessageID = exports.MessagesMessageEditData = exports.MessagesBotCallbackAnswer = exports.AuthSentCodeTypeFirebaseSms = exports.AuthSentCodeTypeFragmentSms = exports.AuthSentCodeTypeSetUpEmailRequired = exports.AuthSentCodeTypeEmailCode = exports.AuthSentCodeTypeMissedCall = exports.AuthSentCodeTypeFlashCall = exports.AuthSentCodeTypeCall = exports.AuthSentCodeTypeSms = exports.AuthSentCodeTypeApp = exports.AuthCodeTypeFragmentSms = exports.AuthCodeTypeMissedCall = exports.AuthCodeTypeFlashCall = exports.AuthCodeTypeCall = exports.AuthCodeTypeSms = exports.MessageFwdHeader = exports.ExportedMessageLink = exports.MessagesBotResults = exports.BotInlineMediaResult = exports.BotInlineResult = exports.BotInlineMessageMediaWebPage = exports.BotInlineMessageMediaInvoice = exports.BotInlineMessageMediaContact = exports.BotInlineMessageMediaVenue = exports.BotInlineMessageMediaGeo = exports.BotInlineMessageText = exports.BotInlineMessageMediaAuto = exports.InputBotInlineResultGame = exports.InputBotInlineResultDocument = exports.InputBotInlineResultPhoto = exports.InputBotInlineResult = exports.InputBotInlineMessageMediaWebPage = exports.InputBotInlineMessageMediaInvoice = exports.InputBotInlineMessageGame = exports.InputBotInlineMessageMediaContact = exports.InputBotInlineMessageMediaVenue = exports.InputBotInlineMessageMediaGeo = exports.InputBotInlineMessageText = void 0;
|
|
25
|
+
exports.PageBlockParagraph = exports.PageBlockSubheader = exports.PageBlockHeader = exports.PageBlockAuthorDate = exports.PageBlockSubtitle = exports.PageBlockTitle = exports.PageBlockUnsupported = exports.TextAnchor = exports.TextImage = exports.TextPhone = exports.TextMarked = exports.TextSuperscript = exports.TextSubscript = exports.TextConcat = exports.TextEmail = exports.TextURL = exports.TextFixed = exports.TextStrike = exports.TextUnderline = exports.TextItalic = exports.TextBold = exports.TextPlain = exports.TextEmpty = exports.MessagesHighScores = exports.HighScore = exports.InputGameShortName = exports.InputGameID = exports.Game = exports.InputStickeredMediaDocument = exports.InputStickeredMediaPhoto = exports.MaskCoords = exports.StickerSetNoCovered = exports.StickerSetFullCovered = exports.StickerSetMultiCovered = exports.StickerSetCovered = exports.MessagesStickerSetInstallResultArchive = exports.MessagesStickerSetInstallResultSuccess = exports.MessagesArchivedStickers = exports.MessagesRecentStickers = exports.MessagesRecentStickersNotModified = exports.MessagesFeaturedStickers = exports.MessagesFeaturedStickersNotModified = exports.DraftMessage = exports.DraftMessageEmpty = exports.ContactsTopPeersDisabled = exports.ContactsTopPeers = exports.ContactsTopPeersNotModified = exports.TopPeerCategoryPeers = exports.TopPeerCategoryForwardChats = exports.TopPeerCategoryForwardUsers = void 0;
|
|
26
|
+
exports.InputPaymentCredentialsGooglePay = exports.InputPaymentCredentialsApplePay = exports.InputPaymentCredentials = exports.InputPaymentCredentialsSaved = exports.PaymentsSavedInfo = exports.PaymentsPaymentReceipt = exports.PaymentsPaymentVerificationNeeded = exports.PaymentsPaymentResult = exports.PaymentsValidatedRequestedInfo = exports.PaymentsPaymentForm = exports.UploadWebFile = exports.InputWebFileAudioAlbumThumbLocation = exports.InputWebFileGeoPointLocation = exports.InputWebFileLocation = exports.InputWebDocument = exports.WebDocumentNoProxy = exports.WebDocument = exports.PaymentSavedCredentialsCard = exports.PaymentRequestedInfo = exports.PostAddress = exports.PaymentCharge = exports.Invoice = exports.LabeledPrice = exports.DataJSON = exports.PhoneCallDiscardReasonBusy = exports.PhoneCallDiscardReasonHangup = exports.PhoneCallDiscardReasonDisconnect = exports.PhoneCallDiscardReasonMissed = exports.PageBlockMap = exports.PageBlockRelatedArticles = exports.PageBlockDetails = exports.PageBlockOrderedList = exports.PageBlockTable = exports.PageBlockKicker = exports.PageBlockAudio = exports.PageBlockChannel = exports.PageBlockSlideshow = exports.PageBlockCollage = exports.PageBlockEmbedPost = exports.PageBlockEmbed = exports.PageBlockCover = exports.PageBlockVideo = exports.PageBlockPhoto = exports.PageBlockPullquote = exports.PageBlockBlockquote = exports.PageBlockList = exports.PageBlockAnchor = exports.PageBlockDivider = exports.PageBlockFooter = exports.PageBlockPreformatted = void 0;
|
|
27
|
+
exports.ChannelAdminLogEventActionParticipantJoinByInvite = exports.ChannelAdminLogEventActionToggleGroupCallSetting = exports.ChannelAdminLogEventActionParticipantUnmute = exports.ChannelAdminLogEventActionParticipantMute = exports.ChannelAdminLogEventActionDiscardGroupCall = exports.ChannelAdminLogEventActionStartGroupCall = exports.ChannelAdminLogEventActionToggleSlowMode = exports.ChannelAdminLogEventActionChangeLocation = exports.ChannelAdminLogEventActionChangeLinkedChat = exports.ChannelAdminLogEventActionStopPoll = exports.ChannelAdminLogEventActionDefaultBannedRights = exports.ChannelAdminLogEventActionTogglePreHistoryHidden = exports.ChannelAdminLogEventActionChangeStickerSet = exports.ChannelAdminLogEventActionParticipantToggleAdmin = exports.ChannelAdminLogEventActionParticipantToggleBan = exports.ChannelAdminLogEventActionParticipantInvite = exports.ChannelAdminLogEventActionParticipantLeave = exports.ChannelAdminLogEventActionParticipantJoin = exports.ChannelAdminLogEventActionDeleteMessage = exports.ChannelAdminLogEventActionEditMessage = exports.ChannelAdminLogEventActionUpdatePinned = exports.ChannelAdminLogEventActionToggleSignatures = exports.ChannelAdminLogEventActionToggleInvites = exports.ChannelAdminLogEventActionChangePhoto = exports.ChannelAdminLogEventActionChangeUsername = exports.ChannelAdminLogEventActionChangeAbout = exports.ChannelAdminLogEventActionChangeTitle = exports.LangPackLanguage = exports.LangPackDifference = exports.LangPackStringDeleted = exports.LangPackStringPluralized = exports.LangPackString = exports.CdnConfig = exports.CdnPublicKey = exports.UploadCdnFile = exports.UploadCdnFileReuploadNeeded = exports.PhonePhoneCall = exports.PhoneCallProtocol = exports.PhoneConnectionWebrtc = exports.PhoneConnection = exports.PhoneCallDiscarded = exports.PhoneCall = exports.PhoneCallAccepted = exports.PhoneCallRequested = exports.PhoneCallWaiting = exports.PhoneCallEmpty = exports.InputPhoneCall = exports.InputStickerSetItem = exports.ShippingOption = exports.AccountTmpPassword = void 0;
|
|
28
|
+
exports.SecureFileEmpty = exports.InputSecureFile = exports.InputSecureFileUploaded = exports.HelpTermsOfServiceUpdate = exports.HelpTermsOfServiceUpdateEmpty = exports.InputClientProxy = exports.FileHash = exports.MessagesFoundStickerSets = exports.MessagesFoundStickerSetsNotModified = exports.DialogPeerFolder = exports.DialogPeer = exports.InputDialogPeerFolder = exports.InputDialogPeer = exports.InputMessageCallbackQuery = exports.InputMessagePinned = exports.InputMessageReplyTo = exports.InputMessageID = exports.AccountWebAuthorizations = exports.WebAuthorization = exports.InputSingleMedia = exports.HelpRecentMeURLs = exports.RecentMeURLStickerSet = exports.RecentMeURLChatInvite = exports.RecentMeURLChat = exports.RecentMeURLUser = exports.RecentMeURLUnknown = exports.MessagesFavedStickers = exports.MessagesFavedStickersNotModified = exports.PopularContact = exports.ChannelAdminLogEventsFilter = exports.ChannelsAdminLogResults = exports.ChannelAdminLogEvent = exports.ChannelAdminLogEventActionChangeBackgroundEmoji = exports.ChannelAdminLogEventActionChangeColor = exports.ChannelAdminLogEventActionToggleAntiSpam = exports.ChannelAdminLogEventActionPinTopic = exports.ChannelAdminLogEventActionDeleteTopic = exports.ChannelAdminLogEventActionEditTopic = exports.ChannelAdminLogEventActionCreateTopic = exports.ChannelAdminLogEventActionToggleForum = exports.ChannelAdminLogEventActionChangeUsernames = exports.ChannelAdminLogEventActionChangeAvailableReactions = exports.ChannelAdminLogEventActionSendMessage = exports.ChannelAdminLogEventActionToggleNoForwards = exports.ChannelAdminLogEventActionParticipantJoinByRequest = exports.ChannelAdminLogEventActionChangeHistoryTTL = exports.ChannelAdminLogEventActionParticipantVolume = exports.ChannelAdminLogEventActionExportedInviteEdit = exports.ChannelAdminLogEventActionExportedInviteRevoke = exports.ChannelAdminLogEventActionExportedInviteDelete = void 0;
|
|
29
|
+
exports.JsonObjectValue = exports.InputAppEvent = exports.HelpPassportConfig = exports.HelpPassportConfigNotModified = exports.SecureRequiredTypeOneOf = exports.SecureRequiredType = exports.InputCheckPasswordSRP = exports.InputCheckPasswordEmpty = exports.SecureSecretSettings = exports.SecurePasswordKdfAlgoSHA512 = exports.SecurePasswordKdfAlgoPBKDF2HMACSHA512iter100000 = exports.SecurePasswordKdfAlgoUnknown = exports.PasswordKdfAlgoSHA256SHA256PBKDF2HMACSHA512iter100000SHA256ModPow = exports.PasswordKdfAlgoUnknown = exports.AccountTakeout = exports.SavedPhoneContact = exports.HelpDeepLinkInfo = exports.HelpDeepLinkInfoEmpty = exports.AccountSentEmailCode = exports.AccountAuthorizationForm = exports.SecureCredentialsEncrypted = exports.SecureValueErrorTranslationFiles = exports.SecureValueErrorTranslationFile = exports.SecureValueError = exports.SecureValueErrorFiles = exports.SecureValueErrorFile = exports.SecureValueErrorSelfie = exports.SecureValueErrorReverseSide = exports.SecureValueErrorFrontSide = exports.SecureValueErrorData = exports.SecureValueHash = exports.InputSecureValue = exports.SecureValue = exports.SecureValueTypeEmail = exports.SecureValueTypePhone = exports.SecureValueTypeTemporaryRegistration = exports.SecureValueTypePassportRegistration = exports.SecureValueTypeRentalAgreement = exports.SecureValueTypeBankStatement = exports.SecureValueTypeUtilityBill = exports.SecureValueTypeAddress = exports.SecureValueTypeInternalPassport = exports.SecureValueTypeIdentityCard = exports.SecureValueTypeDriverLicense = exports.SecureValueTypePassport = exports.SecureValueTypePersonalDetails = exports.SecurePlainEmail = exports.SecurePlainPhone = exports.SecureData = exports.SecureFile = void 0;
|
|
30
|
+
exports.PeerLocated = exports.ChannelLocation = exports.ChannelLocationEmpty = exports.URLAuthResultDefault = exports.URLAuthResultAccepted = exports.URLAuthResultRequest = exports.MessagesSearchCounter = exports.FolderPeer = exports.InputFolderPeer = exports.Folder = exports.EmojiLanguage = exports.EmojiURL = exports.EmojiKeywordsDifference = exports.EmojiKeywordDeleted = exports.EmojiKeyword = exports.AccountAutoDownloadSettings = exports.AutoDownloadSettings = exports.WallPaperSettings = exports.CodeSettings = exports.AccountWallPapers = exports.AccountWallPapersNotModified = exports.InputWallPaperNoFile = exports.InputWallPaperSlug = exports.InputWallPaper = exports.ChatBannedRights = exports.ChatAdminRights = exports.StatsURL = exports.ChatOnlines = exports.PollResults = exports.PollAnswerVoters = exports.Poll = exports.PollAnswer = exports.HelpUserInfo = exports.HelpUserInfoEmpty = exports.HelpSupportName = exports.Page = exports.PageRelatedArticle = exports.PageListOrderedItemBlocks = exports.PageListOrderedItemText = exports.PageListItemBlocks = exports.PageListItemText = exports.PageCaption = exports.PageTableRow = exports.PageTableCell = exports.JsonObject = exports.JsonArray = exports.JsonString = exports.JsonNumber = exports.JsonBool = exports.JsonNull = void 0;
|
|
31
|
+
exports.HelpCountriesList = exports.HelpCountriesListNotModified = exports.HelpCountry = exports.HelpCountryCode = exports.GlobalPrivacySettings = exports.StatsMegagroupStats = exports.StatsGroupTopInviter = exports.StatsGroupTopAdmin = exports.StatsGroupTopPoster = exports.VideoSizeStickerMarkup = exports.VideoSizeEmojiMarkup = exports.VideoSize = exports.HelpPromoData = exports.HelpPromoDataEmpty = exports.StatsBroadcastStats = exports.MessageInteractionCounters = exports.StatsGraph = exports.StatsGraphError = exports.StatsGraphAsync = exports.StatsPercentValue = exports.StatsAbsValueAndPrev = exports.StatsDateRangeDays = exports.DialogFilterSuggested = exports.DialogFilterChatlist = exports.DialogFilterDefault = exports.DialogFilter = exports.PaymentsBankCardData = exports.BankCardOpenURL = exports.MessagesVotesList = exports.WebPageAttributeStory = exports.WebPageAttributeTheme = exports.ThemeSettings = exports.InputThemeSettings = exports.BaseThemeArctic = exports.BaseThemeTinted = exports.BaseThemeNight = exports.BaseThemeDay = exports.BaseThemeClassic = exports.MessagesInactiveChats = exports.AccountContentSettings = exports.AuthLoginTokenSuccess = exports.AuthLoginTokenMigrateTo = exports.AuthLoginToken = exports.AccountThemes = exports.AccountThemesNotModified = exports.Theme = exports.InputThemeSlug = exports.InputTheme = exports.RestrictionReason = exports.PeerSelfLocated = void 0;
|
|
32
|
+
exports.SearchResultsCalendarPeriod = exports.MessagesSponsoredMessagesEmpty = exports.MessagesSponsoredMessages = exports.SponsoredMessage = exports.AccountResetPasswordOk = exports.AccountResetPasswordRequestedWait = exports.AccountResetPasswordFailedWait = exports.BotCommandScopePeerUser = exports.BotCommandScopePeerAdmins = exports.BotCommandScopePeer = exports.BotCommandScopeChatAdmins = exports.BotCommandScopeChats = exports.BotCommandScopeUsers = exports.BotCommandScopeDefault = exports.StickersSuggestedShortName = exports.GroupCallParticipantVideo = exports.GroupCallParticipantVideoSourceGroup = exports.PhoneExportedGroupCallInvite = exports.PhoneJoinAsPeers = exports.MessagesCheckedHistoryImportPeer = exports.MessagesChatAdminsWithInvites = exports.ChatAdminWithInvites = exports.MessagesChatInviteImporters = exports.MessagesExportedChatInviteReplaced = exports.MessagesExportedChatInvite = exports.MessagesExportedChatInvites = exports.ChatInviteImporter = exports.MessagesAffectedFoundMessages = exports.MessagesHistoryImportParsed = exports.MessagesHistoryImport = exports.InlineQueryPeerTypeBotPM = exports.InlineQueryPeerTypeBroadcast = exports.InlineQueryPeerTypeMegagroup = exports.InlineQueryPeerTypeChat = exports.InlineQueryPeerTypePM = exports.InlineQueryPeerTypeSameBotPM = exports.PhoneGroupParticipants = exports.PhoneGroupCall = exports.GroupCallParticipant = exports.InputGroupCall = exports.GroupCall = exports.GroupCallDiscarded = exports.StatsMessageStats = exports.PeerBlocked = exports.MessageReplies = exports.MessageReplyStoryHeader = exports.MessageReplyHeader = exports.MessagesDiscussionMessage = exports.MessagesMessageViews = exports.MessageViews = void 0;
|
|
33
|
+
exports.InputStorePaymentGiftPremium = exports.InputStorePaymentPremiumSubscription = exports.HelpPremiumPromo = exports.MessagesTranscribedAudio = exports.PaymentsExportedInvoice = exports.InputInvoicePremiumGiftCode = exports.InputInvoiceSlug = exports.InputInvoiceMessage = exports.AttachMenuPeerTypeBroadcast = exports.AttachMenuPeerTypeChat = exports.AttachMenuPeerTypePM = exports.AttachMenuPeerTypeBotPM = exports.AttachMenuPeerTypeSameBotPM = exports.AccountSavedRingtoneConverted = exports.AccountSavedRingtone = exports.NotificationSoundRingtone = exports.NotificationSoundLocal = exports.NotificationSoundNone = exports.NotificationSoundDefault = exports.AccountSavedRingtones = exports.AccountSavedRingtonesNotModified = exports.BotMenuButton = exports.BotMenuButtonCommands = exports.BotMenuButtonDefault = exports.WebViewMessageSent = exports.SimpleWebViewResultURL = exports.WebViewResultURL = exports.AttachMenuBotsBot = exports.AttachMenuBots = exports.AttachMenuBotsNotModified = exports.AttachMenuBot = exports.AttachMenuBotIcon = exports.AttachMenuBotIconColor = exports.PhoneGroupCallStreamRtmpURL = exports.PhoneGroupCallStreamChannels = exports.GroupCallStreamChannel = exports.MessagePeerReaction = exports.MessagesAvailableReactions = exports.MessagesAvailableReactionsNotModified = exports.AvailableReaction = exports.MessagesMessageReactionsList = exports.MessageReactions = exports.ReactionCount = exports.AuthLoggedOut = exports.MessagesPeerSettings = exports.UsersUserFull = exports.ChannelsSendAsPeers = exports.MessagesSearchResultsPositions = exports.SearchResultPosition = exports.MessagesSearchResultsCalendar = void 0;
|
|
34
|
+
exports.HelpAppConfigNotModified = exports.AccountAutoSaveSettings = exports.AutoSaveException = exports.AutoSaveSettings = exports.MessagesTranslateResult = exports.TextWithEntities = exports.MessagesEmojiGroups = exports.MessagesEmojiGroupsNotModified = exports.EmojiGroup = exports.EmojiList = exports.EmojiListNotModified = exports.RequestPeerTypeBroadcast = exports.RequestPeerTypeChat = exports.RequestPeerTypeUser = exports.ExportedContactToken = exports.DefaultHistoryTTL = exports.MessagesForumTopics = exports.ForumTopic = exports.ForumTopicDeleted = exports.Username = exports.StickerKeyword = exports.MessageExtendedMedia = exports.MessageExtendedMediaPreview = exports.SendAsPeer = exports.PremiumSubscriptionOption = exports.AccountEmailVerifiedLogin = exports.AccountEmailVerified = exports.EmailVerificationApple = exports.EmailVerificationGoogle = exports.EmailVerificationCode = exports.EmailVerifyPurposePassport = exports.EmailVerifyPurposeLoginChange = exports.EmailVerifyPurposeLoginSetup = exports.MessagesReactions = exports.MessagesReactionsNotModified = exports.ChatReactionsSome = exports.ChatReactionsAll = exports.ChatReactionsNone = exports.ReactionCustomEmoji = exports.ReactionEmoji = exports.ReactionEmpty = exports.AccountEmojiStatuses = exports.AccountEmojiStatusesNotModified = exports.EmojiStatusUntil = exports.EmojiStatus = exports.EmojiStatusEmpty = exports.PaymentFormMethod = exports.PremiumGiftOption = exports.InputStorePaymentPremiumGiveaway = exports.InputStorePaymentPremiumGiftCode = void 0;
|
|
35
|
+
exports.PremiumBoostsList = exports.Boost = exports.PrepaidGiveaway = exports.PaymentsGiveawayInfoResults = exports.PaymentsGiveawayInfo = exports.PaymentsCheckedGiftCode = exports.PremiumGiftCodeOption = exports.MessagesWebPage = exports.StoriesPeerStories = exports.PeerStories = exports.MediaAreaSuggestedReaction = exports.MediaAreaGeoPoint = exports.InputMediaAreaVenue = exports.MediaAreaVenue = exports.MediaAreaCoordinates = exports.StoriesStealthMode = exports.ExportedStoryLink = exports.InputReplyToStory = exports.InputReplyToMessage = exports.StoriesStoryViews = exports.StoriesStoryViewsList = exports.StoryView = exports.StoriesStories = exports.StoriesAllStories = exports.StoriesAllStoriesNotModified = exports.StoryItem = exports.StoryItemSkipped = exports.StoryItemDeleted = exports.StoryViews = exports.SponsoredWebPage = exports.MessagePeerVoteMultiple = exports.MessagePeerVoteInputOption = exports.MessagePeerVote = exports.BotsBotInfo = exports.ChatlistsChatlistUpdates = exports.ChatlistsChatlistInvite = exports.ChatlistsChatlistInviteAlready = exports.ChatlistsExportedInvites = exports.ChatlistsExportedChatlistInvite = exports.ExportedChatlistInvite = exports.InputChatlistDialogFilter = exports.ReadParticipantDate = exports.InlineBotWebView = exports.AppWebViewResultURL = exports.MessagesBotApp = exports.BotApp = exports.BotAppNotModified = exports.InputBotAppShortName = exports.InputBotAppID = exports.HelpAppConfig = void 0;
|
|
36
|
+
exports.map = exports.PremiumBoostsStatus = exports.PremiumMyBoosts = exports.MyBoost = void 0;
|
|
37
|
+
// deno-fmt-ignore-file
|
|
36
38
|
const _1_tl_object_js_1 = require("./1_tl_object.js");
|
|
37
39
|
class Type extends _1_tl_object_js_1.TLObject {
|
|
38
40
|
}
|
|
@@ -1319,18 +1321,12 @@ exports._TypeStoryViews = _TypeStoryViews;
|
|
|
1319
1321
|
class _TypeStoryItem extends Type {
|
|
1320
1322
|
}
|
|
1321
1323
|
exports._TypeStoryItem = _TypeStoryItem;
|
|
1322
|
-
class _TypeUserStories extends Type {
|
|
1323
|
-
}
|
|
1324
|
-
exports._TypeUserStories = _TypeUserStories;
|
|
1325
1324
|
class _TypeStoriesAllStories extends Type {
|
|
1326
1325
|
}
|
|
1327
1326
|
exports._TypeStoriesAllStories = _TypeStoriesAllStories;
|
|
1328
1327
|
class _TypeStoriesStories extends Type {
|
|
1329
1328
|
}
|
|
1330
1329
|
exports._TypeStoriesStories = _TypeStoriesStories;
|
|
1331
|
-
class _TypeStoriesUserStories extends Type {
|
|
1332
|
-
}
|
|
1333
|
-
exports._TypeStoriesUserStories = _TypeStoriesUserStories;
|
|
1334
1330
|
class _TypeStoryView extends Type {
|
|
1335
1331
|
}
|
|
1336
1332
|
exports._TypeStoryView = _TypeStoryView;
|
|
@@ -1355,6 +1351,42 @@ exports._TypeMediaAreaCoordinates = _TypeMediaAreaCoordinates;
|
|
|
1355
1351
|
class _TypeMediaArea extends Type {
|
|
1356
1352
|
}
|
|
1357
1353
|
exports._TypeMediaArea = _TypeMediaArea;
|
|
1354
|
+
class _TypePeerStories extends Type {
|
|
1355
|
+
}
|
|
1356
|
+
exports._TypePeerStories = _TypePeerStories;
|
|
1357
|
+
class _TypeStoriesPeerStories extends Type {
|
|
1358
|
+
}
|
|
1359
|
+
exports._TypeStoriesPeerStories = _TypeStoriesPeerStories;
|
|
1360
|
+
class _TypeMessagesWebPage extends Type {
|
|
1361
|
+
}
|
|
1362
|
+
exports._TypeMessagesWebPage = _TypeMessagesWebPage;
|
|
1363
|
+
class _TypePremiumGiftCodeOption extends Type {
|
|
1364
|
+
}
|
|
1365
|
+
exports._TypePremiumGiftCodeOption = _TypePremiumGiftCodeOption;
|
|
1366
|
+
class _TypePaymentsCheckedGiftCode extends Type {
|
|
1367
|
+
}
|
|
1368
|
+
exports._TypePaymentsCheckedGiftCode = _TypePaymentsCheckedGiftCode;
|
|
1369
|
+
class _TypePaymentsGiveawayInfo extends Type {
|
|
1370
|
+
}
|
|
1371
|
+
exports._TypePaymentsGiveawayInfo = _TypePaymentsGiveawayInfo;
|
|
1372
|
+
class _TypePrepaidGiveaway extends Type {
|
|
1373
|
+
}
|
|
1374
|
+
exports._TypePrepaidGiveaway = _TypePrepaidGiveaway;
|
|
1375
|
+
class _TypeBoost extends Type {
|
|
1376
|
+
}
|
|
1377
|
+
exports._TypeBoost = _TypeBoost;
|
|
1378
|
+
class _TypePremiumBoostsList extends Type {
|
|
1379
|
+
}
|
|
1380
|
+
exports._TypePremiumBoostsList = _TypePremiumBoostsList;
|
|
1381
|
+
class _TypeMyBoost extends Type {
|
|
1382
|
+
}
|
|
1383
|
+
exports._TypeMyBoost = _TypeMyBoost;
|
|
1384
|
+
class _TypePremiumMyBoosts extends Type {
|
|
1385
|
+
}
|
|
1386
|
+
exports._TypePremiumMyBoosts = _TypePremiumMyBoosts;
|
|
1387
|
+
class _TypePremiumBoostsStatus extends Type {
|
|
1388
|
+
}
|
|
1389
|
+
exports._TypePremiumBoostsStatus = _TypePremiumBoostsStatus;
|
|
1358
1390
|
class ResPQ extends _TypeResPQ {
|
|
1359
1391
|
get [_1_tl_object_js_1.id]() {
|
|
1360
1392
|
return 0x05162463;
|
|
@@ -4048,23 +4080,23 @@ class InputMediaDice extends _TypeInputMedia {
|
|
|
4048
4080
|
exports.InputMediaDice = InputMediaDice;
|
|
4049
4081
|
class InputMediaStory extends _TypeInputMedia {
|
|
4050
4082
|
get [_1_tl_object_js_1.id]() {
|
|
4051
|
-
return
|
|
4083
|
+
return 0x89FDD778;
|
|
4052
4084
|
}
|
|
4053
4085
|
static get [_1_tl_object_js_1.paramDesc]() {
|
|
4054
4086
|
return [
|
|
4055
|
-
["
|
|
4087
|
+
["peer", _TypeInputPeer, "InputPeer"],
|
|
4056
4088
|
["id", "number", "int"],
|
|
4057
4089
|
];
|
|
4058
4090
|
}
|
|
4059
4091
|
get [_1_tl_object_js_1.params]() {
|
|
4060
4092
|
return [
|
|
4061
|
-
[this.
|
|
4093
|
+
[this.peer, _TypeInputPeer, "InputPeer"],
|
|
4062
4094
|
[this.id, "number", "int"],
|
|
4063
4095
|
];
|
|
4064
4096
|
}
|
|
4065
4097
|
constructor(params) {
|
|
4066
4098
|
super();
|
|
4067
|
-
Object.defineProperty(this, "
|
|
4099
|
+
Object.defineProperty(this, "peer", {
|
|
4068
4100
|
enumerable: true,
|
|
4069
4101
|
configurable: true,
|
|
4070
4102
|
writable: true,
|
|
@@ -4076,11 +4108,66 @@ class InputMediaStory extends _TypeInputMedia {
|
|
|
4076
4108
|
writable: true,
|
|
4077
4109
|
value: void 0
|
|
4078
4110
|
});
|
|
4079
|
-
this.
|
|
4111
|
+
this.peer = params.peer;
|
|
4080
4112
|
this.id = params.id;
|
|
4081
4113
|
}
|
|
4082
4114
|
}
|
|
4083
4115
|
exports.InputMediaStory = InputMediaStory;
|
|
4116
|
+
class InputMediaWebPage extends _TypeInputMedia {
|
|
4117
|
+
get [_1_tl_object_js_1.id]() {
|
|
4118
|
+
return 0xC21B8849;
|
|
4119
|
+
}
|
|
4120
|
+
static get [_1_tl_object_js_1.paramDesc]() {
|
|
4121
|
+
return [
|
|
4122
|
+
["flags", _1_tl_object_js_1.flags, "#"],
|
|
4123
|
+
["forceLargeMedia", "true", "flags.0?true"],
|
|
4124
|
+
["forceSmallMedia", "true", "flags.1?true"],
|
|
4125
|
+
["optional", "true", "flags.2?true"],
|
|
4126
|
+
["url", "string", "string"],
|
|
4127
|
+
];
|
|
4128
|
+
}
|
|
4129
|
+
get [_1_tl_object_js_1.params]() {
|
|
4130
|
+
return [
|
|
4131
|
+
["flags", _1_tl_object_js_1.flags, "#"],
|
|
4132
|
+
[this.forceLargeMedia ?? null, "true", "flags.0?true"],
|
|
4133
|
+
[this.forceSmallMedia ?? null, "true", "flags.1?true"],
|
|
4134
|
+
[this.optional ?? null, "true", "flags.2?true"],
|
|
4135
|
+
[this.url, "string", "string"],
|
|
4136
|
+
];
|
|
4137
|
+
}
|
|
4138
|
+
constructor(params) {
|
|
4139
|
+
super();
|
|
4140
|
+
Object.defineProperty(this, "forceLargeMedia", {
|
|
4141
|
+
enumerable: true,
|
|
4142
|
+
configurable: true,
|
|
4143
|
+
writable: true,
|
|
4144
|
+
value: void 0
|
|
4145
|
+
});
|
|
4146
|
+
Object.defineProperty(this, "forceSmallMedia", {
|
|
4147
|
+
enumerable: true,
|
|
4148
|
+
configurable: true,
|
|
4149
|
+
writable: true,
|
|
4150
|
+
value: void 0
|
|
4151
|
+
});
|
|
4152
|
+
Object.defineProperty(this, "optional", {
|
|
4153
|
+
enumerable: true,
|
|
4154
|
+
configurable: true,
|
|
4155
|
+
writable: true,
|
|
4156
|
+
value: void 0
|
|
4157
|
+
});
|
|
4158
|
+
Object.defineProperty(this, "url", {
|
|
4159
|
+
enumerable: true,
|
|
4160
|
+
configurable: true,
|
|
4161
|
+
writable: true,
|
|
4162
|
+
value: void 0
|
|
4163
|
+
});
|
|
4164
|
+
this.forceLargeMedia = params.forceLargeMedia;
|
|
4165
|
+
this.forceSmallMedia = params.forceSmallMedia;
|
|
4166
|
+
this.optional = params.optional;
|
|
4167
|
+
this.url = params.url;
|
|
4168
|
+
}
|
|
4169
|
+
}
|
|
4170
|
+
exports.InputMediaWebPage = InputMediaWebPage;
|
|
4084
4171
|
class InputChatPhotoEmpty extends _TypeInputChatPhoto {
|
|
4085
4172
|
get [_1_tl_object_js_1.id]() {
|
|
4086
4173
|
return 0x1CA48F57;
|
|
@@ -5013,7 +5100,7 @@ class UserEmpty extends _TypeUser {
|
|
|
5013
5100
|
exports.UserEmpty = UserEmpty;
|
|
5014
5101
|
class User extends _TypeUser {
|
|
5015
5102
|
get [_1_tl_object_js_1.id]() {
|
|
5016
|
-
return
|
|
5103
|
+
return 0xEB602F25;
|
|
5017
5104
|
}
|
|
5018
5105
|
static get [_1_tl_object_js_1.paramDesc]() {
|
|
5019
5106
|
return [
|
|
@@ -5056,6 +5143,8 @@ class User extends _TypeUser {
|
|
|
5056
5143
|
["emojiStatus", _TypeEmojiStatus, "flags.30?EmojiStatus"],
|
|
5057
5144
|
["usernames", [_TypeUsername], "flags2.0?Vector<Username>"],
|
|
5058
5145
|
["storiesMaxId", "number", "flags2.5?int"],
|
|
5146
|
+
["color", "number", "flags2.7?int"],
|
|
5147
|
+
["backgroundEmojiId", "bigint", "flags2.6?long"],
|
|
5059
5148
|
];
|
|
5060
5149
|
}
|
|
5061
5150
|
get [_1_tl_object_js_1.params]() {
|
|
@@ -5099,6 +5188,8 @@ class User extends _TypeUser {
|
|
|
5099
5188
|
[this.emojiStatus ?? null, _TypeEmojiStatus, "flags.30?EmojiStatus"],
|
|
5100
5189
|
[this.usernames ?? null, [_TypeUsername], "flags2.0?Vector<Username>"],
|
|
5101
5190
|
[this.storiesMaxId ?? null, "number", "flags2.5?int"],
|
|
5191
|
+
[this.color ?? null, "number", "flags2.7?int"],
|
|
5192
|
+
[this.backgroundEmojiId ?? null, "bigint", "flags2.6?long"],
|
|
5102
5193
|
];
|
|
5103
5194
|
}
|
|
5104
5195
|
constructor(params) {
|
|
@@ -5325,6 +5416,18 @@ class User extends _TypeUser {
|
|
|
5325
5416
|
writable: true,
|
|
5326
5417
|
value: void 0
|
|
5327
5418
|
});
|
|
5419
|
+
Object.defineProperty(this, "color", {
|
|
5420
|
+
enumerable: true,
|
|
5421
|
+
configurable: true,
|
|
5422
|
+
writable: true,
|
|
5423
|
+
value: void 0
|
|
5424
|
+
});
|
|
5425
|
+
Object.defineProperty(this, "backgroundEmojiId", {
|
|
5426
|
+
enumerable: true,
|
|
5427
|
+
configurable: true,
|
|
5428
|
+
writable: true,
|
|
5429
|
+
value: void 0
|
|
5430
|
+
});
|
|
5328
5431
|
this.self = params.self;
|
|
5329
5432
|
this.contact = params.contact;
|
|
5330
5433
|
this.mutualContact = params.mutualContact;
|
|
@@ -5362,6 +5465,8 @@ class User extends _TypeUser {
|
|
|
5362
5465
|
this.emojiStatus = params.emojiStatus;
|
|
5363
5466
|
this.usernames = params.usernames;
|
|
5364
5467
|
this.storiesMaxId = params.storiesMaxId;
|
|
5468
|
+
this.color = params.color;
|
|
5469
|
+
this.backgroundEmojiId = params.backgroundEmojiId;
|
|
5365
5470
|
}
|
|
5366
5471
|
}
|
|
5367
5472
|
exports.User = User;
|
|
@@ -5773,7 +5878,7 @@ class ChatForbidden extends _TypeChat {
|
|
|
5773
5878
|
exports.ChatForbidden = ChatForbidden;
|
|
5774
5879
|
class Channel extends _TypeChat {
|
|
5775
5880
|
get [_1_tl_object_js_1.id]() {
|
|
5776
|
-
return
|
|
5881
|
+
return 0x1981EA7E;
|
|
5777
5882
|
}
|
|
5778
5883
|
static get [_1_tl_object_js_1.paramDesc]() {
|
|
5779
5884
|
return [
|
|
@@ -5799,6 +5904,9 @@ class Channel extends _TypeChat {
|
|
|
5799
5904
|
["joinRequest", "true", "flags.29?true"],
|
|
5800
5905
|
["forum", "true", "flags.30?true"],
|
|
5801
5906
|
["flags2", _1_tl_object_js_1.flags, "#"],
|
|
5907
|
+
["storiesHidden", "true", "flags2.1?true"],
|
|
5908
|
+
["storiesHiddenMin", "true", "flags2.2?true"],
|
|
5909
|
+
["storiesUnavailable", "true", "flags2.3?true"],
|
|
5802
5910
|
["id", "bigint", "long"],
|
|
5803
5911
|
["accessHash", "bigint", "flags.13?long"],
|
|
5804
5912
|
["title", "string", "string"],
|
|
@@ -5811,6 +5919,9 @@ class Channel extends _TypeChat {
|
|
|
5811
5919
|
["defaultBannedRights", _TypeChatBannedRights, "flags.18?ChatBannedRights"],
|
|
5812
5920
|
["participantsCount", "number", "flags.17?int"],
|
|
5813
5921
|
["usernames", [_TypeUsername], "flags2.0?Vector<Username>"],
|
|
5922
|
+
["storiesMaxId", "number", "flags2.4?int"],
|
|
5923
|
+
["color", "number", "flags2.6?int"],
|
|
5924
|
+
["backgroundEmojiId", "bigint", "flags2.5?long"],
|
|
5814
5925
|
];
|
|
5815
5926
|
}
|
|
5816
5927
|
get [_1_tl_object_js_1.params]() {
|
|
@@ -5837,6 +5948,9 @@ class Channel extends _TypeChat {
|
|
|
5837
5948
|
[this.joinRequest ?? null, "true", "flags.29?true"],
|
|
5838
5949
|
[this.forum ?? null, "true", "flags.30?true"],
|
|
5839
5950
|
["flags2", _1_tl_object_js_1.flags, "#"],
|
|
5951
|
+
[this.storiesHidden ?? null, "true", "flags2.1?true"],
|
|
5952
|
+
[this.storiesHiddenMin ?? null, "true", "flags2.2?true"],
|
|
5953
|
+
[this.storiesUnavailable ?? null, "true", "flags2.3?true"],
|
|
5840
5954
|
[this.id, "bigint", "long"],
|
|
5841
5955
|
[this.accessHash ?? null, "bigint", "flags.13?long"],
|
|
5842
5956
|
[this.title, "string", "string"],
|
|
@@ -5849,6 +5963,9 @@ class Channel extends _TypeChat {
|
|
|
5849
5963
|
[this.defaultBannedRights ?? null, _TypeChatBannedRights, "flags.18?ChatBannedRights"],
|
|
5850
5964
|
[this.participantsCount ?? null, "number", "flags.17?int"],
|
|
5851
5965
|
[this.usernames ?? null, [_TypeUsername], "flags2.0?Vector<Username>"],
|
|
5966
|
+
[this.storiesMaxId ?? null, "number", "flags2.4?int"],
|
|
5967
|
+
[this.color ?? null, "number", "flags2.6?int"],
|
|
5968
|
+
[this.backgroundEmojiId ?? null, "bigint", "flags2.5?long"],
|
|
5852
5969
|
];
|
|
5853
5970
|
}
|
|
5854
5971
|
constructor(params) {
|
|
@@ -5973,6 +6090,24 @@ class Channel extends _TypeChat {
|
|
|
5973
6090
|
writable: true,
|
|
5974
6091
|
value: void 0
|
|
5975
6092
|
});
|
|
6093
|
+
Object.defineProperty(this, "storiesHidden", {
|
|
6094
|
+
enumerable: true,
|
|
6095
|
+
configurable: true,
|
|
6096
|
+
writable: true,
|
|
6097
|
+
value: void 0
|
|
6098
|
+
});
|
|
6099
|
+
Object.defineProperty(this, "storiesHiddenMin", {
|
|
6100
|
+
enumerable: true,
|
|
6101
|
+
configurable: true,
|
|
6102
|
+
writable: true,
|
|
6103
|
+
value: void 0
|
|
6104
|
+
});
|
|
6105
|
+
Object.defineProperty(this, "storiesUnavailable", {
|
|
6106
|
+
enumerable: true,
|
|
6107
|
+
configurable: true,
|
|
6108
|
+
writable: true,
|
|
6109
|
+
value: void 0
|
|
6110
|
+
});
|
|
5976
6111
|
Object.defineProperty(this, "id", {
|
|
5977
6112
|
enumerable: true,
|
|
5978
6113
|
configurable: true,
|
|
@@ -6045,6 +6180,24 @@ class Channel extends _TypeChat {
|
|
|
6045
6180
|
writable: true,
|
|
6046
6181
|
value: void 0
|
|
6047
6182
|
});
|
|
6183
|
+
Object.defineProperty(this, "storiesMaxId", {
|
|
6184
|
+
enumerable: true,
|
|
6185
|
+
configurable: true,
|
|
6186
|
+
writable: true,
|
|
6187
|
+
value: void 0
|
|
6188
|
+
});
|
|
6189
|
+
Object.defineProperty(this, "color", {
|
|
6190
|
+
enumerable: true,
|
|
6191
|
+
configurable: true,
|
|
6192
|
+
writable: true,
|
|
6193
|
+
value: void 0
|
|
6194
|
+
});
|
|
6195
|
+
Object.defineProperty(this, "backgroundEmojiId", {
|
|
6196
|
+
enumerable: true,
|
|
6197
|
+
configurable: true,
|
|
6198
|
+
writable: true,
|
|
6199
|
+
value: void 0
|
|
6200
|
+
});
|
|
6048
6201
|
this.creator = params.creator;
|
|
6049
6202
|
this.left = params.left;
|
|
6050
6203
|
this.broadcast = params.broadcast;
|
|
@@ -6065,6 +6218,9 @@ class Channel extends _TypeChat {
|
|
|
6065
6218
|
this.joinToSend = params.joinToSend;
|
|
6066
6219
|
this.joinRequest = params.joinRequest;
|
|
6067
6220
|
this.forum = params.forum;
|
|
6221
|
+
this.storiesHidden = params.storiesHidden;
|
|
6222
|
+
this.storiesHiddenMin = params.storiesHiddenMin;
|
|
6223
|
+
this.storiesUnavailable = params.storiesUnavailable;
|
|
6068
6224
|
this.id = params.id;
|
|
6069
6225
|
this.accessHash = params.accessHash;
|
|
6070
6226
|
this.title = params.title;
|
|
@@ -6077,6 +6233,9 @@ class Channel extends _TypeChat {
|
|
|
6077
6233
|
this.defaultBannedRights = params.defaultBannedRights;
|
|
6078
6234
|
this.participantsCount = params.participantsCount;
|
|
6079
6235
|
this.usernames = params.usernames;
|
|
6236
|
+
this.storiesMaxId = params.storiesMaxId;
|
|
6237
|
+
this.color = params.color;
|
|
6238
|
+
this.backgroundEmojiId = params.backgroundEmojiId;
|
|
6080
6239
|
}
|
|
6081
6240
|
}
|
|
6082
6241
|
exports.Channel = Channel;
|
|
@@ -6345,7 +6504,7 @@ class ChatFull extends _TypeChatFull {
|
|
|
6345
6504
|
exports.ChatFull = ChatFull;
|
|
6346
6505
|
class ChannelFull extends _TypeChatFull {
|
|
6347
6506
|
get [_1_tl_object_js_1.id]() {
|
|
6348
|
-
return
|
|
6507
|
+
return 0x723027BD;
|
|
6349
6508
|
}
|
|
6350
6509
|
static get [_1_tl_object_js_1.paramDesc]() {
|
|
6351
6510
|
return [
|
|
@@ -6363,6 +6522,7 @@ class ChannelFull extends _TypeChatFull {
|
|
|
6363
6522
|
["antispam", "true", "flags2.1?true"],
|
|
6364
6523
|
["participantsHidden", "true", "flags2.2?true"],
|
|
6365
6524
|
["translationsDisabled", "true", "flags2.3?true"],
|
|
6525
|
+
["storiesPinnedAvailable", "true", "flags2.5?true"],
|
|
6366
6526
|
["id", "bigint", "long"],
|
|
6367
6527
|
["about", "string", "string"],
|
|
6368
6528
|
["participantsCount", "number", "flags.0?int"],
|
|
@@ -6398,6 +6558,7 @@ class ChannelFull extends _TypeChatFull {
|
|
|
6398
6558
|
["recentRequesters", ["bigint"], "flags.28?Vector<long>"],
|
|
6399
6559
|
["defaultSendAs", _TypePeer, "flags.29?Peer"],
|
|
6400
6560
|
["availableReactions", _TypeChatReactions, "flags.30?ChatReactions"],
|
|
6561
|
+
["stories", _TypePeerStories, "flags2.4?PeerStories"],
|
|
6401
6562
|
];
|
|
6402
6563
|
}
|
|
6403
6564
|
get [_1_tl_object_js_1.params]() {
|
|
@@ -6416,6 +6577,7 @@ class ChannelFull extends _TypeChatFull {
|
|
|
6416
6577
|
[this.antispam ?? null, "true", "flags2.1?true"],
|
|
6417
6578
|
[this.participantsHidden ?? null, "true", "flags2.2?true"],
|
|
6418
6579
|
[this.translationsDisabled ?? null, "true", "flags2.3?true"],
|
|
6580
|
+
[this.storiesPinnedAvailable ?? null, "true", "flags2.5?true"],
|
|
6419
6581
|
[this.id, "bigint", "long"],
|
|
6420
6582
|
[this.about, "string", "string"],
|
|
6421
6583
|
[this.participantsCount ?? null, "number", "flags.0?int"],
|
|
@@ -6451,6 +6613,7 @@ class ChannelFull extends _TypeChatFull {
|
|
|
6451
6613
|
[this.recentRequesters ?? null, ["bigint"], "flags.28?Vector<long>"],
|
|
6452
6614
|
[this.defaultSendAs ?? null, _TypePeer, "flags.29?Peer"],
|
|
6453
6615
|
[this.availableReactions ?? null, _TypeChatReactions, "flags.30?ChatReactions"],
|
|
6616
|
+
[this.stories ?? null, _TypePeerStories, "flags2.4?PeerStories"],
|
|
6454
6617
|
];
|
|
6455
6618
|
}
|
|
6456
6619
|
constructor(params) {
|
|
@@ -6527,6 +6690,12 @@ class ChannelFull extends _TypeChatFull {
|
|
|
6527
6690
|
writable: true,
|
|
6528
6691
|
value: void 0
|
|
6529
6692
|
});
|
|
6693
|
+
Object.defineProperty(this, "storiesPinnedAvailable", {
|
|
6694
|
+
enumerable: true,
|
|
6695
|
+
configurable: true,
|
|
6696
|
+
writable: true,
|
|
6697
|
+
value: void 0
|
|
6698
|
+
});
|
|
6530
6699
|
Object.defineProperty(this, "id", {
|
|
6531
6700
|
enumerable: true,
|
|
6532
6701
|
configurable: true,
|
|
@@ -6737,6 +6906,12 @@ class ChannelFull extends _TypeChatFull {
|
|
|
6737
6906
|
writable: true,
|
|
6738
6907
|
value: void 0
|
|
6739
6908
|
});
|
|
6909
|
+
Object.defineProperty(this, "stories", {
|
|
6910
|
+
enumerable: true,
|
|
6911
|
+
configurable: true,
|
|
6912
|
+
writable: true,
|
|
6913
|
+
value: void 0
|
|
6914
|
+
});
|
|
6740
6915
|
this.canViewParticipants = params.canViewParticipants;
|
|
6741
6916
|
this.canSetUsername = params.canSetUsername;
|
|
6742
6917
|
this.canSetStickers = params.canSetStickers;
|
|
@@ -6749,6 +6924,7 @@ class ChannelFull extends _TypeChatFull {
|
|
|
6749
6924
|
this.antispam = params.antispam;
|
|
6750
6925
|
this.participantsHidden = params.participantsHidden;
|
|
6751
6926
|
this.translationsDisabled = params.translationsDisabled;
|
|
6927
|
+
this.storiesPinnedAvailable = params.storiesPinnedAvailable;
|
|
6752
6928
|
this.id = params.id;
|
|
6753
6929
|
this.about = params.about;
|
|
6754
6930
|
this.participantsCount = params.participantsCount;
|
|
@@ -6784,6 +6960,7 @@ class ChannelFull extends _TypeChatFull {
|
|
|
6784
6960
|
this.recentRequesters = params.recentRequesters;
|
|
6785
6961
|
this.defaultSendAs = params.defaultSendAs;
|
|
6786
6962
|
this.availableReactions = params.availableReactions;
|
|
6963
|
+
this.stories = params.stories;
|
|
6787
6964
|
}
|
|
6788
6965
|
}
|
|
6789
6966
|
exports.ChannelFull = ChannelFull;
|
|
@@ -7106,6 +7283,7 @@ class Message extends _TypeMessage {
|
|
|
7106
7283
|
["editHide", "true", "flags.21?true"],
|
|
7107
7284
|
["pinned", "true", "flags.24?true"],
|
|
7108
7285
|
["noforwards", "true", "flags.26?true"],
|
|
7286
|
+
["invertMedia", "true", "flags.27?true"],
|
|
7109
7287
|
["id", "number", "int"],
|
|
7110
7288
|
["fromId", _TypePeer, "flags.8?Peer"],
|
|
7111
7289
|
["peerId", _TypePeer, "Peer"],
|
|
@@ -7141,6 +7319,7 @@ class Message extends _TypeMessage {
|
|
|
7141
7319
|
[this.editHide ?? null, "true", "flags.21?true"],
|
|
7142
7320
|
[this.pinned ?? null, "true", "flags.24?true"],
|
|
7143
7321
|
[this.noforwards ?? null, "true", "flags.26?true"],
|
|
7322
|
+
[this.invertMedia ?? null, "true", "flags.27?true"],
|
|
7144
7323
|
[this.id, "number", "int"],
|
|
7145
7324
|
[this.fromId ?? null, _TypePeer, "flags.8?Peer"],
|
|
7146
7325
|
[this.peerId, _TypePeer, "Peer"],
|
|
@@ -7225,6 +7404,12 @@ class Message extends _TypeMessage {
|
|
|
7225
7404
|
writable: true,
|
|
7226
7405
|
value: void 0
|
|
7227
7406
|
});
|
|
7407
|
+
Object.defineProperty(this, "invertMedia", {
|
|
7408
|
+
enumerable: true,
|
|
7409
|
+
configurable: true,
|
|
7410
|
+
writable: true,
|
|
7411
|
+
value: void 0
|
|
7412
|
+
});
|
|
7228
7413
|
Object.defineProperty(this, "id", {
|
|
7229
7414
|
enumerable: true,
|
|
7230
7415
|
configurable: true,
|
|
@@ -7355,6 +7540,7 @@ class Message extends _TypeMessage {
|
|
|
7355
7540
|
this.editHide = params.editHide;
|
|
7356
7541
|
this.pinned = params.pinned;
|
|
7357
7542
|
this.noforwards = params.noforwards;
|
|
7543
|
+
this.invertMedia = params.invertMedia;
|
|
7358
7544
|
this.id = params.id;
|
|
7359
7545
|
this.fromId = params.fromId;
|
|
7360
7546
|
this.peerId = params.peerId;
|
|
@@ -7744,26 +7930,64 @@ class MessageMediaDocument extends _TypeMessageMedia {
|
|
|
7744
7930
|
exports.MessageMediaDocument = MessageMediaDocument;
|
|
7745
7931
|
class MessageMediaWebPage extends _TypeMessageMedia {
|
|
7746
7932
|
get [_1_tl_object_js_1.id]() {
|
|
7747
|
-
return
|
|
7933
|
+
return 0xDDF10C3B;
|
|
7748
7934
|
}
|
|
7749
7935
|
static get [_1_tl_object_js_1.paramDesc]() {
|
|
7750
7936
|
return [
|
|
7937
|
+
["flags", _1_tl_object_js_1.flags, "#"],
|
|
7938
|
+
["forceLargeMedia", "true", "flags.0?true"],
|
|
7939
|
+
["forceSmallMedia", "true", "flags.1?true"],
|
|
7940
|
+
["manual", "true", "flags.3?true"],
|
|
7941
|
+
["safe", "true", "flags.4?true"],
|
|
7751
7942
|
["webpage", _TypeWebPage, "WebPage"],
|
|
7752
7943
|
];
|
|
7753
7944
|
}
|
|
7754
7945
|
get [_1_tl_object_js_1.params]() {
|
|
7755
7946
|
return [
|
|
7947
|
+
["flags", _1_tl_object_js_1.flags, "#"],
|
|
7948
|
+
[this.forceLargeMedia ?? null, "true", "flags.0?true"],
|
|
7949
|
+
[this.forceSmallMedia ?? null, "true", "flags.1?true"],
|
|
7950
|
+
[this.manual ?? null, "true", "flags.3?true"],
|
|
7951
|
+
[this.safe ?? null, "true", "flags.4?true"],
|
|
7756
7952
|
[this.webpage, _TypeWebPage, "WebPage"],
|
|
7757
7953
|
];
|
|
7758
7954
|
}
|
|
7759
7955
|
constructor(params) {
|
|
7760
7956
|
super();
|
|
7957
|
+
Object.defineProperty(this, "forceLargeMedia", {
|
|
7958
|
+
enumerable: true,
|
|
7959
|
+
configurable: true,
|
|
7960
|
+
writable: true,
|
|
7961
|
+
value: void 0
|
|
7962
|
+
});
|
|
7963
|
+
Object.defineProperty(this, "forceSmallMedia", {
|
|
7964
|
+
enumerable: true,
|
|
7965
|
+
configurable: true,
|
|
7966
|
+
writable: true,
|
|
7967
|
+
value: void 0
|
|
7968
|
+
});
|
|
7969
|
+
Object.defineProperty(this, "manual", {
|
|
7970
|
+
enumerable: true,
|
|
7971
|
+
configurable: true,
|
|
7972
|
+
writable: true,
|
|
7973
|
+
value: void 0
|
|
7974
|
+
});
|
|
7975
|
+
Object.defineProperty(this, "safe", {
|
|
7976
|
+
enumerable: true,
|
|
7977
|
+
configurable: true,
|
|
7978
|
+
writable: true,
|
|
7979
|
+
value: void 0
|
|
7980
|
+
});
|
|
7761
7981
|
Object.defineProperty(this, "webpage", {
|
|
7762
7982
|
enumerable: true,
|
|
7763
7983
|
configurable: true,
|
|
7764
7984
|
writable: true,
|
|
7765
7985
|
value: void 0
|
|
7766
7986
|
});
|
|
7987
|
+
this.forceLargeMedia = params.forceLargeMedia;
|
|
7988
|
+
this.forceSmallMedia = params.forceSmallMedia;
|
|
7989
|
+
this.manual = params.manual;
|
|
7990
|
+
this.safe = params.safe;
|
|
7767
7991
|
this.webpage = params.webpage;
|
|
7768
7992
|
}
|
|
7769
7993
|
}
|
|
@@ -8101,13 +8325,13 @@ class MessageMediaDice extends _TypeMessageMedia {
|
|
|
8101
8325
|
exports.MessageMediaDice = MessageMediaDice;
|
|
8102
8326
|
class MessageMediaStory extends _TypeMessageMedia {
|
|
8103
8327
|
get [_1_tl_object_js_1.id]() {
|
|
8104
|
-
return
|
|
8328
|
+
return 0x68CB6283;
|
|
8105
8329
|
}
|
|
8106
8330
|
static get [_1_tl_object_js_1.paramDesc]() {
|
|
8107
8331
|
return [
|
|
8108
8332
|
["flags", _1_tl_object_js_1.flags, "#"],
|
|
8109
8333
|
["viaMention", "true", "flags.1?true"],
|
|
8110
|
-
["
|
|
8334
|
+
["peer", _TypePeer, "Peer"],
|
|
8111
8335
|
["id", "number", "int"],
|
|
8112
8336
|
["story", _TypeStoryItem, "flags.0?StoryItem"],
|
|
8113
8337
|
];
|
|
@@ -8116,7 +8340,7 @@ class MessageMediaStory extends _TypeMessageMedia {
|
|
|
8116
8340
|
return [
|
|
8117
8341
|
["flags", _1_tl_object_js_1.flags, "#"],
|
|
8118
8342
|
[this.viaMention ?? null, "true", "flags.1?true"],
|
|
8119
|
-
[this.
|
|
8343
|
+
[this.peer, _TypePeer, "Peer"],
|
|
8120
8344
|
[this.id, "number", "int"],
|
|
8121
8345
|
[this.story ?? null, _TypeStoryItem, "flags.0?StoryItem"],
|
|
8122
8346
|
];
|
|
@@ -8129,7 +8353,7 @@ class MessageMediaStory extends _TypeMessageMedia {
|
|
|
8129
8353
|
writable: true,
|
|
8130
8354
|
value: void 0
|
|
8131
8355
|
});
|
|
8132
|
-
Object.defineProperty(this, "
|
|
8356
|
+
Object.defineProperty(this, "peer", {
|
|
8133
8357
|
enumerable: true,
|
|
8134
8358
|
configurable: true,
|
|
8135
8359
|
writable: true,
|
|
@@ -8148,12 +8372,85 @@ class MessageMediaStory extends _TypeMessageMedia {
|
|
|
8148
8372
|
value: void 0
|
|
8149
8373
|
});
|
|
8150
8374
|
this.viaMention = params.viaMention;
|
|
8151
|
-
this.
|
|
8375
|
+
this.peer = params.peer;
|
|
8152
8376
|
this.id = params.id;
|
|
8153
8377
|
this.story = params.story;
|
|
8154
8378
|
}
|
|
8155
8379
|
}
|
|
8156
8380
|
exports.MessageMediaStory = MessageMediaStory;
|
|
8381
|
+
class MessageMediaGiveaway extends _TypeMessageMedia {
|
|
8382
|
+
get [_1_tl_object_js_1.id]() {
|
|
8383
|
+
return 0x58260664;
|
|
8384
|
+
}
|
|
8385
|
+
static get [_1_tl_object_js_1.paramDesc]() {
|
|
8386
|
+
return [
|
|
8387
|
+
["flags", _1_tl_object_js_1.flags, "#"],
|
|
8388
|
+
["onlyNewSubscribers", "true", "flags.0?true"],
|
|
8389
|
+
["channels", ["bigint"], "Vector<long>"],
|
|
8390
|
+
["countriesIso2", ["string"], "flags.1?Vector<string>"],
|
|
8391
|
+
["quantity", "number", "int"],
|
|
8392
|
+
["months", "number", "int"],
|
|
8393
|
+
["untilDate", "number", "int"],
|
|
8394
|
+
];
|
|
8395
|
+
}
|
|
8396
|
+
get [_1_tl_object_js_1.params]() {
|
|
8397
|
+
return [
|
|
8398
|
+
["flags", _1_tl_object_js_1.flags, "#"],
|
|
8399
|
+
[this.onlyNewSubscribers ?? null, "true", "flags.0?true"],
|
|
8400
|
+
[this.channels, ["bigint"], "Vector<long>"],
|
|
8401
|
+
[this.countriesIso2 ?? null, ["string"], "flags.1?Vector<string>"],
|
|
8402
|
+
[this.quantity, "number", "int"],
|
|
8403
|
+
[this.months, "number", "int"],
|
|
8404
|
+
[this.untilDate, "number", "int"],
|
|
8405
|
+
];
|
|
8406
|
+
}
|
|
8407
|
+
constructor(params) {
|
|
8408
|
+
super();
|
|
8409
|
+
Object.defineProperty(this, "onlyNewSubscribers", {
|
|
8410
|
+
enumerable: true,
|
|
8411
|
+
configurable: true,
|
|
8412
|
+
writable: true,
|
|
8413
|
+
value: void 0
|
|
8414
|
+
});
|
|
8415
|
+
Object.defineProperty(this, "channels", {
|
|
8416
|
+
enumerable: true,
|
|
8417
|
+
configurable: true,
|
|
8418
|
+
writable: true,
|
|
8419
|
+
value: void 0
|
|
8420
|
+
});
|
|
8421
|
+
Object.defineProperty(this, "countriesIso2", {
|
|
8422
|
+
enumerable: true,
|
|
8423
|
+
configurable: true,
|
|
8424
|
+
writable: true,
|
|
8425
|
+
value: void 0
|
|
8426
|
+
});
|
|
8427
|
+
Object.defineProperty(this, "quantity", {
|
|
8428
|
+
enumerable: true,
|
|
8429
|
+
configurable: true,
|
|
8430
|
+
writable: true,
|
|
8431
|
+
value: void 0
|
|
8432
|
+
});
|
|
8433
|
+
Object.defineProperty(this, "months", {
|
|
8434
|
+
enumerable: true,
|
|
8435
|
+
configurable: true,
|
|
8436
|
+
writable: true,
|
|
8437
|
+
value: void 0
|
|
8438
|
+
});
|
|
8439
|
+
Object.defineProperty(this, "untilDate", {
|
|
8440
|
+
enumerable: true,
|
|
8441
|
+
configurable: true,
|
|
8442
|
+
writable: true,
|
|
8443
|
+
value: void 0
|
|
8444
|
+
});
|
|
8445
|
+
this.onlyNewSubscribers = params.onlyNewSubscribers;
|
|
8446
|
+
this.channels = params.channels;
|
|
8447
|
+
this.countriesIso2 = params.countriesIso2;
|
|
8448
|
+
this.quantity = params.quantity;
|
|
8449
|
+
this.months = params.months;
|
|
8450
|
+
this.untilDate = params.untilDate;
|
|
8451
|
+
}
|
|
8452
|
+
}
|
|
8453
|
+
exports.MessageMediaGiveaway = MessageMediaGiveaway;
|
|
8157
8454
|
class MessageActionEmpty extends _TypeMessageAction {
|
|
8158
8455
|
get [_1_tl_object_js_1.id]() {
|
|
8159
8456
|
return 0xB6AEF7B0;
|
|
@@ -8760,6 +9057,7 @@ class MessageActionBotAllowed extends _TypeMessageAction {
|
|
|
8760
9057
|
return [
|
|
8761
9058
|
["flags", _1_tl_object_js_1.flags, "#"],
|
|
8762
9059
|
["attachMenu", "true", "flags.1?true"],
|
|
9060
|
+
["fromRequest", "true", "flags.3?true"],
|
|
8763
9061
|
["domain", "string", "flags.0?string"],
|
|
8764
9062
|
["app", _TypeBotApp, "flags.2?BotApp"],
|
|
8765
9063
|
];
|
|
@@ -8768,6 +9066,7 @@ class MessageActionBotAllowed extends _TypeMessageAction {
|
|
|
8768
9066
|
return [
|
|
8769
9067
|
["flags", _1_tl_object_js_1.flags, "#"],
|
|
8770
9068
|
[this.attachMenu ?? null, "true", "flags.1?true"],
|
|
9069
|
+
[this.fromRequest ?? null, "true", "flags.3?true"],
|
|
8771
9070
|
[this.domain ?? null, "string", "flags.0?string"],
|
|
8772
9071
|
[this.app ?? null, _TypeBotApp, "flags.2?BotApp"],
|
|
8773
9072
|
];
|
|
@@ -8780,6 +9079,12 @@ class MessageActionBotAllowed extends _TypeMessageAction {
|
|
|
8780
9079
|
writable: true,
|
|
8781
9080
|
value: void 0
|
|
8782
9081
|
});
|
|
9082
|
+
Object.defineProperty(this, "fromRequest", {
|
|
9083
|
+
enumerable: true,
|
|
9084
|
+
configurable: true,
|
|
9085
|
+
writable: true,
|
|
9086
|
+
value: void 0
|
|
9087
|
+
});
|
|
8783
9088
|
Object.defineProperty(this, "domain", {
|
|
8784
9089
|
enumerable: true,
|
|
8785
9090
|
configurable: true,
|
|
@@ -8793,6 +9098,7 @@ class MessageActionBotAllowed extends _TypeMessageAction {
|
|
|
8793
9098
|
value: void 0
|
|
8794
9099
|
});
|
|
8795
9100
|
this.attachMenu = params?.attachMenu;
|
|
9101
|
+
this.fromRequest = params?.fromRequest;
|
|
8796
9102
|
this.domain = params?.domain;
|
|
8797
9103
|
this.app = params?.app;
|
|
8798
9104
|
}
|
|
@@ -9442,6 +9748,85 @@ class MessageActionSetSameChatWallPaper extends _TypeMessageAction {
|
|
|
9442
9748
|
}
|
|
9443
9749
|
}
|
|
9444
9750
|
exports.MessageActionSetSameChatWallPaper = MessageActionSetSameChatWallPaper;
|
|
9751
|
+
class MessageActionGiftCode extends _TypeMessageAction {
|
|
9752
|
+
get [_1_tl_object_js_1.id]() {
|
|
9753
|
+
return 0xD2CFDB0E;
|
|
9754
|
+
}
|
|
9755
|
+
static get [_1_tl_object_js_1.paramDesc]() {
|
|
9756
|
+
return [
|
|
9757
|
+
["flags", _1_tl_object_js_1.flags, "#"],
|
|
9758
|
+
["viaGiveaway", "true", "flags.0?true"],
|
|
9759
|
+
["unclaimed", "true", "flags.2?true"],
|
|
9760
|
+
["boostPeer", _TypePeer, "flags.1?Peer"],
|
|
9761
|
+
["months", "number", "int"],
|
|
9762
|
+
["slug", "string", "string"],
|
|
9763
|
+
];
|
|
9764
|
+
}
|
|
9765
|
+
get [_1_tl_object_js_1.params]() {
|
|
9766
|
+
return [
|
|
9767
|
+
["flags", _1_tl_object_js_1.flags, "#"],
|
|
9768
|
+
[this.viaGiveaway ?? null, "true", "flags.0?true"],
|
|
9769
|
+
[this.unclaimed ?? null, "true", "flags.2?true"],
|
|
9770
|
+
[this.boostPeer ?? null, _TypePeer, "flags.1?Peer"],
|
|
9771
|
+
[this.months, "number", "int"],
|
|
9772
|
+
[this.slug, "string", "string"],
|
|
9773
|
+
];
|
|
9774
|
+
}
|
|
9775
|
+
constructor(params) {
|
|
9776
|
+
super();
|
|
9777
|
+
Object.defineProperty(this, "viaGiveaway", {
|
|
9778
|
+
enumerable: true,
|
|
9779
|
+
configurable: true,
|
|
9780
|
+
writable: true,
|
|
9781
|
+
value: void 0
|
|
9782
|
+
});
|
|
9783
|
+
Object.defineProperty(this, "unclaimed", {
|
|
9784
|
+
enumerable: true,
|
|
9785
|
+
configurable: true,
|
|
9786
|
+
writable: true,
|
|
9787
|
+
value: void 0
|
|
9788
|
+
});
|
|
9789
|
+
Object.defineProperty(this, "boostPeer", {
|
|
9790
|
+
enumerable: true,
|
|
9791
|
+
configurable: true,
|
|
9792
|
+
writable: true,
|
|
9793
|
+
value: void 0
|
|
9794
|
+
});
|
|
9795
|
+
Object.defineProperty(this, "months", {
|
|
9796
|
+
enumerable: true,
|
|
9797
|
+
configurable: true,
|
|
9798
|
+
writable: true,
|
|
9799
|
+
value: void 0
|
|
9800
|
+
});
|
|
9801
|
+
Object.defineProperty(this, "slug", {
|
|
9802
|
+
enumerable: true,
|
|
9803
|
+
configurable: true,
|
|
9804
|
+
writable: true,
|
|
9805
|
+
value: void 0
|
|
9806
|
+
});
|
|
9807
|
+
this.viaGiveaway = params.viaGiveaway;
|
|
9808
|
+
this.unclaimed = params.unclaimed;
|
|
9809
|
+
this.boostPeer = params.boostPeer;
|
|
9810
|
+
this.months = params.months;
|
|
9811
|
+
this.slug = params.slug;
|
|
9812
|
+
}
|
|
9813
|
+
}
|
|
9814
|
+
exports.MessageActionGiftCode = MessageActionGiftCode;
|
|
9815
|
+
class MessageActionGiveawayLaunch extends _TypeMessageAction {
|
|
9816
|
+
get [_1_tl_object_js_1.id]() {
|
|
9817
|
+
return 0x332BA9ED;
|
|
9818
|
+
}
|
|
9819
|
+
static get [_1_tl_object_js_1.paramDesc]() {
|
|
9820
|
+
return [];
|
|
9821
|
+
}
|
|
9822
|
+
get [_1_tl_object_js_1.params]() {
|
|
9823
|
+
return [];
|
|
9824
|
+
}
|
|
9825
|
+
constructor() {
|
|
9826
|
+
super();
|
|
9827
|
+
}
|
|
9828
|
+
}
|
|
9829
|
+
exports.MessageActionGiveawayLaunch = MessageActionGiveawayLaunch;
|
|
9445
9830
|
class Dialog extends _TypeDialog {
|
|
9446
9831
|
get [_1_tl_object_js_1.id]() {
|
|
9447
9832
|
return 0xD58A08C6;
|
|
@@ -11068,7 +11453,7 @@ class InputReportReasonPersonalDetails extends _TypeReportReason {
|
|
|
11068
11453
|
exports.InputReportReasonPersonalDetails = InputReportReasonPersonalDetails;
|
|
11069
11454
|
class UserFull extends _TypeUserFull {
|
|
11070
11455
|
get [_1_tl_object_js_1.id]() {
|
|
11071
|
-
return
|
|
11456
|
+
return 0xB9B12C6C;
|
|
11072
11457
|
}
|
|
11073
11458
|
static get [_1_tl_object_js_1.paramDesc]() {
|
|
11074
11459
|
return [
|
|
@@ -11101,7 +11486,7 @@ class UserFull extends _TypeUserFull {
|
|
|
11101
11486
|
["botBroadcastAdminRights", _TypeChatAdminRights, "flags.18?ChatAdminRights"],
|
|
11102
11487
|
["premiumGifts", [_TypePremiumGiftOption], "flags.19?Vector<PremiumGiftOption>"],
|
|
11103
11488
|
["wallpaper", _TypeWallPaper, "flags.24?WallPaper"],
|
|
11104
|
-
["stories",
|
|
11489
|
+
["stories", _TypePeerStories, "flags.25?PeerStories"],
|
|
11105
11490
|
];
|
|
11106
11491
|
}
|
|
11107
11492
|
get [_1_tl_object_js_1.params]() {
|
|
@@ -11135,7 +11520,7 @@ class UserFull extends _TypeUserFull {
|
|
|
11135
11520
|
[this.botBroadcastAdminRights ?? null, _TypeChatAdminRights, "flags.18?ChatAdminRights"],
|
|
11136
11521
|
[this.premiumGifts ?? null, [_TypePremiumGiftOption], "flags.19?Vector<PremiumGiftOption>"],
|
|
11137
11522
|
[this.wallpaper ?? null, _TypeWallPaper, "flags.24?WallPaper"],
|
|
11138
|
-
[this.stories ?? null,
|
|
11523
|
+
[this.stories ?? null, _TypePeerStories, "flags.25?PeerStories"],
|
|
11139
11524
|
];
|
|
11140
11525
|
}
|
|
11141
11526
|
constructor(params) {
|
|
@@ -12777,6 +13162,70 @@ class UpdateUserName extends _TypeUpdate {
|
|
|
12777
13162
|
}
|
|
12778
13163
|
}
|
|
12779
13164
|
exports.UpdateUserName = UpdateUserName;
|
|
13165
|
+
class UpdateNewAuthorization extends _TypeUpdate {
|
|
13166
|
+
get [_1_tl_object_js_1.id]() {
|
|
13167
|
+
return 0x8951ABEF;
|
|
13168
|
+
}
|
|
13169
|
+
static get [_1_tl_object_js_1.paramDesc]() {
|
|
13170
|
+
return [
|
|
13171
|
+
["flags", _1_tl_object_js_1.flags, "#"],
|
|
13172
|
+
["unconfirmed", "true", "flags.0?true"],
|
|
13173
|
+
["hash", "bigint", "long"],
|
|
13174
|
+
["date", "number", "flags.0?int"],
|
|
13175
|
+
["device", "string", "flags.0?string"],
|
|
13176
|
+
["location", "string", "flags.0?string"],
|
|
13177
|
+
];
|
|
13178
|
+
}
|
|
13179
|
+
get [_1_tl_object_js_1.params]() {
|
|
13180
|
+
return [
|
|
13181
|
+
["flags", _1_tl_object_js_1.flags, "#"],
|
|
13182
|
+
[this.unconfirmed ?? null, "true", "flags.0?true"],
|
|
13183
|
+
[this.hash, "bigint", "long"],
|
|
13184
|
+
[this.date ?? null, "number", "flags.0?int"],
|
|
13185
|
+
[this.device ?? null, "string", "flags.0?string"],
|
|
13186
|
+
[this.location ?? null, "string", "flags.0?string"],
|
|
13187
|
+
];
|
|
13188
|
+
}
|
|
13189
|
+
constructor(params) {
|
|
13190
|
+
super();
|
|
13191
|
+
Object.defineProperty(this, "unconfirmed", {
|
|
13192
|
+
enumerable: true,
|
|
13193
|
+
configurable: true,
|
|
13194
|
+
writable: true,
|
|
13195
|
+
value: void 0
|
|
13196
|
+
});
|
|
13197
|
+
Object.defineProperty(this, "hash", {
|
|
13198
|
+
enumerable: true,
|
|
13199
|
+
configurable: true,
|
|
13200
|
+
writable: true,
|
|
13201
|
+
value: void 0
|
|
13202
|
+
});
|
|
13203
|
+
Object.defineProperty(this, "date", {
|
|
13204
|
+
enumerable: true,
|
|
13205
|
+
configurable: true,
|
|
13206
|
+
writable: true,
|
|
13207
|
+
value: void 0
|
|
13208
|
+
});
|
|
13209
|
+
Object.defineProperty(this, "device", {
|
|
13210
|
+
enumerable: true,
|
|
13211
|
+
configurable: true,
|
|
13212
|
+
writable: true,
|
|
13213
|
+
value: void 0
|
|
13214
|
+
});
|
|
13215
|
+
Object.defineProperty(this, "location", {
|
|
13216
|
+
enumerable: true,
|
|
13217
|
+
configurable: true,
|
|
13218
|
+
writable: true,
|
|
13219
|
+
value: void 0
|
|
13220
|
+
});
|
|
13221
|
+
this.unconfirmed = params.unconfirmed;
|
|
13222
|
+
this.hash = params.hash;
|
|
13223
|
+
this.date = params.date;
|
|
13224
|
+
this.device = params.device;
|
|
13225
|
+
this.location = params.location;
|
|
13226
|
+
}
|
|
13227
|
+
}
|
|
13228
|
+
exports.UpdateNewAuthorization = UpdateNewAuthorization;
|
|
12780
13229
|
class UpdateNewEncryptedMessage extends _TypeUpdate {
|
|
12781
13230
|
get [_1_tl_object_js_1.id]() {
|
|
12782
13231
|
return 0x12BCBD9A;
|
|
@@ -13092,6 +13541,7 @@ class UpdateServiceNotification extends _TypeUpdate {
|
|
|
13092
13541
|
return [
|
|
13093
13542
|
["flags", _1_tl_object_js_1.flags, "#"],
|
|
13094
13543
|
["popup", "true", "flags.0?true"],
|
|
13544
|
+
["invertMedia", "true", "flags.2?true"],
|
|
13095
13545
|
["inboxDate", "number", "flags.1?int"],
|
|
13096
13546
|
["type", "string", "string"],
|
|
13097
13547
|
["message", "string", "string"],
|
|
@@ -13103,6 +13553,7 @@ class UpdateServiceNotification extends _TypeUpdate {
|
|
|
13103
13553
|
return [
|
|
13104
13554
|
["flags", _1_tl_object_js_1.flags, "#"],
|
|
13105
13555
|
[this.popup ?? null, "true", "flags.0?true"],
|
|
13556
|
+
[this.invertMedia ?? null, "true", "flags.2?true"],
|
|
13106
13557
|
[this.inboxDate ?? null, "number", "flags.1?int"],
|
|
13107
13558
|
[this.type, "string", "string"],
|
|
13108
13559
|
[this.message, "string", "string"],
|
|
@@ -13118,6 +13569,12 @@ class UpdateServiceNotification extends _TypeUpdate {
|
|
|
13118
13569
|
writable: true,
|
|
13119
13570
|
value: void 0
|
|
13120
13571
|
});
|
|
13572
|
+
Object.defineProperty(this, "invertMedia", {
|
|
13573
|
+
enumerable: true,
|
|
13574
|
+
configurable: true,
|
|
13575
|
+
writable: true,
|
|
13576
|
+
value: void 0
|
|
13577
|
+
});
|
|
13121
13578
|
Object.defineProperty(this, "inboxDate", {
|
|
13122
13579
|
enumerable: true,
|
|
13123
13580
|
configurable: true,
|
|
@@ -13149,6 +13606,7 @@ class UpdateServiceNotification extends _TypeUpdate {
|
|
|
13149
13606
|
value: void 0
|
|
13150
13607
|
});
|
|
13151
13608
|
this.popup = params.popup;
|
|
13609
|
+
this.invertMedia = params.invertMedia;
|
|
13152
13610
|
this.inboxDate = params.inboxDate;
|
|
13153
13611
|
this.type = params.type;
|
|
13154
13612
|
this.message = params.message;
|
|
@@ -13399,20 +13857,24 @@ class UpdateWebPage extends _TypeUpdate {
|
|
|
13399
13857
|
exports.UpdateWebPage = UpdateWebPage;
|
|
13400
13858
|
class UpdateReadMessagesContents extends _TypeUpdate {
|
|
13401
13859
|
get [_1_tl_object_js_1.id]() {
|
|
13402
|
-
return
|
|
13860
|
+
return 0xF8227181;
|
|
13403
13861
|
}
|
|
13404
13862
|
static get [_1_tl_object_js_1.paramDesc]() {
|
|
13405
13863
|
return [
|
|
13864
|
+
["flags", _1_tl_object_js_1.flags, "#"],
|
|
13406
13865
|
["messages", ["number"], "Vector<int>"],
|
|
13407
13866
|
["pts", "number", "int"],
|
|
13408
13867
|
["ptsCount", "number", "int"],
|
|
13868
|
+
["date", "number", "flags.0?int"],
|
|
13409
13869
|
];
|
|
13410
13870
|
}
|
|
13411
13871
|
get [_1_tl_object_js_1.params]() {
|
|
13412
13872
|
return [
|
|
13873
|
+
["flags", _1_tl_object_js_1.flags, "#"],
|
|
13413
13874
|
[this.messages, ["number"], "Vector<int>"],
|
|
13414
13875
|
[this.pts, "number", "int"],
|
|
13415
13876
|
[this.ptsCount, "number", "int"],
|
|
13877
|
+
[this.date ?? null, "number", "flags.0?int"],
|
|
13416
13878
|
];
|
|
13417
13879
|
}
|
|
13418
13880
|
constructor(params) {
|
|
@@ -13435,9 +13897,16 @@ class UpdateReadMessagesContents extends _TypeUpdate {
|
|
|
13435
13897
|
writable: true,
|
|
13436
13898
|
value: void 0
|
|
13437
13899
|
});
|
|
13900
|
+
Object.defineProperty(this, "date", {
|
|
13901
|
+
enumerable: true,
|
|
13902
|
+
configurable: true,
|
|
13903
|
+
writable: true,
|
|
13904
|
+
value: void 0
|
|
13905
|
+
});
|
|
13438
13906
|
this.messages = params.messages;
|
|
13439
13907
|
this.pts = params.pts;
|
|
13440
13908
|
this.ptsCount = params.ptsCount;
|
|
13909
|
+
this.date = params.date;
|
|
13441
13910
|
}
|
|
13442
13911
|
}
|
|
13443
13912
|
exports.UpdateReadMessagesContents = UpdateReadMessagesContents;
|
|
@@ -16967,23 +17436,23 @@ class UpdateGroupInvitePrivacyForbidden extends _TypeUpdate {
|
|
|
16967
17436
|
exports.UpdateGroupInvitePrivacyForbidden = UpdateGroupInvitePrivacyForbidden;
|
|
16968
17437
|
class UpdateStory extends _TypeUpdate {
|
|
16969
17438
|
get [_1_tl_object_js_1.id]() {
|
|
16970
|
-
return
|
|
17439
|
+
return 0x75B3B798;
|
|
16971
17440
|
}
|
|
16972
17441
|
static get [_1_tl_object_js_1.paramDesc]() {
|
|
16973
17442
|
return [
|
|
16974
|
-
["
|
|
17443
|
+
["peer", _TypePeer, "Peer"],
|
|
16975
17444
|
["story", _TypeStoryItem, "StoryItem"],
|
|
16976
17445
|
];
|
|
16977
17446
|
}
|
|
16978
17447
|
get [_1_tl_object_js_1.params]() {
|
|
16979
17448
|
return [
|
|
16980
|
-
[this.
|
|
17449
|
+
[this.peer, _TypePeer, "Peer"],
|
|
16981
17450
|
[this.story, _TypeStoryItem, "StoryItem"],
|
|
16982
17451
|
];
|
|
16983
17452
|
}
|
|
16984
17453
|
constructor(params) {
|
|
16985
17454
|
super();
|
|
16986
|
-
Object.defineProperty(this, "
|
|
17455
|
+
Object.defineProperty(this, "peer", {
|
|
16987
17456
|
enumerable: true,
|
|
16988
17457
|
configurable: true,
|
|
16989
17458
|
writable: true,
|
|
@@ -16995,30 +17464,30 @@ class UpdateStory extends _TypeUpdate {
|
|
|
16995
17464
|
writable: true,
|
|
16996
17465
|
value: void 0
|
|
16997
17466
|
});
|
|
16998
|
-
this.
|
|
17467
|
+
this.peer = params.peer;
|
|
16999
17468
|
this.story = params.story;
|
|
17000
17469
|
}
|
|
17001
17470
|
}
|
|
17002
17471
|
exports.UpdateStory = UpdateStory;
|
|
17003
17472
|
class UpdateReadStories extends _TypeUpdate {
|
|
17004
17473
|
get [_1_tl_object_js_1.id]() {
|
|
17005
|
-
return
|
|
17474
|
+
return 0xF74E932B;
|
|
17006
17475
|
}
|
|
17007
17476
|
static get [_1_tl_object_js_1.paramDesc]() {
|
|
17008
17477
|
return [
|
|
17009
|
-
["
|
|
17478
|
+
["peer", _TypePeer, "Peer"],
|
|
17010
17479
|
["maxId", "number", "int"],
|
|
17011
17480
|
];
|
|
17012
17481
|
}
|
|
17013
17482
|
get [_1_tl_object_js_1.params]() {
|
|
17014
17483
|
return [
|
|
17015
|
-
[this.
|
|
17484
|
+
[this.peer, _TypePeer, "Peer"],
|
|
17016
17485
|
[this.maxId, "number", "int"],
|
|
17017
17486
|
];
|
|
17018
17487
|
}
|
|
17019
17488
|
constructor(params) {
|
|
17020
17489
|
super();
|
|
17021
|
-
Object.defineProperty(this, "
|
|
17490
|
+
Object.defineProperty(this, "peer", {
|
|
17022
17491
|
enumerable: true,
|
|
17023
17492
|
configurable: true,
|
|
17024
17493
|
writable: true,
|
|
@@ -17030,7 +17499,7 @@ class UpdateReadStories extends _TypeUpdate {
|
|
|
17030
17499
|
writable: true,
|
|
17031
17500
|
value: void 0
|
|
17032
17501
|
});
|
|
17033
|
-
this.
|
|
17502
|
+
this.peer = params.peer;
|
|
17034
17503
|
this.maxId = params.maxId;
|
|
17035
17504
|
}
|
|
17036
17505
|
}
|
|
@@ -17098,25 +17567,25 @@ class UpdateStoriesStealthMode extends _TypeUpdate {
|
|
|
17098
17567
|
exports.UpdateStoriesStealthMode = UpdateStoriesStealthMode;
|
|
17099
17568
|
class UpdateSentStoryReaction extends _TypeUpdate {
|
|
17100
17569
|
get [_1_tl_object_js_1.id]() {
|
|
17101
|
-
return
|
|
17570
|
+
return 0x7D627683;
|
|
17102
17571
|
}
|
|
17103
17572
|
static get [_1_tl_object_js_1.paramDesc]() {
|
|
17104
17573
|
return [
|
|
17105
|
-
["
|
|
17574
|
+
["peer", _TypePeer, "Peer"],
|
|
17106
17575
|
["storyId", "number", "int"],
|
|
17107
17576
|
["reaction", _TypeReaction, "Reaction"],
|
|
17108
17577
|
];
|
|
17109
17578
|
}
|
|
17110
17579
|
get [_1_tl_object_js_1.params]() {
|
|
17111
17580
|
return [
|
|
17112
|
-
[this.
|
|
17581
|
+
[this.peer, _TypePeer, "Peer"],
|
|
17113
17582
|
[this.storyId, "number", "int"],
|
|
17114
17583
|
[this.reaction, _TypeReaction, "Reaction"],
|
|
17115
17584
|
];
|
|
17116
17585
|
}
|
|
17117
17586
|
constructor(params) {
|
|
17118
17587
|
super();
|
|
17119
|
-
Object.defineProperty(this, "
|
|
17588
|
+
Object.defineProperty(this, "peer", {
|
|
17120
17589
|
enumerable: true,
|
|
17121
17590
|
configurable: true,
|
|
17122
17591
|
writable: true,
|
|
@@ -17134,7 +17603,7 @@ class UpdateSentStoryReaction extends _TypeUpdate {
|
|
|
17134
17603
|
writable: true,
|
|
17135
17604
|
value: void 0
|
|
17136
17605
|
});
|
|
17137
|
-
this.
|
|
17606
|
+
this.peer = params.peer;
|
|
17138
17607
|
this.storyId = params.storyId;
|
|
17139
17608
|
this.reaction = params.reaction;
|
|
17140
17609
|
}
|
|
@@ -21755,16 +22224,20 @@ class MessagesAffectedMessages extends _TypeMessagesAffectedMessages {
|
|
|
21755
22224
|
exports.MessagesAffectedMessages = MessagesAffectedMessages;
|
|
21756
22225
|
class WebPageEmpty extends _TypeWebPage {
|
|
21757
22226
|
get [_1_tl_object_js_1.id]() {
|
|
21758
|
-
return
|
|
22227
|
+
return 0x211A1788;
|
|
21759
22228
|
}
|
|
21760
22229
|
static get [_1_tl_object_js_1.paramDesc]() {
|
|
21761
22230
|
return [
|
|
22231
|
+
["flags", _1_tl_object_js_1.flags, "#"],
|
|
21762
22232
|
["id", "bigint", "long"],
|
|
22233
|
+
["url", "string", "flags.0?string"],
|
|
21763
22234
|
];
|
|
21764
22235
|
}
|
|
21765
22236
|
get [_1_tl_object_js_1.params]() {
|
|
21766
22237
|
return [
|
|
22238
|
+
["flags", _1_tl_object_js_1.flags, "#"],
|
|
21767
22239
|
[this.id, "bigint", "long"],
|
|
22240
|
+
[this.url ?? null, "string", "flags.0?string"],
|
|
21768
22241
|
];
|
|
21769
22242
|
}
|
|
21770
22243
|
constructor(params) {
|
|
@@ -21775,23 +22248,34 @@ class WebPageEmpty extends _TypeWebPage {
|
|
|
21775
22248
|
writable: true,
|
|
21776
22249
|
value: void 0
|
|
21777
22250
|
});
|
|
22251
|
+
Object.defineProperty(this, "url", {
|
|
22252
|
+
enumerable: true,
|
|
22253
|
+
configurable: true,
|
|
22254
|
+
writable: true,
|
|
22255
|
+
value: void 0
|
|
22256
|
+
});
|
|
21778
22257
|
this.id = params.id;
|
|
22258
|
+
this.url = params.url;
|
|
21779
22259
|
}
|
|
21780
22260
|
}
|
|
21781
22261
|
exports.WebPageEmpty = WebPageEmpty;
|
|
21782
22262
|
class WebPagePending extends _TypeWebPage {
|
|
21783
22263
|
get [_1_tl_object_js_1.id]() {
|
|
21784
|
-
return
|
|
22264
|
+
return 0xB0D13E47;
|
|
21785
22265
|
}
|
|
21786
22266
|
static get [_1_tl_object_js_1.paramDesc]() {
|
|
21787
22267
|
return [
|
|
22268
|
+
["flags", _1_tl_object_js_1.flags, "#"],
|
|
21788
22269
|
["id", "bigint", "long"],
|
|
22270
|
+
["url", "string", "flags.0?string"],
|
|
21789
22271
|
["date", "number", "int"],
|
|
21790
22272
|
];
|
|
21791
22273
|
}
|
|
21792
22274
|
get [_1_tl_object_js_1.params]() {
|
|
21793
22275
|
return [
|
|
22276
|
+
["flags", _1_tl_object_js_1.flags, "#"],
|
|
21794
22277
|
[this.id, "bigint", "long"],
|
|
22278
|
+
[this.url ?? null, "string", "flags.0?string"],
|
|
21795
22279
|
[this.date, "number", "int"],
|
|
21796
22280
|
];
|
|
21797
22281
|
}
|
|
@@ -21803,6 +22287,12 @@ class WebPagePending extends _TypeWebPage {
|
|
|
21803
22287
|
writable: true,
|
|
21804
22288
|
value: void 0
|
|
21805
22289
|
});
|
|
22290
|
+
Object.defineProperty(this, "url", {
|
|
22291
|
+
enumerable: true,
|
|
22292
|
+
configurable: true,
|
|
22293
|
+
writable: true,
|
|
22294
|
+
value: void 0
|
|
22295
|
+
});
|
|
21806
22296
|
Object.defineProperty(this, "date", {
|
|
21807
22297
|
enumerable: true,
|
|
21808
22298
|
configurable: true,
|
|
@@ -21810,6 +22300,7 @@ class WebPagePending extends _TypeWebPage {
|
|
|
21810
22300
|
value: void 0
|
|
21811
22301
|
});
|
|
21812
22302
|
this.id = params.id;
|
|
22303
|
+
this.url = params.url;
|
|
21813
22304
|
this.date = params.date;
|
|
21814
22305
|
}
|
|
21815
22306
|
}
|
|
@@ -21821,6 +22312,7 @@ class WebPage extends _TypeWebPage {
|
|
|
21821
22312
|
static get [_1_tl_object_js_1.paramDesc]() {
|
|
21822
22313
|
return [
|
|
21823
22314
|
["flags", _1_tl_object_js_1.flags, "#"],
|
|
22315
|
+
["hasLargeMedia", "true", "flags.13?true"],
|
|
21824
22316
|
["id", "bigint", "long"],
|
|
21825
22317
|
["url", "string", "string"],
|
|
21826
22318
|
["displayUrl", "string", "string"],
|
|
@@ -21844,6 +22336,7 @@ class WebPage extends _TypeWebPage {
|
|
|
21844
22336
|
get [_1_tl_object_js_1.params]() {
|
|
21845
22337
|
return [
|
|
21846
22338
|
["flags", _1_tl_object_js_1.flags, "#"],
|
|
22339
|
+
[this.hasLargeMedia ?? null, "true", "flags.13?true"],
|
|
21847
22340
|
[this.id, "bigint", "long"],
|
|
21848
22341
|
[this.url, "string", "string"],
|
|
21849
22342
|
[this.displayUrl, "string", "string"],
|
|
@@ -21866,6 +22359,12 @@ class WebPage extends _TypeWebPage {
|
|
|
21866
22359
|
}
|
|
21867
22360
|
constructor(params) {
|
|
21868
22361
|
super();
|
|
22362
|
+
Object.defineProperty(this, "hasLargeMedia", {
|
|
22363
|
+
enumerable: true,
|
|
22364
|
+
configurable: true,
|
|
22365
|
+
writable: true,
|
|
22366
|
+
value: void 0
|
|
22367
|
+
});
|
|
21869
22368
|
Object.defineProperty(this, "id", {
|
|
21870
22369
|
enumerable: true,
|
|
21871
22370
|
configurable: true,
|
|
@@ -21974,6 +22473,7 @@ class WebPage extends _TypeWebPage {
|
|
|
21974
22473
|
writable: true,
|
|
21975
22474
|
value: void 0
|
|
21976
22475
|
});
|
|
22476
|
+
this.hasLargeMedia = params.hasLargeMedia;
|
|
21977
22477
|
this.id = params.id;
|
|
21978
22478
|
this.url = params.url;
|
|
21979
22479
|
this.displayUrl = params.displayUrl;
|
|
@@ -22035,6 +22535,7 @@ class Authorization extends _TypeAuthorization {
|
|
|
22035
22535
|
["passwordPending", "true", "flags.2?true"],
|
|
22036
22536
|
["encryptedRequestsDisabled", "true", "flags.3?true"],
|
|
22037
22537
|
["callRequestsDisabled", "true", "flags.4?true"],
|
|
22538
|
+
["unconfirmed", "true", "flags.5?true"],
|
|
22038
22539
|
["hash", "bigint", "long"],
|
|
22039
22540
|
["deviceModel", "string", "string"],
|
|
22040
22541
|
["platform", "string", "string"],
|
|
@@ -22057,6 +22558,7 @@ class Authorization extends _TypeAuthorization {
|
|
|
22057
22558
|
[this.passwordPending ?? null, "true", "flags.2?true"],
|
|
22058
22559
|
[this.encryptedRequestsDisabled ?? null, "true", "flags.3?true"],
|
|
22059
22560
|
[this.callRequestsDisabled ?? null, "true", "flags.4?true"],
|
|
22561
|
+
[this.unconfirmed ?? null, "true", "flags.5?true"],
|
|
22060
22562
|
[this.hash, "bigint", "long"],
|
|
22061
22563
|
[this.deviceModel, "string", "string"],
|
|
22062
22564
|
[this.platform, "string", "string"],
|
|
@@ -22103,6 +22605,12 @@ class Authorization extends _TypeAuthorization {
|
|
|
22103
22605
|
writable: true,
|
|
22104
22606
|
value: void 0
|
|
22105
22607
|
});
|
|
22608
|
+
Object.defineProperty(this, "unconfirmed", {
|
|
22609
|
+
enumerable: true,
|
|
22610
|
+
configurable: true,
|
|
22611
|
+
writable: true,
|
|
22612
|
+
value: void 0
|
|
22613
|
+
});
|
|
22106
22614
|
Object.defineProperty(this, "hash", {
|
|
22107
22615
|
enumerable: true,
|
|
22108
22616
|
configurable: true,
|
|
@@ -22180,6 +22688,7 @@ class Authorization extends _TypeAuthorization {
|
|
|
22180
22688
|
this.passwordPending = params.passwordPending;
|
|
22181
22689
|
this.encryptedRequestsDisabled = params.encryptedRequestsDisabled;
|
|
22182
22690
|
this.callRequestsDisabled = params.callRequestsDisabled;
|
|
22691
|
+
this.unconfirmed = params.unconfirmed;
|
|
22183
22692
|
this.hash = params.hash;
|
|
22184
22693
|
this.deviceModel = params.deviceModel;
|
|
22185
22694
|
this.platform = params.platform;
|
|
@@ -22698,7 +23207,7 @@ class ChatInviteAlready extends _TypeChatInvite {
|
|
|
22698
23207
|
exports.ChatInviteAlready = ChatInviteAlready;
|
|
22699
23208
|
class ChatInvite extends _TypeChatInvite {
|
|
22700
23209
|
get [_1_tl_object_js_1.id]() {
|
|
22701
|
-
return
|
|
23210
|
+
return 0xCDE0EC40;
|
|
22702
23211
|
}
|
|
22703
23212
|
static get [_1_tl_object_js_1.paramDesc]() {
|
|
22704
23213
|
return [
|
|
@@ -22708,11 +23217,15 @@ class ChatInvite extends _TypeChatInvite {
|
|
|
22708
23217
|
["public", "true", "flags.2?true"],
|
|
22709
23218
|
["megagroup", "true", "flags.3?true"],
|
|
22710
23219
|
["requestNeeded", "true", "flags.6?true"],
|
|
23220
|
+
["verified", "true", "flags.7?true"],
|
|
23221
|
+
["scam", "true", "flags.8?true"],
|
|
23222
|
+
["fake", "true", "flags.9?true"],
|
|
22711
23223
|
["title", "string", "string"],
|
|
22712
23224
|
["about", "string", "flags.5?string"],
|
|
22713
23225
|
["photo", _TypePhoto, "Photo"],
|
|
22714
23226
|
["participantsCount", "number", "int"],
|
|
22715
23227
|
["participants", [_TypeUser], "flags.4?Vector<User>"],
|
|
23228
|
+
["color", "number", "int"],
|
|
22716
23229
|
];
|
|
22717
23230
|
}
|
|
22718
23231
|
get [_1_tl_object_js_1.params]() {
|
|
@@ -22723,11 +23236,15 @@ class ChatInvite extends _TypeChatInvite {
|
|
|
22723
23236
|
[this.public ?? null, "true", "flags.2?true"],
|
|
22724
23237
|
[this.megagroup ?? null, "true", "flags.3?true"],
|
|
22725
23238
|
[this.requestNeeded ?? null, "true", "flags.6?true"],
|
|
23239
|
+
[this.verified ?? null, "true", "flags.7?true"],
|
|
23240
|
+
[this.scam ?? null, "true", "flags.8?true"],
|
|
23241
|
+
[this.fake ?? null, "true", "flags.9?true"],
|
|
22726
23242
|
[this.title, "string", "string"],
|
|
22727
23243
|
[this.about ?? null, "string", "flags.5?string"],
|
|
22728
23244
|
[this.photo, _TypePhoto, "Photo"],
|
|
22729
23245
|
[this.participantsCount, "number", "int"],
|
|
22730
23246
|
[this.participants ?? null, [_TypeUser], "flags.4?Vector<User>"],
|
|
23247
|
+
[this.color, "number", "int"],
|
|
22731
23248
|
];
|
|
22732
23249
|
}
|
|
22733
23250
|
constructor(params) {
|
|
@@ -22762,6 +23279,24 @@ class ChatInvite extends _TypeChatInvite {
|
|
|
22762
23279
|
writable: true,
|
|
22763
23280
|
value: void 0
|
|
22764
23281
|
});
|
|
23282
|
+
Object.defineProperty(this, "verified", {
|
|
23283
|
+
enumerable: true,
|
|
23284
|
+
configurable: true,
|
|
23285
|
+
writable: true,
|
|
23286
|
+
value: void 0
|
|
23287
|
+
});
|
|
23288
|
+
Object.defineProperty(this, "scam", {
|
|
23289
|
+
enumerable: true,
|
|
23290
|
+
configurable: true,
|
|
23291
|
+
writable: true,
|
|
23292
|
+
value: void 0
|
|
23293
|
+
});
|
|
23294
|
+
Object.defineProperty(this, "fake", {
|
|
23295
|
+
enumerable: true,
|
|
23296
|
+
configurable: true,
|
|
23297
|
+
writable: true,
|
|
23298
|
+
value: void 0
|
|
23299
|
+
});
|
|
22765
23300
|
Object.defineProperty(this, "title", {
|
|
22766
23301
|
enumerable: true,
|
|
22767
23302
|
configurable: true,
|
|
@@ -22792,16 +23327,26 @@ class ChatInvite extends _TypeChatInvite {
|
|
|
22792
23327
|
writable: true,
|
|
22793
23328
|
value: void 0
|
|
22794
23329
|
});
|
|
23330
|
+
Object.defineProperty(this, "color", {
|
|
23331
|
+
enumerable: true,
|
|
23332
|
+
configurable: true,
|
|
23333
|
+
writable: true,
|
|
23334
|
+
value: void 0
|
|
23335
|
+
});
|
|
22795
23336
|
this.channel = params.channel;
|
|
22796
23337
|
this.broadcast = params.broadcast;
|
|
22797
23338
|
this.public = params.public;
|
|
22798
23339
|
this.megagroup = params.megagroup;
|
|
22799
23340
|
this.requestNeeded = params.requestNeeded;
|
|
23341
|
+
this.verified = params.verified;
|
|
23342
|
+
this.scam = params.scam;
|
|
23343
|
+
this.fake = params.fake;
|
|
22800
23344
|
this.title = params.title;
|
|
22801
23345
|
this.about = params.about;
|
|
22802
23346
|
this.photo = params.photo;
|
|
22803
23347
|
this.participantsCount = params.participantsCount;
|
|
22804
23348
|
this.participants = params.participants;
|
|
23349
|
+
this.color = params.color;
|
|
22805
23350
|
}
|
|
22806
23351
|
}
|
|
22807
23352
|
exports.ChatInvite = ChatInvite;
|
|
@@ -23045,6 +23590,7 @@ class StickerSet extends _TypeStickerSet {
|
|
|
23045
23590
|
["animated", "true", "flags.5?true"],
|
|
23046
23591
|
["videos", "true", "flags.6?true"],
|
|
23047
23592
|
["emojis", "true", "flags.7?true"],
|
|
23593
|
+
["textColor", "true", "flags.9?true"],
|
|
23048
23594
|
["installedDate", "number", "flags.0?int"],
|
|
23049
23595
|
["id", "bigint", "long"],
|
|
23050
23596
|
["accessHash", "bigint", "long"],
|
|
@@ -23067,6 +23613,7 @@ class StickerSet extends _TypeStickerSet {
|
|
|
23067
23613
|
[this.animated ?? null, "true", "flags.5?true"],
|
|
23068
23614
|
[this.videos ?? null, "true", "flags.6?true"],
|
|
23069
23615
|
[this.emojis ?? null, "true", "flags.7?true"],
|
|
23616
|
+
[this.textColor ?? null, "true", "flags.9?true"],
|
|
23070
23617
|
[this.installedDate ?? null, "number", "flags.0?int"],
|
|
23071
23618
|
[this.id, "bigint", "long"],
|
|
23072
23619
|
[this.accessHash, "bigint", "long"],
|
|
@@ -23118,6 +23665,12 @@ class StickerSet extends _TypeStickerSet {
|
|
|
23118
23665
|
writable: true,
|
|
23119
23666
|
value: void 0
|
|
23120
23667
|
});
|
|
23668
|
+
Object.defineProperty(this, "textColor", {
|
|
23669
|
+
enumerable: true,
|
|
23670
|
+
configurable: true,
|
|
23671
|
+
writable: true,
|
|
23672
|
+
value: void 0
|
|
23673
|
+
});
|
|
23121
23674
|
Object.defineProperty(this, "installedDate", {
|
|
23122
23675
|
enumerable: true,
|
|
23123
23676
|
configurable: true,
|
|
@@ -23190,6 +23743,7 @@ class StickerSet extends _TypeStickerSet {
|
|
|
23190
23743
|
this.animated = params.animated;
|
|
23191
23744
|
this.videos = params.videos;
|
|
23192
23745
|
this.emojis = params.emojis;
|
|
23746
|
+
this.textColor = params.textColor;
|
|
23193
23747
|
this.installedDate = params.installedDate;
|
|
23194
23748
|
this.id = params.id;
|
|
23195
23749
|
this.accessHash = params.accessHash;
|
|
@@ -24816,6 +25370,120 @@ class MessageEntityStrike extends _TypeMessageEntity {
|
|
|
24816
25370
|
}
|
|
24817
25371
|
}
|
|
24818
25372
|
exports.MessageEntityStrike = MessageEntityStrike;
|
|
25373
|
+
class MessageEntityBankCard extends _TypeMessageEntity {
|
|
25374
|
+
get [_1_tl_object_js_1.id]() {
|
|
25375
|
+
return 0x761E6AF4;
|
|
25376
|
+
}
|
|
25377
|
+
static get [_1_tl_object_js_1.paramDesc]() {
|
|
25378
|
+
return [
|
|
25379
|
+
["offset", "number", "int"],
|
|
25380
|
+
["length", "number", "int"],
|
|
25381
|
+
];
|
|
25382
|
+
}
|
|
25383
|
+
get [_1_tl_object_js_1.params]() {
|
|
25384
|
+
return [
|
|
25385
|
+
[this.offset, "number", "int"],
|
|
25386
|
+
[this.length, "number", "int"],
|
|
25387
|
+
];
|
|
25388
|
+
}
|
|
25389
|
+
constructor(params) {
|
|
25390
|
+
super();
|
|
25391
|
+
Object.defineProperty(this, "offset", {
|
|
25392
|
+
enumerable: true,
|
|
25393
|
+
configurable: true,
|
|
25394
|
+
writable: true,
|
|
25395
|
+
value: void 0
|
|
25396
|
+
});
|
|
25397
|
+
Object.defineProperty(this, "length", {
|
|
25398
|
+
enumerable: true,
|
|
25399
|
+
configurable: true,
|
|
25400
|
+
writable: true,
|
|
25401
|
+
value: void 0
|
|
25402
|
+
});
|
|
25403
|
+
this.offset = params.offset;
|
|
25404
|
+
this.length = params.length;
|
|
25405
|
+
}
|
|
25406
|
+
}
|
|
25407
|
+
exports.MessageEntityBankCard = MessageEntityBankCard;
|
|
25408
|
+
class MessageEntitySpoiler extends _TypeMessageEntity {
|
|
25409
|
+
get [_1_tl_object_js_1.id]() {
|
|
25410
|
+
return 0x32CA960F;
|
|
25411
|
+
}
|
|
25412
|
+
static get [_1_tl_object_js_1.paramDesc]() {
|
|
25413
|
+
return [
|
|
25414
|
+
["offset", "number", "int"],
|
|
25415
|
+
["length", "number", "int"],
|
|
25416
|
+
];
|
|
25417
|
+
}
|
|
25418
|
+
get [_1_tl_object_js_1.params]() {
|
|
25419
|
+
return [
|
|
25420
|
+
[this.offset, "number", "int"],
|
|
25421
|
+
[this.length, "number", "int"],
|
|
25422
|
+
];
|
|
25423
|
+
}
|
|
25424
|
+
constructor(params) {
|
|
25425
|
+
super();
|
|
25426
|
+
Object.defineProperty(this, "offset", {
|
|
25427
|
+
enumerable: true,
|
|
25428
|
+
configurable: true,
|
|
25429
|
+
writable: true,
|
|
25430
|
+
value: void 0
|
|
25431
|
+
});
|
|
25432
|
+
Object.defineProperty(this, "length", {
|
|
25433
|
+
enumerable: true,
|
|
25434
|
+
configurable: true,
|
|
25435
|
+
writable: true,
|
|
25436
|
+
value: void 0
|
|
25437
|
+
});
|
|
25438
|
+
this.offset = params.offset;
|
|
25439
|
+
this.length = params.length;
|
|
25440
|
+
}
|
|
25441
|
+
}
|
|
25442
|
+
exports.MessageEntitySpoiler = MessageEntitySpoiler;
|
|
25443
|
+
class MessageEntityCustomEmoji extends _TypeMessageEntity {
|
|
25444
|
+
get [_1_tl_object_js_1.id]() {
|
|
25445
|
+
return 0xC8CF05F8;
|
|
25446
|
+
}
|
|
25447
|
+
static get [_1_tl_object_js_1.paramDesc]() {
|
|
25448
|
+
return [
|
|
25449
|
+
["offset", "number", "int"],
|
|
25450
|
+
["length", "number", "int"],
|
|
25451
|
+
["documentId", "bigint", "long"],
|
|
25452
|
+
];
|
|
25453
|
+
}
|
|
25454
|
+
get [_1_tl_object_js_1.params]() {
|
|
25455
|
+
return [
|
|
25456
|
+
[this.offset, "number", "int"],
|
|
25457
|
+
[this.length, "number", "int"],
|
|
25458
|
+
[this.documentId, "bigint", "long"],
|
|
25459
|
+
];
|
|
25460
|
+
}
|
|
25461
|
+
constructor(params) {
|
|
25462
|
+
super();
|
|
25463
|
+
Object.defineProperty(this, "offset", {
|
|
25464
|
+
enumerable: true,
|
|
25465
|
+
configurable: true,
|
|
25466
|
+
writable: true,
|
|
25467
|
+
value: void 0
|
|
25468
|
+
});
|
|
25469
|
+
Object.defineProperty(this, "length", {
|
|
25470
|
+
enumerable: true,
|
|
25471
|
+
configurable: true,
|
|
25472
|
+
writable: true,
|
|
25473
|
+
value: void 0
|
|
25474
|
+
});
|
|
25475
|
+
Object.defineProperty(this, "documentId", {
|
|
25476
|
+
enumerable: true,
|
|
25477
|
+
configurable: true,
|
|
25478
|
+
writable: true,
|
|
25479
|
+
value: void 0
|
|
25480
|
+
});
|
|
25481
|
+
this.offset = params.offset;
|
|
25482
|
+
this.length = params.length;
|
|
25483
|
+
this.documentId = params.documentId;
|
|
25484
|
+
}
|
|
25485
|
+
}
|
|
25486
|
+
exports.MessageEntityCustomEmoji = MessageEntityCustomEmoji;
|
|
24819
25487
|
class MessageEntityBlockquote extends _TypeMessageEntity {
|
|
24820
25488
|
get [_1_tl_object_js_1.id]() {
|
|
24821
25489
|
return 0x020DF5D0;
|
|
@@ -24851,120 +25519,6 @@ class MessageEntityBlockquote extends _TypeMessageEntity {
|
|
|
24851
25519
|
}
|
|
24852
25520
|
}
|
|
24853
25521
|
exports.MessageEntityBlockquote = MessageEntityBlockquote;
|
|
24854
|
-
class MessageEntityBankCard extends _TypeMessageEntity {
|
|
24855
|
-
get [_1_tl_object_js_1.id]() {
|
|
24856
|
-
return 0x761E6AF4;
|
|
24857
|
-
}
|
|
24858
|
-
static get [_1_tl_object_js_1.paramDesc]() {
|
|
24859
|
-
return [
|
|
24860
|
-
["offset", "number", "int"],
|
|
24861
|
-
["length", "number", "int"],
|
|
24862
|
-
];
|
|
24863
|
-
}
|
|
24864
|
-
get [_1_tl_object_js_1.params]() {
|
|
24865
|
-
return [
|
|
24866
|
-
[this.offset, "number", "int"],
|
|
24867
|
-
[this.length, "number", "int"],
|
|
24868
|
-
];
|
|
24869
|
-
}
|
|
24870
|
-
constructor(params) {
|
|
24871
|
-
super();
|
|
24872
|
-
Object.defineProperty(this, "offset", {
|
|
24873
|
-
enumerable: true,
|
|
24874
|
-
configurable: true,
|
|
24875
|
-
writable: true,
|
|
24876
|
-
value: void 0
|
|
24877
|
-
});
|
|
24878
|
-
Object.defineProperty(this, "length", {
|
|
24879
|
-
enumerable: true,
|
|
24880
|
-
configurable: true,
|
|
24881
|
-
writable: true,
|
|
24882
|
-
value: void 0
|
|
24883
|
-
});
|
|
24884
|
-
this.offset = params.offset;
|
|
24885
|
-
this.length = params.length;
|
|
24886
|
-
}
|
|
24887
|
-
}
|
|
24888
|
-
exports.MessageEntityBankCard = MessageEntityBankCard;
|
|
24889
|
-
class MessageEntitySpoiler extends _TypeMessageEntity {
|
|
24890
|
-
get [_1_tl_object_js_1.id]() {
|
|
24891
|
-
return 0x32CA960F;
|
|
24892
|
-
}
|
|
24893
|
-
static get [_1_tl_object_js_1.paramDesc]() {
|
|
24894
|
-
return [
|
|
24895
|
-
["offset", "number", "int"],
|
|
24896
|
-
["length", "number", "int"],
|
|
24897
|
-
];
|
|
24898
|
-
}
|
|
24899
|
-
get [_1_tl_object_js_1.params]() {
|
|
24900
|
-
return [
|
|
24901
|
-
[this.offset, "number", "int"],
|
|
24902
|
-
[this.length, "number", "int"],
|
|
24903
|
-
];
|
|
24904
|
-
}
|
|
24905
|
-
constructor(params) {
|
|
24906
|
-
super();
|
|
24907
|
-
Object.defineProperty(this, "offset", {
|
|
24908
|
-
enumerable: true,
|
|
24909
|
-
configurable: true,
|
|
24910
|
-
writable: true,
|
|
24911
|
-
value: void 0
|
|
24912
|
-
});
|
|
24913
|
-
Object.defineProperty(this, "length", {
|
|
24914
|
-
enumerable: true,
|
|
24915
|
-
configurable: true,
|
|
24916
|
-
writable: true,
|
|
24917
|
-
value: void 0
|
|
24918
|
-
});
|
|
24919
|
-
this.offset = params.offset;
|
|
24920
|
-
this.length = params.length;
|
|
24921
|
-
}
|
|
24922
|
-
}
|
|
24923
|
-
exports.MessageEntitySpoiler = MessageEntitySpoiler;
|
|
24924
|
-
class MessageEntityCustomEmoji extends _TypeMessageEntity {
|
|
24925
|
-
get [_1_tl_object_js_1.id]() {
|
|
24926
|
-
return 0xC8CF05F8;
|
|
24927
|
-
}
|
|
24928
|
-
static get [_1_tl_object_js_1.paramDesc]() {
|
|
24929
|
-
return [
|
|
24930
|
-
["offset", "number", "int"],
|
|
24931
|
-
["length", "number", "int"],
|
|
24932
|
-
["documentId", "bigint", "long"],
|
|
24933
|
-
];
|
|
24934
|
-
}
|
|
24935
|
-
get [_1_tl_object_js_1.params]() {
|
|
24936
|
-
return [
|
|
24937
|
-
[this.offset, "number", "int"],
|
|
24938
|
-
[this.length, "number", "int"],
|
|
24939
|
-
[this.documentId, "bigint", "long"],
|
|
24940
|
-
];
|
|
24941
|
-
}
|
|
24942
|
-
constructor(params) {
|
|
24943
|
-
super();
|
|
24944
|
-
Object.defineProperty(this, "offset", {
|
|
24945
|
-
enumerable: true,
|
|
24946
|
-
configurable: true,
|
|
24947
|
-
writable: true,
|
|
24948
|
-
value: void 0
|
|
24949
|
-
});
|
|
24950
|
-
Object.defineProperty(this, "length", {
|
|
24951
|
-
enumerable: true,
|
|
24952
|
-
configurable: true,
|
|
24953
|
-
writable: true,
|
|
24954
|
-
value: void 0
|
|
24955
|
-
});
|
|
24956
|
-
Object.defineProperty(this, "documentId", {
|
|
24957
|
-
enumerable: true,
|
|
24958
|
-
configurable: true,
|
|
24959
|
-
writable: true,
|
|
24960
|
-
value: void 0
|
|
24961
|
-
});
|
|
24962
|
-
this.offset = params.offset;
|
|
24963
|
-
this.length = params.length;
|
|
24964
|
-
this.documentId = params.documentId;
|
|
24965
|
-
}
|
|
24966
|
-
}
|
|
24967
|
-
exports.MessageEntityCustomEmoji = MessageEntityCustomEmoji;
|
|
24968
25522
|
class InputChannelEmpty extends _TypeInputChannel {
|
|
24969
25523
|
get [_1_tl_object_js_1.id]() {
|
|
24970
25524
|
return 0xEE8C1E86;
|
|
@@ -26127,6 +26681,7 @@ class InputBotInlineMessageMediaAuto extends _TypeInputBotInlineMessage {
|
|
|
26127
26681
|
static get [_1_tl_object_js_1.paramDesc]() {
|
|
26128
26682
|
return [
|
|
26129
26683
|
["flags", _1_tl_object_js_1.flags, "#"],
|
|
26684
|
+
["invertMedia", "true", "flags.3?true"],
|
|
26130
26685
|
["message", "string", "string"],
|
|
26131
26686
|
["entities", [_TypeMessageEntity], "flags.1?Vector<MessageEntity>"],
|
|
26132
26687
|
["replyMarkup", _TypeReplyMarkup, "flags.2?ReplyMarkup"],
|
|
@@ -26135,6 +26690,7 @@ class InputBotInlineMessageMediaAuto extends _TypeInputBotInlineMessage {
|
|
|
26135
26690
|
get [_1_tl_object_js_1.params]() {
|
|
26136
26691
|
return [
|
|
26137
26692
|
["flags", _1_tl_object_js_1.flags, "#"],
|
|
26693
|
+
[this.invertMedia ?? null, "true", "flags.3?true"],
|
|
26138
26694
|
[this.message, "string", "string"],
|
|
26139
26695
|
[this.entities ?? null, [_TypeMessageEntity], "flags.1?Vector<MessageEntity>"],
|
|
26140
26696
|
[this.replyMarkup ?? null, _TypeReplyMarkup, "flags.2?ReplyMarkup"],
|
|
@@ -26142,6 +26698,12 @@ class InputBotInlineMessageMediaAuto extends _TypeInputBotInlineMessage {
|
|
|
26142
26698
|
}
|
|
26143
26699
|
constructor(params) {
|
|
26144
26700
|
super();
|
|
26701
|
+
Object.defineProperty(this, "invertMedia", {
|
|
26702
|
+
enumerable: true,
|
|
26703
|
+
configurable: true,
|
|
26704
|
+
writable: true,
|
|
26705
|
+
value: void 0
|
|
26706
|
+
});
|
|
26145
26707
|
Object.defineProperty(this, "message", {
|
|
26146
26708
|
enumerable: true,
|
|
26147
26709
|
configurable: true,
|
|
@@ -26160,6 +26722,7 @@ class InputBotInlineMessageMediaAuto extends _TypeInputBotInlineMessage {
|
|
|
26160
26722
|
writable: true,
|
|
26161
26723
|
value: void 0
|
|
26162
26724
|
});
|
|
26725
|
+
this.invertMedia = params.invertMedia;
|
|
26163
26726
|
this.message = params.message;
|
|
26164
26727
|
this.entities = params.entities;
|
|
26165
26728
|
this.replyMarkup = params.replyMarkup;
|
|
@@ -26174,6 +26737,7 @@ class InputBotInlineMessageText extends _TypeInputBotInlineMessage {
|
|
|
26174
26737
|
return [
|
|
26175
26738
|
["flags", _1_tl_object_js_1.flags, "#"],
|
|
26176
26739
|
["noWebpage", "true", "flags.0?true"],
|
|
26740
|
+
["invertMedia", "true", "flags.3?true"],
|
|
26177
26741
|
["message", "string", "string"],
|
|
26178
26742
|
["entities", [_TypeMessageEntity], "flags.1?Vector<MessageEntity>"],
|
|
26179
26743
|
["replyMarkup", _TypeReplyMarkup, "flags.2?ReplyMarkup"],
|
|
@@ -26183,6 +26747,7 @@ class InputBotInlineMessageText extends _TypeInputBotInlineMessage {
|
|
|
26183
26747
|
return [
|
|
26184
26748
|
["flags", _1_tl_object_js_1.flags, "#"],
|
|
26185
26749
|
[this.noWebpage ?? null, "true", "flags.0?true"],
|
|
26750
|
+
[this.invertMedia ?? null, "true", "flags.3?true"],
|
|
26186
26751
|
[this.message, "string", "string"],
|
|
26187
26752
|
[this.entities ?? null, [_TypeMessageEntity], "flags.1?Vector<MessageEntity>"],
|
|
26188
26753
|
[this.replyMarkup ?? null, _TypeReplyMarkup, "flags.2?ReplyMarkup"],
|
|
@@ -26196,6 +26761,12 @@ class InputBotInlineMessageText extends _TypeInputBotInlineMessage {
|
|
|
26196
26761
|
writable: true,
|
|
26197
26762
|
value: void 0
|
|
26198
26763
|
});
|
|
26764
|
+
Object.defineProperty(this, "invertMedia", {
|
|
26765
|
+
enumerable: true,
|
|
26766
|
+
configurable: true,
|
|
26767
|
+
writable: true,
|
|
26768
|
+
value: void 0
|
|
26769
|
+
});
|
|
26199
26770
|
Object.defineProperty(this, "message", {
|
|
26200
26771
|
enumerable: true,
|
|
26201
26772
|
configurable: true,
|
|
@@ -26215,6 +26786,7 @@ class InputBotInlineMessageText extends _TypeInputBotInlineMessage {
|
|
|
26215
26786
|
value: void 0
|
|
26216
26787
|
});
|
|
26217
26788
|
this.noWebpage = params.noWebpage;
|
|
26789
|
+
this.invertMedia = params.invertMedia;
|
|
26218
26790
|
this.message = params.message;
|
|
26219
26791
|
this.entities = params.entities;
|
|
26220
26792
|
this.replyMarkup = params.replyMarkup;
|
|
@@ -26550,6 +27122,97 @@ class InputBotInlineMessageMediaInvoice extends _TypeInputBotInlineMessage {
|
|
|
26550
27122
|
}
|
|
26551
27123
|
}
|
|
26552
27124
|
exports.InputBotInlineMessageMediaInvoice = InputBotInlineMessageMediaInvoice;
|
|
27125
|
+
class InputBotInlineMessageMediaWebPage extends _TypeInputBotInlineMessage {
|
|
27126
|
+
get [_1_tl_object_js_1.id]() {
|
|
27127
|
+
return 0xBDDCC510;
|
|
27128
|
+
}
|
|
27129
|
+
static get [_1_tl_object_js_1.paramDesc]() {
|
|
27130
|
+
return [
|
|
27131
|
+
["flags", _1_tl_object_js_1.flags, "#"],
|
|
27132
|
+
["invertMedia", "true", "flags.3?true"],
|
|
27133
|
+
["forceLargeMedia", "true", "flags.4?true"],
|
|
27134
|
+
["forceSmallMedia", "true", "flags.5?true"],
|
|
27135
|
+
["optional", "true", "flags.6?true"],
|
|
27136
|
+
["message", "string", "string"],
|
|
27137
|
+
["entities", [_TypeMessageEntity], "flags.1?Vector<MessageEntity>"],
|
|
27138
|
+
["url", "string", "string"],
|
|
27139
|
+
["replyMarkup", _TypeReplyMarkup, "flags.2?ReplyMarkup"],
|
|
27140
|
+
];
|
|
27141
|
+
}
|
|
27142
|
+
get [_1_tl_object_js_1.params]() {
|
|
27143
|
+
return [
|
|
27144
|
+
["flags", _1_tl_object_js_1.flags, "#"],
|
|
27145
|
+
[this.invertMedia ?? null, "true", "flags.3?true"],
|
|
27146
|
+
[this.forceLargeMedia ?? null, "true", "flags.4?true"],
|
|
27147
|
+
[this.forceSmallMedia ?? null, "true", "flags.5?true"],
|
|
27148
|
+
[this.optional ?? null, "true", "flags.6?true"],
|
|
27149
|
+
[this.message, "string", "string"],
|
|
27150
|
+
[this.entities ?? null, [_TypeMessageEntity], "flags.1?Vector<MessageEntity>"],
|
|
27151
|
+
[this.url, "string", "string"],
|
|
27152
|
+
[this.replyMarkup ?? null, _TypeReplyMarkup, "flags.2?ReplyMarkup"],
|
|
27153
|
+
];
|
|
27154
|
+
}
|
|
27155
|
+
constructor(params) {
|
|
27156
|
+
super();
|
|
27157
|
+
Object.defineProperty(this, "invertMedia", {
|
|
27158
|
+
enumerable: true,
|
|
27159
|
+
configurable: true,
|
|
27160
|
+
writable: true,
|
|
27161
|
+
value: void 0
|
|
27162
|
+
});
|
|
27163
|
+
Object.defineProperty(this, "forceLargeMedia", {
|
|
27164
|
+
enumerable: true,
|
|
27165
|
+
configurable: true,
|
|
27166
|
+
writable: true,
|
|
27167
|
+
value: void 0
|
|
27168
|
+
});
|
|
27169
|
+
Object.defineProperty(this, "forceSmallMedia", {
|
|
27170
|
+
enumerable: true,
|
|
27171
|
+
configurable: true,
|
|
27172
|
+
writable: true,
|
|
27173
|
+
value: void 0
|
|
27174
|
+
});
|
|
27175
|
+
Object.defineProperty(this, "optional", {
|
|
27176
|
+
enumerable: true,
|
|
27177
|
+
configurable: true,
|
|
27178
|
+
writable: true,
|
|
27179
|
+
value: void 0
|
|
27180
|
+
});
|
|
27181
|
+
Object.defineProperty(this, "message", {
|
|
27182
|
+
enumerable: true,
|
|
27183
|
+
configurable: true,
|
|
27184
|
+
writable: true,
|
|
27185
|
+
value: void 0
|
|
27186
|
+
});
|
|
27187
|
+
Object.defineProperty(this, "entities", {
|
|
27188
|
+
enumerable: true,
|
|
27189
|
+
configurable: true,
|
|
27190
|
+
writable: true,
|
|
27191
|
+
value: void 0
|
|
27192
|
+
});
|
|
27193
|
+
Object.defineProperty(this, "url", {
|
|
27194
|
+
enumerable: true,
|
|
27195
|
+
configurable: true,
|
|
27196
|
+
writable: true,
|
|
27197
|
+
value: void 0
|
|
27198
|
+
});
|
|
27199
|
+
Object.defineProperty(this, "replyMarkup", {
|
|
27200
|
+
enumerable: true,
|
|
27201
|
+
configurable: true,
|
|
27202
|
+
writable: true,
|
|
27203
|
+
value: void 0
|
|
27204
|
+
});
|
|
27205
|
+
this.invertMedia = params.invertMedia;
|
|
27206
|
+
this.forceLargeMedia = params.forceLargeMedia;
|
|
27207
|
+
this.forceSmallMedia = params.forceSmallMedia;
|
|
27208
|
+
this.optional = params.optional;
|
|
27209
|
+
this.message = params.message;
|
|
27210
|
+
this.entities = params.entities;
|
|
27211
|
+
this.url = params.url;
|
|
27212
|
+
this.replyMarkup = params.replyMarkup;
|
|
27213
|
+
}
|
|
27214
|
+
}
|
|
27215
|
+
exports.InputBotInlineMessageMediaWebPage = InputBotInlineMessageMediaWebPage;
|
|
26553
27216
|
class InputBotInlineResult extends _TypeInputBotInlineResult {
|
|
26554
27217
|
get [_1_tl_object_js_1.id]() {
|
|
26555
27218
|
return 0x88BF9319;
|
|
@@ -26818,6 +27481,7 @@ class BotInlineMessageMediaAuto extends _TypeBotInlineMessage {
|
|
|
26818
27481
|
static get [_1_tl_object_js_1.paramDesc]() {
|
|
26819
27482
|
return [
|
|
26820
27483
|
["flags", _1_tl_object_js_1.flags, "#"],
|
|
27484
|
+
["invertMedia", "true", "flags.3?true"],
|
|
26821
27485
|
["message", "string", "string"],
|
|
26822
27486
|
["entities", [_TypeMessageEntity], "flags.1?Vector<MessageEntity>"],
|
|
26823
27487
|
["replyMarkup", _TypeReplyMarkup, "flags.2?ReplyMarkup"],
|
|
@@ -26826,6 +27490,7 @@ class BotInlineMessageMediaAuto extends _TypeBotInlineMessage {
|
|
|
26826
27490
|
get [_1_tl_object_js_1.params]() {
|
|
26827
27491
|
return [
|
|
26828
27492
|
["flags", _1_tl_object_js_1.flags, "#"],
|
|
27493
|
+
[this.invertMedia ?? null, "true", "flags.3?true"],
|
|
26829
27494
|
[this.message, "string", "string"],
|
|
26830
27495
|
[this.entities ?? null, [_TypeMessageEntity], "flags.1?Vector<MessageEntity>"],
|
|
26831
27496
|
[this.replyMarkup ?? null, _TypeReplyMarkup, "flags.2?ReplyMarkup"],
|
|
@@ -26833,6 +27498,12 @@ class BotInlineMessageMediaAuto extends _TypeBotInlineMessage {
|
|
|
26833
27498
|
}
|
|
26834
27499
|
constructor(params) {
|
|
26835
27500
|
super();
|
|
27501
|
+
Object.defineProperty(this, "invertMedia", {
|
|
27502
|
+
enumerable: true,
|
|
27503
|
+
configurable: true,
|
|
27504
|
+
writable: true,
|
|
27505
|
+
value: void 0
|
|
27506
|
+
});
|
|
26836
27507
|
Object.defineProperty(this, "message", {
|
|
26837
27508
|
enumerable: true,
|
|
26838
27509
|
configurable: true,
|
|
@@ -26851,6 +27522,7 @@ class BotInlineMessageMediaAuto extends _TypeBotInlineMessage {
|
|
|
26851
27522
|
writable: true,
|
|
26852
27523
|
value: void 0
|
|
26853
27524
|
});
|
|
27525
|
+
this.invertMedia = params.invertMedia;
|
|
26854
27526
|
this.message = params.message;
|
|
26855
27527
|
this.entities = params.entities;
|
|
26856
27528
|
this.replyMarkup = params.replyMarkup;
|
|
@@ -26865,6 +27537,7 @@ class BotInlineMessageText extends _TypeBotInlineMessage {
|
|
|
26865
27537
|
return [
|
|
26866
27538
|
["flags", _1_tl_object_js_1.flags, "#"],
|
|
26867
27539
|
["noWebpage", "true", "flags.0?true"],
|
|
27540
|
+
["invertMedia", "true", "flags.3?true"],
|
|
26868
27541
|
["message", "string", "string"],
|
|
26869
27542
|
["entities", [_TypeMessageEntity], "flags.1?Vector<MessageEntity>"],
|
|
26870
27543
|
["replyMarkup", _TypeReplyMarkup, "flags.2?ReplyMarkup"],
|
|
@@ -26874,6 +27547,7 @@ class BotInlineMessageText extends _TypeBotInlineMessage {
|
|
|
26874
27547
|
return [
|
|
26875
27548
|
["flags", _1_tl_object_js_1.flags, "#"],
|
|
26876
27549
|
[this.noWebpage ?? null, "true", "flags.0?true"],
|
|
27550
|
+
[this.invertMedia ?? null, "true", "flags.3?true"],
|
|
26877
27551
|
[this.message, "string", "string"],
|
|
26878
27552
|
[this.entities ?? null, [_TypeMessageEntity], "flags.1?Vector<MessageEntity>"],
|
|
26879
27553
|
[this.replyMarkup ?? null, _TypeReplyMarkup, "flags.2?ReplyMarkup"],
|
|
@@ -26887,6 +27561,12 @@ class BotInlineMessageText extends _TypeBotInlineMessage {
|
|
|
26887
27561
|
writable: true,
|
|
26888
27562
|
value: void 0
|
|
26889
27563
|
});
|
|
27564
|
+
Object.defineProperty(this, "invertMedia", {
|
|
27565
|
+
enumerable: true,
|
|
27566
|
+
configurable: true,
|
|
27567
|
+
writable: true,
|
|
27568
|
+
value: void 0
|
|
27569
|
+
});
|
|
26890
27570
|
Object.defineProperty(this, "message", {
|
|
26891
27571
|
enumerable: true,
|
|
26892
27572
|
configurable: true,
|
|
@@ -26906,6 +27586,7 @@ class BotInlineMessageText extends _TypeBotInlineMessage {
|
|
|
26906
27586
|
value: void 0
|
|
26907
27587
|
});
|
|
26908
27588
|
this.noWebpage = params.noWebpage;
|
|
27589
|
+
this.invertMedia = params.invertMedia;
|
|
26909
27590
|
this.message = params.message;
|
|
26910
27591
|
this.entities = params.entities;
|
|
26911
27592
|
this.replyMarkup = params.replyMarkup;
|
|
@@ -27213,6 +27894,106 @@ class BotInlineMessageMediaInvoice extends _TypeBotInlineMessage {
|
|
|
27213
27894
|
}
|
|
27214
27895
|
}
|
|
27215
27896
|
exports.BotInlineMessageMediaInvoice = BotInlineMessageMediaInvoice;
|
|
27897
|
+
class BotInlineMessageMediaWebPage extends _TypeBotInlineMessage {
|
|
27898
|
+
get [_1_tl_object_js_1.id]() {
|
|
27899
|
+
return 0x809AD9A6;
|
|
27900
|
+
}
|
|
27901
|
+
static get [_1_tl_object_js_1.paramDesc]() {
|
|
27902
|
+
return [
|
|
27903
|
+
["flags", _1_tl_object_js_1.flags, "#"],
|
|
27904
|
+
["invertMedia", "true", "flags.3?true"],
|
|
27905
|
+
["forceLargeMedia", "true", "flags.4?true"],
|
|
27906
|
+
["forceSmallMedia", "true", "flags.5?true"],
|
|
27907
|
+
["manual", "true", "flags.7?true"],
|
|
27908
|
+
["safe", "true", "flags.8?true"],
|
|
27909
|
+
["message", "string", "string"],
|
|
27910
|
+
["entities", [_TypeMessageEntity], "flags.1?Vector<MessageEntity>"],
|
|
27911
|
+
["url", "string", "string"],
|
|
27912
|
+
["replyMarkup", _TypeReplyMarkup, "flags.2?ReplyMarkup"],
|
|
27913
|
+
];
|
|
27914
|
+
}
|
|
27915
|
+
get [_1_tl_object_js_1.params]() {
|
|
27916
|
+
return [
|
|
27917
|
+
["flags", _1_tl_object_js_1.flags, "#"],
|
|
27918
|
+
[this.invertMedia ?? null, "true", "flags.3?true"],
|
|
27919
|
+
[this.forceLargeMedia ?? null, "true", "flags.4?true"],
|
|
27920
|
+
[this.forceSmallMedia ?? null, "true", "flags.5?true"],
|
|
27921
|
+
[this.manual ?? null, "true", "flags.7?true"],
|
|
27922
|
+
[this.safe ?? null, "true", "flags.8?true"],
|
|
27923
|
+
[this.message, "string", "string"],
|
|
27924
|
+
[this.entities ?? null, [_TypeMessageEntity], "flags.1?Vector<MessageEntity>"],
|
|
27925
|
+
[this.url, "string", "string"],
|
|
27926
|
+
[this.replyMarkup ?? null, _TypeReplyMarkup, "flags.2?ReplyMarkup"],
|
|
27927
|
+
];
|
|
27928
|
+
}
|
|
27929
|
+
constructor(params) {
|
|
27930
|
+
super();
|
|
27931
|
+
Object.defineProperty(this, "invertMedia", {
|
|
27932
|
+
enumerable: true,
|
|
27933
|
+
configurable: true,
|
|
27934
|
+
writable: true,
|
|
27935
|
+
value: void 0
|
|
27936
|
+
});
|
|
27937
|
+
Object.defineProperty(this, "forceLargeMedia", {
|
|
27938
|
+
enumerable: true,
|
|
27939
|
+
configurable: true,
|
|
27940
|
+
writable: true,
|
|
27941
|
+
value: void 0
|
|
27942
|
+
});
|
|
27943
|
+
Object.defineProperty(this, "forceSmallMedia", {
|
|
27944
|
+
enumerable: true,
|
|
27945
|
+
configurable: true,
|
|
27946
|
+
writable: true,
|
|
27947
|
+
value: void 0
|
|
27948
|
+
});
|
|
27949
|
+
Object.defineProperty(this, "manual", {
|
|
27950
|
+
enumerable: true,
|
|
27951
|
+
configurable: true,
|
|
27952
|
+
writable: true,
|
|
27953
|
+
value: void 0
|
|
27954
|
+
});
|
|
27955
|
+
Object.defineProperty(this, "safe", {
|
|
27956
|
+
enumerable: true,
|
|
27957
|
+
configurable: true,
|
|
27958
|
+
writable: true,
|
|
27959
|
+
value: void 0
|
|
27960
|
+
});
|
|
27961
|
+
Object.defineProperty(this, "message", {
|
|
27962
|
+
enumerable: true,
|
|
27963
|
+
configurable: true,
|
|
27964
|
+
writable: true,
|
|
27965
|
+
value: void 0
|
|
27966
|
+
});
|
|
27967
|
+
Object.defineProperty(this, "entities", {
|
|
27968
|
+
enumerable: true,
|
|
27969
|
+
configurable: true,
|
|
27970
|
+
writable: true,
|
|
27971
|
+
value: void 0
|
|
27972
|
+
});
|
|
27973
|
+
Object.defineProperty(this, "url", {
|
|
27974
|
+
enumerable: true,
|
|
27975
|
+
configurable: true,
|
|
27976
|
+
writable: true,
|
|
27977
|
+
value: void 0
|
|
27978
|
+
});
|
|
27979
|
+
Object.defineProperty(this, "replyMarkup", {
|
|
27980
|
+
enumerable: true,
|
|
27981
|
+
configurable: true,
|
|
27982
|
+
writable: true,
|
|
27983
|
+
value: void 0
|
|
27984
|
+
});
|
|
27985
|
+
this.invertMedia = params.invertMedia;
|
|
27986
|
+
this.forceLargeMedia = params.forceLargeMedia;
|
|
27987
|
+
this.forceSmallMedia = params.forceSmallMedia;
|
|
27988
|
+
this.manual = params.manual;
|
|
27989
|
+
this.safe = params.safe;
|
|
27990
|
+
this.message = params.message;
|
|
27991
|
+
this.entities = params.entities;
|
|
27992
|
+
this.url = params.url;
|
|
27993
|
+
this.replyMarkup = params.replyMarkup;
|
|
27994
|
+
}
|
|
27995
|
+
}
|
|
27996
|
+
exports.BotInlineMessageMediaWebPage = BotInlineMessageMediaWebPage;
|
|
27216
27997
|
class BotInlineResult extends _TypeBotInlineResult {
|
|
27217
27998
|
get [_1_tl_object_js_1.id]() {
|
|
27218
27999
|
return 0x11965F3A;
|
|
@@ -28624,15 +29405,17 @@ class DraftMessageEmpty extends _TypeDraftMessage {
|
|
|
28624
29405
|
exports.DraftMessageEmpty = DraftMessageEmpty;
|
|
28625
29406
|
class DraftMessage extends _TypeDraftMessage {
|
|
28626
29407
|
get [_1_tl_object_js_1.id]() {
|
|
28627
|
-
return
|
|
29408
|
+
return 0x3FCCF7EF;
|
|
28628
29409
|
}
|
|
28629
29410
|
static get [_1_tl_object_js_1.paramDesc]() {
|
|
28630
29411
|
return [
|
|
28631
29412
|
["flags", _1_tl_object_js_1.flags, "#"],
|
|
28632
29413
|
["noWebpage", "true", "flags.1?true"],
|
|
28633
|
-
["
|
|
29414
|
+
["invertMedia", "true", "flags.6?true"],
|
|
29415
|
+
["replyTo", _TypeInputReplyTo, "flags.4?InputReplyTo"],
|
|
28634
29416
|
["message", "string", "string"],
|
|
28635
29417
|
["entities", [_TypeMessageEntity], "flags.3?Vector<MessageEntity>"],
|
|
29418
|
+
["media", _TypeInputMedia, "flags.5?InputMedia"],
|
|
28636
29419
|
["date", "number", "int"],
|
|
28637
29420
|
];
|
|
28638
29421
|
}
|
|
@@ -28640,9 +29423,11 @@ class DraftMessage extends _TypeDraftMessage {
|
|
|
28640
29423
|
return [
|
|
28641
29424
|
["flags", _1_tl_object_js_1.flags, "#"],
|
|
28642
29425
|
[this.noWebpage ?? null, "true", "flags.1?true"],
|
|
28643
|
-
[this.
|
|
29426
|
+
[this.invertMedia ?? null, "true", "flags.6?true"],
|
|
29427
|
+
[this.replyTo ?? null, _TypeInputReplyTo, "flags.4?InputReplyTo"],
|
|
28644
29428
|
[this.message, "string", "string"],
|
|
28645
29429
|
[this.entities ?? null, [_TypeMessageEntity], "flags.3?Vector<MessageEntity>"],
|
|
29430
|
+
[this.media ?? null, _TypeInputMedia, "flags.5?InputMedia"],
|
|
28646
29431
|
[this.date, "number", "int"],
|
|
28647
29432
|
];
|
|
28648
29433
|
}
|
|
@@ -28654,7 +29439,13 @@ class DraftMessage extends _TypeDraftMessage {
|
|
|
28654
29439
|
writable: true,
|
|
28655
29440
|
value: void 0
|
|
28656
29441
|
});
|
|
28657
|
-
Object.defineProperty(this, "
|
|
29442
|
+
Object.defineProperty(this, "invertMedia", {
|
|
29443
|
+
enumerable: true,
|
|
29444
|
+
configurable: true,
|
|
29445
|
+
writable: true,
|
|
29446
|
+
value: void 0
|
|
29447
|
+
});
|
|
29448
|
+
Object.defineProperty(this, "replyTo", {
|
|
28658
29449
|
enumerable: true,
|
|
28659
29450
|
configurable: true,
|
|
28660
29451
|
writable: true,
|
|
@@ -28672,6 +29463,12 @@ class DraftMessage extends _TypeDraftMessage {
|
|
|
28672
29463
|
writable: true,
|
|
28673
29464
|
value: void 0
|
|
28674
29465
|
});
|
|
29466
|
+
Object.defineProperty(this, "media", {
|
|
29467
|
+
enumerable: true,
|
|
29468
|
+
configurable: true,
|
|
29469
|
+
writable: true,
|
|
29470
|
+
value: void 0
|
|
29471
|
+
});
|
|
28675
29472
|
Object.defineProperty(this, "date", {
|
|
28676
29473
|
enumerable: true,
|
|
28677
29474
|
configurable: true,
|
|
@@ -28679,9 +29476,11 @@ class DraftMessage extends _TypeDraftMessage {
|
|
|
28679
29476
|
value: void 0
|
|
28680
29477
|
});
|
|
28681
29478
|
this.noWebpage = params.noWebpage;
|
|
28682
|
-
this.
|
|
29479
|
+
this.invertMedia = params.invertMedia;
|
|
29480
|
+
this.replyTo = params.replyTo;
|
|
28683
29481
|
this.message = params.message;
|
|
28684
29482
|
this.entities = params.entities;
|
|
29483
|
+
this.media = params.media;
|
|
28685
29484
|
this.date = params.date;
|
|
28686
29485
|
}
|
|
28687
29486
|
}
|
|
@@ -31062,7 +31861,7 @@ class LabeledPrice extends _TypeLabeledPrice {
|
|
|
31062
31861
|
exports.LabeledPrice = LabeledPrice;
|
|
31063
31862
|
class Invoice extends _TypeInvoice {
|
|
31064
31863
|
get [_1_tl_object_js_1.id]() {
|
|
31065
|
-
return
|
|
31864
|
+
return 0x5DB95A15;
|
|
31066
31865
|
}
|
|
31067
31866
|
static get [_1_tl_object_js_1.paramDesc]() {
|
|
31068
31867
|
return [
|
|
@@ -31080,7 +31879,7 @@ class Invoice extends _TypeInvoice {
|
|
|
31080
31879
|
["prices", [_TypeLabeledPrice], "Vector<LabeledPrice>"],
|
|
31081
31880
|
["maxTipAmount", "bigint", "flags.8?long"],
|
|
31082
31881
|
["suggestedTipAmounts", ["bigint"], "flags.8?Vector<long>"],
|
|
31083
|
-
["
|
|
31882
|
+
["termsUrl", "string", "flags.10?string"],
|
|
31084
31883
|
];
|
|
31085
31884
|
}
|
|
31086
31885
|
get [_1_tl_object_js_1.params]() {
|
|
@@ -31099,7 +31898,7 @@ class Invoice extends _TypeInvoice {
|
|
|
31099
31898
|
[this.prices, [_TypeLabeledPrice], "Vector<LabeledPrice>"],
|
|
31100
31899
|
[this.maxTipAmount ?? null, "bigint", "flags.8?long"],
|
|
31101
31900
|
[this.suggestedTipAmounts ?? null, ["bigint"], "flags.8?Vector<long>"],
|
|
31102
|
-
[this.
|
|
31901
|
+
[this.termsUrl ?? null, "string", "flags.10?string"],
|
|
31103
31902
|
];
|
|
31104
31903
|
}
|
|
31105
31904
|
constructor(params) {
|
|
@@ -31182,7 +31981,7 @@ class Invoice extends _TypeInvoice {
|
|
|
31182
31981
|
writable: true,
|
|
31183
31982
|
value: void 0
|
|
31184
31983
|
});
|
|
31185
|
-
Object.defineProperty(this, "
|
|
31984
|
+
Object.defineProperty(this, "termsUrl", {
|
|
31186
31985
|
enumerable: true,
|
|
31187
31986
|
configurable: true,
|
|
31188
31987
|
writable: true,
|
|
@@ -31201,7 +32000,7 @@ class Invoice extends _TypeInvoice {
|
|
|
31201
32000
|
this.prices = params.prices;
|
|
31202
32001
|
this.maxTipAmount = params.maxTipAmount;
|
|
31203
32002
|
this.suggestedTipAmounts = params.suggestedTipAmounts;
|
|
31204
|
-
this.
|
|
32003
|
+
this.termsUrl = params.termsUrl;
|
|
31205
32004
|
}
|
|
31206
32005
|
}
|
|
31207
32006
|
exports.Invoice = Invoice;
|
|
@@ -34988,6 +35787,76 @@ class ChannelAdminLogEventActionToggleAntiSpam extends _TypeChannelAdminLogEvent
|
|
|
34988
35787
|
}
|
|
34989
35788
|
}
|
|
34990
35789
|
exports.ChannelAdminLogEventActionToggleAntiSpam = ChannelAdminLogEventActionToggleAntiSpam;
|
|
35790
|
+
class ChannelAdminLogEventActionChangeColor extends _TypeChannelAdminLogEventAction {
|
|
35791
|
+
get [_1_tl_object_js_1.id]() {
|
|
35792
|
+
return 0x3C2B247B;
|
|
35793
|
+
}
|
|
35794
|
+
static get [_1_tl_object_js_1.paramDesc]() {
|
|
35795
|
+
return [
|
|
35796
|
+
["prevValue", "number", "int"],
|
|
35797
|
+
["newValue", "number", "int"],
|
|
35798
|
+
];
|
|
35799
|
+
}
|
|
35800
|
+
get [_1_tl_object_js_1.params]() {
|
|
35801
|
+
return [
|
|
35802
|
+
[this.prevValue, "number", "int"],
|
|
35803
|
+
[this.newValue, "number", "int"],
|
|
35804
|
+
];
|
|
35805
|
+
}
|
|
35806
|
+
constructor(params) {
|
|
35807
|
+
super();
|
|
35808
|
+
Object.defineProperty(this, "prevValue", {
|
|
35809
|
+
enumerable: true,
|
|
35810
|
+
configurable: true,
|
|
35811
|
+
writable: true,
|
|
35812
|
+
value: void 0
|
|
35813
|
+
});
|
|
35814
|
+
Object.defineProperty(this, "newValue", {
|
|
35815
|
+
enumerable: true,
|
|
35816
|
+
configurable: true,
|
|
35817
|
+
writable: true,
|
|
35818
|
+
value: void 0
|
|
35819
|
+
});
|
|
35820
|
+
this.prevValue = params.prevValue;
|
|
35821
|
+
this.newValue = params.newValue;
|
|
35822
|
+
}
|
|
35823
|
+
}
|
|
35824
|
+
exports.ChannelAdminLogEventActionChangeColor = ChannelAdminLogEventActionChangeColor;
|
|
35825
|
+
class ChannelAdminLogEventActionChangeBackgroundEmoji extends _TypeChannelAdminLogEventAction {
|
|
35826
|
+
get [_1_tl_object_js_1.id]() {
|
|
35827
|
+
return 0x445FC434;
|
|
35828
|
+
}
|
|
35829
|
+
static get [_1_tl_object_js_1.paramDesc]() {
|
|
35830
|
+
return [
|
|
35831
|
+
["prevValue", "bigint", "long"],
|
|
35832
|
+
["newValue", "bigint", "long"],
|
|
35833
|
+
];
|
|
35834
|
+
}
|
|
35835
|
+
get [_1_tl_object_js_1.params]() {
|
|
35836
|
+
return [
|
|
35837
|
+
[this.prevValue, "bigint", "long"],
|
|
35838
|
+
[this.newValue, "bigint", "long"],
|
|
35839
|
+
];
|
|
35840
|
+
}
|
|
35841
|
+
constructor(params) {
|
|
35842
|
+
super();
|
|
35843
|
+
Object.defineProperty(this, "prevValue", {
|
|
35844
|
+
enumerable: true,
|
|
35845
|
+
configurable: true,
|
|
35846
|
+
writable: true,
|
|
35847
|
+
value: void 0
|
|
35848
|
+
});
|
|
35849
|
+
Object.defineProperty(this, "newValue", {
|
|
35850
|
+
enumerable: true,
|
|
35851
|
+
configurable: true,
|
|
35852
|
+
writable: true,
|
|
35853
|
+
value: void 0
|
|
35854
|
+
});
|
|
35855
|
+
this.prevValue = params.prevValue;
|
|
35856
|
+
this.newValue = params.newValue;
|
|
35857
|
+
}
|
|
35858
|
+
}
|
|
35859
|
+
exports.ChannelAdminLogEventActionChangeBackgroundEmoji = ChannelAdminLogEventActionChangeBackgroundEmoji;
|
|
34991
35860
|
class ChannelAdminLogEvent extends _TypeChannelAdminLogEvent {
|
|
34992
35861
|
get [_1_tl_object_js_1.id]() {
|
|
34993
35862
|
return 0x1FAD68CD;
|
|
@@ -39028,6 +39897,9 @@ class ChatAdminRights extends _TypeChatAdminRights {
|
|
|
39028
39897
|
["manageCall", "true", "flags.11?true"],
|
|
39029
39898
|
["other", "true", "flags.12?true"],
|
|
39030
39899
|
["manageTopics", "true", "flags.13?true"],
|
|
39900
|
+
["postStories", "true", "flags.14?true"],
|
|
39901
|
+
["editStories", "true", "flags.15?true"],
|
|
39902
|
+
["deleteStories", "true", "flags.16?true"],
|
|
39031
39903
|
];
|
|
39032
39904
|
}
|
|
39033
39905
|
get [_1_tl_object_js_1.params]() {
|
|
@@ -39045,6 +39917,9 @@ class ChatAdminRights extends _TypeChatAdminRights {
|
|
|
39045
39917
|
[this.manageCall ?? null, "true", "flags.11?true"],
|
|
39046
39918
|
[this.other ?? null, "true", "flags.12?true"],
|
|
39047
39919
|
[this.manageTopics ?? null, "true", "flags.13?true"],
|
|
39920
|
+
[this.postStories ?? null, "true", "flags.14?true"],
|
|
39921
|
+
[this.editStories ?? null, "true", "flags.15?true"],
|
|
39922
|
+
[this.deleteStories ?? null, "true", "flags.16?true"],
|
|
39048
39923
|
];
|
|
39049
39924
|
}
|
|
39050
39925
|
constructor(params) {
|
|
@@ -39121,6 +39996,24 @@ class ChatAdminRights extends _TypeChatAdminRights {
|
|
|
39121
39996
|
writable: true,
|
|
39122
39997
|
value: void 0
|
|
39123
39998
|
});
|
|
39999
|
+
Object.defineProperty(this, "postStories", {
|
|
40000
|
+
enumerable: true,
|
|
40001
|
+
configurable: true,
|
|
40002
|
+
writable: true,
|
|
40003
|
+
value: void 0
|
|
40004
|
+
});
|
|
40005
|
+
Object.defineProperty(this, "editStories", {
|
|
40006
|
+
enumerable: true,
|
|
40007
|
+
configurable: true,
|
|
40008
|
+
writable: true,
|
|
40009
|
+
value: void 0
|
|
40010
|
+
});
|
|
40011
|
+
Object.defineProperty(this, "deleteStories", {
|
|
40012
|
+
enumerable: true,
|
|
40013
|
+
configurable: true,
|
|
40014
|
+
writable: true,
|
|
40015
|
+
value: void 0
|
|
40016
|
+
});
|
|
39124
40017
|
this.changeInfo = params?.changeInfo;
|
|
39125
40018
|
this.postMessages = params?.postMessages;
|
|
39126
40019
|
this.editMessages = params?.editMessages;
|
|
@@ -39133,6 +40026,9 @@ class ChatAdminRights extends _TypeChatAdminRights {
|
|
|
39133
40026
|
this.manageCall = params?.manageCall;
|
|
39134
40027
|
this.other = params?.other;
|
|
39135
40028
|
this.manageTopics = params?.manageTopics;
|
|
40029
|
+
this.postStories = params?.postStories;
|
|
40030
|
+
this.editStories = params?.editStories;
|
|
40031
|
+
this.deleteStories = params?.deleteStories;
|
|
39136
40032
|
}
|
|
39137
40033
|
}
|
|
39138
40034
|
exports.ChatAdminRights = ChatAdminRights;
|
|
@@ -41115,12 +42011,12 @@ class WebPageAttributeTheme extends _TypeWebPageAttribute {
|
|
|
41115
42011
|
exports.WebPageAttributeTheme = WebPageAttributeTheme;
|
|
41116
42012
|
class WebPageAttributeStory extends _TypeWebPageAttribute {
|
|
41117
42013
|
get [_1_tl_object_js_1.id]() {
|
|
41118
|
-
return
|
|
42014
|
+
return 0x2E94C3E7;
|
|
41119
42015
|
}
|
|
41120
42016
|
static get [_1_tl_object_js_1.paramDesc]() {
|
|
41121
42017
|
return [
|
|
41122
42018
|
["flags", _1_tl_object_js_1.flags, "#"],
|
|
41123
|
-
["
|
|
42019
|
+
["peer", _TypePeer, "Peer"],
|
|
41124
42020
|
["id", "number", "int"],
|
|
41125
42021
|
["story", _TypeStoryItem, "flags.0?StoryItem"],
|
|
41126
42022
|
];
|
|
@@ -41128,14 +42024,14 @@ class WebPageAttributeStory extends _TypeWebPageAttribute {
|
|
|
41128
42024
|
get [_1_tl_object_js_1.params]() {
|
|
41129
42025
|
return [
|
|
41130
42026
|
["flags", _1_tl_object_js_1.flags, "#"],
|
|
41131
|
-
[this.
|
|
42027
|
+
[this.peer, _TypePeer, "Peer"],
|
|
41132
42028
|
[this.id, "number", "int"],
|
|
41133
42029
|
[this.story ?? null, _TypeStoryItem, "flags.0?StoryItem"],
|
|
41134
42030
|
];
|
|
41135
42031
|
}
|
|
41136
42032
|
constructor(params) {
|
|
41137
42033
|
super();
|
|
41138
|
-
Object.defineProperty(this, "
|
|
42034
|
+
Object.defineProperty(this, "peer", {
|
|
41139
42035
|
enumerable: true,
|
|
41140
42036
|
configurable: true,
|
|
41141
42037
|
writable: true,
|
|
@@ -41153,7 +42049,7 @@ class WebPageAttributeStory extends _TypeWebPageAttribute {
|
|
|
41153
42049
|
writable: true,
|
|
41154
42050
|
value: void 0
|
|
41155
42051
|
});
|
|
41156
|
-
this.
|
|
42052
|
+
this.peer = params.peer;
|
|
41157
42053
|
this.id = params.id;
|
|
41158
42054
|
this.story = params.story;
|
|
41159
42055
|
}
|
|
@@ -42884,16 +43780,21 @@ class MessagesDiscussionMessage extends _TypeMessagesDiscussionMessage {
|
|
|
42884
43780
|
exports.MessagesDiscussionMessage = MessagesDiscussionMessage;
|
|
42885
43781
|
class MessageReplyHeader extends _TypeMessageReplyHeader {
|
|
42886
43782
|
get [_1_tl_object_js_1.id]() {
|
|
42887
|
-
return
|
|
43783
|
+
return 0x6EEBCABD;
|
|
42888
43784
|
}
|
|
42889
43785
|
static get [_1_tl_object_js_1.paramDesc]() {
|
|
42890
43786
|
return [
|
|
42891
43787
|
["flags", _1_tl_object_js_1.flags, "#"],
|
|
42892
43788
|
["replyToScheduled", "true", "flags.2?true"],
|
|
42893
43789
|
["forumTopic", "true", "flags.3?true"],
|
|
42894
|
-
["
|
|
43790
|
+
["quote", "true", "flags.9?true"],
|
|
43791
|
+
["replyToMsgId", "number", "flags.4?int"],
|
|
42895
43792
|
["replyToPeerId", _TypePeer, "flags.0?Peer"],
|
|
43793
|
+
["replyFrom", _TypeMessageFwdHeader, "flags.5?MessageFwdHeader"],
|
|
43794
|
+
["replyMedia", _TypeMessageMedia, "flags.8?MessageMedia"],
|
|
42896
43795
|
["replyToTopId", "number", "flags.1?int"],
|
|
43796
|
+
["quoteText", "string", "flags.6?string"],
|
|
43797
|
+
["quoteEntities", [_TypeMessageEntity], "flags.7?Vector<MessageEntity>"],
|
|
42897
43798
|
];
|
|
42898
43799
|
}
|
|
42899
43800
|
get [_1_tl_object_js_1.params]() {
|
|
@@ -42901,9 +43802,14 @@ class MessageReplyHeader extends _TypeMessageReplyHeader {
|
|
|
42901
43802
|
["flags", _1_tl_object_js_1.flags, "#"],
|
|
42902
43803
|
[this.replyToScheduled ?? null, "true", "flags.2?true"],
|
|
42903
43804
|
[this.forumTopic ?? null, "true", "flags.3?true"],
|
|
42904
|
-
[this.
|
|
43805
|
+
[this.quote ?? null, "true", "flags.9?true"],
|
|
43806
|
+
[this.replyToMsgId ?? null, "number", "flags.4?int"],
|
|
42905
43807
|
[this.replyToPeerId ?? null, _TypePeer, "flags.0?Peer"],
|
|
43808
|
+
[this.replyFrom ?? null, _TypeMessageFwdHeader, "flags.5?MessageFwdHeader"],
|
|
43809
|
+
[this.replyMedia ?? null, _TypeMessageMedia, "flags.8?MessageMedia"],
|
|
42906
43810
|
[this.replyToTopId ?? null, "number", "flags.1?int"],
|
|
43811
|
+
[this.quoteText ?? null, "string", "flags.6?string"],
|
|
43812
|
+
[this.quoteEntities ?? null, [_TypeMessageEntity], "flags.7?Vector<MessageEntity>"],
|
|
42907
43813
|
];
|
|
42908
43814
|
}
|
|
42909
43815
|
constructor(params) {
|
|
@@ -42920,6 +43826,12 @@ class MessageReplyHeader extends _TypeMessageReplyHeader {
|
|
|
42920
43826
|
writable: true,
|
|
42921
43827
|
value: void 0
|
|
42922
43828
|
});
|
|
43829
|
+
Object.defineProperty(this, "quote", {
|
|
43830
|
+
enumerable: true,
|
|
43831
|
+
configurable: true,
|
|
43832
|
+
writable: true,
|
|
43833
|
+
value: void 0
|
|
43834
|
+
});
|
|
42923
43835
|
Object.defineProperty(this, "replyToMsgId", {
|
|
42924
43836
|
enumerable: true,
|
|
42925
43837
|
configurable: true,
|
|
@@ -42932,17 +43844,46 @@ class MessageReplyHeader extends _TypeMessageReplyHeader {
|
|
|
42932
43844
|
writable: true,
|
|
42933
43845
|
value: void 0
|
|
42934
43846
|
});
|
|
43847
|
+
Object.defineProperty(this, "replyFrom", {
|
|
43848
|
+
enumerable: true,
|
|
43849
|
+
configurable: true,
|
|
43850
|
+
writable: true,
|
|
43851
|
+
value: void 0
|
|
43852
|
+
});
|
|
43853
|
+
Object.defineProperty(this, "replyMedia", {
|
|
43854
|
+
enumerable: true,
|
|
43855
|
+
configurable: true,
|
|
43856
|
+
writable: true,
|
|
43857
|
+
value: void 0
|
|
43858
|
+
});
|
|
42935
43859
|
Object.defineProperty(this, "replyToTopId", {
|
|
42936
43860
|
enumerable: true,
|
|
42937
43861
|
configurable: true,
|
|
42938
43862
|
writable: true,
|
|
42939
43863
|
value: void 0
|
|
42940
43864
|
});
|
|
42941
|
-
this
|
|
42942
|
-
|
|
42943
|
-
|
|
42944
|
-
|
|
42945
|
-
|
|
43865
|
+
Object.defineProperty(this, "quoteText", {
|
|
43866
|
+
enumerable: true,
|
|
43867
|
+
configurable: true,
|
|
43868
|
+
writable: true,
|
|
43869
|
+
value: void 0
|
|
43870
|
+
});
|
|
43871
|
+
Object.defineProperty(this, "quoteEntities", {
|
|
43872
|
+
enumerable: true,
|
|
43873
|
+
configurable: true,
|
|
43874
|
+
writable: true,
|
|
43875
|
+
value: void 0
|
|
43876
|
+
});
|
|
43877
|
+
this.replyToScheduled = params?.replyToScheduled;
|
|
43878
|
+
this.forumTopic = params?.forumTopic;
|
|
43879
|
+
this.quote = params?.quote;
|
|
43880
|
+
this.replyToMsgId = params?.replyToMsgId;
|
|
43881
|
+
this.replyToPeerId = params?.replyToPeerId;
|
|
43882
|
+
this.replyFrom = params?.replyFrom;
|
|
43883
|
+
this.replyMedia = params?.replyMedia;
|
|
43884
|
+
this.replyToTopId = params?.replyToTopId;
|
|
43885
|
+
this.quoteText = params?.quoteText;
|
|
43886
|
+
this.quoteEntities = params?.quoteEntities;
|
|
42946
43887
|
}
|
|
42947
43888
|
}
|
|
42948
43889
|
exports.MessageReplyHeader = MessageReplyHeader;
|
|
@@ -45859,7 +46800,7 @@ class AttachMenuBotIcon extends _TypeAttachMenuBotIcon {
|
|
|
45859
46800
|
exports.AttachMenuBotIcon = AttachMenuBotIcon;
|
|
45860
46801
|
class AttachMenuBot extends _TypeAttachMenuBot {
|
|
45861
46802
|
get [_1_tl_object_js_1.id]() {
|
|
45862
|
-
return
|
|
46803
|
+
return 0xD90D8DFE;
|
|
45863
46804
|
}
|
|
45864
46805
|
static get [_1_tl_object_js_1.paramDesc]() {
|
|
45865
46806
|
return [
|
|
@@ -45867,9 +46808,12 @@ class AttachMenuBot extends _TypeAttachMenuBot {
|
|
|
45867
46808
|
["inactive", "true", "flags.0?true"],
|
|
45868
46809
|
["hasSettings", "true", "flags.1?true"],
|
|
45869
46810
|
["requestWriteAccess", "true", "flags.2?true"],
|
|
46811
|
+
["showInAttachMenu", "true", "flags.3?true"],
|
|
46812
|
+
["showInSideMenu", "true", "flags.4?true"],
|
|
46813
|
+
["sideMenuDisclaimerNeeded", "true", "flags.5?true"],
|
|
45870
46814
|
["botId", "bigint", "long"],
|
|
45871
46815
|
["shortName", "string", "string"],
|
|
45872
|
-
["peerTypes", [_TypeAttachMenuPeerType], "Vector<AttachMenuPeerType>"],
|
|
46816
|
+
["peerTypes", [_TypeAttachMenuPeerType], "flags.3?Vector<AttachMenuPeerType>"],
|
|
45873
46817
|
["icons", [_TypeAttachMenuBotIcon], "Vector<AttachMenuBotIcon>"],
|
|
45874
46818
|
];
|
|
45875
46819
|
}
|
|
@@ -45879,9 +46823,12 @@ class AttachMenuBot extends _TypeAttachMenuBot {
|
|
|
45879
46823
|
[this.inactive ?? null, "true", "flags.0?true"],
|
|
45880
46824
|
[this.hasSettings ?? null, "true", "flags.1?true"],
|
|
45881
46825
|
[this.requestWriteAccess ?? null, "true", "flags.2?true"],
|
|
46826
|
+
[this.showInAttachMenu ?? null, "true", "flags.3?true"],
|
|
46827
|
+
[this.showInSideMenu ?? null, "true", "flags.4?true"],
|
|
46828
|
+
[this.sideMenuDisclaimerNeeded ?? null, "true", "flags.5?true"],
|
|
45882
46829
|
[this.botId, "bigint", "long"],
|
|
45883
46830
|
[this.shortName, "string", "string"],
|
|
45884
|
-
[this.peerTypes, [_TypeAttachMenuPeerType], "Vector<AttachMenuPeerType>"],
|
|
46831
|
+
[this.peerTypes ?? null, [_TypeAttachMenuPeerType], "flags.3?Vector<AttachMenuPeerType>"],
|
|
45885
46832
|
[this.icons, [_TypeAttachMenuBotIcon], "Vector<AttachMenuBotIcon>"],
|
|
45886
46833
|
];
|
|
45887
46834
|
}
|
|
@@ -45905,6 +46852,24 @@ class AttachMenuBot extends _TypeAttachMenuBot {
|
|
|
45905
46852
|
writable: true,
|
|
45906
46853
|
value: void 0
|
|
45907
46854
|
});
|
|
46855
|
+
Object.defineProperty(this, "showInAttachMenu", {
|
|
46856
|
+
enumerable: true,
|
|
46857
|
+
configurable: true,
|
|
46858
|
+
writable: true,
|
|
46859
|
+
value: void 0
|
|
46860
|
+
});
|
|
46861
|
+
Object.defineProperty(this, "showInSideMenu", {
|
|
46862
|
+
enumerable: true,
|
|
46863
|
+
configurable: true,
|
|
46864
|
+
writable: true,
|
|
46865
|
+
value: void 0
|
|
46866
|
+
});
|
|
46867
|
+
Object.defineProperty(this, "sideMenuDisclaimerNeeded", {
|
|
46868
|
+
enumerable: true,
|
|
46869
|
+
configurable: true,
|
|
46870
|
+
writable: true,
|
|
46871
|
+
value: void 0
|
|
46872
|
+
});
|
|
45908
46873
|
Object.defineProperty(this, "botId", {
|
|
45909
46874
|
enumerable: true,
|
|
45910
46875
|
configurable: true,
|
|
@@ -45932,6 +46897,9 @@ class AttachMenuBot extends _TypeAttachMenuBot {
|
|
|
45932
46897
|
this.inactive = params.inactive;
|
|
45933
46898
|
this.hasSettings = params.hasSettings;
|
|
45934
46899
|
this.requestWriteAccess = params.requestWriteAccess;
|
|
46900
|
+
this.showInAttachMenu = params.showInAttachMenu;
|
|
46901
|
+
this.showInSideMenu = params.showInSideMenu;
|
|
46902
|
+
this.sideMenuDisclaimerNeeded = params.sideMenuDisclaimerNeeded;
|
|
45935
46903
|
this.botId = params.botId;
|
|
45936
46904
|
this.shortName = params.shortName;
|
|
45937
46905
|
this.peerTypes = params.peerTypes;
|
|
@@ -46505,6 +47473,41 @@ class InputInvoiceSlug extends _TypeInputInvoice {
|
|
|
46505
47473
|
}
|
|
46506
47474
|
}
|
|
46507
47475
|
exports.InputInvoiceSlug = InputInvoiceSlug;
|
|
47476
|
+
class InputInvoicePremiumGiftCode extends _TypeInputInvoice {
|
|
47477
|
+
get [_1_tl_object_js_1.id]() {
|
|
47478
|
+
return 0x98986C0D;
|
|
47479
|
+
}
|
|
47480
|
+
static get [_1_tl_object_js_1.paramDesc]() {
|
|
47481
|
+
return [
|
|
47482
|
+
["purpose", _TypeInputStorePaymentPurpose, "InputStorePaymentPurpose"],
|
|
47483
|
+
["option", _TypePremiumGiftCodeOption, "PremiumGiftCodeOption"],
|
|
47484
|
+
];
|
|
47485
|
+
}
|
|
47486
|
+
get [_1_tl_object_js_1.params]() {
|
|
47487
|
+
return [
|
|
47488
|
+
[this.purpose, _TypeInputStorePaymentPurpose, "InputStorePaymentPurpose"],
|
|
47489
|
+
[this.option, _TypePremiumGiftCodeOption, "PremiumGiftCodeOption"],
|
|
47490
|
+
];
|
|
47491
|
+
}
|
|
47492
|
+
constructor(params) {
|
|
47493
|
+
super();
|
|
47494
|
+
Object.defineProperty(this, "purpose", {
|
|
47495
|
+
enumerable: true,
|
|
47496
|
+
configurable: true,
|
|
47497
|
+
writable: true,
|
|
47498
|
+
value: void 0
|
|
47499
|
+
});
|
|
47500
|
+
Object.defineProperty(this, "option", {
|
|
47501
|
+
enumerable: true,
|
|
47502
|
+
configurable: true,
|
|
47503
|
+
writable: true,
|
|
47504
|
+
value: void 0
|
|
47505
|
+
});
|
|
47506
|
+
this.purpose = params.purpose;
|
|
47507
|
+
this.option = params.option;
|
|
47508
|
+
}
|
|
47509
|
+
}
|
|
47510
|
+
exports.InputInvoicePremiumGiftCode = InputInvoicePremiumGiftCode;
|
|
46508
47511
|
class PaymentsExportedInvoice extends _TypePaymentsExportedInvoice {
|
|
46509
47512
|
get [_1_tl_object_js_1.id]() {
|
|
46510
47513
|
return 0xAED0CBD9;
|
|
@@ -46729,6 +47732,152 @@ class InputStorePaymentGiftPremium extends _TypeInputStorePaymentPurpose {
|
|
|
46729
47732
|
}
|
|
46730
47733
|
}
|
|
46731
47734
|
exports.InputStorePaymentGiftPremium = InputStorePaymentGiftPremium;
|
|
47735
|
+
class InputStorePaymentPremiumGiftCode extends _TypeInputStorePaymentPurpose {
|
|
47736
|
+
get [_1_tl_object_js_1.id]() {
|
|
47737
|
+
return 0xA3805F3F;
|
|
47738
|
+
}
|
|
47739
|
+
static get [_1_tl_object_js_1.paramDesc]() {
|
|
47740
|
+
return [
|
|
47741
|
+
["flags", _1_tl_object_js_1.flags, "#"],
|
|
47742
|
+
["users", [_TypeInputUser], "Vector<InputUser>"],
|
|
47743
|
+
["boostPeer", _TypeInputPeer, "flags.0?InputPeer"],
|
|
47744
|
+
["currency", "string", "string"],
|
|
47745
|
+
["amount", "bigint", "long"],
|
|
47746
|
+
];
|
|
47747
|
+
}
|
|
47748
|
+
get [_1_tl_object_js_1.params]() {
|
|
47749
|
+
return [
|
|
47750
|
+
["flags", _1_tl_object_js_1.flags, "#"],
|
|
47751
|
+
[this.users, [_TypeInputUser], "Vector<InputUser>"],
|
|
47752
|
+
[this.boostPeer ?? null, _TypeInputPeer, "flags.0?InputPeer"],
|
|
47753
|
+
[this.currency, "string", "string"],
|
|
47754
|
+
[this.amount, "bigint", "long"],
|
|
47755
|
+
];
|
|
47756
|
+
}
|
|
47757
|
+
constructor(params) {
|
|
47758
|
+
super();
|
|
47759
|
+
Object.defineProperty(this, "users", {
|
|
47760
|
+
enumerable: true,
|
|
47761
|
+
configurable: true,
|
|
47762
|
+
writable: true,
|
|
47763
|
+
value: void 0
|
|
47764
|
+
});
|
|
47765
|
+
Object.defineProperty(this, "boostPeer", {
|
|
47766
|
+
enumerable: true,
|
|
47767
|
+
configurable: true,
|
|
47768
|
+
writable: true,
|
|
47769
|
+
value: void 0
|
|
47770
|
+
});
|
|
47771
|
+
Object.defineProperty(this, "currency", {
|
|
47772
|
+
enumerable: true,
|
|
47773
|
+
configurable: true,
|
|
47774
|
+
writable: true,
|
|
47775
|
+
value: void 0
|
|
47776
|
+
});
|
|
47777
|
+
Object.defineProperty(this, "amount", {
|
|
47778
|
+
enumerable: true,
|
|
47779
|
+
configurable: true,
|
|
47780
|
+
writable: true,
|
|
47781
|
+
value: void 0
|
|
47782
|
+
});
|
|
47783
|
+
this.users = params.users;
|
|
47784
|
+
this.boostPeer = params.boostPeer;
|
|
47785
|
+
this.currency = params.currency;
|
|
47786
|
+
this.amount = params.amount;
|
|
47787
|
+
}
|
|
47788
|
+
}
|
|
47789
|
+
exports.InputStorePaymentPremiumGiftCode = InputStorePaymentPremiumGiftCode;
|
|
47790
|
+
class InputStorePaymentPremiumGiveaway extends _TypeInputStorePaymentPurpose {
|
|
47791
|
+
get [_1_tl_object_js_1.id]() {
|
|
47792
|
+
return 0x7C9375E6;
|
|
47793
|
+
}
|
|
47794
|
+
static get [_1_tl_object_js_1.paramDesc]() {
|
|
47795
|
+
return [
|
|
47796
|
+
["flags", _1_tl_object_js_1.flags, "#"],
|
|
47797
|
+
["onlyNewSubscribers", "true", "flags.0?true"],
|
|
47798
|
+
["boostPeer", _TypeInputPeer, "InputPeer"],
|
|
47799
|
+
["additionalPeers", [_TypeInputPeer], "flags.1?Vector<InputPeer>"],
|
|
47800
|
+
["countriesIso2", ["string"], "flags.2?Vector<string>"],
|
|
47801
|
+
["randomId", "bigint", "long"],
|
|
47802
|
+
["untilDate", "number", "int"],
|
|
47803
|
+
["currency", "string", "string"],
|
|
47804
|
+
["amount", "bigint", "long"],
|
|
47805
|
+
];
|
|
47806
|
+
}
|
|
47807
|
+
get [_1_tl_object_js_1.params]() {
|
|
47808
|
+
return [
|
|
47809
|
+
["flags", _1_tl_object_js_1.flags, "#"],
|
|
47810
|
+
[this.onlyNewSubscribers ?? null, "true", "flags.0?true"],
|
|
47811
|
+
[this.boostPeer, _TypeInputPeer, "InputPeer"],
|
|
47812
|
+
[this.additionalPeers ?? null, [_TypeInputPeer], "flags.1?Vector<InputPeer>"],
|
|
47813
|
+
[this.countriesIso2 ?? null, ["string"], "flags.2?Vector<string>"],
|
|
47814
|
+
[this.randomId, "bigint", "long"],
|
|
47815
|
+
[this.untilDate, "number", "int"],
|
|
47816
|
+
[this.currency, "string", "string"],
|
|
47817
|
+
[this.amount, "bigint", "long"],
|
|
47818
|
+
];
|
|
47819
|
+
}
|
|
47820
|
+
constructor(params) {
|
|
47821
|
+
super();
|
|
47822
|
+
Object.defineProperty(this, "onlyNewSubscribers", {
|
|
47823
|
+
enumerable: true,
|
|
47824
|
+
configurable: true,
|
|
47825
|
+
writable: true,
|
|
47826
|
+
value: void 0
|
|
47827
|
+
});
|
|
47828
|
+
Object.defineProperty(this, "boostPeer", {
|
|
47829
|
+
enumerable: true,
|
|
47830
|
+
configurable: true,
|
|
47831
|
+
writable: true,
|
|
47832
|
+
value: void 0
|
|
47833
|
+
});
|
|
47834
|
+
Object.defineProperty(this, "additionalPeers", {
|
|
47835
|
+
enumerable: true,
|
|
47836
|
+
configurable: true,
|
|
47837
|
+
writable: true,
|
|
47838
|
+
value: void 0
|
|
47839
|
+
});
|
|
47840
|
+
Object.defineProperty(this, "countriesIso2", {
|
|
47841
|
+
enumerable: true,
|
|
47842
|
+
configurable: true,
|
|
47843
|
+
writable: true,
|
|
47844
|
+
value: void 0
|
|
47845
|
+
});
|
|
47846
|
+
Object.defineProperty(this, "randomId", {
|
|
47847
|
+
enumerable: true,
|
|
47848
|
+
configurable: true,
|
|
47849
|
+
writable: true,
|
|
47850
|
+
value: void 0
|
|
47851
|
+
});
|
|
47852
|
+
Object.defineProperty(this, "untilDate", {
|
|
47853
|
+
enumerable: true,
|
|
47854
|
+
configurable: true,
|
|
47855
|
+
writable: true,
|
|
47856
|
+
value: void 0
|
|
47857
|
+
});
|
|
47858
|
+
Object.defineProperty(this, "currency", {
|
|
47859
|
+
enumerable: true,
|
|
47860
|
+
configurable: true,
|
|
47861
|
+
writable: true,
|
|
47862
|
+
value: void 0
|
|
47863
|
+
});
|
|
47864
|
+
Object.defineProperty(this, "amount", {
|
|
47865
|
+
enumerable: true,
|
|
47866
|
+
configurable: true,
|
|
47867
|
+
writable: true,
|
|
47868
|
+
value: void 0
|
|
47869
|
+
});
|
|
47870
|
+
this.onlyNewSubscribers = params.onlyNewSubscribers;
|
|
47871
|
+
this.boostPeer = params.boostPeer;
|
|
47872
|
+
this.additionalPeers = params.additionalPeers;
|
|
47873
|
+
this.countriesIso2 = params.countriesIso2;
|
|
47874
|
+
this.randomId = params.randomId;
|
|
47875
|
+
this.untilDate = params.untilDate;
|
|
47876
|
+
this.currency = params.currency;
|
|
47877
|
+
this.amount = params.amount;
|
|
47878
|
+
}
|
|
47879
|
+
}
|
|
47880
|
+
exports.InputStorePaymentPremiumGiveaway = InputStorePaymentPremiumGiveaway;
|
|
46732
47881
|
class PremiumGiftOption extends _TypePremiumGiftOption {
|
|
46733
47882
|
get [_1_tl_object_js_1.id]() {
|
|
46734
47883
|
return 0x74C34319;
|
|
@@ -48750,6 +49899,7 @@ class MessagesBotApp extends _TypeMessagesBotApp {
|
|
|
48750
49899
|
["flags", _1_tl_object_js_1.flags, "#"],
|
|
48751
49900
|
["inactive", "true", "flags.0?true"],
|
|
48752
49901
|
["requestWriteAccess", "true", "flags.1?true"],
|
|
49902
|
+
["hasSettings", "true", "flags.2?true"],
|
|
48753
49903
|
["app", _TypeBotApp, "BotApp"],
|
|
48754
49904
|
];
|
|
48755
49905
|
}
|
|
@@ -48758,6 +49908,7 @@ class MessagesBotApp extends _TypeMessagesBotApp {
|
|
|
48758
49908
|
["flags", _1_tl_object_js_1.flags, "#"],
|
|
48759
49909
|
[this.inactive ?? null, "true", "flags.0?true"],
|
|
48760
49910
|
[this.requestWriteAccess ?? null, "true", "flags.1?true"],
|
|
49911
|
+
[this.hasSettings ?? null, "true", "flags.2?true"],
|
|
48761
49912
|
[this.app, _TypeBotApp, "BotApp"],
|
|
48762
49913
|
];
|
|
48763
49914
|
}
|
|
@@ -48775,6 +49926,12 @@ class MessagesBotApp extends _TypeMessagesBotApp {
|
|
|
48775
49926
|
writable: true,
|
|
48776
49927
|
value: void 0
|
|
48777
49928
|
});
|
|
49929
|
+
Object.defineProperty(this, "hasSettings", {
|
|
49930
|
+
enumerable: true,
|
|
49931
|
+
configurable: true,
|
|
49932
|
+
writable: true,
|
|
49933
|
+
value: void 0
|
|
49934
|
+
});
|
|
48778
49935
|
Object.defineProperty(this, "app", {
|
|
48779
49936
|
enumerable: true,
|
|
48780
49937
|
configurable: true,
|
|
@@ -48783,6 +49940,7 @@ class MessagesBotApp extends _TypeMessagesBotApp {
|
|
|
48783
49940
|
});
|
|
48784
49941
|
this.inactive = params.inactive;
|
|
48785
49942
|
this.requestWriteAccess = params.requestWriteAccess;
|
|
49943
|
+
this.hasSettings = params.hasSettings;
|
|
48786
49944
|
this.app = params.app;
|
|
48787
49945
|
}
|
|
48788
49946
|
}
|
|
@@ -49419,32 +50577,56 @@ class SponsoredWebPage extends _TypeSponsoredWebPage {
|
|
|
49419
50577
|
exports.SponsoredWebPage = SponsoredWebPage;
|
|
49420
50578
|
class StoryViews extends _TypeStoryViews {
|
|
49421
50579
|
get [_1_tl_object_js_1.id]() {
|
|
49422
|
-
return
|
|
50580
|
+
return 0x8D595CD6;
|
|
49423
50581
|
}
|
|
49424
50582
|
static get [_1_tl_object_js_1.paramDesc]() {
|
|
49425
50583
|
return [
|
|
49426
50584
|
["flags", _1_tl_object_js_1.flags, "#"],
|
|
50585
|
+
["hasViewers", "true", "flags.1?true"],
|
|
49427
50586
|
["viewsCount", "number", "int"],
|
|
49428
|
-
["
|
|
50587
|
+
["forwardsCount", "number", "flags.2?int"],
|
|
50588
|
+
["reactions", [_TypeReactionCount], "flags.3?Vector<ReactionCount>"],
|
|
50589
|
+
["reactionsCount", "number", "flags.4?int"],
|
|
49429
50590
|
["recentViewers", ["bigint"], "flags.0?Vector<long>"],
|
|
49430
50591
|
];
|
|
49431
50592
|
}
|
|
49432
50593
|
get [_1_tl_object_js_1.params]() {
|
|
49433
50594
|
return [
|
|
49434
50595
|
["flags", _1_tl_object_js_1.flags, "#"],
|
|
50596
|
+
[this.hasViewers ?? null, "true", "flags.1?true"],
|
|
49435
50597
|
[this.viewsCount, "number", "int"],
|
|
49436
|
-
[this.
|
|
50598
|
+
[this.forwardsCount ?? null, "number", "flags.2?int"],
|
|
50599
|
+
[this.reactions ?? null, [_TypeReactionCount], "flags.3?Vector<ReactionCount>"],
|
|
50600
|
+
[this.reactionsCount ?? null, "number", "flags.4?int"],
|
|
49437
50601
|
[this.recentViewers ?? null, ["bigint"], "flags.0?Vector<long>"],
|
|
49438
50602
|
];
|
|
49439
50603
|
}
|
|
49440
50604
|
constructor(params) {
|
|
49441
50605
|
super();
|
|
50606
|
+
Object.defineProperty(this, "hasViewers", {
|
|
50607
|
+
enumerable: true,
|
|
50608
|
+
configurable: true,
|
|
50609
|
+
writable: true,
|
|
50610
|
+
value: void 0
|
|
50611
|
+
});
|
|
49442
50612
|
Object.defineProperty(this, "viewsCount", {
|
|
49443
50613
|
enumerable: true,
|
|
49444
50614
|
configurable: true,
|
|
49445
50615
|
writable: true,
|
|
49446
50616
|
value: void 0
|
|
49447
50617
|
});
|
|
50618
|
+
Object.defineProperty(this, "forwardsCount", {
|
|
50619
|
+
enumerable: true,
|
|
50620
|
+
configurable: true,
|
|
50621
|
+
writable: true,
|
|
50622
|
+
value: void 0
|
|
50623
|
+
});
|
|
50624
|
+
Object.defineProperty(this, "reactions", {
|
|
50625
|
+
enumerable: true,
|
|
50626
|
+
configurable: true,
|
|
50627
|
+
writable: true,
|
|
50628
|
+
value: void 0
|
|
50629
|
+
});
|
|
49448
50630
|
Object.defineProperty(this, "reactionsCount", {
|
|
49449
50631
|
enumerable: true,
|
|
49450
50632
|
configurable: true,
|
|
@@ -49457,7 +50639,10 @@ class StoryViews extends _TypeStoryViews {
|
|
|
49457
50639
|
writable: true,
|
|
49458
50640
|
value: void 0
|
|
49459
50641
|
});
|
|
50642
|
+
this.hasViewers = params.hasViewers;
|
|
49460
50643
|
this.viewsCount = params.viewsCount;
|
|
50644
|
+
this.forwardsCount = params.forwardsCount;
|
|
50645
|
+
this.reactions = params.reactions;
|
|
49461
50646
|
this.reactionsCount = params.reactionsCount;
|
|
49462
50647
|
this.recentViewers = params.recentViewers;
|
|
49463
50648
|
}
|
|
@@ -49559,6 +50744,7 @@ class StoryItem extends _TypeStoryItem {
|
|
|
49559
50744
|
["edited", "true", "flags.11?true"],
|
|
49560
50745
|
["contacts", "true", "flags.12?true"],
|
|
49561
50746
|
["selectedContacts", "true", "flags.13?true"],
|
|
50747
|
+
["out", "true", "flags.16?true"],
|
|
49562
50748
|
["id", "number", "int"],
|
|
49563
50749
|
["date", "number", "int"],
|
|
49564
50750
|
["expireDate", "number", "int"],
|
|
@@ -49582,6 +50768,7 @@ class StoryItem extends _TypeStoryItem {
|
|
|
49582
50768
|
[this.edited ?? null, "true", "flags.11?true"],
|
|
49583
50769
|
[this.contacts ?? null, "true", "flags.12?true"],
|
|
49584
50770
|
[this.selectedContacts ?? null, "true", "flags.13?true"],
|
|
50771
|
+
[this.out ?? null, "true", "flags.16?true"],
|
|
49585
50772
|
[this.id, "number", "int"],
|
|
49586
50773
|
[this.date, "number", "int"],
|
|
49587
50774
|
[this.expireDate, "number", "int"],
|
|
@@ -49644,6 +50831,12 @@ class StoryItem extends _TypeStoryItem {
|
|
|
49644
50831
|
writable: true,
|
|
49645
50832
|
value: void 0
|
|
49646
50833
|
});
|
|
50834
|
+
Object.defineProperty(this, "out", {
|
|
50835
|
+
enumerable: true,
|
|
50836
|
+
configurable: true,
|
|
50837
|
+
writable: true,
|
|
50838
|
+
value: void 0
|
|
50839
|
+
});
|
|
49647
50840
|
Object.defineProperty(this, "id", {
|
|
49648
50841
|
enumerable: true,
|
|
49649
50842
|
configurable: true,
|
|
@@ -49712,6 +50905,7 @@ class StoryItem extends _TypeStoryItem {
|
|
|
49712
50905
|
this.edited = params.edited;
|
|
49713
50906
|
this.contacts = params.contacts;
|
|
49714
50907
|
this.selectedContacts = params.selectedContacts;
|
|
50908
|
+
this.out = params.out;
|
|
49715
50909
|
this.id = params.id;
|
|
49716
50910
|
this.date = params.date;
|
|
49717
50911
|
this.expireDate = params.expireDate;
|
|
@@ -49725,52 +50919,6 @@ class StoryItem extends _TypeStoryItem {
|
|
|
49725
50919
|
}
|
|
49726
50920
|
}
|
|
49727
50921
|
exports.StoryItem = StoryItem;
|
|
49728
|
-
class UserStories extends _TypeUserStories {
|
|
49729
|
-
get [_1_tl_object_js_1.id]() {
|
|
49730
|
-
return 0x8611A200;
|
|
49731
|
-
}
|
|
49732
|
-
static get [_1_tl_object_js_1.paramDesc]() {
|
|
49733
|
-
return [
|
|
49734
|
-
["flags", _1_tl_object_js_1.flags, "#"],
|
|
49735
|
-
["userId", "bigint", "long"],
|
|
49736
|
-
["maxReadId", "number", "flags.0?int"],
|
|
49737
|
-
["stories", [_TypeStoryItem], "Vector<StoryItem>"],
|
|
49738
|
-
];
|
|
49739
|
-
}
|
|
49740
|
-
get [_1_tl_object_js_1.params]() {
|
|
49741
|
-
return [
|
|
49742
|
-
["flags", _1_tl_object_js_1.flags, "#"],
|
|
49743
|
-
[this.userId, "bigint", "long"],
|
|
49744
|
-
[this.maxReadId ?? null, "number", "flags.0?int"],
|
|
49745
|
-
[this.stories, [_TypeStoryItem], "Vector<StoryItem>"],
|
|
49746
|
-
];
|
|
49747
|
-
}
|
|
49748
|
-
constructor(params) {
|
|
49749
|
-
super();
|
|
49750
|
-
Object.defineProperty(this, "userId", {
|
|
49751
|
-
enumerable: true,
|
|
49752
|
-
configurable: true,
|
|
49753
|
-
writable: true,
|
|
49754
|
-
value: void 0
|
|
49755
|
-
});
|
|
49756
|
-
Object.defineProperty(this, "maxReadId", {
|
|
49757
|
-
enumerable: true,
|
|
49758
|
-
configurable: true,
|
|
49759
|
-
writable: true,
|
|
49760
|
-
value: void 0
|
|
49761
|
-
});
|
|
49762
|
-
Object.defineProperty(this, "stories", {
|
|
49763
|
-
enumerable: true,
|
|
49764
|
-
configurable: true,
|
|
49765
|
-
writable: true,
|
|
49766
|
-
value: void 0
|
|
49767
|
-
});
|
|
49768
|
-
this.userId = params.userId;
|
|
49769
|
-
this.maxReadId = params.maxReadId;
|
|
49770
|
-
this.stories = params.stories;
|
|
49771
|
-
}
|
|
49772
|
-
}
|
|
49773
|
-
exports.UserStories = UserStories;
|
|
49774
50922
|
class StoriesAllStoriesNotModified extends _TypeStoriesAllStories {
|
|
49775
50923
|
get [_1_tl_object_js_1.id]() {
|
|
49776
50924
|
return 0x1158FE3E;
|
|
@@ -49810,7 +50958,7 @@ class StoriesAllStoriesNotModified extends _TypeStoriesAllStories {
|
|
|
49810
50958
|
exports.StoriesAllStoriesNotModified = StoriesAllStoriesNotModified;
|
|
49811
50959
|
class StoriesAllStories extends _TypeStoriesAllStories {
|
|
49812
50960
|
get [_1_tl_object_js_1.id]() {
|
|
49813
|
-
return
|
|
50961
|
+
return 0x6EFC5E81;
|
|
49814
50962
|
}
|
|
49815
50963
|
static get [_1_tl_object_js_1.paramDesc]() {
|
|
49816
50964
|
return [
|
|
@@ -49818,7 +50966,8 @@ class StoriesAllStories extends _TypeStoriesAllStories {
|
|
|
49818
50966
|
["hasMore", "true", "flags.0?true"],
|
|
49819
50967
|
["count", "number", "int"],
|
|
49820
50968
|
["state", "string", "string"],
|
|
49821
|
-
["
|
|
50969
|
+
["peerStories", [_TypePeerStories], "Vector<PeerStories>"],
|
|
50970
|
+
["chats", [_TypeChat], "Vector<Chat>"],
|
|
49822
50971
|
["users", [_TypeUser], "Vector<User>"],
|
|
49823
50972
|
["stealthMode", _TypeStoriesStealthMode, "StoriesStealthMode"],
|
|
49824
50973
|
];
|
|
@@ -49829,7 +50978,8 @@ class StoriesAllStories extends _TypeStoriesAllStories {
|
|
|
49829
50978
|
[this.hasMore ?? null, "true", "flags.0?true"],
|
|
49830
50979
|
[this.count, "number", "int"],
|
|
49831
50980
|
[this.state, "string", "string"],
|
|
49832
|
-
[this.
|
|
50981
|
+
[this.peerStories, [_TypePeerStories], "Vector<PeerStories>"],
|
|
50982
|
+
[this.chats, [_TypeChat], "Vector<Chat>"],
|
|
49833
50983
|
[this.users, [_TypeUser], "Vector<User>"],
|
|
49834
50984
|
[this.stealthMode, _TypeStoriesStealthMode, "StoriesStealthMode"],
|
|
49835
50985
|
];
|
|
@@ -49854,7 +51004,13 @@ class StoriesAllStories extends _TypeStoriesAllStories {
|
|
|
49854
51004
|
writable: true,
|
|
49855
51005
|
value: void 0
|
|
49856
51006
|
});
|
|
49857
|
-
Object.defineProperty(this, "
|
|
51007
|
+
Object.defineProperty(this, "peerStories", {
|
|
51008
|
+
enumerable: true,
|
|
51009
|
+
configurable: true,
|
|
51010
|
+
writable: true,
|
|
51011
|
+
value: void 0
|
|
51012
|
+
});
|
|
51013
|
+
Object.defineProperty(this, "chats", {
|
|
49858
51014
|
enumerable: true,
|
|
49859
51015
|
configurable: true,
|
|
49860
51016
|
writable: true,
|
|
@@ -49875,7 +51031,8 @@ class StoriesAllStories extends _TypeStoriesAllStories {
|
|
|
49875
51031
|
this.hasMore = params.hasMore;
|
|
49876
51032
|
this.count = params.count;
|
|
49877
51033
|
this.state = params.state;
|
|
49878
|
-
this.
|
|
51034
|
+
this.peerStories = params.peerStories;
|
|
51035
|
+
this.chats = params.chats;
|
|
49879
51036
|
this.users = params.users;
|
|
49880
51037
|
this.stealthMode = params.stealthMode;
|
|
49881
51038
|
}
|
|
@@ -49883,12 +51040,13 @@ class StoriesAllStories extends _TypeStoriesAllStories {
|
|
|
49883
51040
|
exports.StoriesAllStories = StoriesAllStories;
|
|
49884
51041
|
class StoriesStories extends _TypeStoriesStories {
|
|
49885
51042
|
get [_1_tl_object_js_1.id]() {
|
|
49886
|
-
return
|
|
51043
|
+
return 0x5DD8C3C8;
|
|
49887
51044
|
}
|
|
49888
51045
|
static get [_1_tl_object_js_1.paramDesc]() {
|
|
49889
51046
|
return [
|
|
49890
51047
|
["count", "number", "int"],
|
|
49891
51048
|
["stories", [_TypeStoryItem], "Vector<StoryItem>"],
|
|
51049
|
+
["chats", [_TypeChat], "Vector<Chat>"],
|
|
49892
51050
|
["users", [_TypeUser], "Vector<User>"],
|
|
49893
51051
|
];
|
|
49894
51052
|
}
|
|
@@ -49896,6 +51054,7 @@ class StoriesStories extends _TypeStoriesStories {
|
|
|
49896
51054
|
return [
|
|
49897
51055
|
[this.count, "number", "int"],
|
|
49898
51056
|
[this.stories, [_TypeStoryItem], "Vector<StoryItem>"],
|
|
51057
|
+
[this.chats, [_TypeChat], "Vector<Chat>"],
|
|
49899
51058
|
[this.users, [_TypeUser], "Vector<User>"],
|
|
49900
51059
|
];
|
|
49901
51060
|
}
|
|
@@ -49913,37 +51072,7 @@ class StoriesStories extends _TypeStoriesStories {
|
|
|
49913
51072
|
writable: true,
|
|
49914
51073
|
value: void 0
|
|
49915
51074
|
});
|
|
49916
|
-
Object.defineProperty(this, "
|
|
49917
|
-
enumerable: true,
|
|
49918
|
-
configurable: true,
|
|
49919
|
-
writable: true,
|
|
49920
|
-
value: void 0
|
|
49921
|
-
});
|
|
49922
|
-
this.count = params.count;
|
|
49923
|
-
this.stories = params.stories;
|
|
49924
|
-
this.users = params.users;
|
|
49925
|
-
}
|
|
49926
|
-
}
|
|
49927
|
-
exports.StoriesStories = StoriesStories;
|
|
49928
|
-
class StoriesUserStories extends _TypeStoriesUserStories {
|
|
49929
|
-
get [_1_tl_object_js_1.id]() {
|
|
49930
|
-
return 0x37A6FF5F;
|
|
49931
|
-
}
|
|
49932
|
-
static get [_1_tl_object_js_1.paramDesc]() {
|
|
49933
|
-
return [
|
|
49934
|
-
["stories", _TypeUserStories, "UserStories"],
|
|
49935
|
-
["users", [_TypeUser], "Vector<User>"],
|
|
49936
|
-
];
|
|
49937
|
-
}
|
|
49938
|
-
get [_1_tl_object_js_1.params]() {
|
|
49939
|
-
return [
|
|
49940
|
-
[this.stories, _TypeUserStories, "UserStories"],
|
|
49941
|
-
[this.users, [_TypeUser], "Vector<User>"],
|
|
49942
|
-
];
|
|
49943
|
-
}
|
|
49944
|
-
constructor(params) {
|
|
49945
|
-
super();
|
|
49946
|
-
Object.defineProperty(this, "stories", {
|
|
51075
|
+
Object.defineProperty(this, "chats", {
|
|
49947
51076
|
enumerable: true,
|
|
49948
51077
|
configurable: true,
|
|
49949
51078
|
writable: true,
|
|
@@ -49955,11 +51084,13 @@ class StoriesUserStories extends _TypeStoriesUserStories {
|
|
|
49955
51084
|
writable: true,
|
|
49956
51085
|
value: void 0
|
|
49957
51086
|
});
|
|
51087
|
+
this.count = params.count;
|
|
49958
51088
|
this.stories = params.stories;
|
|
51089
|
+
this.chats = params.chats;
|
|
49959
51090
|
this.users = params.users;
|
|
49960
51091
|
}
|
|
49961
51092
|
}
|
|
49962
|
-
exports.
|
|
51093
|
+
exports.StoriesStories = StoriesStories;
|
|
49963
51094
|
class StoryView extends _TypeStoryView {
|
|
49964
51095
|
get [_1_tl_object_js_1.id]() {
|
|
49965
51096
|
return 0xB0BDEAC5;
|
|
@@ -50125,13 +51256,16 @@ class StoriesStoryViews extends _TypeStoriesStoryViews {
|
|
|
50125
51256
|
exports.StoriesStoryViews = StoriesStoryViews;
|
|
50126
51257
|
class InputReplyToMessage extends _TypeInputReplyTo {
|
|
50127
51258
|
get [_1_tl_object_js_1.id]() {
|
|
50128
|
-
return
|
|
51259
|
+
return 0x073EC805;
|
|
50129
51260
|
}
|
|
50130
51261
|
static get [_1_tl_object_js_1.paramDesc]() {
|
|
50131
51262
|
return [
|
|
50132
51263
|
["flags", _1_tl_object_js_1.flags, "#"],
|
|
50133
51264
|
["replyToMsgId", "number", "int"],
|
|
50134
51265
|
["topMsgId", "number", "flags.0?int"],
|
|
51266
|
+
["replyToPeerId", _TypeInputPeer, "flags.1?InputPeer"],
|
|
51267
|
+
["quoteText", "string", "flags.2?string"],
|
|
51268
|
+
["quoteEntities", [_TypeMessageEntity], "flags.3?Vector<MessageEntity>"],
|
|
50135
51269
|
];
|
|
50136
51270
|
}
|
|
50137
51271
|
get [_1_tl_object_js_1.params]() {
|
|
@@ -50139,6 +51273,9 @@ class InputReplyToMessage extends _TypeInputReplyTo {
|
|
|
50139
51273
|
["flags", _1_tl_object_js_1.flags, "#"],
|
|
50140
51274
|
[this.replyToMsgId, "number", "int"],
|
|
50141
51275
|
[this.topMsgId ?? null, "number", "flags.0?int"],
|
|
51276
|
+
[this.replyToPeerId ?? null, _TypeInputPeer, "flags.1?InputPeer"],
|
|
51277
|
+
[this.quoteText ?? null, "string", "flags.2?string"],
|
|
51278
|
+
[this.quoteEntities ?? null, [_TypeMessageEntity], "flags.3?Vector<MessageEntity>"],
|
|
50142
51279
|
];
|
|
50143
51280
|
}
|
|
50144
51281
|
constructor(params) {
|
|
@@ -50155,8 +51292,29 @@ class InputReplyToMessage extends _TypeInputReplyTo {
|
|
|
50155
51292
|
writable: true,
|
|
50156
51293
|
value: void 0
|
|
50157
51294
|
});
|
|
51295
|
+
Object.defineProperty(this, "replyToPeerId", {
|
|
51296
|
+
enumerable: true,
|
|
51297
|
+
configurable: true,
|
|
51298
|
+
writable: true,
|
|
51299
|
+
value: void 0
|
|
51300
|
+
});
|
|
51301
|
+
Object.defineProperty(this, "quoteText", {
|
|
51302
|
+
enumerable: true,
|
|
51303
|
+
configurable: true,
|
|
51304
|
+
writable: true,
|
|
51305
|
+
value: void 0
|
|
51306
|
+
});
|
|
51307
|
+
Object.defineProperty(this, "quoteEntities", {
|
|
51308
|
+
enumerable: true,
|
|
51309
|
+
configurable: true,
|
|
51310
|
+
writable: true,
|
|
51311
|
+
value: void 0
|
|
51312
|
+
});
|
|
50158
51313
|
this.replyToMsgId = params.replyToMsgId;
|
|
50159
51314
|
this.topMsgId = params.topMsgId;
|
|
51315
|
+
this.replyToPeerId = params.replyToPeerId;
|
|
51316
|
+
this.quoteText = params.quoteText;
|
|
51317
|
+
this.quoteEntities = params.quoteEntities;
|
|
50160
51318
|
}
|
|
50161
51319
|
}
|
|
50162
51320
|
exports.InputReplyToMessage = InputReplyToMessage;
|
|
@@ -50479,6 +51637,957 @@ class MediaAreaGeoPoint extends _TypeMediaArea {
|
|
|
50479
51637
|
}
|
|
50480
51638
|
}
|
|
50481
51639
|
exports.MediaAreaGeoPoint = MediaAreaGeoPoint;
|
|
51640
|
+
class MediaAreaSuggestedReaction extends _TypeMediaArea {
|
|
51641
|
+
get [_1_tl_object_js_1.id]() {
|
|
51642
|
+
return 0x14455871;
|
|
51643
|
+
}
|
|
51644
|
+
static get [_1_tl_object_js_1.paramDesc]() {
|
|
51645
|
+
return [
|
|
51646
|
+
["flags", _1_tl_object_js_1.flags, "#"],
|
|
51647
|
+
["dark", "true", "flags.0?true"],
|
|
51648
|
+
["flipped", "true", "flags.1?true"],
|
|
51649
|
+
["coordinates", _TypeMediaAreaCoordinates, "MediaAreaCoordinates"],
|
|
51650
|
+
["reaction", _TypeReaction, "Reaction"],
|
|
51651
|
+
];
|
|
51652
|
+
}
|
|
51653
|
+
get [_1_tl_object_js_1.params]() {
|
|
51654
|
+
return [
|
|
51655
|
+
["flags", _1_tl_object_js_1.flags, "#"],
|
|
51656
|
+
[this.dark ?? null, "true", "flags.0?true"],
|
|
51657
|
+
[this.flipped ?? null, "true", "flags.1?true"],
|
|
51658
|
+
[this.coordinates, _TypeMediaAreaCoordinates, "MediaAreaCoordinates"],
|
|
51659
|
+
[this.reaction, _TypeReaction, "Reaction"],
|
|
51660
|
+
];
|
|
51661
|
+
}
|
|
51662
|
+
constructor(params) {
|
|
51663
|
+
super();
|
|
51664
|
+
Object.defineProperty(this, "dark", {
|
|
51665
|
+
enumerable: true,
|
|
51666
|
+
configurable: true,
|
|
51667
|
+
writable: true,
|
|
51668
|
+
value: void 0
|
|
51669
|
+
});
|
|
51670
|
+
Object.defineProperty(this, "flipped", {
|
|
51671
|
+
enumerable: true,
|
|
51672
|
+
configurable: true,
|
|
51673
|
+
writable: true,
|
|
51674
|
+
value: void 0
|
|
51675
|
+
});
|
|
51676
|
+
Object.defineProperty(this, "coordinates", {
|
|
51677
|
+
enumerable: true,
|
|
51678
|
+
configurable: true,
|
|
51679
|
+
writable: true,
|
|
51680
|
+
value: void 0
|
|
51681
|
+
});
|
|
51682
|
+
Object.defineProperty(this, "reaction", {
|
|
51683
|
+
enumerable: true,
|
|
51684
|
+
configurable: true,
|
|
51685
|
+
writable: true,
|
|
51686
|
+
value: void 0
|
|
51687
|
+
});
|
|
51688
|
+
this.dark = params.dark;
|
|
51689
|
+
this.flipped = params.flipped;
|
|
51690
|
+
this.coordinates = params.coordinates;
|
|
51691
|
+
this.reaction = params.reaction;
|
|
51692
|
+
}
|
|
51693
|
+
}
|
|
51694
|
+
exports.MediaAreaSuggestedReaction = MediaAreaSuggestedReaction;
|
|
51695
|
+
class PeerStories extends _TypePeerStories {
|
|
51696
|
+
get [_1_tl_object_js_1.id]() {
|
|
51697
|
+
return 0x9A35E999;
|
|
51698
|
+
}
|
|
51699
|
+
static get [_1_tl_object_js_1.paramDesc]() {
|
|
51700
|
+
return [
|
|
51701
|
+
["flags", _1_tl_object_js_1.flags, "#"],
|
|
51702
|
+
["peer", _TypePeer, "Peer"],
|
|
51703
|
+
["maxReadId", "number", "flags.0?int"],
|
|
51704
|
+
["stories", [_TypeStoryItem], "Vector<StoryItem>"],
|
|
51705
|
+
];
|
|
51706
|
+
}
|
|
51707
|
+
get [_1_tl_object_js_1.params]() {
|
|
51708
|
+
return [
|
|
51709
|
+
["flags", _1_tl_object_js_1.flags, "#"],
|
|
51710
|
+
[this.peer, _TypePeer, "Peer"],
|
|
51711
|
+
[this.maxReadId ?? null, "number", "flags.0?int"],
|
|
51712
|
+
[this.stories, [_TypeStoryItem], "Vector<StoryItem>"],
|
|
51713
|
+
];
|
|
51714
|
+
}
|
|
51715
|
+
constructor(params) {
|
|
51716
|
+
super();
|
|
51717
|
+
Object.defineProperty(this, "peer", {
|
|
51718
|
+
enumerable: true,
|
|
51719
|
+
configurable: true,
|
|
51720
|
+
writable: true,
|
|
51721
|
+
value: void 0
|
|
51722
|
+
});
|
|
51723
|
+
Object.defineProperty(this, "maxReadId", {
|
|
51724
|
+
enumerable: true,
|
|
51725
|
+
configurable: true,
|
|
51726
|
+
writable: true,
|
|
51727
|
+
value: void 0
|
|
51728
|
+
});
|
|
51729
|
+
Object.defineProperty(this, "stories", {
|
|
51730
|
+
enumerable: true,
|
|
51731
|
+
configurable: true,
|
|
51732
|
+
writable: true,
|
|
51733
|
+
value: void 0
|
|
51734
|
+
});
|
|
51735
|
+
this.peer = params.peer;
|
|
51736
|
+
this.maxReadId = params.maxReadId;
|
|
51737
|
+
this.stories = params.stories;
|
|
51738
|
+
}
|
|
51739
|
+
}
|
|
51740
|
+
exports.PeerStories = PeerStories;
|
|
51741
|
+
class StoriesPeerStories extends _TypeStoriesPeerStories {
|
|
51742
|
+
get [_1_tl_object_js_1.id]() {
|
|
51743
|
+
return 0xCAE68768;
|
|
51744
|
+
}
|
|
51745
|
+
static get [_1_tl_object_js_1.paramDesc]() {
|
|
51746
|
+
return [
|
|
51747
|
+
["stories", _TypePeerStories, "PeerStories"],
|
|
51748
|
+
["chats", [_TypeChat], "Vector<Chat>"],
|
|
51749
|
+
["users", [_TypeUser], "Vector<User>"],
|
|
51750
|
+
];
|
|
51751
|
+
}
|
|
51752
|
+
get [_1_tl_object_js_1.params]() {
|
|
51753
|
+
return [
|
|
51754
|
+
[this.stories, _TypePeerStories, "PeerStories"],
|
|
51755
|
+
[this.chats, [_TypeChat], "Vector<Chat>"],
|
|
51756
|
+
[this.users, [_TypeUser], "Vector<User>"],
|
|
51757
|
+
];
|
|
51758
|
+
}
|
|
51759
|
+
constructor(params) {
|
|
51760
|
+
super();
|
|
51761
|
+
Object.defineProperty(this, "stories", {
|
|
51762
|
+
enumerable: true,
|
|
51763
|
+
configurable: true,
|
|
51764
|
+
writable: true,
|
|
51765
|
+
value: void 0
|
|
51766
|
+
});
|
|
51767
|
+
Object.defineProperty(this, "chats", {
|
|
51768
|
+
enumerable: true,
|
|
51769
|
+
configurable: true,
|
|
51770
|
+
writable: true,
|
|
51771
|
+
value: void 0
|
|
51772
|
+
});
|
|
51773
|
+
Object.defineProperty(this, "users", {
|
|
51774
|
+
enumerable: true,
|
|
51775
|
+
configurable: true,
|
|
51776
|
+
writable: true,
|
|
51777
|
+
value: void 0
|
|
51778
|
+
});
|
|
51779
|
+
this.stories = params.stories;
|
|
51780
|
+
this.chats = params.chats;
|
|
51781
|
+
this.users = params.users;
|
|
51782
|
+
}
|
|
51783
|
+
}
|
|
51784
|
+
exports.StoriesPeerStories = StoriesPeerStories;
|
|
51785
|
+
class MessagesWebPage extends _TypeMessagesWebPage {
|
|
51786
|
+
get [_1_tl_object_js_1.id]() {
|
|
51787
|
+
return 0xFD5E12BD;
|
|
51788
|
+
}
|
|
51789
|
+
static get [_1_tl_object_js_1.paramDesc]() {
|
|
51790
|
+
return [
|
|
51791
|
+
["webpage", _TypeWebPage, "WebPage"],
|
|
51792
|
+
["chats", [_TypeChat], "Vector<Chat>"],
|
|
51793
|
+
["users", [_TypeUser], "Vector<User>"],
|
|
51794
|
+
];
|
|
51795
|
+
}
|
|
51796
|
+
get [_1_tl_object_js_1.params]() {
|
|
51797
|
+
return [
|
|
51798
|
+
[this.webpage, _TypeWebPage, "WebPage"],
|
|
51799
|
+
[this.chats, [_TypeChat], "Vector<Chat>"],
|
|
51800
|
+
[this.users, [_TypeUser], "Vector<User>"],
|
|
51801
|
+
];
|
|
51802
|
+
}
|
|
51803
|
+
constructor(params) {
|
|
51804
|
+
super();
|
|
51805
|
+
Object.defineProperty(this, "webpage", {
|
|
51806
|
+
enumerable: true,
|
|
51807
|
+
configurable: true,
|
|
51808
|
+
writable: true,
|
|
51809
|
+
value: void 0
|
|
51810
|
+
});
|
|
51811
|
+
Object.defineProperty(this, "chats", {
|
|
51812
|
+
enumerable: true,
|
|
51813
|
+
configurable: true,
|
|
51814
|
+
writable: true,
|
|
51815
|
+
value: void 0
|
|
51816
|
+
});
|
|
51817
|
+
Object.defineProperty(this, "users", {
|
|
51818
|
+
enumerable: true,
|
|
51819
|
+
configurable: true,
|
|
51820
|
+
writable: true,
|
|
51821
|
+
value: void 0
|
|
51822
|
+
});
|
|
51823
|
+
this.webpage = params.webpage;
|
|
51824
|
+
this.chats = params.chats;
|
|
51825
|
+
this.users = params.users;
|
|
51826
|
+
}
|
|
51827
|
+
}
|
|
51828
|
+
exports.MessagesWebPage = MessagesWebPage;
|
|
51829
|
+
class PremiumGiftCodeOption extends _TypePremiumGiftCodeOption {
|
|
51830
|
+
get [_1_tl_object_js_1.id]() {
|
|
51831
|
+
return 0x257E962B;
|
|
51832
|
+
}
|
|
51833
|
+
static get [_1_tl_object_js_1.paramDesc]() {
|
|
51834
|
+
return [
|
|
51835
|
+
["flags", _1_tl_object_js_1.flags, "#"],
|
|
51836
|
+
["users", "number", "int"],
|
|
51837
|
+
["months", "number", "int"],
|
|
51838
|
+
["storeProduct", "string", "flags.0?string"],
|
|
51839
|
+
["storeQuantity", "number", "flags.1?int"],
|
|
51840
|
+
["currency", "string", "string"],
|
|
51841
|
+
["amount", "bigint", "long"],
|
|
51842
|
+
];
|
|
51843
|
+
}
|
|
51844
|
+
get [_1_tl_object_js_1.params]() {
|
|
51845
|
+
return [
|
|
51846
|
+
["flags", _1_tl_object_js_1.flags, "#"],
|
|
51847
|
+
[this.users, "number", "int"],
|
|
51848
|
+
[this.months, "number", "int"],
|
|
51849
|
+
[this.storeProduct ?? null, "string", "flags.0?string"],
|
|
51850
|
+
[this.storeQuantity ?? null, "number", "flags.1?int"],
|
|
51851
|
+
[this.currency, "string", "string"],
|
|
51852
|
+
[this.amount, "bigint", "long"],
|
|
51853
|
+
];
|
|
51854
|
+
}
|
|
51855
|
+
constructor(params) {
|
|
51856
|
+
super();
|
|
51857
|
+
Object.defineProperty(this, "users", {
|
|
51858
|
+
enumerable: true,
|
|
51859
|
+
configurable: true,
|
|
51860
|
+
writable: true,
|
|
51861
|
+
value: void 0
|
|
51862
|
+
});
|
|
51863
|
+
Object.defineProperty(this, "months", {
|
|
51864
|
+
enumerable: true,
|
|
51865
|
+
configurable: true,
|
|
51866
|
+
writable: true,
|
|
51867
|
+
value: void 0
|
|
51868
|
+
});
|
|
51869
|
+
Object.defineProperty(this, "storeProduct", {
|
|
51870
|
+
enumerable: true,
|
|
51871
|
+
configurable: true,
|
|
51872
|
+
writable: true,
|
|
51873
|
+
value: void 0
|
|
51874
|
+
});
|
|
51875
|
+
Object.defineProperty(this, "storeQuantity", {
|
|
51876
|
+
enumerable: true,
|
|
51877
|
+
configurable: true,
|
|
51878
|
+
writable: true,
|
|
51879
|
+
value: void 0
|
|
51880
|
+
});
|
|
51881
|
+
Object.defineProperty(this, "currency", {
|
|
51882
|
+
enumerable: true,
|
|
51883
|
+
configurable: true,
|
|
51884
|
+
writable: true,
|
|
51885
|
+
value: void 0
|
|
51886
|
+
});
|
|
51887
|
+
Object.defineProperty(this, "amount", {
|
|
51888
|
+
enumerable: true,
|
|
51889
|
+
configurable: true,
|
|
51890
|
+
writable: true,
|
|
51891
|
+
value: void 0
|
|
51892
|
+
});
|
|
51893
|
+
this.users = params.users;
|
|
51894
|
+
this.months = params.months;
|
|
51895
|
+
this.storeProduct = params.storeProduct;
|
|
51896
|
+
this.storeQuantity = params.storeQuantity;
|
|
51897
|
+
this.currency = params.currency;
|
|
51898
|
+
this.amount = params.amount;
|
|
51899
|
+
}
|
|
51900
|
+
}
|
|
51901
|
+
exports.PremiumGiftCodeOption = PremiumGiftCodeOption;
|
|
51902
|
+
class PaymentsCheckedGiftCode extends _TypePaymentsCheckedGiftCode {
|
|
51903
|
+
get [_1_tl_object_js_1.id]() {
|
|
51904
|
+
return 0xB722F158;
|
|
51905
|
+
}
|
|
51906
|
+
static get [_1_tl_object_js_1.paramDesc]() {
|
|
51907
|
+
return [
|
|
51908
|
+
["flags", _1_tl_object_js_1.flags, "#"],
|
|
51909
|
+
["viaGiveaway", "true", "flags.2?true"],
|
|
51910
|
+
["fromId", _TypePeer, "Peer"],
|
|
51911
|
+
["giveawayMsgId", "number", "flags.3?int"],
|
|
51912
|
+
["toId", "bigint", "flags.0?long"],
|
|
51913
|
+
["date", "number", "int"],
|
|
51914
|
+
["months", "number", "int"],
|
|
51915
|
+
["usedDate", "number", "flags.1?int"],
|
|
51916
|
+
["chats", [_TypeChat], "Vector<Chat>"],
|
|
51917
|
+
["users", [_TypeUser], "Vector<User>"],
|
|
51918
|
+
];
|
|
51919
|
+
}
|
|
51920
|
+
get [_1_tl_object_js_1.params]() {
|
|
51921
|
+
return [
|
|
51922
|
+
["flags", _1_tl_object_js_1.flags, "#"],
|
|
51923
|
+
[this.viaGiveaway ?? null, "true", "flags.2?true"],
|
|
51924
|
+
[this.fromId, _TypePeer, "Peer"],
|
|
51925
|
+
[this.giveawayMsgId ?? null, "number", "flags.3?int"],
|
|
51926
|
+
[this.toId ?? null, "bigint", "flags.0?long"],
|
|
51927
|
+
[this.date, "number", "int"],
|
|
51928
|
+
[this.months, "number", "int"],
|
|
51929
|
+
[this.usedDate ?? null, "number", "flags.1?int"],
|
|
51930
|
+
[this.chats, [_TypeChat], "Vector<Chat>"],
|
|
51931
|
+
[this.users, [_TypeUser], "Vector<User>"],
|
|
51932
|
+
];
|
|
51933
|
+
}
|
|
51934
|
+
constructor(params) {
|
|
51935
|
+
super();
|
|
51936
|
+
Object.defineProperty(this, "viaGiveaway", {
|
|
51937
|
+
enumerable: true,
|
|
51938
|
+
configurable: true,
|
|
51939
|
+
writable: true,
|
|
51940
|
+
value: void 0
|
|
51941
|
+
});
|
|
51942
|
+
Object.defineProperty(this, "fromId", {
|
|
51943
|
+
enumerable: true,
|
|
51944
|
+
configurable: true,
|
|
51945
|
+
writable: true,
|
|
51946
|
+
value: void 0
|
|
51947
|
+
});
|
|
51948
|
+
Object.defineProperty(this, "giveawayMsgId", {
|
|
51949
|
+
enumerable: true,
|
|
51950
|
+
configurable: true,
|
|
51951
|
+
writable: true,
|
|
51952
|
+
value: void 0
|
|
51953
|
+
});
|
|
51954
|
+
Object.defineProperty(this, "toId", {
|
|
51955
|
+
enumerable: true,
|
|
51956
|
+
configurable: true,
|
|
51957
|
+
writable: true,
|
|
51958
|
+
value: void 0
|
|
51959
|
+
});
|
|
51960
|
+
Object.defineProperty(this, "date", {
|
|
51961
|
+
enumerable: true,
|
|
51962
|
+
configurable: true,
|
|
51963
|
+
writable: true,
|
|
51964
|
+
value: void 0
|
|
51965
|
+
});
|
|
51966
|
+
Object.defineProperty(this, "months", {
|
|
51967
|
+
enumerable: true,
|
|
51968
|
+
configurable: true,
|
|
51969
|
+
writable: true,
|
|
51970
|
+
value: void 0
|
|
51971
|
+
});
|
|
51972
|
+
Object.defineProperty(this, "usedDate", {
|
|
51973
|
+
enumerable: true,
|
|
51974
|
+
configurable: true,
|
|
51975
|
+
writable: true,
|
|
51976
|
+
value: void 0
|
|
51977
|
+
});
|
|
51978
|
+
Object.defineProperty(this, "chats", {
|
|
51979
|
+
enumerable: true,
|
|
51980
|
+
configurable: true,
|
|
51981
|
+
writable: true,
|
|
51982
|
+
value: void 0
|
|
51983
|
+
});
|
|
51984
|
+
Object.defineProperty(this, "users", {
|
|
51985
|
+
enumerable: true,
|
|
51986
|
+
configurable: true,
|
|
51987
|
+
writable: true,
|
|
51988
|
+
value: void 0
|
|
51989
|
+
});
|
|
51990
|
+
this.viaGiveaway = params.viaGiveaway;
|
|
51991
|
+
this.fromId = params.fromId;
|
|
51992
|
+
this.giveawayMsgId = params.giveawayMsgId;
|
|
51993
|
+
this.toId = params.toId;
|
|
51994
|
+
this.date = params.date;
|
|
51995
|
+
this.months = params.months;
|
|
51996
|
+
this.usedDate = params.usedDate;
|
|
51997
|
+
this.chats = params.chats;
|
|
51998
|
+
this.users = params.users;
|
|
51999
|
+
}
|
|
52000
|
+
}
|
|
52001
|
+
exports.PaymentsCheckedGiftCode = PaymentsCheckedGiftCode;
|
|
52002
|
+
class PaymentsGiveawayInfo extends _TypePaymentsGiveawayInfo {
|
|
52003
|
+
get [_1_tl_object_js_1.id]() {
|
|
52004
|
+
return 0x4367DAA0;
|
|
52005
|
+
}
|
|
52006
|
+
static get [_1_tl_object_js_1.paramDesc]() {
|
|
52007
|
+
return [
|
|
52008
|
+
["flags", _1_tl_object_js_1.flags, "#"],
|
|
52009
|
+
["participating", "true", "flags.0?true"],
|
|
52010
|
+
["preparingResults", "true", "flags.3?true"],
|
|
52011
|
+
["startDate", "number", "int"],
|
|
52012
|
+
["joinedTooEarlyDate", "number", "flags.1?int"],
|
|
52013
|
+
["adminDisallowedChatId", "bigint", "flags.2?long"],
|
|
52014
|
+
["disallowedCountry", "string", "flags.4?string"],
|
|
52015
|
+
];
|
|
52016
|
+
}
|
|
52017
|
+
get [_1_tl_object_js_1.params]() {
|
|
52018
|
+
return [
|
|
52019
|
+
["flags", _1_tl_object_js_1.flags, "#"],
|
|
52020
|
+
[this.participating ?? null, "true", "flags.0?true"],
|
|
52021
|
+
[this.preparingResults ?? null, "true", "flags.3?true"],
|
|
52022
|
+
[this.startDate, "number", "int"],
|
|
52023
|
+
[this.joinedTooEarlyDate ?? null, "number", "flags.1?int"],
|
|
52024
|
+
[this.adminDisallowedChatId ?? null, "bigint", "flags.2?long"],
|
|
52025
|
+
[this.disallowedCountry ?? null, "string", "flags.4?string"],
|
|
52026
|
+
];
|
|
52027
|
+
}
|
|
52028
|
+
constructor(params) {
|
|
52029
|
+
super();
|
|
52030
|
+
Object.defineProperty(this, "participating", {
|
|
52031
|
+
enumerable: true,
|
|
52032
|
+
configurable: true,
|
|
52033
|
+
writable: true,
|
|
52034
|
+
value: void 0
|
|
52035
|
+
});
|
|
52036
|
+
Object.defineProperty(this, "preparingResults", {
|
|
52037
|
+
enumerable: true,
|
|
52038
|
+
configurable: true,
|
|
52039
|
+
writable: true,
|
|
52040
|
+
value: void 0
|
|
52041
|
+
});
|
|
52042
|
+
Object.defineProperty(this, "startDate", {
|
|
52043
|
+
enumerable: true,
|
|
52044
|
+
configurable: true,
|
|
52045
|
+
writable: true,
|
|
52046
|
+
value: void 0
|
|
52047
|
+
});
|
|
52048
|
+
Object.defineProperty(this, "joinedTooEarlyDate", {
|
|
52049
|
+
enumerable: true,
|
|
52050
|
+
configurable: true,
|
|
52051
|
+
writable: true,
|
|
52052
|
+
value: void 0
|
|
52053
|
+
});
|
|
52054
|
+
Object.defineProperty(this, "adminDisallowedChatId", {
|
|
52055
|
+
enumerable: true,
|
|
52056
|
+
configurable: true,
|
|
52057
|
+
writable: true,
|
|
52058
|
+
value: void 0
|
|
52059
|
+
});
|
|
52060
|
+
Object.defineProperty(this, "disallowedCountry", {
|
|
52061
|
+
enumerable: true,
|
|
52062
|
+
configurable: true,
|
|
52063
|
+
writable: true,
|
|
52064
|
+
value: void 0
|
|
52065
|
+
});
|
|
52066
|
+
this.participating = params.participating;
|
|
52067
|
+
this.preparingResults = params.preparingResults;
|
|
52068
|
+
this.startDate = params.startDate;
|
|
52069
|
+
this.joinedTooEarlyDate = params.joinedTooEarlyDate;
|
|
52070
|
+
this.adminDisallowedChatId = params.adminDisallowedChatId;
|
|
52071
|
+
this.disallowedCountry = params.disallowedCountry;
|
|
52072
|
+
}
|
|
52073
|
+
}
|
|
52074
|
+
exports.PaymentsGiveawayInfo = PaymentsGiveawayInfo;
|
|
52075
|
+
class PaymentsGiveawayInfoResults extends _TypePaymentsGiveawayInfo {
|
|
52076
|
+
get [_1_tl_object_js_1.id]() {
|
|
52077
|
+
return 0x00CD5570;
|
|
52078
|
+
}
|
|
52079
|
+
static get [_1_tl_object_js_1.paramDesc]() {
|
|
52080
|
+
return [
|
|
52081
|
+
["flags", _1_tl_object_js_1.flags, "#"],
|
|
52082
|
+
["winner", "true", "flags.0?true"],
|
|
52083
|
+
["refunded", "true", "flags.1?true"],
|
|
52084
|
+
["startDate", "number", "int"],
|
|
52085
|
+
["giftCodeSlug", "string", "flags.0?string"],
|
|
52086
|
+
["finishDate", "number", "int"],
|
|
52087
|
+
["winnersCount", "number", "int"],
|
|
52088
|
+
["activatedCount", "number", "int"],
|
|
52089
|
+
];
|
|
52090
|
+
}
|
|
52091
|
+
get [_1_tl_object_js_1.params]() {
|
|
52092
|
+
return [
|
|
52093
|
+
["flags", _1_tl_object_js_1.flags, "#"],
|
|
52094
|
+
[this.winner ?? null, "true", "flags.0?true"],
|
|
52095
|
+
[this.refunded ?? null, "true", "flags.1?true"],
|
|
52096
|
+
[this.startDate, "number", "int"],
|
|
52097
|
+
[this.giftCodeSlug ?? null, "string", "flags.0?string"],
|
|
52098
|
+
[this.finishDate, "number", "int"],
|
|
52099
|
+
[this.winnersCount, "number", "int"],
|
|
52100
|
+
[this.activatedCount, "number", "int"],
|
|
52101
|
+
];
|
|
52102
|
+
}
|
|
52103
|
+
constructor(params) {
|
|
52104
|
+
super();
|
|
52105
|
+
Object.defineProperty(this, "winner", {
|
|
52106
|
+
enumerable: true,
|
|
52107
|
+
configurable: true,
|
|
52108
|
+
writable: true,
|
|
52109
|
+
value: void 0
|
|
52110
|
+
});
|
|
52111
|
+
Object.defineProperty(this, "refunded", {
|
|
52112
|
+
enumerable: true,
|
|
52113
|
+
configurable: true,
|
|
52114
|
+
writable: true,
|
|
52115
|
+
value: void 0
|
|
52116
|
+
});
|
|
52117
|
+
Object.defineProperty(this, "startDate", {
|
|
52118
|
+
enumerable: true,
|
|
52119
|
+
configurable: true,
|
|
52120
|
+
writable: true,
|
|
52121
|
+
value: void 0
|
|
52122
|
+
});
|
|
52123
|
+
Object.defineProperty(this, "giftCodeSlug", {
|
|
52124
|
+
enumerable: true,
|
|
52125
|
+
configurable: true,
|
|
52126
|
+
writable: true,
|
|
52127
|
+
value: void 0
|
|
52128
|
+
});
|
|
52129
|
+
Object.defineProperty(this, "finishDate", {
|
|
52130
|
+
enumerable: true,
|
|
52131
|
+
configurable: true,
|
|
52132
|
+
writable: true,
|
|
52133
|
+
value: void 0
|
|
52134
|
+
});
|
|
52135
|
+
Object.defineProperty(this, "winnersCount", {
|
|
52136
|
+
enumerable: true,
|
|
52137
|
+
configurable: true,
|
|
52138
|
+
writable: true,
|
|
52139
|
+
value: void 0
|
|
52140
|
+
});
|
|
52141
|
+
Object.defineProperty(this, "activatedCount", {
|
|
52142
|
+
enumerable: true,
|
|
52143
|
+
configurable: true,
|
|
52144
|
+
writable: true,
|
|
52145
|
+
value: void 0
|
|
52146
|
+
});
|
|
52147
|
+
this.winner = params.winner;
|
|
52148
|
+
this.refunded = params.refunded;
|
|
52149
|
+
this.startDate = params.startDate;
|
|
52150
|
+
this.giftCodeSlug = params.giftCodeSlug;
|
|
52151
|
+
this.finishDate = params.finishDate;
|
|
52152
|
+
this.winnersCount = params.winnersCount;
|
|
52153
|
+
this.activatedCount = params.activatedCount;
|
|
52154
|
+
}
|
|
52155
|
+
}
|
|
52156
|
+
exports.PaymentsGiveawayInfoResults = PaymentsGiveawayInfoResults;
|
|
52157
|
+
class PrepaidGiveaway extends _TypePrepaidGiveaway {
|
|
52158
|
+
get [_1_tl_object_js_1.id]() {
|
|
52159
|
+
return 0xB2539D54;
|
|
52160
|
+
}
|
|
52161
|
+
static get [_1_tl_object_js_1.paramDesc]() {
|
|
52162
|
+
return [
|
|
52163
|
+
["id", "bigint", "long"],
|
|
52164
|
+
["months", "number", "int"],
|
|
52165
|
+
["quantity", "number", "int"],
|
|
52166
|
+
["date", "number", "int"],
|
|
52167
|
+
];
|
|
52168
|
+
}
|
|
52169
|
+
get [_1_tl_object_js_1.params]() {
|
|
52170
|
+
return [
|
|
52171
|
+
[this.id, "bigint", "long"],
|
|
52172
|
+
[this.months, "number", "int"],
|
|
52173
|
+
[this.quantity, "number", "int"],
|
|
52174
|
+
[this.date, "number", "int"],
|
|
52175
|
+
];
|
|
52176
|
+
}
|
|
52177
|
+
constructor(params) {
|
|
52178
|
+
super();
|
|
52179
|
+
Object.defineProperty(this, "id", {
|
|
52180
|
+
enumerable: true,
|
|
52181
|
+
configurable: true,
|
|
52182
|
+
writable: true,
|
|
52183
|
+
value: void 0
|
|
52184
|
+
});
|
|
52185
|
+
Object.defineProperty(this, "months", {
|
|
52186
|
+
enumerable: true,
|
|
52187
|
+
configurable: true,
|
|
52188
|
+
writable: true,
|
|
52189
|
+
value: void 0
|
|
52190
|
+
});
|
|
52191
|
+
Object.defineProperty(this, "quantity", {
|
|
52192
|
+
enumerable: true,
|
|
52193
|
+
configurable: true,
|
|
52194
|
+
writable: true,
|
|
52195
|
+
value: void 0
|
|
52196
|
+
});
|
|
52197
|
+
Object.defineProperty(this, "date", {
|
|
52198
|
+
enumerable: true,
|
|
52199
|
+
configurable: true,
|
|
52200
|
+
writable: true,
|
|
52201
|
+
value: void 0
|
|
52202
|
+
});
|
|
52203
|
+
this.id = params.id;
|
|
52204
|
+
this.months = params.months;
|
|
52205
|
+
this.quantity = params.quantity;
|
|
52206
|
+
this.date = params.date;
|
|
52207
|
+
}
|
|
52208
|
+
}
|
|
52209
|
+
exports.PrepaidGiveaway = PrepaidGiveaway;
|
|
52210
|
+
class Boost extends _TypeBoost {
|
|
52211
|
+
get [_1_tl_object_js_1.id]() {
|
|
52212
|
+
return 0x2A1C8C71;
|
|
52213
|
+
}
|
|
52214
|
+
static get [_1_tl_object_js_1.paramDesc]() {
|
|
52215
|
+
return [
|
|
52216
|
+
["flags", _1_tl_object_js_1.flags, "#"],
|
|
52217
|
+
["gift", "true", "flags.1?true"],
|
|
52218
|
+
["giveaway", "true", "flags.2?true"],
|
|
52219
|
+
["unclaimed", "true", "flags.3?true"],
|
|
52220
|
+
["id", "string", "string"],
|
|
52221
|
+
["userId", "bigint", "flags.0?long"],
|
|
52222
|
+
["giveawayMsgId", "number", "flags.2?int"],
|
|
52223
|
+
["date", "number", "int"],
|
|
52224
|
+
["expires", "number", "int"],
|
|
52225
|
+
["usedGiftSlug", "string", "flags.4?string"],
|
|
52226
|
+
["multiplier", "number", "flags.5?int"],
|
|
52227
|
+
];
|
|
52228
|
+
}
|
|
52229
|
+
get [_1_tl_object_js_1.params]() {
|
|
52230
|
+
return [
|
|
52231
|
+
["flags", _1_tl_object_js_1.flags, "#"],
|
|
52232
|
+
[this.gift ?? null, "true", "flags.1?true"],
|
|
52233
|
+
[this.giveaway ?? null, "true", "flags.2?true"],
|
|
52234
|
+
[this.unclaimed ?? null, "true", "flags.3?true"],
|
|
52235
|
+
[this.id, "string", "string"],
|
|
52236
|
+
[this.userId ?? null, "bigint", "flags.0?long"],
|
|
52237
|
+
[this.giveawayMsgId ?? null, "number", "flags.2?int"],
|
|
52238
|
+
[this.date, "number", "int"],
|
|
52239
|
+
[this.expires, "number", "int"],
|
|
52240
|
+
[this.usedGiftSlug ?? null, "string", "flags.4?string"],
|
|
52241
|
+
[this.multiplier ?? null, "number", "flags.5?int"],
|
|
52242
|
+
];
|
|
52243
|
+
}
|
|
52244
|
+
constructor(params) {
|
|
52245
|
+
super();
|
|
52246
|
+
Object.defineProperty(this, "gift", {
|
|
52247
|
+
enumerable: true,
|
|
52248
|
+
configurable: true,
|
|
52249
|
+
writable: true,
|
|
52250
|
+
value: void 0
|
|
52251
|
+
});
|
|
52252
|
+
Object.defineProperty(this, "giveaway", {
|
|
52253
|
+
enumerable: true,
|
|
52254
|
+
configurable: true,
|
|
52255
|
+
writable: true,
|
|
52256
|
+
value: void 0
|
|
52257
|
+
});
|
|
52258
|
+
Object.defineProperty(this, "unclaimed", {
|
|
52259
|
+
enumerable: true,
|
|
52260
|
+
configurable: true,
|
|
52261
|
+
writable: true,
|
|
52262
|
+
value: void 0
|
|
52263
|
+
});
|
|
52264
|
+
Object.defineProperty(this, "id", {
|
|
52265
|
+
enumerable: true,
|
|
52266
|
+
configurable: true,
|
|
52267
|
+
writable: true,
|
|
52268
|
+
value: void 0
|
|
52269
|
+
});
|
|
52270
|
+
Object.defineProperty(this, "userId", {
|
|
52271
|
+
enumerable: true,
|
|
52272
|
+
configurable: true,
|
|
52273
|
+
writable: true,
|
|
52274
|
+
value: void 0
|
|
52275
|
+
});
|
|
52276
|
+
Object.defineProperty(this, "giveawayMsgId", {
|
|
52277
|
+
enumerable: true,
|
|
52278
|
+
configurable: true,
|
|
52279
|
+
writable: true,
|
|
52280
|
+
value: void 0
|
|
52281
|
+
});
|
|
52282
|
+
Object.defineProperty(this, "date", {
|
|
52283
|
+
enumerable: true,
|
|
52284
|
+
configurable: true,
|
|
52285
|
+
writable: true,
|
|
52286
|
+
value: void 0
|
|
52287
|
+
});
|
|
52288
|
+
Object.defineProperty(this, "expires", {
|
|
52289
|
+
enumerable: true,
|
|
52290
|
+
configurable: true,
|
|
52291
|
+
writable: true,
|
|
52292
|
+
value: void 0
|
|
52293
|
+
});
|
|
52294
|
+
Object.defineProperty(this, "usedGiftSlug", {
|
|
52295
|
+
enumerable: true,
|
|
52296
|
+
configurable: true,
|
|
52297
|
+
writable: true,
|
|
52298
|
+
value: void 0
|
|
52299
|
+
});
|
|
52300
|
+
Object.defineProperty(this, "multiplier", {
|
|
52301
|
+
enumerable: true,
|
|
52302
|
+
configurable: true,
|
|
52303
|
+
writable: true,
|
|
52304
|
+
value: void 0
|
|
52305
|
+
});
|
|
52306
|
+
this.gift = params.gift;
|
|
52307
|
+
this.giveaway = params.giveaway;
|
|
52308
|
+
this.unclaimed = params.unclaimed;
|
|
52309
|
+
this.id = params.id;
|
|
52310
|
+
this.userId = params.userId;
|
|
52311
|
+
this.giveawayMsgId = params.giveawayMsgId;
|
|
52312
|
+
this.date = params.date;
|
|
52313
|
+
this.expires = params.expires;
|
|
52314
|
+
this.usedGiftSlug = params.usedGiftSlug;
|
|
52315
|
+
this.multiplier = params.multiplier;
|
|
52316
|
+
}
|
|
52317
|
+
}
|
|
52318
|
+
exports.Boost = Boost;
|
|
52319
|
+
class PremiumBoostsList extends _TypePremiumBoostsList {
|
|
52320
|
+
get [_1_tl_object_js_1.id]() {
|
|
52321
|
+
return 0x86F8613C;
|
|
52322
|
+
}
|
|
52323
|
+
static get [_1_tl_object_js_1.paramDesc]() {
|
|
52324
|
+
return [
|
|
52325
|
+
["flags", _1_tl_object_js_1.flags, "#"],
|
|
52326
|
+
["count", "number", "int"],
|
|
52327
|
+
["boosts", [_TypeBoost], "Vector<Boost>"],
|
|
52328
|
+
["nextOffset", "string", "flags.0?string"],
|
|
52329
|
+
["users", [_TypeUser], "Vector<User>"],
|
|
52330
|
+
];
|
|
52331
|
+
}
|
|
52332
|
+
get [_1_tl_object_js_1.params]() {
|
|
52333
|
+
return [
|
|
52334
|
+
["flags", _1_tl_object_js_1.flags, "#"],
|
|
52335
|
+
[this.count, "number", "int"],
|
|
52336
|
+
[this.boosts, [_TypeBoost], "Vector<Boost>"],
|
|
52337
|
+
[this.nextOffset ?? null, "string", "flags.0?string"],
|
|
52338
|
+
[this.users, [_TypeUser], "Vector<User>"],
|
|
52339
|
+
];
|
|
52340
|
+
}
|
|
52341
|
+
constructor(params) {
|
|
52342
|
+
super();
|
|
52343
|
+
Object.defineProperty(this, "count", {
|
|
52344
|
+
enumerable: true,
|
|
52345
|
+
configurable: true,
|
|
52346
|
+
writable: true,
|
|
52347
|
+
value: void 0
|
|
52348
|
+
});
|
|
52349
|
+
Object.defineProperty(this, "boosts", {
|
|
52350
|
+
enumerable: true,
|
|
52351
|
+
configurable: true,
|
|
52352
|
+
writable: true,
|
|
52353
|
+
value: void 0
|
|
52354
|
+
});
|
|
52355
|
+
Object.defineProperty(this, "nextOffset", {
|
|
52356
|
+
enumerable: true,
|
|
52357
|
+
configurable: true,
|
|
52358
|
+
writable: true,
|
|
52359
|
+
value: void 0
|
|
52360
|
+
});
|
|
52361
|
+
Object.defineProperty(this, "users", {
|
|
52362
|
+
enumerable: true,
|
|
52363
|
+
configurable: true,
|
|
52364
|
+
writable: true,
|
|
52365
|
+
value: void 0
|
|
52366
|
+
});
|
|
52367
|
+
this.count = params.count;
|
|
52368
|
+
this.boosts = params.boosts;
|
|
52369
|
+
this.nextOffset = params.nextOffset;
|
|
52370
|
+
this.users = params.users;
|
|
52371
|
+
}
|
|
52372
|
+
}
|
|
52373
|
+
exports.PremiumBoostsList = PremiumBoostsList;
|
|
52374
|
+
class MyBoost extends _TypeMyBoost {
|
|
52375
|
+
get [_1_tl_object_js_1.id]() {
|
|
52376
|
+
return 0xC448415C;
|
|
52377
|
+
}
|
|
52378
|
+
static get [_1_tl_object_js_1.paramDesc]() {
|
|
52379
|
+
return [
|
|
52380
|
+
["flags", _1_tl_object_js_1.flags, "#"],
|
|
52381
|
+
["slot", "number", "int"],
|
|
52382
|
+
["peer", _TypePeer, "flags.0?Peer"],
|
|
52383
|
+
["date", "number", "int"],
|
|
52384
|
+
["expires", "number", "int"],
|
|
52385
|
+
["cooldownUntilDate", "number", "flags.1?int"],
|
|
52386
|
+
];
|
|
52387
|
+
}
|
|
52388
|
+
get [_1_tl_object_js_1.params]() {
|
|
52389
|
+
return [
|
|
52390
|
+
["flags", _1_tl_object_js_1.flags, "#"],
|
|
52391
|
+
[this.slot, "number", "int"],
|
|
52392
|
+
[this.peer ?? null, _TypePeer, "flags.0?Peer"],
|
|
52393
|
+
[this.date, "number", "int"],
|
|
52394
|
+
[this.expires, "number", "int"],
|
|
52395
|
+
[this.cooldownUntilDate ?? null, "number", "flags.1?int"],
|
|
52396
|
+
];
|
|
52397
|
+
}
|
|
52398
|
+
constructor(params) {
|
|
52399
|
+
super();
|
|
52400
|
+
Object.defineProperty(this, "slot", {
|
|
52401
|
+
enumerable: true,
|
|
52402
|
+
configurable: true,
|
|
52403
|
+
writable: true,
|
|
52404
|
+
value: void 0
|
|
52405
|
+
});
|
|
52406
|
+
Object.defineProperty(this, "peer", {
|
|
52407
|
+
enumerable: true,
|
|
52408
|
+
configurable: true,
|
|
52409
|
+
writable: true,
|
|
52410
|
+
value: void 0
|
|
52411
|
+
});
|
|
52412
|
+
Object.defineProperty(this, "date", {
|
|
52413
|
+
enumerable: true,
|
|
52414
|
+
configurable: true,
|
|
52415
|
+
writable: true,
|
|
52416
|
+
value: void 0
|
|
52417
|
+
});
|
|
52418
|
+
Object.defineProperty(this, "expires", {
|
|
52419
|
+
enumerable: true,
|
|
52420
|
+
configurable: true,
|
|
52421
|
+
writable: true,
|
|
52422
|
+
value: void 0
|
|
52423
|
+
});
|
|
52424
|
+
Object.defineProperty(this, "cooldownUntilDate", {
|
|
52425
|
+
enumerable: true,
|
|
52426
|
+
configurable: true,
|
|
52427
|
+
writable: true,
|
|
52428
|
+
value: void 0
|
|
52429
|
+
});
|
|
52430
|
+
this.slot = params.slot;
|
|
52431
|
+
this.peer = params.peer;
|
|
52432
|
+
this.date = params.date;
|
|
52433
|
+
this.expires = params.expires;
|
|
52434
|
+
this.cooldownUntilDate = params.cooldownUntilDate;
|
|
52435
|
+
}
|
|
52436
|
+
}
|
|
52437
|
+
exports.MyBoost = MyBoost;
|
|
52438
|
+
class PremiumMyBoosts extends _TypePremiumMyBoosts {
|
|
52439
|
+
get [_1_tl_object_js_1.id]() {
|
|
52440
|
+
return 0x9AE228E2;
|
|
52441
|
+
}
|
|
52442
|
+
static get [_1_tl_object_js_1.paramDesc]() {
|
|
52443
|
+
return [
|
|
52444
|
+
["myBoosts", [_TypeMyBoost], "Vector<MyBoost>"],
|
|
52445
|
+
["chats", [_TypeChat], "Vector<Chat>"],
|
|
52446
|
+
["users", [_TypeUser], "Vector<User>"],
|
|
52447
|
+
];
|
|
52448
|
+
}
|
|
52449
|
+
get [_1_tl_object_js_1.params]() {
|
|
52450
|
+
return [
|
|
52451
|
+
[this.myBoosts, [_TypeMyBoost], "Vector<MyBoost>"],
|
|
52452
|
+
[this.chats, [_TypeChat], "Vector<Chat>"],
|
|
52453
|
+
[this.users, [_TypeUser], "Vector<User>"],
|
|
52454
|
+
];
|
|
52455
|
+
}
|
|
52456
|
+
constructor(params) {
|
|
52457
|
+
super();
|
|
52458
|
+
Object.defineProperty(this, "myBoosts", {
|
|
52459
|
+
enumerable: true,
|
|
52460
|
+
configurable: true,
|
|
52461
|
+
writable: true,
|
|
52462
|
+
value: void 0
|
|
52463
|
+
});
|
|
52464
|
+
Object.defineProperty(this, "chats", {
|
|
52465
|
+
enumerable: true,
|
|
52466
|
+
configurable: true,
|
|
52467
|
+
writable: true,
|
|
52468
|
+
value: void 0
|
|
52469
|
+
});
|
|
52470
|
+
Object.defineProperty(this, "users", {
|
|
52471
|
+
enumerable: true,
|
|
52472
|
+
configurable: true,
|
|
52473
|
+
writable: true,
|
|
52474
|
+
value: void 0
|
|
52475
|
+
});
|
|
52476
|
+
this.myBoosts = params.myBoosts;
|
|
52477
|
+
this.chats = params.chats;
|
|
52478
|
+
this.users = params.users;
|
|
52479
|
+
}
|
|
52480
|
+
}
|
|
52481
|
+
exports.PremiumMyBoosts = PremiumMyBoosts;
|
|
52482
|
+
class PremiumBoostsStatus extends _TypePremiumBoostsStatus {
|
|
52483
|
+
get [_1_tl_object_js_1.id]() {
|
|
52484
|
+
return 0x4959427A;
|
|
52485
|
+
}
|
|
52486
|
+
static get [_1_tl_object_js_1.paramDesc]() {
|
|
52487
|
+
return [
|
|
52488
|
+
["flags", _1_tl_object_js_1.flags, "#"],
|
|
52489
|
+
["myBoost", "true", "flags.2?true"],
|
|
52490
|
+
["level", "number", "int"],
|
|
52491
|
+
["currentLevelBoosts", "number", "int"],
|
|
52492
|
+
["boosts", "number", "int"],
|
|
52493
|
+
["giftBoosts", "number", "flags.4?int"],
|
|
52494
|
+
["nextLevelBoosts", "number", "flags.0?int"],
|
|
52495
|
+
["premiumAudience", _TypeStatsPercentValue, "flags.1?StatsPercentValue"],
|
|
52496
|
+
["boostUrl", "string", "string"],
|
|
52497
|
+
["prepaidGiveaways", [_TypePrepaidGiveaway], "flags.3?Vector<PrepaidGiveaway>"],
|
|
52498
|
+
["myBoostSlots", ["number"], "flags.2?Vector<int>"],
|
|
52499
|
+
];
|
|
52500
|
+
}
|
|
52501
|
+
get [_1_tl_object_js_1.params]() {
|
|
52502
|
+
return [
|
|
52503
|
+
["flags", _1_tl_object_js_1.flags, "#"],
|
|
52504
|
+
[this.myBoost ?? null, "true", "flags.2?true"],
|
|
52505
|
+
[this.level, "number", "int"],
|
|
52506
|
+
[this.currentLevelBoosts, "number", "int"],
|
|
52507
|
+
[this.boosts, "number", "int"],
|
|
52508
|
+
[this.giftBoosts ?? null, "number", "flags.4?int"],
|
|
52509
|
+
[this.nextLevelBoosts ?? null, "number", "flags.0?int"],
|
|
52510
|
+
[this.premiumAudience ?? null, _TypeStatsPercentValue, "flags.1?StatsPercentValue"],
|
|
52511
|
+
[this.boostUrl, "string", "string"],
|
|
52512
|
+
[this.prepaidGiveaways ?? null, [_TypePrepaidGiveaway], "flags.3?Vector<PrepaidGiveaway>"],
|
|
52513
|
+
[this.myBoostSlots ?? null, ["number"], "flags.2?Vector<int>"],
|
|
52514
|
+
];
|
|
52515
|
+
}
|
|
52516
|
+
constructor(params) {
|
|
52517
|
+
super();
|
|
52518
|
+
Object.defineProperty(this, "myBoost", {
|
|
52519
|
+
enumerable: true,
|
|
52520
|
+
configurable: true,
|
|
52521
|
+
writable: true,
|
|
52522
|
+
value: void 0
|
|
52523
|
+
});
|
|
52524
|
+
Object.defineProperty(this, "level", {
|
|
52525
|
+
enumerable: true,
|
|
52526
|
+
configurable: true,
|
|
52527
|
+
writable: true,
|
|
52528
|
+
value: void 0
|
|
52529
|
+
});
|
|
52530
|
+
Object.defineProperty(this, "currentLevelBoosts", {
|
|
52531
|
+
enumerable: true,
|
|
52532
|
+
configurable: true,
|
|
52533
|
+
writable: true,
|
|
52534
|
+
value: void 0
|
|
52535
|
+
});
|
|
52536
|
+
Object.defineProperty(this, "boosts", {
|
|
52537
|
+
enumerable: true,
|
|
52538
|
+
configurable: true,
|
|
52539
|
+
writable: true,
|
|
52540
|
+
value: void 0
|
|
52541
|
+
});
|
|
52542
|
+
Object.defineProperty(this, "giftBoosts", {
|
|
52543
|
+
enumerable: true,
|
|
52544
|
+
configurable: true,
|
|
52545
|
+
writable: true,
|
|
52546
|
+
value: void 0
|
|
52547
|
+
});
|
|
52548
|
+
Object.defineProperty(this, "nextLevelBoosts", {
|
|
52549
|
+
enumerable: true,
|
|
52550
|
+
configurable: true,
|
|
52551
|
+
writable: true,
|
|
52552
|
+
value: void 0
|
|
52553
|
+
});
|
|
52554
|
+
Object.defineProperty(this, "premiumAudience", {
|
|
52555
|
+
enumerable: true,
|
|
52556
|
+
configurable: true,
|
|
52557
|
+
writable: true,
|
|
52558
|
+
value: void 0
|
|
52559
|
+
});
|
|
52560
|
+
Object.defineProperty(this, "boostUrl", {
|
|
52561
|
+
enumerable: true,
|
|
52562
|
+
configurable: true,
|
|
52563
|
+
writable: true,
|
|
52564
|
+
value: void 0
|
|
52565
|
+
});
|
|
52566
|
+
Object.defineProperty(this, "prepaidGiveaways", {
|
|
52567
|
+
enumerable: true,
|
|
52568
|
+
configurable: true,
|
|
52569
|
+
writable: true,
|
|
52570
|
+
value: void 0
|
|
52571
|
+
});
|
|
52572
|
+
Object.defineProperty(this, "myBoostSlots", {
|
|
52573
|
+
enumerable: true,
|
|
52574
|
+
configurable: true,
|
|
52575
|
+
writable: true,
|
|
52576
|
+
value: void 0
|
|
52577
|
+
});
|
|
52578
|
+
this.myBoost = params.myBoost;
|
|
52579
|
+
this.level = params.level;
|
|
52580
|
+
this.currentLevelBoosts = params.currentLevelBoosts;
|
|
52581
|
+
this.boosts = params.boosts;
|
|
52582
|
+
this.giftBoosts = params.giftBoosts;
|
|
52583
|
+
this.nextLevelBoosts = params.nextLevelBoosts;
|
|
52584
|
+
this.premiumAudience = params.premiumAudience;
|
|
52585
|
+
this.boostUrl = params.boostUrl;
|
|
52586
|
+
this.prepaidGiveaways = params.prepaidGiveaways;
|
|
52587
|
+
this.myBoostSlots = params.myBoostSlots;
|
|
52588
|
+
}
|
|
52589
|
+
}
|
|
52590
|
+
exports.PremiumBoostsStatus = PremiumBoostsStatus;
|
|
50482
52591
|
exports.map = new Map([
|
|
50483
52592
|
[0x05162463, ResPQ],
|
|
50484
52593
|
[0xA9F55F95, PQInnerDataDC],
|
|
@@ -50546,7 +52655,8 @@ exports.map = new Map([
|
|
|
50546
52655
|
[0x971FA843, InputMediaGeoLive],
|
|
50547
52656
|
[0x0F94E5F1, InputMediaPoll],
|
|
50548
52657
|
[0xE66FBF7B, InputMediaDice],
|
|
50549
|
-
[
|
|
52658
|
+
[0x89FDD778, InputMediaStory],
|
|
52659
|
+
[0xC21B8849, InputMediaWebPage],
|
|
50550
52660
|
[0x1CA48F57, InputChatPhotoEmpty],
|
|
50551
52661
|
[0xBDCDAEC0, InputChatUploadedPhoto],
|
|
50552
52662
|
[0x8953AD37, InputChatPhoto],
|
|
@@ -50578,7 +52688,7 @@ exports.map = new Map([
|
|
|
50578
52688
|
[0xB3CEA0E4, StorageFileMp4],
|
|
50579
52689
|
[0x1081464C, StorageFileWebp],
|
|
50580
52690
|
[0xD3BC4B7A, UserEmpty],
|
|
50581
|
-
[
|
|
52691
|
+
[0xEB602F25, User],
|
|
50582
52692
|
[0x4F11BAE1, UserProfilePhotoEmpty],
|
|
50583
52693
|
[0x82D1F706, UserProfilePhoto],
|
|
50584
52694
|
[0x09D05049, UserStatusEmpty],
|
|
@@ -50590,10 +52700,10 @@ exports.map = new Map([
|
|
|
50590
52700
|
[0x29562865, ChatEmpty],
|
|
50591
52701
|
[0x41CBF256, Chat],
|
|
50592
52702
|
[0x6592A1A7, ChatForbidden],
|
|
50593
|
-
[
|
|
52703
|
+
[0x1981EA7E, Channel],
|
|
50594
52704
|
[0x17D493D5, ChannelForbidden],
|
|
50595
52705
|
[0xC9D31138, ChatFull],
|
|
50596
|
-
[
|
|
52706
|
+
[0x723027BD, ChannelFull],
|
|
50597
52707
|
[0xC02D4007, ChatParticipant],
|
|
50598
52708
|
[0xE46BCEE4, ChatParticipantCreator],
|
|
50599
52709
|
[0xA0933F5B, ChatParticipantAdmin],
|
|
@@ -50610,14 +52720,15 @@ exports.map = new Map([
|
|
|
50610
52720
|
[0x70322949, MessageMediaContact],
|
|
50611
52721
|
[0x9F84F49E, MessageMediaUnsupported],
|
|
50612
52722
|
[0x4CF4D72D, MessageMediaDocument],
|
|
50613
|
-
[
|
|
52723
|
+
[0xDDF10C3B, MessageMediaWebPage],
|
|
50614
52724
|
[0x2EC0533F, MessageMediaVenue],
|
|
50615
52725
|
[0xFDB19008, MessageMediaGame],
|
|
50616
52726
|
[0xF6A548D3, MessageMediaInvoice],
|
|
50617
52727
|
[0xB940C666, MessageMediaGeoLive],
|
|
50618
52728
|
[0x4BD6E798, MessageMediaPoll],
|
|
50619
52729
|
[0x3F7EE58B, MessageMediaDice],
|
|
50620
|
-
[
|
|
52730
|
+
[0x68CB6283, MessageMediaStory],
|
|
52731
|
+
[0x58260664, MessageMediaGiveaway],
|
|
50621
52732
|
[0xB6AEF7B0, MessageActionEmpty],
|
|
50622
52733
|
[0xBD47CBAD, MessageActionChatCreate],
|
|
50623
52734
|
[0xB5A1CE5A, MessageActionChatEditTitle],
|
|
@@ -50657,6 +52768,8 @@ exports.map = new Map([
|
|
|
50657
52768
|
[0xFE77345D, MessageActionRequestedPeer],
|
|
50658
52769
|
[0xBC44A927, MessageActionSetChatWallPaper],
|
|
50659
52770
|
[0xC0787D6D, MessageActionSetSameChatWallPaper],
|
|
52771
|
+
[0xD2CFDB0E, MessageActionGiftCode],
|
|
52772
|
+
[0x332BA9ED, MessageActionGiveawayLaunch],
|
|
50660
52773
|
[0xD58A08C6, Dialog],
|
|
50661
52774
|
[0x71BD134C, DialogFolder],
|
|
50662
52775
|
[0x2331B22D, PhotoEmpty],
|
|
@@ -50694,7 +52807,7 @@ exports.map = new Map([
|
|
|
50694
52807
|
[0xF5DDD6E7, InputReportReasonFake],
|
|
50695
52808
|
[0x0A8EB2BE, InputReportReasonIllegalDrugs],
|
|
50696
52809
|
[0x9EC7863D, InputReportReasonPersonalDetails],
|
|
50697
|
-
[
|
|
52810
|
+
[0xB9B12C6C, UserFull],
|
|
50698
52811
|
[0x145ADE0B, Contact],
|
|
50699
52812
|
[0xC13E3C50, ImportedContact],
|
|
50700
52813
|
[0x16D9703B, ContactStatus],
|
|
@@ -50739,6 +52852,7 @@ exports.map = new Map([
|
|
|
50739
52852
|
[0x07761198, UpdateChatParticipants],
|
|
50740
52853
|
[0xE5BDF8DE, UpdateUserStatus],
|
|
50741
52854
|
[0xA7848924, UpdateUserName],
|
|
52855
|
+
[0x8951ABEF, UpdateNewAuthorization],
|
|
50742
52856
|
[0x12BCBD9A, UpdateNewEncryptedMessage],
|
|
50743
52857
|
[0x1710F156, UpdateEncryptedChatTyping],
|
|
50744
52858
|
[0xB4A2E88D, UpdateEncryption],
|
|
@@ -50753,7 +52867,7 @@ exports.map = new Map([
|
|
|
50753
52867
|
[0x9C974FDF, UpdateReadHistoryInbox],
|
|
50754
52868
|
[0x2F2F21BF, UpdateReadHistoryOutbox],
|
|
50755
52869
|
[0x7F891213, UpdateWebPage],
|
|
50756
|
-
[
|
|
52870
|
+
[0xF8227181, UpdateReadMessagesContents],
|
|
50757
52871
|
[0x108D941F, UpdateChannelTooLong],
|
|
50758
52872
|
[0x635B4C09, UpdateChannel],
|
|
50759
52873
|
[0x62BA04D9, UpdateNewChannelMessage],
|
|
@@ -50842,11 +52956,11 @@ exports.map = new Map([
|
|
|
50842
52956
|
[0x20529438, UpdateUser],
|
|
50843
52957
|
[0xEC05B097, UpdateAutoSaveSettings],
|
|
50844
52958
|
[0xCCF08AD6, UpdateGroupInvitePrivacyForbidden],
|
|
50845
|
-
[
|
|
50846
|
-
[
|
|
52959
|
+
[0x75B3B798, UpdateStory],
|
|
52960
|
+
[0xF74E932B, UpdateReadStories],
|
|
50847
52961
|
[0x1BF335B9, UpdateStoryID],
|
|
50848
52962
|
[0x2C084DC1, UpdateStoriesStealthMode],
|
|
50849
|
-
[
|
|
52963
|
+
[0x7D627683, UpdateSentStoryReaction],
|
|
50850
52964
|
[0xA56C2A3E, UpdatesState],
|
|
50851
52965
|
[0x5D75A138, UpdatesDifferenceEmpty],
|
|
50852
52966
|
[0x00F49CA0, UpdatesDifference],
|
|
@@ -50971,8 +53085,8 @@ exports.map = new Map([
|
|
|
50971
53085
|
[0xE86602C3, MessagesAllStickersNotModified],
|
|
50972
53086
|
[0xCDBBCEBB, MessagesAllStickers],
|
|
50973
53087
|
[0x84D19185, MessagesAffectedMessages],
|
|
50974
|
-
[
|
|
50975
|
-
[
|
|
53088
|
+
[0x211A1788, WebPageEmpty],
|
|
53089
|
+
[0xB0D13E47, WebPagePending],
|
|
50976
53090
|
[0xE89C45B2, WebPage],
|
|
50977
53091
|
[0x7311CA11, WebPageNotModified],
|
|
50978
53092
|
[0xAD01D61D, Authorization],
|
|
@@ -50985,7 +53099,7 @@ exports.map = new Map([
|
|
|
50985
53099
|
[0x0AB4A819, ChatInviteExported],
|
|
50986
53100
|
[0xED107AB7, ChatInvitePublicJoinRequests],
|
|
50987
53101
|
[0x5A686D7C, ChatInviteAlready],
|
|
50988
|
-
[
|
|
53102
|
+
[0xCDE0EC40, ChatInvite],
|
|
50989
53103
|
[0x61695CB0, ChatInvitePeek],
|
|
50990
53104
|
[0xFFB62B95, InputStickerSetEmpty],
|
|
50991
53105
|
[0x9DE7A269, InputStickerSetID],
|
|
@@ -51040,10 +53154,10 @@ exports.map = new Map([
|
|
|
51040
53154
|
[0x4C4E743F, MessageEntityCashtag],
|
|
51041
53155
|
[0x9C4E7E8B, MessageEntityUnderline],
|
|
51042
53156
|
[0xBF0693D4, MessageEntityStrike],
|
|
51043
|
-
[0x020DF5D0, MessageEntityBlockquote],
|
|
51044
53157
|
[0x761E6AF4, MessageEntityBankCard],
|
|
51045
53158
|
[0x32CA960F, MessageEntitySpoiler],
|
|
51046
53159
|
[0xC8CF05F8, MessageEntityCustomEmoji],
|
|
53160
|
+
[0x020DF5D0, MessageEntityBlockquote],
|
|
51047
53161
|
[0xEE8C1E86, InputChannelEmpty],
|
|
51048
53162
|
[0xF35AEC28, InputChannel],
|
|
51049
53163
|
[0x5B934F9D, InputChannelFromMessage],
|
|
@@ -51081,6 +53195,7 @@ exports.map = new Map([
|
|
|
51081
53195
|
[0xA6EDBFFD, InputBotInlineMessageMediaContact],
|
|
51082
53196
|
[0x4B425864, InputBotInlineMessageGame],
|
|
51083
53197
|
[0xD7E78225, InputBotInlineMessageMediaInvoice],
|
|
53198
|
+
[0xBDDCC510, InputBotInlineMessageMediaWebPage],
|
|
51084
53199
|
[0x88BF9319, InputBotInlineResult],
|
|
51085
53200
|
[0xA8D864A7, InputBotInlineResultPhoto],
|
|
51086
53201
|
[0xFFF8FDC4, InputBotInlineResultDocument],
|
|
@@ -51091,6 +53206,7 @@ exports.map = new Map([
|
|
|
51091
53206
|
[0x8A86659C, BotInlineMessageMediaVenue],
|
|
51092
53207
|
[0x18D1CDC2, BotInlineMessageMediaContact],
|
|
51093
53208
|
[0x354A9B09, BotInlineMessageMediaInvoice],
|
|
53209
|
+
[0x809AD9A6, BotInlineMessageMediaWebPage],
|
|
51094
53210
|
[0x11965F3A, BotInlineResult],
|
|
51095
53211
|
[0x17DB940B, BotInlineMediaResult],
|
|
51096
53212
|
[0xE021F2F6, MessagesBotResults],
|
|
@@ -51130,7 +53246,7 @@ exports.map = new Map([
|
|
|
51130
53246
|
[0x70B772A8, ContactsTopPeers],
|
|
51131
53247
|
[0xB52C939D, ContactsTopPeersDisabled],
|
|
51132
53248
|
[0x1B0C841A, DraftMessageEmpty],
|
|
51133
|
-
[
|
|
53249
|
+
[0x3FCCF7EF, DraftMessage],
|
|
51134
53250
|
[0xC6DC0C66, MessagesFeaturedStickersNotModified],
|
|
51135
53251
|
[0xBE382906, MessagesFeaturedStickers],
|
|
51136
53252
|
[0x0B17F890, MessagesRecentStickersNotModified],
|
|
@@ -51201,7 +53317,7 @@ exports.map = new Map([
|
|
|
51201
53317
|
[0xFAF7E8C9, PhoneCallDiscardReasonBusy],
|
|
51202
53318
|
[0x7D748D04, DataJSON],
|
|
51203
53319
|
[0xCB296BF8, LabeledPrice],
|
|
51204
|
-
[
|
|
53320
|
+
[0x5DB95A15, Invoice],
|
|
51205
53321
|
[0xEA02C27E, PaymentCharge],
|
|
51206
53322
|
[0x1E8CAAEB, PostAddress],
|
|
51207
53323
|
[0x909C3F94, PaymentRequestedInfo],
|
|
@@ -51289,6 +53405,8 @@ exports.map = new Map([
|
|
|
51289
53405
|
[0xAE168909, ChannelAdminLogEventActionDeleteTopic],
|
|
51290
53406
|
[0x5D8D353B, ChannelAdminLogEventActionPinTopic],
|
|
51291
53407
|
[0x64F36DFC, ChannelAdminLogEventActionToggleAntiSpam],
|
|
53408
|
+
[0x3C2B247B, ChannelAdminLogEventActionChangeColor],
|
|
53409
|
+
[0x445FC434, ChannelAdminLogEventActionChangeBackgroundEmoji],
|
|
51292
53410
|
[0x1FAD68CD, ChannelAdminLogEvent],
|
|
51293
53411
|
[0xED8AF74D, ChannelsAdminLogResults],
|
|
51294
53412
|
[0xEA107AE4, ChannelAdminLogEventsFilter],
|
|
@@ -51441,7 +53559,7 @@ exports.map = new Map([
|
|
|
51441
53559
|
[0x8FDE504F, InputThemeSettings],
|
|
51442
53560
|
[0xFA58B6D4, ThemeSettings],
|
|
51443
53561
|
[0x54B56617, WebPageAttributeTheme],
|
|
51444
|
-
[
|
|
53562
|
+
[0x2E94C3E7, WebPageAttributeStory],
|
|
51445
53563
|
[0x4899484E, MessagesVotesList],
|
|
51446
53564
|
[0xF568028A, BankCardOpenURL],
|
|
51447
53565
|
[0x3E24E573, PaymentsBankCardData],
|
|
@@ -51474,7 +53592,7 @@ exports.map = new Map([
|
|
|
51474
53592
|
[0x455B853D, MessageViews],
|
|
51475
53593
|
[0xB6C4F543, MessagesMessageViews],
|
|
51476
53594
|
[0xA6341782, MessagesDiscussionMessage],
|
|
51477
|
-
[
|
|
53595
|
+
[0x6EEBCABD, MessageReplyHeader],
|
|
51478
53596
|
[0x9C98BFC1, MessageReplyStoryHeader],
|
|
51479
53597
|
[0x83D60FC2, MessageReplies],
|
|
51480
53598
|
[0xE8FD8014, PeerBlocked],
|
|
@@ -51540,7 +53658,7 @@ exports.map = new Map([
|
|
|
51540
53658
|
[0x2DBF3432, PhoneGroupCallStreamRtmpURL],
|
|
51541
53659
|
[0x4576F3F0, AttachMenuBotIconColor],
|
|
51542
53660
|
[0xB2A7386B, AttachMenuBotIcon],
|
|
51543
|
-
[
|
|
53661
|
+
[0xD90D8DFE, AttachMenuBot],
|
|
51544
53662
|
[0xF1D88A5C, AttachMenuBotsNotModified],
|
|
51545
53663
|
[0x3C4301C0, AttachMenuBots],
|
|
51546
53664
|
[0x93BF667F, AttachMenuBotsBot],
|
|
@@ -51565,11 +53683,14 @@ exports.map = new Map([
|
|
|
51565
53683
|
[0x7BFBDEFC, AttachMenuPeerTypeBroadcast],
|
|
51566
53684
|
[0xC5B56859, InputInvoiceMessage],
|
|
51567
53685
|
[0xC326CAEF, InputInvoiceSlug],
|
|
53686
|
+
[0x98986C0D, InputInvoicePremiumGiftCode],
|
|
51568
53687
|
[0xAED0CBD9, PaymentsExportedInvoice],
|
|
51569
53688
|
[0x93752C52, MessagesTranscribedAudio],
|
|
51570
53689
|
[0x5334759C, HelpPremiumPromo],
|
|
51571
53690
|
[0xA6751E66, InputStorePaymentPremiumSubscription],
|
|
51572
53691
|
[0x616F7FE8, InputStorePaymentGiftPremium],
|
|
53692
|
+
[0xA3805F3F, InputStorePaymentPremiumGiftCode],
|
|
53693
|
+
[0x7C9375E6, InputStorePaymentPremiumGiveaway],
|
|
51573
53694
|
[0x74C34319, PremiumGiftOption],
|
|
51574
53695
|
[0x88F8F21B, PaymentFormMethod],
|
|
51575
53696
|
[0x2DE11AAE, EmojiStatusEmpty],
|
|
@@ -51639,19 +53760,17 @@ exports.map = new Map([
|
|
|
51639
53760
|
[0x74CDA504, MessagePeerVoteInputOption],
|
|
51640
53761
|
[0x4628F6E6, MessagePeerVoteMultiple],
|
|
51641
53762
|
[0x3DB8EC63, SponsoredWebPage],
|
|
51642
|
-
[
|
|
53763
|
+
[0x8D595CD6, StoryViews],
|
|
51643
53764
|
[0x51E6EE4F, StoryItemDeleted],
|
|
51644
53765
|
[0xFFADC913, StoryItemSkipped],
|
|
51645
53766
|
[0x44C457CE, StoryItem],
|
|
51646
|
-
[0x8611A200, UserStories],
|
|
51647
53767
|
[0x1158FE3E, StoriesAllStoriesNotModified],
|
|
51648
|
-
[
|
|
51649
|
-
[
|
|
51650
|
-
[0x37A6FF5F, StoriesUserStories],
|
|
53768
|
+
[0x6EFC5E81, StoriesAllStories],
|
|
53769
|
+
[0x5DD8C3C8, StoriesStories],
|
|
51651
53770
|
[0xB0BDEAC5, StoryView],
|
|
51652
53771
|
[0x46E9B9EC, StoriesStoryViewsList],
|
|
51653
53772
|
[0xDE9EED1D, StoriesStoryViews],
|
|
51654
|
-
[
|
|
53773
|
+
[0x073EC805, InputReplyToMessage],
|
|
51655
53774
|
[0x15B0F283, InputReplyToStory],
|
|
51656
53775
|
[0x3FC9053B, ExportedStoryLink],
|
|
51657
53776
|
[0x712E27FD, StoriesStealthMode],
|
|
@@ -51659,5 +53778,19 @@ exports.map = new Map([
|
|
|
51659
53778
|
[0xBE82DB9C, MediaAreaVenue],
|
|
51660
53779
|
[0xB282217F, InputMediaAreaVenue],
|
|
51661
53780
|
[0xDF8B3B22, MediaAreaGeoPoint],
|
|
53781
|
+
[0x14455871, MediaAreaSuggestedReaction],
|
|
53782
|
+
[0x9A35E999, PeerStories],
|
|
53783
|
+
[0xCAE68768, StoriesPeerStories],
|
|
53784
|
+
[0xFD5E12BD, MessagesWebPage],
|
|
53785
|
+
[0x257E962B, PremiumGiftCodeOption],
|
|
53786
|
+
[0xB722F158, PaymentsCheckedGiftCode],
|
|
53787
|
+
[0x4367DAA0, PaymentsGiveawayInfo],
|
|
53788
|
+
[0x00CD5570, PaymentsGiveawayInfoResults],
|
|
53789
|
+
[0xB2539D54, PrepaidGiveaway],
|
|
53790
|
+
[0x2A1C8C71, Boost],
|
|
53791
|
+
[0x86F8613C, PremiumBoostsList],
|
|
53792
|
+
[0xC448415C, MyBoost],
|
|
53793
|
+
[0x9AE228E2, PremiumMyBoosts],
|
|
53794
|
+
[0x4959427A, PremiumBoostsStatus],
|
|
51662
53795
|
// deno-lint-ignore no-explicit-any
|
|
51663
53796
|
]);
|