@tgsnake/skema 1.1.0 → 1.3.0

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/dist/raw/Raw.d.ts CHANGED
@@ -15,7 +15,7 @@ export declare namespace Raw {
15
15
  type Vector<T> = Array<T>;
16
16
  const Layer: number;
17
17
  const HighestSCLayer: number;
18
- type TypesTLRequest = Raw.ReqPq | Raw.ReqPqMulti | Raw.ReqDhParams | Raw.SetClientDhParams | Raw.DestroyAuthKey | Raw.RpcDropAnswer | Raw.GetFutureSalts | Raw.Ping | Raw.PingDelayDisconnect | Raw.DestroySession | Raw.InvokeAfterMsg | Raw.InvokeAfterMsgs | Raw.InitConnection | Raw.InvokeWithLayer | Raw.InvokeWithoutUpdates | Raw.InvokeWithMessagesRange | Raw.InvokeWithTakeout | Raw.InvokeWithBusinessConnection | Raw.InvokeWithGooglePlayIntegrity | Raw.InvokeWithApnsSecret | Raw.InvokeWithReCaptcha | Raw.auth.SendCode | Raw.auth.SignUp | Raw.auth.SignIn | Raw.auth.LogOut | Raw.auth.ResetAuthorizations | Raw.auth.ExportAuthorization | Raw.auth.ImportAuthorization | Raw.auth.BindTempAuthKey | Raw.auth.ImportBotAuthorization | Raw.auth.CheckPassword | Raw.auth.RequestPasswordRecovery | Raw.auth.RecoverPassword | Raw.auth.ResendCode | Raw.auth.CancelCode | Raw.auth.DropTempAuthKeys | Raw.auth.ExportLoginToken | Raw.auth.ImportLoginToken | Raw.auth.AcceptLoginToken | Raw.auth.CheckRecoveryPassword | Raw.auth.ImportWebTokenAuthorization | Raw.auth.RequestFirebaseSms | Raw.auth.ResetLoginEmail | Raw.auth.ReportMissingCode | Raw.account.RegisterDevice | Raw.account.UnregisterDevice | Raw.account.UpdateNotifySettings | Raw.account.GetNotifySettings | Raw.account.ResetNotifySettings | Raw.account.UpdateProfile | Raw.account.UpdateStatus | Raw.account.GetWallPapers | Raw.account.ReportPeer | Raw.account.CheckUsername | Raw.account.UpdateUsername | Raw.account.GetPrivacy | Raw.account.SetPrivacy | Raw.account.DeleteAccount | Raw.account.GetAccountTTL | Raw.account.SetAccountTTL | Raw.account.SendChangePhoneCode | Raw.account.ChangePhone | Raw.account.UpdateDeviceLocked | Raw.account.GetAuthorizations | Raw.account.ResetAuthorization | Raw.account.GetPassword | Raw.account.GetPasswordSettings | Raw.account.UpdatePasswordSettings | Raw.account.SendConfirmPhoneCode | Raw.account.ConfirmPhone | Raw.account.GetTmpPassword | Raw.account.GetWebAuthorizations | Raw.account.ResetWebAuthorization | Raw.account.ResetWebAuthorizations | Raw.account.GetAllSecureValues | Raw.account.GetSecureValue | Raw.account.SaveSecureValue | Raw.account.DeleteSecureValue | Raw.account.GetAuthorizationForm | Raw.account.AcceptAuthorization | Raw.account.SendVerifyPhoneCode | Raw.account.VerifyPhone | Raw.account.SendVerifyEmailCode | Raw.account.VerifyEmail | Raw.account.InitTakeoutSession | Raw.account.FinishTakeoutSession | Raw.account.ConfirmPasswordEmail | Raw.account.ResendPasswordEmail | Raw.account.CancelPasswordEmail | Raw.account.GetContactSignUpNotification | Raw.account.SetContactSignUpNotification | Raw.account.GetNotifyExceptions | Raw.account.GetWallPaper | Raw.account.UploadWallPaper | Raw.account.SaveWallPaper | Raw.account.InstallWallPaper | Raw.account.ResetWallPapers | Raw.account.GetAutoDownloadSettings | Raw.account.SaveAutoDownloadSettings | Raw.account.UploadTheme | Raw.account.CreateTheme | Raw.account.UpdateTheme | Raw.account.SaveTheme | Raw.account.InstallTheme | Raw.account.GetTheme | Raw.account.GetThemes | Raw.account.SetContentSettings | Raw.account.GetContentSettings | Raw.account.GetMultiWallPapers | Raw.account.GetGlobalPrivacySettings | Raw.account.SetGlobalPrivacySettings | Raw.account.ReportProfilePhoto | Raw.account.ResetPassword | Raw.account.DeclinePasswordReset | Raw.account.GetChatThemes | Raw.account.SetAuthorizationTTL | Raw.account.ChangeAuthorizationSettings | Raw.account.GetSavedRingtones | Raw.account.SaveRingtone | Raw.account.UploadRingtone | Raw.account.UpdateEmojiStatus | Raw.account.GetDefaultEmojiStatuses | Raw.account.GetRecentEmojiStatuses | Raw.account.ClearRecentEmojiStatuses | Raw.account.ReorderUsernames | Raw.account.ToggleUsername | Raw.account.GetDefaultProfilePhotoEmojis | Raw.account.GetDefaultGroupPhotoEmojis | Raw.account.GetAutoSaveSettings | Raw.account.SaveAutoSaveSettings | Raw.account.DeleteAutoSaveExceptions | Raw.account.InvalidateSignInCodes | Raw.account.UpdateColor | Raw.account.GetDefaultBackgroundEmojis | Raw.account.GetChannelDefaultEmojiStatuses | Raw.account.GetChannelRestrictedStatusEmojis | Raw.account.UpdateBusinessWorkHours | Raw.account.UpdateBusinessLocation | Raw.account.UpdateBusinessGreetingMessage | Raw.account.UpdateBusinessAwayMessage | Raw.account.UpdateConnectedBot | Raw.account.GetConnectedBots | Raw.account.GetBotBusinessConnection | Raw.account.UpdateBusinessIntro | Raw.account.ToggleConnectedBotPaused | Raw.account.DisablePeerConnectedBot | Raw.account.UpdateBirthday | Raw.account.CreateBusinessChatLink | Raw.account.EditBusinessChatLink | Raw.account.DeleteBusinessChatLink | Raw.account.GetBusinessChatLinks | Raw.account.ResolveBusinessChatLink | Raw.account.UpdatePersonalChannel | Raw.account.ToggleSponsoredMessages | Raw.account.GetReactionsNotifySettings | Raw.account.SetReactionsNotifySettings | Raw.account.GetCollectibleEmojiStatuses | Raw.account.GetPaidMessagesRevenue | Raw.account.ToggleNoPaidMessagesException | Raw.users.GetUsers | Raw.users.GetFullUser | Raw.users.SetSecureValueErrors | Raw.users.GetRequirementsToContact | Raw.contacts.GetContactIDs | Raw.contacts.GetStatuses | Raw.contacts.GetContacts | Raw.contacts.ImportContacts | Raw.contacts.DeleteContacts | Raw.contacts.DeleteByPhones | Raw.contacts.Block | Raw.contacts.Unblock | Raw.contacts.GetBlocked | Raw.contacts.Search | Raw.contacts.ResolveUsername | Raw.contacts.GetTopPeers | Raw.contacts.ResetTopPeerRating | Raw.contacts.ResetSaved | Raw.contacts.GetSaved | Raw.contacts.ToggleTopPeers | Raw.contacts.AddContact | Raw.contacts.AcceptContact | Raw.contacts.GetLocated | Raw.contacts.BlockFromReplies | Raw.contacts.ResolvePhone | Raw.contacts.ExportContactToken | Raw.contacts.ImportContactToken | Raw.contacts.EditCloseFriends | Raw.contacts.SetBlocked | Raw.contacts.GetBirthdays | Raw.contacts.GetSponsoredPeers | Raw.messages.GetMessages | Raw.messages.GetDialogs | Raw.messages.GetHistory | Raw.messages.Search | Raw.messages.ReadHistory | Raw.messages.DeleteHistory | Raw.messages.DeleteMessages | Raw.messages.ReceivedMessages | Raw.messages.SetTyping | Raw.messages.SendMessage | Raw.messages.SendMedia | Raw.messages.ForwardMessages | Raw.messages.ReportSpam | Raw.messages.GetPeerSettings | Raw.messages.Report | Raw.messages.GetChats | Raw.messages.GetFullChat | Raw.messages.EditChatTitle | Raw.messages.EditChatPhoto | Raw.messages.AddChatUser | Raw.messages.DeleteChatUser | Raw.messages.CreateChat | Raw.messages.GetDhConfig | Raw.messages.RequestEncryption | Raw.messages.AcceptEncryption | Raw.messages.DiscardEncryption | Raw.messages.SetEncryptedTyping | Raw.messages.ReadEncryptedHistory | Raw.messages.SendEncrypted | Raw.messages.SendEncryptedFile | Raw.messages.SendEncryptedService | Raw.messages.ReceivedQueue | Raw.messages.ReportEncryptedSpam | Raw.messages.ReadMessageContents | Raw.messages.GetStickers | Raw.messages.GetAllStickers | Raw.messages.GetWebPagePreview | Raw.messages.ExportChatInvite | Raw.messages.CheckChatInvite | Raw.messages.ImportChatInvite | Raw.messages.GetStickerSet | Raw.messages.InstallStickerSet | Raw.messages.UninstallStickerSet | Raw.messages.StartBot | Raw.messages.GetMessagesViews | Raw.messages.EditChatAdmin | Raw.messages.MigrateChat | Raw.messages.SearchGlobal | Raw.messages.ReorderStickerSets | Raw.messages.GetDocumentByHash | Raw.messages.GetSavedGifs | Raw.messages.SaveGif | Raw.messages.GetInlineBotResults | Raw.messages.SetInlineBotResults | Raw.messages.SendInlineBotResult | Raw.messages.GetMessageEditData | Raw.messages.EditMessage | Raw.messages.EditInlineBotMessage | Raw.messages.GetBotCallbackAnswer | Raw.messages.SetBotCallbackAnswer | Raw.messages.GetPeerDialogs | Raw.messages.SaveDraft | Raw.messages.GetAllDrafts | Raw.messages.GetFeaturedStickers | Raw.messages.ReadFeaturedStickers | Raw.messages.GetRecentStickers | Raw.messages.SaveRecentSticker | Raw.messages.ClearRecentStickers | Raw.messages.GetArchivedStickers | Raw.messages.GetMaskStickers | Raw.messages.GetAttachedStickers | Raw.messages.SetGameScore | Raw.messages.SetInlineGameScore | Raw.messages.GetGameHighScores | Raw.messages.GetInlineGameHighScores | Raw.messages.GetCommonChats | Raw.messages.GetWebPage | Raw.messages.ToggleDialogPin | Raw.messages.ReorderPinnedDialogs | Raw.messages.GetPinnedDialogs | Raw.messages.SetBotShippingResults | Raw.messages.SetBotPrecheckoutResults | Raw.messages.UploadMedia | Raw.messages.SendScreenshotNotification | Raw.messages.GetFavedStickers | Raw.messages.FaveSticker | Raw.messages.GetUnreadMentions | Raw.messages.ReadMentions | Raw.messages.GetRecentLocations | Raw.messages.SendMultiMedia | Raw.messages.UploadEncryptedFile | Raw.messages.SearchStickerSets | Raw.messages.GetSplitRanges | Raw.messages.MarkDialogUnread | Raw.messages.GetDialogUnreadMarks | Raw.messages.ClearAllDrafts | Raw.messages.UpdatePinnedMessage | Raw.messages.SendVote | Raw.messages.GetPollResults | Raw.messages.GetOnlines | Raw.messages.EditChatAbout | Raw.messages.EditChatDefaultBannedRights | Raw.messages.GetEmojiKeywords | Raw.messages.GetEmojiKeywordsDifference | Raw.messages.GetEmojiKeywordsLanguages | Raw.messages.GetEmojiURL | Raw.messages.GetSearchCounters | Raw.messages.RequestUrlAuth | Raw.messages.AcceptUrlAuth | Raw.messages.HidePeerSettingsBar | Raw.messages.GetScheduledHistory | Raw.messages.GetScheduledMessages | Raw.messages.SendScheduledMessages | Raw.messages.DeleteScheduledMessages | Raw.messages.GetPollVotes | Raw.messages.ToggleStickerSets | Raw.messages.GetDialogFilters | Raw.messages.GetSuggestedDialogFilters | Raw.messages.UpdateDialogFilter | Raw.messages.UpdateDialogFiltersOrder | Raw.messages.GetOldFeaturedStickers | Raw.messages.GetReplies | Raw.messages.GetDiscussionMessage | Raw.messages.ReadDiscussion | Raw.messages.UnpinAllMessages | Raw.messages.DeleteChat | Raw.messages.DeletePhoneCallHistory | Raw.messages.CheckHistoryImport | Raw.messages.InitHistoryImport | Raw.messages.UploadImportedMedia | Raw.messages.StartHistoryImport | Raw.messages.GetExportedChatInvites | Raw.messages.GetExportedChatInvite | Raw.messages.EditExportedChatInvite | Raw.messages.DeleteRevokedExportedChatInvites | Raw.messages.DeleteExportedChatInvite | Raw.messages.GetAdminsWithInvites | Raw.messages.GetChatInviteImporters | Raw.messages.SetHistoryTTL | Raw.messages.CheckHistoryImportPeer | Raw.messages.SetChatTheme | Raw.messages.GetMessageReadParticipants | Raw.messages.GetSearchResultsCalendar | Raw.messages.GetSearchResultsPositions | Raw.messages.HideChatJoinRequest | Raw.messages.HideAllChatJoinRequests | Raw.messages.ToggleNoForwards | Raw.messages.SaveDefaultSendAs | Raw.messages.SendReaction | Raw.messages.GetMessagesReactions | Raw.messages.GetMessageReactionsList | Raw.messages.SetChatAvailableReactions | Raw.messages.GetAvailableReactions | Raw.messages.SetDefaultReaction | Raw.messages.TranslateText | Raw.messages.GetUnreadReactions | Raw.messages.ReadReactions | Raw.messages.SearchSentMedia | Raw.messages.GetAttachMenuBots | Raw.messages.GetAttachMenuBot | Raw.messages.ToggleBotInAttachMenu | Raw.messages.RequestWebView | Raw.messages.ProlongWebView | Raw.messages.RequestSimpleWebView | Raw.messages.SendWebViewResultMessage | Raw.messages.SendWebViewData | Raw.messages.TranscribeAudio | Raw.messages.RateTranscribedAudio | Raw.messages.GetCustomEmojiDocuments | Raw.messages.GetEmojiStickers | Raw.messages.GetFeaturedEmojiStickers | Raw.messages.ReportReaction | Raw.messages.GetTopReactions | Raw.messages.GetRecentReactions | Raw.messages.ClearRecentReactions | Raw.messages.GetExtendedMedia | Raw.messages.SetDefaultHistoryTTL | Raw.messages.GetDefaultHistoryTTL | Raw.messages.SendBotRequestedPeer | Raw.messages.GetEmojiGroups | Raw.messages.GetEmojiStatusGroups | Raw.messages.GetEmojiProfilePhotoGroups | Raw.messages.SearchCustomEmoji | Raw.messages.TogglePeerTranslations | Raw.messages.GetBotApp | Raw.messages.RequestAppWebView | Raw.messages.SetChatWallPaper | Raw.messages.SearchEmojiStickerSets | Raw.messages.GetSavedDialogs | Raw.messages.GetSavedHistory | Raw.messages.DeleteSavedHistory | Raw.messages.GetPinnedSavedDialogs | Raw.messages.ToggleSavedDialogPin | Raw.messages.ReorderPinnedSavedDialogs | Raw.messages.GetSavedReactionTags | Raw.messages.UpdateSavedReactionTag | Raw.messages.GetDefaultTagReactions | Raw.messages.GetOutboxReadDate | Raw.messages.GetQuickReplies | Raw.messages.ReorderQuickReplies | Raw.messages.CheckQuickReplyShortcut | Raw.messages.EditQuickReplyShortcut | Raw.messages.DeleteQuickReplyShortcut | Raw.messages.GetQuickReplyMessages | Raw.messages.SendQuickReplyMessages | Raw.messages.DeleteQuickReplyMessages | Raw.messages.ToggleDialogFilterTags | Raw.messages.GetMyStickers | Raw.messages.GetEmojiStickerGroups | Raw.messages.GetAvailableEffects | Raw.messages.EditFactCheck | Raw.messages.DeleteFactCheck | Raw.messages.GetFactCheck | Raw.messages.RequestMainWebView | Raw.messages.SendPaidReaction | Raw.messages.TogglePaidReactionPrivacy | Raw.messages.GetPaidReactionPrivacy | Raw.messages.ViewSponsoredMessage | Raw.messages.ClickSponsoredMessage | Raw.messages.ReportSponsoredMessage | Raw.messages.GetSponsoredMessages | Raw.messages.SavePreparedInlineMessage | Raw.messages.GetPreparedInlineMessage | Raw.messages.SearchStickers | Raw.messages.ReportMessagesDelivery | Raw.messages.GetSavedDialogsByID | Raw.messages.ReadSavedHistory | Raw.messages.ToggleTodoCompleted | Raw.messages.AppendTodoList | Raw.messages.ToggleSuggestedPostApproval | Raw.updates.GetState | Raw.updates.GetDifference | Raw.updates.GetChannelDifference | Raw.photos.UpdateProfilePhoto | Raw.photos.UploadProfilePhoto | Raw.photos.DeletePhotos | Raw.photos.GetUserPhotos | Raw.photos.UploadContactProfilePhoto | Raw.upload.SaveFilePart | Raw.upload.GetFile | Raw.upload.SaveBigFilePart | Raw.upload.GetWebFile | Raw.upload.GetCdnFile | Raw.upload.ReuploadCdnFile | Raw.upload.GetCdnFileHashes | Raw.upload.GetFileHashes | Raw.help.GetConfig | Raw.help.GetNearestDc | Raw.help.GetAppUpdate | Raw.help.GetInviteText | Raw.help.GetSupport | Raw.help.SetBotUpdatesStatus | Raw.help.GetCdnConfig | Raw.help.GetRecentMeUrls | Raw.help.GetTermsOfServiceUpdate | Raw.help.AcceptTermsOfService | Raw.help.GetDeepLinkInfo | Raw.help.GetAppConfig | Raw.help.SaveAppLog | Raw.help.GetPassportConfig | Raw.help.GetSupportName | Raw.help.GetUserInfo | Raw.help.EditUserInfo | Raw.help.GetPromoData | Raw.help.HidePromoData | Raw.help.DismissSuggestion | Raw.help.GetCountriesList | Raw.help.GetPremiumPromo | Raw.help.GetPeerColors | Raw.help.GetPeerProfileColors | Raw.help.GetTimezonesList | Raw.channels.ReadHistory | Raw.channels.DeleteMessages | Raw.channels.ReportSpam | Raw.channels.GetMessages | Raw.channels.GetParticipants | Raw.channels.GetParticipant | Raw.channels.GetChannels | Raw.channels.GetFullChannel | Raw.channels.CreateChannel | Raw.channels.EditAdmin | Raw.channels.EditTitle | Raw.channels.EditPhoto | Raw.channels.CheckUsername | Raw.channels.UpdateUsername | Raw.channels.JoinChannel | Raw.channels.LeaveChannel | Raw.channels.InviteToChannel | Raw.channels.DeleteChannel | Raw.channels.ExportMessageLink | Raw.channels.ToggleSignatures | Raw.channels.GetAdminedPublicChannels | Raw.channels.EditBanned | Raw.channels.GetAdminLog | Raw.channels.SetStickers | Raw.channels.ReadMessageContents | Raw.channels.DeleteHistory | Raw.channels.TogglePreHistoryHidden | Raw.channels.GetLeftChannels | Raw.channels.GetGroupsForDiscussion | Raw.channels.SetDiscussionGroup | Raw.channels.EditCreator | Raw.channels.EditLocation | Raw.channels.ToggleSlowMode | Raw.channels.GetInactiveChannels | Raw.channels.ConvertToGigagroup | Raw.channels.GetSendAs | Raw.channels.DeleteParticipantHistory | Raw.channels.ToggleJoinToSend | Raw.channels.ToggleJoinRequest | Raw.channels.ReorderUsernames | Raw.channels.ToggleUsername | Raw.channels.DeactivateAllUsernames | Raw.channels.ToggleForum | Raw.channels.CreateForumTopic | Raw.channels.GetForumTopics | Raw.channels.GetForumTopicsByID | Raw.channels.EditForumTopic | Raw.channels.UpdatePinnedForumTopic | Raw.channels.DeleteTopicHistory | Raw.channels.ReorderPinnedForumTopics | Raw.channels.ToggleAntiSpam | Raw.channels.ReportAntiSpamFalsePositive | Raw.channels.ToggleParticipantsHidden | Raw.channels.UpdateColor | Raw.channels.ToggleViewForumAsMessages | Raw.channels.GetChannelRecommendations | Raw.channels.UpdateEmojiStatus | Raw.channels.SetBoostsToUnblockRestrictions | Raw.channels.SetEmojiStickers | Raw.channels.RestrictSponsoredMessages | Raw.channels.SearchPosts | Raw.channels.UpdatePaidMessagesPrice | Raw.channels.ToggleAutotranslation | Raw.channels.GetMessageAuthor | Raw.bots.SendCustomRequest | Raw.bots.AnswerWebhookJSONQuery | Raw.bots.SetBotCommands | Raw.bots.ResetBotCommands | Raw.bots.GetBotCommands | Raw.bots.SetBotMenuButton | Raw.bots.GetBotMenuButton | Raw.bots.SetBotBroadcastDefaultAdminRights | Raw.bots.SetBotGroupDefaultAdminRights | Raw.bots.SetBotInfo | Raw.bots.GetBotInfo | Raw.bots.ReorderUsernames | Raw.bots.ToggleUsername | Raw.bots.CanSendMessage | Raw.bots.AllowSendMessage | Raw.bots.InvokeWebViewCustomMethod | Raw.bots.GetPopularAppBots | Raw.bots.AddPreviewMedia | Raw.bots.EditPreviewMedia | Raw.bots.DeletePreviewMedia | Raw.bots.ReorderPreviewMedias | Raw.bots.GetPreviewInfo | Raw.bots.GetPreviewMedias | Raw.bots.UpdateUserEmojiStatus | Raw.bots.ToggleUserEmojiStatusPermission | Raw.bots.CheckDownloadFileParams | Raw.bots.GetAdminedBots | Raw.bots.UpdateStarRefProgram | Raw.bots.SetCustomVerification | Raw.bots.GetBotRecommendations | Raw.payments.GetPaymentForm | Raw.payments.GetPaymentReceipt | Raw.payments.ValidateRequestedInfo | Raw.payments.SendPaymentForm | Raw.payments.GetSavedInfo | Raw.payments.ClearSavedInfo | Raw.payments.GetBankCardData | Raw.payments.ExportInvoice | Raw.payments.AssignAppStoreTransaction | Raw.payments.AssignPlayMarketTransaction | Raw.payments.GetPremiumGiftCodeOptions | Raw.payments.CheckGiftCode | Raw.payments.ApplyGiftCode | Raw.payments.GetGiveawayInfo | Raw.payments.LaunchPrepaidGiveaway | Raw.payments.GetStarsTopupOptions | Raw.payments.GetStarsStatus | Raw.payments.GetStarsTransactions | Raw.payments.SendStarsForm | Raw.payments.RefundStarsCharge | Raw.payments.GetStarsRevenueStats | Raw.payments.GetStarsRevenueWithdrawalUrl | Raw.payments.GetStarsRevenueAdsAccountUrl | Raw.payments.GetStarsTransactionsByID | Raw.payments.GetStarsGiftOptions | Raw.payments.GetStarsSubscriptions | Raw.payments.ChangeStarsSubscription | Raw.payments.FulfillStarsSubscription | Raw.payments.GetStarsGiveawayOptions | Raw.payments.GetStarGifts | Raw.payments.SaveStarGift | Raw.payments.ConvertStarGift | Raw.payments.BotCancelStarsSubscription | Raw.payments.GetConnectedStarRefBots | Raw.payments.GetConnectedStarRefBot | Raw.payments.GetSuggestedStarRefBots | Raw.payments.ConnectStarRefBot | Raw.payments.EditConnectedStarRefBot | Raw.payments.GetStarGiftUpgradePreview | Raw.payments.UpgradeStarGift | Raw.payments.TransferStarGift | Raw.payments.GetUniqueStarGift | Raw.payments.GetSavedStarGifts | Raw.payments.GetSavedStarGift | Raw.payments.GetStarGiftWithdrawalUrl | Raw.payments.ToggleChatStarGiftNotifications | Raw.payments.ToggleStarGiftsPinnedToTop | Raw.payments.CanPurchaseStore | Raw.payments.GetResaleStarGifts | Raw.payments.UpdateStarGiftPrice | Raw.stickers.CreateStickerSet | Raw.stickers.RemoveStickerFromSet | Raw.stickers.ChangeStickerPosition | Raw.stickers.AddStickerToSet | Raw.stickers.SetStickerSetThumb | Raw.stickers.CheckShortName | Raw.stickers.SuggestShortName | Raw.stickers.ChangeSticker | Raw.stickers.RenameStickerSet | Raw.stickers.DeleteStickerSet | Raw.stickers.ReplaceSticker | Raw.phone.GetCallConfig | Raw.phone.RequestCall | Raw.phone.AcceptCall | Raw.phone.ConfirmCall | Raw.phone.ReceivedCall | Raw.phone.DiscardCall | Raw.phone.SetCallRating | Raw.phone.SaveCallDebug | Raw.phone.SendSignalingData | Raw.phone.CreateGroupCall | Raw.phone.JoinGroupCall | Raw.phone.LeaveGroupCall | Raw.phone.InviteToGroupCall | Raw.phone.DiscardGroupCall | Raw.phone.ToggleGroupCallSettings | Raw.phone.GetGroupCall | Raw.phone.GetGroupParticipants | Raw.phone.CheckGroupCall | Raw.phone.ToggleGroupCallRecord | Raw.phone.EditGroupCallParticipant | Raw.phone.EditGroupCallTitle | Raw.phone.GetGroupCallJoinAs | Raw.phone.ExportGroupCallInvite | Raw.phone.ToggleGroupCallStartSubscription | Raw.phone.StartScheduledGroupCall | Raw.phone.SaveDefaultGroupCallJoinAs | Raw.phone.JoinGroupCallPresentation | Raw.phone.LeaveGroupCallPresentation | Raw.phone.GetGroupCallStreamChannels | Raw.phone.GetGroupCallStreamRtmpUrl | Raw.phone.SaveCallLog | Raw.phone.CreateConferenceCall | Raw.phone.DeleteConferenceCallParticipants | Raw.phone.SendConferenceCallBroadcast | Raw.phone.InviteConferenceCallParticipant | Raw.phone.DeclineConferenceCallInvite | Raw.phone.GetGroupCallChainBlocks | Raw.langpack.GetLangPack | Raw.langpack.GetStrings | Raw.langpack.GetDifference | Raw.langpack.GetLanguages | Raw.langpack.GetLanguage | Raw.folders.EditPeerFolders | Raw.stats.GetBroadcastStats | Raw.stats.LoadAsyncGraph | Raw.stats.GetMegagroupStats | Raw.stats.GetMessagePublicForwards | Raw.stats.GetMessageStats | Raw.stats.GetStoryStats | Raw.stats.GetStoryPublicForwards | Raw.chatlists.ExportChatlistInvite | Raw.chatlists.DeleteExportedInvite | Raw.chatlists.EditExportedInvite | Raw.chatlists.GetExportedInvites | Raw.chatlists.CheckChatlistInvite | Raw.chatlists.JoinChatlistInvite | Raw.chatlists.GetChatlistUpdates | Raw.chatlists.JoinChatlistUpdates | Raw.chatlists.HideChatlistUpdates | Raw.chatlists.GetLeaveChatlistSuggestions | Raw.chatlists.LeaveChatlist | Raw.stories.CanSendStory | Raw.stories.SendStory | Raw.stories.EditStory | Raw.stories.DeleteStories | Raw.stories.TogglePinned | Raw.stories.GetAllStories | Raw.stories.GetPinnedStories | Raw.stories.GetStoriesArchive | Raw.stories.GetStoriesByID | Raw.stories.ToggleAllStoriesHidden | Raw.stories.ReadStories | Raw.stories.IncrementStoryViews | Raw.stories.GetStoryViewsList | Raw.stories.GetStoriesViews | Raw.stories.ExportStoryLink | Raw.stories.Report | Raw.stories.ActivateStealthMode | Raw.stories.SendReaction | Raw.stories.GetPeerStories | Raw.stories.GetAllReadPeerStories | Raw.stories.GetPeerMaxIDs | Raw.stories.GetChatsToSend | Raw.stories.TogglePeerStoriesHidden | Raw.stories.GetStoryReactionsList | Raw.stories.TogglePinnedToTop | Raw.stories.SearchPosts | Raw.premium.GetBoostsList | Raw.premium.GetMyBoosts | Raw.premium.ApplyBoost | Raw.premium.GetBoostsStatus | Raw.premium.GetUserBoosts | Raw.smsjobs.IsEligibleToJoin | Raw.smsjobs.Join | Raw.smsjobs.Leave | Raw.smsjobs.UpdateSettings | Raw.smsjobs.GetStatus | Raw.smsjobs.GetSmsJob | Raw.smsjobs.FinishJob | Raw.fragment.GetCollectibleInfo;
18
+ type TypesTLRequest = Raw.ReqPq | Raw.ReqPqMulti | Raw.ReqDhParams | Raw.SetClientDhParams | Raw.DestroyAuthKey | Raw.RpcDropAnswer | Raw.GetFutureSalts | Raw.Ping | Raw.PingDelayDisconnect | Raw.DestroySession | Raw.InvokeAfterMsg | Raw.InvokeAfterMsgs | Raw.InitConnection | Raw.InvokeWithLayer | Raw.InvokeWithoutUpdates | Raw.InvokeWithMessagesRange | Raw.InvokeWithTakeout | Raw.InvokeWithBusinessConnection | Raw.InvokeWithGooglePlayIntegrity | Raw.InvokeWithApnsSecret | Raw.InvokeWithReCaptcha | Raw.auth.SendCode | Raw.auth.SignUp | Raw.auth.SignIn | Raw.auth.LogOut | Raw.auth.ResetAuthorizations | Raw.auth.ExportAuthorization | Raw.auth.ImportAuthorization | Raw.auth.BindTempAuthKey | Raw.auth.ImportBotAuthorization | Raw.auth.CheckPassword | Raw.auth.RequestPasswordRecovery | Raw.auth.RecoverPassword | Raw.auth.ResendCode | Raw.auth.CancelCode | Raw.auth.DropTempAuthKeys | Raw.auth.ExportLoginToken | Raw.auth.ImportLoginToken | Raw.auth.AcceptLoginToken | Raw.auth.CheckRecoveryPassword | Raw.auth.ImportWebTokenAuthorization | Raw.auth.RequestFirebaseSms | Raw.auth.ResetLoginEmail | Raw.auth.ReportMissingCode | Raw.account.RegisterDevice | Raw.account.UnregisterDevice | Raw.account.UpdateNotifySettings | Raw.account.GetNotifySettings | Raw.account.ResetNotifySettings | Raw.account.UpdateProfile | Raw.account.UpdateStatus | Raw.account.GetWallPapers | Raw.account.ReportPeer | Raw.account.CheckUsername | Raw.account.UpdateUsername | Raw.account.GetPrivacy | Raw.account.SetPrivacy | Raw.account.DeleteAccount | Raw.account.GetAccountTTL | Raw.account.SetAccountTTL | Raw.account.SendChangePhoneCode | Raw.account.ChangePhone | Raw.account.UpdateDeviceLocked | Raw.account.GetAuthorizations | Raw.account.ResetAuthorization | Raw.account.GetPassword | Raw.account.GetPasswordSettings | Raw.account.UpdatePasswordSettings | Raw.account.SendConfirmPhoneCode | Raw.account.ConfirmPhone | Raw.account.GetTmpPassword | Raw.account.GetWebAuthorizations | Raw.account.ResetWebAuthorization | Raw.account.ResetWebAuthorizations | Raw.account.GetAllSecureValues | Raw.account.GetSecureValue | Raw.account.SaveSecureValue | Raw.account.DeleteSecureValue | Raw.account.GetAuthorizationForm | Raw.account.AcceptAuthorization | Raw.account.SendVerifyPhoneCode | Raw.account.VerifyPhone | Raw.account.SendVerifyEmailCode | Raw.account.VerifyEmail | Raw.account.InitTakeoutSession | Raw.account.FinishTakeoutSession | Raw.account.ConfirmPasswordEmail | Raw.account.ResendPasswordEmail | Raw.account.CancelPasswordEmail | Raw.account.GetContactSignUpNotification | Raw.account.SetContactSignUpNotification | Raw.account.GetNotifyExceptions | Raw.account.GetWallPaper | Raw.account.UploadWallPaper | Raw.account.SaveWallPaper | Raw.account.InstallWallPaper | Raw.account.ResetWallPapers | Raw.account.GetAutoDownloadSettings | Raw.account.SaveAutoDownloadSettings | Raw.account.UploadTheme | Raw.account.CreateTheme | Raw.account.UpdateTheme | Raw.account.SaveTheme | Raw.account.InstallTheme | Raw.account.GetTheme | Raw.account.GetThemes | Raw.account.SetContentSettings | Raw.account.GetContentSettings | Raw.account.GetMultiWallPapers | Raw.account.GetGlobalPrivacySettings | Raw.account.SetGlobalPrivacySettings | Raw.account.ReportProfilePhoto | Raw.account.ResetPassword | Raw.account.DeclinePasswordReset | Raw.account.GetChatThemes | Raw.account.SetAuthorizationTTL | Raw.account.ChangeAuthorizationSettings | Raw.account.GetSavedRingtones | Raw.account.SaveRingtone | Raw.account.UploadRingtone | Raw.account.UpdateEmojiStatus | Raw.account.GetDefaultEmojiStatuses | Raw.account.GetRecentEmojiStatuses | Raw.account.ClearRecentEmojiStatuses | Raw.account.ReorderUsernames | Raw.account.ToggleUsername | Raw.account.GetDefaultProfilePhotoEmojis | Raw.account.GetDefaultGroupPhotoEmojis | Raw.account.GetAutoSaveSettings | Raw.account.SaveAutoSaveSettings | Raw.account.DeleteAutoSaveExceptions | Raw.account.InvalidateSignInCodes | Raw.account.UpdateColor | Raw.account.GetDefaultBackgroundEmojis | Raw.account.GetChannelDefaultEmojiStatuses | Raw.account.GetChannelRestrictedStatusEmojis | Raw.account.UpdateBusinessWorkHours | Raw.account.UpdateBusinessLocation | Raw.account.UpdateBusinessGreetingMessage | Raw.account.UpdateBusinessAwayMessage | Raw.account.UpdateConnectedBot | Raw.account.GetConnectedBots | Raw.account.GetBotBusinessConnection | Raw.account.UpdateBusinessIntro | Raw.account.ToggleConnectedBotPaused | Raw.account.DisablePeerConnectedBot | Raw.account.UpdateBirthday | Raw.account.CreateBusinessChatLink | Raw.account.EditBusinessChatLink | Raw.account.DeleteBusinessChatLink | Raw.account.GetBusinessChatLinks | Raw.account.ResolveBusinessChatLink | Raw.account.UpdatePersonalChannel | Raw.account.ToggleSponsoredMessages | Raw.account.GetReactionsNotifySettings | Raw.account.SetReactionsNotifySettings | Raw.account.GetCollectibleEmojiStatuses | Raw.account.GetPaidMessagesRevenue | Raw.account.ToggleNoPaidMessagesException | Raw.users.GetUsers | Raw.users.GetFullUser | Raw.users.SetSecureValueErrors | Raw.users.GetRequirementsToContact | Raw.contacts.GetContactIDs | Raw.contacts.GetStatuses | Raw.contacts.GetContacts | Raw.contacts.ImportContacts | Raw.contacts.DeleteContacts | Raw.contacts.DeleteByPhones | Raw.contacts.Block | Raw.contacts.Unblock | Raw.contacts.GetBlocked | Raw.contacts.Search | Raw.contacts.ResolveUsername | Raw.contacts.GetTopPeers | Raw.contacts.ResetTopPeerRating | Raw.contacts.ResetSaved | Raw.contacts.GetSaved | Raw.contacts.ToggleTopPeers | Raw.contacts.AddContact | Raw.contacts.AcceptContact | Raw.contacts.GetLocated | Raw.contacts.BlockFromReplies | Raw.contacts.ResolvePhone | Raw.contacts.ExportContactToken | Raw.contacts.ImportContactToken | Raw.contacts.EditCloseFriends | Raw.contacts.SetBlocked | Raw.contacts.GetBirthdays | Raw.contacts.GetSponsoredPeers | Raw.messages.GetMessages | Raw.messages.GetDialogs | Raw.messages.GetHistory | Raw.messages.Search | Raw.messages.ReadHistory | Raw.messages.DeleteHistory | Raw.messages.DeleteMessages | Raw.messages.ReceivedMessages | Raw.messages.SetTyping | Raw.messages.SendMessage | Raw.messages.SendMedia | Raw.messages.ForwardMessages | Raw.messages.ReportSpam | Raw.messages.GetPeerSettings | Raw.messages.Report | Raw.messages.GetChats | Raw.messages.GetFullChat | Raw.messages.EditChatTitle | Raw.messages.EditChatPhoto | Raw.messages.AddChatUser | Raw.messages.DeleteChatUser | Raw.messages.CreateChat | Raw.messages.GetDhConfig | Raw.messages.RequestEncryption | Raw.messages.AcceptEncryption | Raw.messages.DiscardEncryption | Raw.messages.SetEncryptedTyping | Raw.messages.ReadEncryptedHistory | Raw.messages.SendEncrypted | Raw.messages.SendEncryptedFile | Raw.messages.SendEncryptedService | Raw.messages.ReceivedQueue | Raw.messages.ReportEncryptedSpam | Raw.messages.ReadMessageContents | Raw.messages.GetStickers | Raw.messages.GetAllStickers | Raw.messages.GetWebPagePreview | Raw.messages.ExportChatInvite | Raw.messages.CheckChatInvite | Raw.messages.ImportChatInvite | Raw.messages.GetStickerSet | Raw.messages.InstallStickerSet | Raw.messages.UninstallStickerSet | Raw.messages.StartBot | Raw.messages.GetMessagesViews | Raw.messages.EditChatAdmin | Raw.messages.MigrateChat | Raw.messages.SearchGlobal | Raw.messages.ReorderStickerSets | Raw.messages.GetDocumentByHash | Raw.messages.GetSavedGifs | Raw.messages.SaveGif | Raw.messages.GetInlineBotResults | Raw.messages.SetInlineBotResults | Raw.messages.SendInlineBotResult | Raw.messages.GetMessageEditData | Raw.messages.EditMessage | Raw.messages.EditInlineBotMessage | Raw.messages.GetBotCallbackAnswer | Raw.messages.SetBotCallbackAnswer | Raw.messages.GetPeerDialogs | Raw.messages.SaveDraft | Raw.messages.GetAllDrafts | Raw.messages.GetFeaturedStickers | Raw.messages.ReadFeaturedStickers | Raw.messages.GetRecentStickers | Raw.messages.SaveRecentSticker | Raw.messages.ClearRecentStickers | Raw.messages.GetArchivedStickers | Raw.messages.GetMaskStickers | Raw.messages.GetAttachedStickers | Raw.messages.SetGameScore | Raw.messages.SetInlineGameScore | Raw.messages.GetGameHighScores | Raw.messages.GetInlineGameHighScores | Raw.messages.GetCommonChats | Raw.messages.GetWebPage | Raw.messages.ToggleDialogPin | Raw.messages.ReorderPinnedDialogs | Raw.messages.GetPinnedDialogs | Raw.messages.SetBotShippingResults | Raw.messages.SetBotPrecheckoutResults | Raw.messages.UploadMedia | Raw.messages.SendScreenshotNotification | Raw.messages.GetFavedStickers | Raw.messages.FaveSticker | Raw.messages.GetUnreadMentions | Raw.messages.ReadMentions | Raw.messages.GetRecentLocations | Raw.messages.SendMultiMedia | Raw.messages.UploadEncryptedFile | Raw.messages.SearchStickerSets | Raw.messages.GetSplitRanges | Raw.messages.MarkDialogUnread | Raw.messages.GetDialogUnreadMarks | Raw.messages.ClearAllDrafts | Raw.messages.UpdatePinnedMessage | Raw.messages.SendVote | Raw.messages.GetPollResults | Raw.messages.GetOnlines | Raw.messages.EditChatAbout | Raw.messages.EditChatDefaultBannedRights | Raw.messages.GetEmojiKeywords | Raw.messages.GetEmojiKeywordsDifference | Raw.messages.GetEmojiKeywordsLanguages | Raw.messages.GetEmojiURL | Raw.messages.GetSearchCounters | Raw.messages.RequestUrlAuth | Raw.messages.AcceptUrlAuth | Raw.messages.HidePeerSettingsBar | Raw.messages.GetScheduledHistory | Raw.messages.GetScheduledMessages | Raw.messages.SendScheduledMessages | Raw.messages.DeleteScheduledMessages | Raw.messages.GetPollVotes | Raw.messages.ToggleStickerSets | Raw.messages.GetDialogFilters | Raw.messages.GetSuggestedDialogFilters | Raw.messages.UpdateDialogFilter | Raw.messages.UpdateDialogFiltersOrder | Raw.messages.GetOldFeaturedStickers | Raw.messages.GetReplies | Raw.messages.GetDiscussionMessage | Raw.messages.ReadDiscussion | Raw.messages.UnpinAllMessages | Raw.messages.DeleteChat | Raw.messages.DeletePhoneCallHistory | Raw.messages.CheckHistoryImport | Raw.messages.InitHistoryImport | Raw.messages.UploadImportedMedia | Raw.messages.StartHistoryImport | Raw.messages.GetExportedChatInvites | Raw.messages.GetExportedChatInvite | Raw.messages.EditExportedChatInvite | Raw.messages.DeleteRevokedExportedChatInvites | Raw.messages.DeleteExportedChatInvite | Raw.messages.GetAdminsWithInvites | Raw.messages.GetChatInviteImporters | Raw.messages.SetHistoryTTL | Raw.messages.CheckHistoryImportPeer | Raw.messages.SetChatTheme | Raw.messages.GetMessageReadParticipants | Raw.messages.GetSearchResultsCalendar | Raw.messages.GetSearchResultsPositions | Raw.messages.HideChatJoinRequest | Raw.messages.HideAllChatJoinRequests | Raw.messages.ToggleNoForwards | Raw.messages.SaveDefaultSendAs | Raw.messages.SendReaction | Raw.messages.GetMessagesReactions | Raw.messages.GetMessageReactionsList | Raw.messages.SetChatAvailableReactions | Raw.messages.GetAvailableReactions | Raw.messages.SetDefaultReaction | Raw.messages.TranslateText | Raw.messages.GetUnreadReactions | Raw.messages.ReadReactions | Raw.messages.SearchSentMedia | Raw.messages.GetAttachMenuBots | Raw.messages.GetAttachMenuBot | Raw.messages.ToggleBotInAttachMenu | Raw.messages.RequestWebView | Raw.messages.ProlongWebView | Raw.messages.RequestSimpleWebView | Raw.messages.SendWebViewResultMessage | Raw.messages.SendWebViewData | Raw.messages.TranscribeAudio | Raw.messages.RateTranscribedAudio | Raw.messages.GetCustomEmojiDocuments | Raw.messages.GetEmojiStickers | Raw.messages.GetFeaturedEmojiStickers | Raw.messages.ReportReaction | Raw.messages.GetTopReactions | Raw.messages.GetRecentReactions | Raw.messages.ClearRecentReactions | Raw.messages.GetExtendedMedia | Raw.messages.SetDefaultHistoryTTL | Raw.messages.GetDefaultHistoryTTL | Raw.messages.SendBotRequestedPeer | Raw.messages.GetEmojiGroups | Raw.messages.GetEmojiStatusGroups | Raw.messages.GetEmojiProfilePhotoGroups | Raw.messages.SearchCustomEmoji | Raw.messages.TogglePeerTranslations | Raw.messages.GetBotApp | Raw.messages.RequestAppWebView | Raw.messages.SetChatWallPaper | Raw.messages.SearchEmojiStickerSets | Raw.messages.GetSavedDialogs | Raw.messages.GetSavedHistory | Raw.messages.DeleteSavedHistory | Raw.messages.GetPinnedSavedDialogs | Raw.messages.ToggleSavedDialogPin | Raw.messages.ReorderPinnedSavedDialogs | Raw.messages.GetSavedReactionTags | Raw.messages.UpdateSavedReactionTag | Raw.messages.GetDefaultTagReactions | Raw.messages.GetOutboxReadDate | Raw.messages.GetQuickReplies | Raw.messages.ReorderQuickReplies | Raw.messages.CheckQuickReplyShortcut | Raw.messages.EditQuickReplyShortcut | Raw.messages.DeleteQuickReplyShortcut | Raw.messages.GetQuickReplyMessages | Raw.messages.SendQuickReplyMessages | Raw.messages.DeleteQuickReplyMessages | Raw.messages.ToggleDialogFilterTags | Raw.messages.GetMyStickers | Raw.messages.GetEmojiStickerGroups | Raw.messages.GetAvailableEffects | Raw.messages.EditFactCheck | Raw.messages.DeleteFactCheck | Raw.messages.GetFactCheck | Raw.messages.RequestMainWebView | Raw.messages.SendPaidReaction | Raw.messages.TogglePaidReactionPrivacy | Raw.messages.GetPaidReactionPrivacy | Raw.messages.ViewSponsoredMessage | Raw.messages.ClickSponsoredMessage | Raw.messages.ReportSponsoredMessage | Raw.messages.GetSponsoredMessages | Raw.messages.SavePreparedInlineMessage | Raw.messages.GetPreparedInlineMessage | Raw.messages.SearchStickers | Raw.messages.ReportMessagesDelivery | Raw.messages.GetSavedDialogsByID | Raw.messages.ReadSavedHistory | Raw.messages.ToggleTodoCompleted | Raw.messages.AppendTodoList | Raw.messages.ToggleSuggestedPostApproval | Raw.updates.GetState | Raw.updates.GetDifference | Raw.updates.GetChannelDifference | Raw.photos.UpdateProfilePhoto | Raw.photos.UploadProfilePhoto | Raw.photos.DeletePhotos | Raw.photos.GetUserPhotos | Raw.photos.UploadContactProfilePhoto | Raw.upload.SaveFilePart | Raw.upload.GetFile | Raw.upload.SaveBigFilePart | Raw.upload.GetWebFile | Raw.upload.GetCdnFile | Raw.upload.ReuploadCdnFile | Raw.upload.GetCdnFileHashes | Raw.upload.GetFileHashes | Raw.help.GetConfig | Raw.help.GetNearestDc | Raw.help.GetAppUpdate | Raw.help.GetInviteText | Raw.help.GetSupport | Raw.help.SetBotUpdatesStatus | Raw.help.GetCdnConfig | Raw.help.GetRecentMeUrls | Raw.help.GetTermsOfServiceUpdate | Raw.help.AcceptTermsOfService | Raw.help.GetDeepLinkInfo | Raw.help.GetAppConfig | Raw.help.SaveAppLog | Raw.help.GetPassportConfig | Raw.help.GetSupportName | Raw.help.GetUserInfo | Raw.help.EditUserInfo | Raw.help.GetPromoData | Raw.help.HidePromoData | Raw.help.DismissSuggestion | Raw.help.GetCountriesList | Raw.help.GetPremiumPromo | Raw.help.GetPeerColors | Raw.help.GetPeerProfileColors | Raw.help.GetTimezonesList | Raw.channels.ReadHistory | Raw.channels.DeleteMessages | Raw.channels.ReportSpam | Raw.channels.GetMessages | Raw.channels.GetParticipants | Raw.channels.GetParticipant | Raw.channels.GetChannels | Raw.channels.GetFullChannel | Raw.channels.CreateChannel | Raw.channels.EditAdmin | Raw.channels.EditTitle | Raw.channels.EditPhoto | Raw.channels.CheckUsername | Raw.channels.UpdateUsername | Raw.channels.JoinChannel | Raw.channels.LeaveChannel | Raw.channels.InviteToChannel | Raw.channels.DeleteChannel | Raw.channels.ExportMessageLink | Raw.channels.ToggleSignatures | Raw.channels.GetAdminedPublicChannels | Raw.channels.EditBanned | Raw.channels.GetAdminLog | Raw.channels.SetStickers | Raw.channels.ReadMessageContents | Raw.channels.DeleteHistory | Raw.channels.TogglePreHistoryHidden | Raw.channels.GetLeftChannels | Raw.channels.GetGroupsForDiscussion | Raw.channels.SetDiscussionGroup | Raw.channels.EditCreator | Raw.channels.EditLocation | Raw.channels.ToggleSlowMode | Raw.channels.GetInactiveChannels | Raw.channels.ConvertToGigagroup | Raw.channels.GetSendAs | Raw.channels.DeleteParticipantHistory | Raw.channels.ToggleJoinToSend | Raw.channels.ToggleJoinRequest | Raw.channels.ReorderUsernames | Raw.channels.ToggleUsername | Raw.channels.DeactivateAllUsernames | Raw.channels.ToggleForum | Raw.channels.CreateForumTopic | Raw.channels.GetForumTopics | Raw.channels.GetForumTopicsByID | Raw.channels.EditForumTopic | Raw.channels.UpdatePinnedForumTopic | Raw.channels.DeleteTopicHistory | Raw.channels.ReorderPinnedForumTopics | Raw.channels.ToggleAntiSpam | Raw.channels.ReportAntiSpamFalsePositive | Raw.channels.ToggleParticipantsHidden | Raw.channels.UpdateColor | Raw.channels.ToggleViewForumAsMessages | Raw.channels.GetChannelRecommendations | Raw.channels.UpdateEmojiStatus | Raw.channels.SetBoostsToUnblockRestrictions | Raw.channels.SetEmojiStickers | Raw.channels.RestrictSponsoredMessages | Raw.channels.SearchPosts | Raw.channels.UpdatePaidMessagesPrice | Raw.channels.ToggleAutotranslation | Raw.channels.GetMessageAuthor | Raw.channels.CheckSearchPostsFlood | Raw.bots.SendCustomRequest | Raw.bots.AnswerWebhookJSONQuery | Raw.bots.SetBotCommands | Raw.bots.ResetBotCommands | Raw.bots.GetBotCommands | Raw.bots.SetBotMenuButton | Raw.bots.GetBotMenuButton | Raw.bots.SetBotBroadcastDefaultAdminRights | Raw.bots.SetBotGroupDefaultAdminRights | Raw.bots.SetBotInfo | Raw.bots.GetBotInfo | Raw.bots.ReorderUsernames | Raw.bots.ToggleUsername | Raw.bots.CanSendMessage | Raw.bots.AllowSendMessage | Raw.bots.InvokeWebViewCustomMethod | Raw.bots.GetPopularAppBots | Raw.bots.AddPreviewMedia | Raw.bots.EditPreviewMedia | Raw.bots.DeletePreviewMedia | Raw.bots.ReorderPreviewMedias | Raw.bots.GetPreviewInfo | Raw.bots.GetPreviewMedias | Raw.bots.UpdateUserEmojiStatus | Raw.bots.ToggleUserEmojiStatusPermission | Raw.bots.CheckDownloadFileParams | Raw.bots.GetAdminedBots | Raw.bots.UpdateStarRefProgram | Raw.bots.SetCustomVerification | Raw.bots.GetBotRecommendations | Raw.payments.GetPaymentForm | Raw.payments.GetPaymentReceipt | Raw.payments.ValidateRequestedInfo | Raw.payments.SendPaymentForm | Raw.payments.GetSavedInfo | Raw.payments.ClearSavedInfo | Raw.payments.GetBankCardData | Raw.payments.ExportInvoice | Raw.payments.AssignAppStoreTransaction | Raw.payments.AssignPlayMarketTransaction | Raw.payments.GetPremiumGiftCodeOptions | Raw.payments.CheckGiftCode | Raw.payments.ApplyGiftCode | Raw.payments.GetGiveawayInfo | Raw.payments.LaunchPrepaidGiveaway | Raw.payments.GetStarsTopupOptions | Raw.payments.GetStarsStatus | Raw.payments.GetStarsTransactions | Raw.payments.SendStarsForm | Raw.payments.RefundStarsCharge | Raw.payments.GetStarsRevenueStats | Raw.payments.GetStarsRevenueWithdrawalUrl | Raw.payments.GetStarsRevenueAdsAccountUrl | Raw.payments.GetStarsTransactionsByID | Raw.payments.GetStarsGiftOptions | Raw.payments.GetStarsSubscriptions | Raw.payments.ChangeStarsSubscription | Raw.payments.FulfillStarsSubscription | Raw.payments.GetStarsGiveawayOptions | Raw.payments.GetStarGifts | Raw.payments.SaveStarGift | Raw.payments.ConvertStarGift | Raw.payments.BotCancelStarsSubscription | Raw.payments.GetConnectedStarRefBots | Raw.payments.GetConnectedStarRefBot | Raw.payments.GetSuggestedStarRefBots | Raw.payments.ConnectStarRefBot | Raw.payments.EditConnectedStarRefBot | Raw.payments.GetStarGiftUpgradePreview | Raw.payments.UpgradeStarGift | Raw.payments.TransferStarGift | Raw.payments.GetUniqueStarGift | Raw.payments.GetSavedStarGifts | Raw.payments.GetSavedStarGift | Raw.payments.GetStarGiftWithdrawalUrl | Raw.payments.ToggleChatStarGiftNotifications | Raw.payments.ToggleStarGiftsPinnedToTop | Raw.payments.CanPurchaseStore | Raw.payments.GetResaleStarGifts | Raw.payments.UpdateStarGiftPrice | Raw.payments.CreateStarGiftCollection | Raw.payments.UpdateStarGiftCollection | Raw.payments.ReorderStarGiftCollections | Raw.payments.DeleteStarGiftCollection | Raw.payments.GetStarGiftCollections | Raw.stickers.CreateStickerSet | Raw.stickers.RemoveStickerFromSet | Raw.stickers.ChangeStickerPosition | Raw.stickers.AddStickerToSet | Raw.stickers.SetStickerSetThumb | Raw.stickers.CheckShortName | Raw.stickers.SuggestShortName | Raw.stickers.ChangeSticker | Raw.stickers.RenameStickerSet | Raw.stickers.DeleteStickerSet | Raw.stickers.ReplaceSticker | Raw.phone.GetCallConfig | Raw.phone.RequestCall | Raw.phone.AcceptCall | Raw.phone.ConfirmCall | Raw.phone.ReceivedCall | Raw.phone.DiscardCall | Raw.phone.SetCallRating | Raw.phone.SaveCallDebug | Raw.phone.SendSignalingData | Raw.phone.CreateGroupCall | Raw.phone.JoinGroupCall | Raw.phone.LeaveGroupCall | Raw.phone.InviteToGroupCall | Raw.phone.DiscardGroupCall | Raw.phone.ToggleGroupCallSettings | Raw.phone.GetGroupCall | Raw.phone.GetGroupParticipants | Raw.phone.CheckGroupCall | Raw.phone.ToggleGroupCallRecord | Raw.phone.EditGroupCallParticipant | Raw.phone.EditGroupCallTitle | Raw.phone.GetGroupCallJoinAs | Raw.phone.ExportGroupCallInvite | Raw.phone.ToggleGroupCallStartSubscription | Raw.phone.StartScheduledGroupCall | Raw.phone.SaveDefaultGroupCallJoinAs | Raw.phone.JoinGroupCallPresentation | Raw.phone.LeaveGroupCallPresentation | Raw.phone.GetGroupCallStreamChannels | Raw.phone.GetGroupCallStreamRtmpUrl | Raw.phone.SaveCallLog | Raw.phone.CreateConferenceCall | Raw.phone.DeleteConferenceCallParticipants | Raw.phone.SendConferenceCallBroadcast | Raw.phone.InviteConferenceCallParticipant | Raw.phone.DeclineConferenceCallInvite | Raw.phone.GetGroupCallChainBlocks | Raw.langpack.GetLangPack | Raw.langpack.GetStrings | Raw.langpack.GetDifference | Raw.langpack.GetLanguages | Raw.langpack.GetLanguage | Raw.folders.EditPeerFolders | Raw.stats.GetBroadcastStats | Raw.stats.LoadAsyncGraph | Raw.stats.GetMegagroupStats | Raw.stats.GetMessagePublicForwards | Raw.stats.GetMessageStats | Raw.stats.GetStoryStats | Raw.stats.GetStoryPublicForwards | Raw.chatlists.ExportChatlistInvite | Raw.chatlists.DeleteExportedInvite | Raw.chatlists.EditExportedInvite | Raw.chatlists.GetExportedInvites | Raw.chatlists.CheckChatlistInvite | Raw.chatlists.JoinChatlistInvite | Raw.chatlists.GetChatlistUpdates | Raw.chatlists.JoinChatlistUpdates | Raw.chatlists.HideChatlistUpdates | Raw.chatlists.GetLeaveChatlistSuggestions | Raw.chatlists.LeaveChatlist | Raw.stories.CanSendStory | Raw.stories.SendStory | Raw.stories.EditStory | Raw.stories.DeleteStories | Raw.stories.TogglePinned | Raw.stories.GetAllStories | Raw.stories.GetPinnedStories | Raw.stories.GetStoriesArchive | Raw.stories.GetStoriesByID | Raw.stories.ToggleAllStoriesHidden | Raw.stories.ReadStories | Raw.stories.IncrementStoryViews | Raw.stories.GetStoryViewsList | Raw.stories.GetStoriesViews | Raw.stories.ExportStoryLink | Raw.stories.Report | Raw.stories.ActivateStealthMode | Raw.stories.SendReaction | Raw.stories.GetPeerStories | Raw.stories.GetAllReadPeerStories | Raw.stories.GetPeerMaxIDs | Raw.stories.GetChatsToSend | Raw.stories.TogglePeerStoriesHidden | Raw.stories.GetStoryReactionsList | Raw.stories.TogglePinnedToTop | Raw.stories.SearchPosts | Raw.stories.CreateAlbum | Raw.stories.UpdateAlbum | Raw.stories.ReorderAlbums | Raw.stories.DeleteAlbum | Raw.stories.GetAlbums | Raw.stories.GetAlbumStories | Raw.premium.GetBoostsList | Raw.premium.GetMyBoosts | Raw.premium.ApplyBoost | Raw.premium.GetBoostsStatus | Raw.premium.GetUserBoosts | Raw.smsjobs.IsEligibleToJoin | Raw.smsjobs.Join | Raw.smsjobs.Leave | Raw.smsjobs.UpdateSettings | Raw.smsjobs.GetStatus | Raw.smsjobs.GetSmsJob | Raw.smsjobs.FinishJob | Raw.fragment.GetCollectibleInfo;
19
19
  type TypeFileLocation = Raw.FileLocationUnavailable23 | Raw.FileLocation23;
20
20
  type TypeDecryptedMessage = Raw.DecryptedMessage8 | Raw.DecryptedMessageService8 | Raw.DecryptedMessage17 | Raw.DecryptedMessageService17 | Raw.DecryptedMessage45 | Raw.DecryptedMessage73;
21
21
  type TypeDecryptedMessageAction = Raw.DecryptedMessageActionSetMessageTTL8 | Raw.DecryptedMessageActionReadMessages8 | Raw.DecryptedMessageActionDeleteMessages8 | Raw.DecryptedMessageActionScreenshotMessages8 | Raw.DecryptedMessageActionFlushHistory8 | Raw.DecryptedMessageActionResend17 | Raw.DecryptedMessageActionNotifyLayer17 | Raw.DecryptedMessageActionTyping17 | Raw.DecryptedMessageActionRequestKey20 | Raw.DecryptedMessageActionAcceptKey20 | Raw.DecryptedMessageActionAbortKey20 | Raw.DecryptedMessageActionCommitKey20 | Raw.DecryptedMessageActionNoop20;
@@ -98,6 +98,8 @@ export declare namespace Raw {
98
98
  type TypeEmailVerification = Raw.EmailVerificationCode | Raw.EmailVerificationGoogle | Raw.EmailVerificationApple;
99
99
  type TypeCodeSettings = Raw.CodeSettings;
100
100
  type TypeInputClientProxy = Raw.InputClientProxy;
101
+ type TypeStoryAlbum = Raw.StoryAlbum;
102
+ type TypeStarGiftCollection = Raw.StarGiftCollection;
101
103
  type TypeStarGiftAttributeCounter = Raw.StarGiftAttributeCounter;
102
104
  type TypeStarGiftAttributeId = Raw.StarGiftAttributeIdModel | Raw.StarGiftAttributeIdPattern | Raw.StarGiftAttributeIdBackdrop;
103
105
  type TypeSponsoredPeer = Raw.SponsoredPeer;
@@ -236,7 +238,7 @@ export declare namespace Raw {
236
238
  type TypeSecurePasswordKdfAlgo = Raw.SecurePasswordKdfAlgoUnknown | Raw.SecurePasswordKdfAlgoPBKDF2HMACSHA512iter100000 | Raw.SecurePasswordKdfAlgoSHA512;
237
239
  type TypePasswordKdfAlgo = Raw.PasswordKdfAlgoUnknown | Raw.PasswordKdfAlgoSHA256SHA256PBKDF2HMACSHA512iter100000SHA256ModPow;
238
240
  type TypeAuthorization = Raw.Authorization;
239
- type TypeWebPageAttribute = Raw.WebPageAttributeTheme | Raw.WebPageAttributeStory | Raw.WebPageAttributeStickerSet | Raw.WebPageAttributeUniqueStarGift;
241
+ type TypeWebPageAttribute = Raw.WebPageAttributeTheme | Raw.WebPageAttributeStory | Raw.WebPageAttributeStickerSet | Raw.WebPageAttributeUniqueStarGift | Raw.WebPageAttributeStarGiftCollection;
240
242
  type TypePage = Raw.Page;
241
243
  type TypeMaskCoords = Raw.MaskCoords;
242
244
  type TypeInputUser = Raw.InputUserEmpty | Raw.InputUserSelf | Raw.InputUser | Raw.InputUserFromMessage;
@@ -275,6 +277,7 @@ export declare namespace Raw {
275
277
  type TypeSendMessageAction = Raw.SendMessageTypingAction | Raw.SendMessageCancelAction | Raw.SendMessageRecordVideoAction | Raw.SendMessageUploadVideoAction | Raw.SendMessageRecordAudioAction | Raw.SendMessageUploadAudioAction | Raw.SendMessageUploadPhotoAction | Raw.SendMessageUploadDocumentAction | Raw.SendMessageGeoLocationAction | Raw.SendMessageChooseContactAction | Raw.SendMessageGamePlayAction | Raw.SendMessageRecordRoundAction | Raw.SendMessageUploadRoundAction | Raw.SpeakingInGroupCallAction | Raw.SendMessageHistoryImportAction | Raw.SendMessageChooseStickerAction | Raw.SendMessageEmojiInteraction | Raw.SendMessageEmojiInteractionSeen | Raw.SendMessageUploadVideoAction17 | Raw.SendMessageUploadAudioAction17 | Raw.SendMessageUploadPhotoAction17 | Raw.SendMessageUploadDocumentAction17 | Raw.SendMessageUploadRoundAction66;
276
278
  type TypeChatFull = Raw.ChatFull | Raw.ChannelFull;
277
279
  type TypeForumTopic = Raw.ForumTopicDeleted | Raw.ForumTopic;
280
+ type TypeSearchPostsFlood = Raw.SearchPostsFlood;
278
281
  type TypeMessage = Raw.MessageEmpty | Raw.Message | Raw.MessageService;
279
282
  type TypeDialog = Raw.Dialog | Raw.DialogFolder;
280
283
  type TypeChat = Raw.ChatEmpty | Raw.Chat | Raw.ChatForbidden | Raw.Channel | Raw.ChannelForbidden;
@@ -282,6 +285,7 @@ export declare namespace Raw {
282
285
  type TypePopularContact = Raw.PopularContact;
283
286
  type TypeImportedContact = Raw.ImportedContact;
284
287
  type TypeContact = Raw.Contact;
288
+ type TypeStarsRating = Raw.StarsRating;
285
289
  type TypeDisallowedGiftsSettings = Raw.DisallowedGiftsSettings;
286
290
  type TypeStarRefProgram = Raw.StarRefProgram;
287
291
  type TypeBirthday = Raw.Birthday;
@@ -297,8 +301,8 @@ export declare namespace Raw {
297
301
  type TypePhotoSize = Raw.PhotoSizeEmpty | Raw.PhotoSize | Raw.PhotoCachedSize | Raw.PhotoStrippedSize | Raw.PhotoSizeProgressive | Raw.PhotoPathSize | Raw.PhotoSize23 | Raw.PhotoCachedSize23;
298
302
  type TypeFolder = Raw.Folder;
299
303
  type TypeDraftMessage = Raw.DraftMessageEmpty | Raw.DraftMessage;
300
- type TypeStarsAmount = Raw.StarsAmount | Raw.StarsTonAmount;
301
304
  type TypeTodoItem = Raw.TodoItem;
305
+ type TypeStarsAmount = Raw.StarsAmount | Raw.StarsTonAmount;
302
306
  type TypeStarGift = Raw.StarGift | Raw.StarGiftUnique;
303
307
  type TypeRequestedPeer = Raw.RequestedPeerUser | Raw.RequestedPeerChat | Raw.RequestedPeerChannel;
304
308
  type TypeTextWithEntities = Raw.TextWithEntities;
@@ -3086,7 +3090,7 @@ export declare namespace Raw {
3086
3090
  fromId?: Raw.TypePeer;
3087
3091
  peer?: Raw.TypePeer;
3088
3092
  savedId?: long;
3089
- resaleStars?: long;
3093
+ resaleAmount?: Raw.TypeStarsAmount;
3090
3094
  canTransferAt?: int;
3091
3095
  canResellAt?: int;
3092
3096
  constructor(params: {
@@ -3100,7 +3104,7 @@ export declare namespace Raw {
3100
3104
  fromId?: Raw.TypePeer;
3101
3105
  peer?: Raw.TypePeer;
3102
3106
  savedId?: long;
3103
- resaleStars?: long;
3107
+ resaleAmount?: Raw.TypeStarsAmount;
3104
3108
  canTransferAt?: int;
3105
3109
  canResellAt?: int;
3106
3110
  });
@@ -3654,6 +3658,9 @@ export declare namespace Raw {
3654
3658
  botVerification?: Raw.TypeBotVerification;
3655
3659
  sendPaidMessagesStars?: long;
3656
3660
  disallowedGifts?: Raw.TypeDisallowedGiftsSettings;
3661
+ starsRating?: Raw.TypeStarsRating;
3662
+ starsMyPendingRating?: Raw.TypeStarsRating;
3663
+ starsMyPendingRatingDate?: int;
3657
3664
  constructor(params: {
3658
3665
  blocked?: boolean;
3659
3666
  phoneCallsAvailable?: boolean;
@@ -3703,6 +3710,9 @@ export declare namespace Raw {
3703
3710
  botVerification?: Raw.TypeBotVerification;
3704
3711
  sendPaidMessagesStars?: long;
3705
3712
  disallowedGifts?: Raw.TypeDisallowedGiftsSettings;
3713
+ starsRating?: Raw.TypeStarsRating;
3714
+ starsMyPendingRating?: Raw.TypeStarsRating;
3715
+ starsMyPendingRatingDate?: int;
3706
3716
  });
3707
3717
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.UserFull>;
3708
3718
  write(): Buffer;
@@ -11109,6 +11119,14 @@ export declare namespace Raw {
11109
11119
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.WebPageAttributeUniqueStarGift>;
11110
11120
  write(): Buffer;
11111
11121
  }
11122
+ class WebPageAttributeStarGiftCollection extends TLObject {
11123
+ icons: Vector<Raw.TypeDocument>;
11124
+ constructor(params: {
11125
+ icons: Vector<Raw.TypeDocument>;
11126
+ });
11127
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.WebPageAttributeStarGiftCollection>;
11128
+ write(): Buffer;
11129
+ }
11112
11130
  class BankCardOpenUrl extends TLObject {
11113
11131
  url: string;
11114
11132
  name: string;
@@ -12111,9 +12129,11 @@ export declare namespace Raw {
12111
12129
  write(): Buffer;
12112
12130
  }
12113
12131
  class InputInvoiceStarGiftResale extends TLObject {
12132
+ ton?: boolean;
12114
12133
  slug: string;
12115
12134
  toId: Raw.TypeInputPeer;
12116
12135
  constructor(params: {
12136
+ ton?: boolean;
12117
12137
  slug: string;
12118
12138
  toId: Raw.TypeInputPeer;
12119
12139
  });
@@ -12860,6 +12880,7 @@ export declare namespace Raw {
12860
12880
  privacy?: Vector<Raw.TypePrivacyRule>;
12861
12881
  views?: Raw.TypeStoryViews;
12862
12882
  sentReaction?: Raw.TypeReaction;
12883
+ albums?: Vector<int>;
12863
12884
  constructor(params: {
12864
12885
  pinned?: boolean;
12865
12886
  public?: boolean;
@@ -12882,6 +12903,7 @@ export declare namespace Raw {
12882
12903
  privacy?: Vector<Raw.TypePrivacyRule>;
12883
12904
  views?: Raw.TypeStoryViews;
12884
12905
  sentReaction?: Raw.TypeReaction;
12906
+ albums?: Vector<int>;
12885
12907
  });
12886
12908
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.StoryItem>;
12887
12909
  write(): Buffer;
@@ -13922,6 +13944,7 @@ export declare namespace Raw {
13922
13944
  stargiftUpgrade?: boolean;
13923
13945
  businessTransfer?: boolean;
13924
13946
  stargiftResale?: boolean;
13947
+ postsSearch?: boolean;
13925
13948
  id: string;
13926
13949
  amount: Raw.TypeStarsAmount;
13927
13950
  date: int;
@@ -13954,6 +13977,7 @@ export declare namespace Raw {
13954
13977
  stargiftUpgrade?: boolean;
13955
13978
  businessTransfer?: boolean;
13956
13979
  stargiftResale?: boolean;
13980
+ postsSearch?: boolean;
13957
13981
  id: string;
13958
13982
  amount: Raw.TypeStarsAmount;
13959
13983
  date: int;
@@ -14151,6 +14175,8 @@ export declare namespace Raw {
14151
14175
  limited?: boolean;
14152
14176
  soldOut?: boolean;
14153
14177
  birthday?: boolean;
14178
+ requirePremium?: boolean;
14179
+ limitedPerUser?: boolean;
14154
14180
  id: long;
14155
14181
  sticker: Raw.TypeDocument;
14156
14182
  stars: long;
@@ -14164,10 +14190,14 @@ export declare namespace Raw {
14164
14190
  resellMinStars?: long;
14165
14191
  title?: string;
14166
14192
  releasedBy?: Raw.TypePeer;
14193
+ perUserTotal?: int;
14194
+ perUserRemains?: int;
14167
14195
  constructor(params: {
14168
14196
  limited?: boolean;
14169
14197
  soldOut?: boolean;
14170
14198
  birthday?: boolean;
14199
+ requirePremium?: boolean;
14200
+ limitedPerUser?: boolean;
14171
14201
  id: long;
14172
14202
  sticker: Raw.TypeDocument;
14173
14203
  stars: long;
@@ -14181,11 +14211,15 @@ export declare namespace Raw {
14181
14211
  resellMinStars?: long;
14182
14212
  title?: string;
14183
14213
  releasedBy?: Raw.TypePeer;
14214
+ perUserTotal?: int;
14215
+ perUserRemains?: int;
14184
14216
  });
14185
14217
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.StarGift>;
14186
14218
  write(): Buffer;
14187
14219
  }
14188
14220
  class StarGiftUnique extends TLObject {
14221
+ requirePremium?: boolean;
14222
+ resaleTonOnly?: boolean;
14189
14223
  id: long;
14190
14224
  title: string;
14191
14225
  slug: string;
@@ -14197,9 +14231,11 @@ export declare namespace Raw {
14197
14231
  availabilityIssued: int;
14198
14232
  availabilityTotal: int;
14199
14233
  giftAddress?: string;
14200
- resellStars?: long;
14234
+ resellAmount?: Vector<Raw.TypeStarsAmount>;
14201
14235
  releasedBy?: Raw.TypePeer;
14202
14236
  constructor(params: {
14237
+ requirePremium?: boolean;
14238
+ resaleTonOnly?: boolean;
14203
14239
  id: long;
14204
14240
  title: string;
14205
14241
  slug: string;
@@ -14211,7 +14247,7 @@ export declare namespace Raw {
14211
14247
  availabilityIssued: int;
14212
14248
  availabilityTotal: int;
14213
14249
  giftAddress?: string;
14214
- resellStars?: long;
14250
+ resellAmount?: Vector<Raw.TypeStarsAmount>;
14215
14251
  releasedBy?: Raw.TypePeer;
14216
14252
  });
14217
14253
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.StarGiftUnique>;
@@ -14426,6 +14462,7 @@ export declare namespace Raw {
14426
14462
  transferStars?: long;
14427
14463
  canTransferAt?: int;
14428
14464
  canResellAt?: int;
14465
+ collectionId?: Vector<int>;
14429
14466
  constructor(params: {
14430
14467
  nameHidden?: boolean;
14431
14468
  unsaved?: boolean;
@@ -14444,6 +14481,7 @@ export declare namespace Raw {
14444
14481
  transferStars?: long;
14445
14482
  canTransferAt?: int;
14446
14483
  canResellAt?: int;
14484
+ collectionId?: Vector<int>;
14447
14485
  });
14448
14486
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.SavedStarGift>;
14449
14487
  write(): Buffer;
@@ -14670,6 +14708,66 @@ export declare namespace Raw {
14670
14708
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.SuggestedPost>;
14671
14709
  write(): Buffer;
14672
14710
  }
14711
+ class StarsRating extends TLObject {
14712
+ level: int;
14713
+ currentLevelStars: long;
14714
+ stars: long;
14715
+ nextLevelStars?: long;
14716
+ constructor(params: {
14717
+ level: int;
14718
+ currentLevelStars: long;
14719
+ stars: long;
14720
+ nextLevelStars?: long;
14721
+ });
14722
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.StarsRating>;
14723
+ write(): Buffer;
14724
+ }
14725
+ class StarGiftCollection extends TLObject {
14726
+ collectionId: int;
14727
+ title: string;
14728
+ icon?: Raw.TypeDocument;
14729
+ giftsCount: int;
14730
+ hash: long;
14731
+ constructor(params: {
14732
+ collectionId: int;
14733
+ title: string;
14734
+ icon?: Raw.TypeDocument;
14735
+ giftsCount: int;
14736
+ hash: long;
14737
+ });
14738
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.StarGiftCollection>;
14739
+ write(): Buffer;
14740
+ }
14741
+ class StoryAlbum extends TLObject {
14742
+ albumId: int;
14743
+ title: string;
14744
+ iconPhoto?: Raw.TypePhoto;
14745
+ iconVideo?: Raw.TypeDocument;
14746
+ constructor(params: {
14747
+ albumId: int;
14748
+ title: string;
14749
+ iconPhoto?: Raw.TypePhoto;
14750
+ iconVideo?: Raw.TypeDocument;
14751
+ });
14752
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.StoryAlbum>;
14753
+ write(): Buffer;
14754
+ }
14755
+ class SearchPostsFlood extends TLObject {
14756
+ queryIsFree?: boolean;
14757
+ totalDaily: int;
14758
+ remains: int;
14759
+ waitTill?: int;
14760
+ starsAmount: long;
14761
+ constructor(params: {
14762
+ queryIsFree?: boolean;
14763
+ totalDaily: int;
14764
+ remains: int;
14765
+ waitTill?: int;
14766
+ starsAmount: long;
14767
+ });
14768
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.SearchPostsFlood>;
14769
+ write(): Buffer;
14770
+ }
14673
14771
  class InvokeAfterMsg extends TLObject {
14674
14772
  __response__: X;
14675
14773
  msgId: long;
@@ -17172,6 +17270,7 @@ export declare namespace Raw {
17172
17270
  count: int;
17173
17271
  nextRate?: int;
17174
17272
  offsetIdOffset?: int;
17273
+ searchFlood?: Raw.TypeSearchPostsFlood;
17175
17274
  messages: Vector<Raw.TypeMessage>;
17176
17275
  chats: Vector<Raw.TypeChat>;
17177
17276
  users: Vector<Raw.TypeUser>;
@@ -17180,6 +17279,7 @@ export declare namespace Raw {
17180
17279
  count: int;
17181
17280
  nextRate?: int;
17182
17281
  offsetIdOffset?: int;
17282
+ searchFlood?: Raw.TypeSearchPostsFlood;
17183
17283
  messages: Vector<Raw.TypeMessage>;
17184
17284
  chats: Vector<Raw.TypeChat>;
17185
17285
  users: Vector<Raw.TypeUser>;
@@ -23935,17 +24035,21 @@ export declare namespace Raw {
23935
24035
  }
23936
24036
  class SearchPosts extends TLObject {
23937
24037
  __response__: Raw.messages.TypeMessages;
23938
- hashtag: string;
24038
+ hashtag?: string;
24039
+ query?: string;
23939
24040
  offsetRate: int;
23940
24041
  offsetPeer: Raw.TypeInputPeer;
23941
24042
  offsetId: int;
23942
24043
  limit: int;
24044
+ allowPaidStars?: long;
23943
24045
  constructor(params: {
23944
- hashtag: string;
24046
+ hashtag?: string;
24047
+ query?: string;
23945
24048
  offsetRate: int;
23946
24049
  offsetPeer: Raw.TypeInputPeer;
23947
24050
  offsetId: int;
23948
24051
  limit: int;
24052
+ allowPaidStars?: long;
23949
24053
  });
23950
24054
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.channels.SearchPosts>;
23951
24055
  write(): Buffer;
@@ -23985,8 +24089,18 @@ export declare namespace Raw {
23985
24089
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.channels.GetMessageAuthor>;
23986
24090
  write(): Buffer;
23987
24091
  }
24092
+ class CheckSearchPostsFlood extends TLObject {
24093
+ __response__: Raw.TypeSearchPostsFlood;
24094
+ query?: string;
24095
+ constructor(params: {
24096
+ query?: string;
24097
+ });
24098
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.channels.CheckSearchPostsFlood>;
24099
+ write(): Buffer;
24100
+ }
23988
24101
  }
23989
24102
  namespace payments {
24103
+ type TypeStarGiftCollections = Raw.payments.StarGiftCollectionsNotModified | Raw.payments.StarGiftCollections;
23990
24104
  type TypeResaleStarGifts = Raw.payments.ResaleStarGifts;
23991
24105
  type TypeStarGiftWithdrawalUrl = Raw.payments.StarGiftWithdrawalUrl;
23992
24106
  type TypeSavedStarGifts = Raw.payments.SavedStarGifts;
@@ -24417,6 +24531,19 @@ export declare namespace Raw {
24417
24531
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.payments.ResaleStarGifts>;
24418
24532
  write(): Buffer;
24419
24533
  }
24534
+ class StarGiftCollectionsNotModified extends TLObject {
24535
+ constructor();
24536
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.payments.StarGiftCollectionsNotModified>;
24537
+ write(): Buffer;
24538
+ }
24539
+ class StarGiftCollections extends TLObject {
24540
+ collections: Vector<Raw.TypeStarGiftCollection>;
24541
+ constructor(params: {
24542
+ collections: Vector<Raw.TypeStarGiftCollection>;
24543
+ });
24544
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.payments.StarGiftCollections>;
24545
+ write(): Buffer;
24546
+ }
24420
24547
  class GetPaymentForm extends TLObject {
24421
24548
  __response__: Raw.payments.TypePaymentForm;
24422
24549
  invoice: Raw.TypeInputInvoice;
@@ -24901,6 +25028,7 @@ export declare namespace Raw {
24901
25028
  excludeUnique?: boolean;
24902
25029
  sortByValue?: boolean;
24903
25030
  peer: Raw.TypeInputPeer;
25031
+ collectionId?: int;
24904
25032
  offset: string;
24905
25033
  limit: int;
24906
25034
  constructor(params: {
@@ -24911,6 +25039,7 @@ export declare namespace Raw {
24911
25039
  excludeUnique?: boolean;
24912
25040
  sortByValue?: boolean;
24913
25041
  peer: Raw.TypeInputPeer;
25042
+ collectionId?: int;
24914
25043
  offset: string;
24915
25044
  limit: int;
24916
25045
  });
@@ -24992,14 +25121,79 @@ export declare namespace Raw {
24992
25121
  class UpdateStarGiftPrice extends TLObject {
24993
25122
  __response__: Raw.TypeUpdates;
24994
25123
  stargift: Raw.TypeInputSavedStarGift;
24995
- resellStars: long;
25124
+ resellAmount: Raw.TypeStarsAmount;
24996
25125
  constructor(params: {
24997
25126
  stargift: Raw.TypeInputSavedStarGift;
24998
- resellStars: long;
25127
+ resellAmount: Raw.TypeStarsAmount;
24999
25128
  });
25000
25129
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.payments.UpdateStarGiftPrice>;
25001
25130
  write(): Buffer;
25002
25131
  }
25132
+ class CreateStarGiftCollection extends TLObject {
25133
+ __response__: Raw.TypeStarGiftCollection;
25134
+ peer: Raw.TypeInputPeer;
25135
+ title: string;
25136
+ stargift: Vector<Raw.TypeInputSavedStarGift>;
25137
+ constructor(params: {
25138
+ peer: Raw.TypeInputPeer;
25139
+ title: string;
25140
+ stargift: Vector<Raw.TypeInputSavedStarGift>;
25141
+ });
25142
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.payments.CreateStarGiftCollection>;
25143
+ write(): Buffer;
25144
+ }
25145
+ class UpdateStarGiftCollection extends TLObject {
25146
+ __response__: Raw.TypeStarGiftCollection;
25147
+ peer: Raw.TypeInputPeer;
25148
+ collectionId: int;
25149
+ title?: string;
25150
+ deleteStargift?: Vector<Raw.TypeInputSavedStarGift>;
25151
+ addStargift?: Vector<Raw.TypeInputSavedStarGift>;
25152
+ order?: Vector<Raw.TypeInputSavedStarGift>;
25153
+ constructor(params: {
25154
+ peer: Raw.TypeInputPeer;
25155
+ collectionId: int;
25156
+ title?: string;
25157
+ deleteStargift?: Vector<Raw.TypeInputSavedStarGift>;
25158
+ addStargift?: Vector<Raw.TypeInputSavedStarGift>;
25159
+ order?: Vector<Raw.TypeInputSavedStarGift>;
25160
+ });
25161
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.payments.UpdateStarGiftCollection>;
25162
+ write(): Buffer;
25163
+ }
25164
+ class ReorderStarGiftCollections extends TLObject {
25165
+ __response__: Bool;
25166
+ peer: Raw.TypeInputPeer;
25167
+ order: Vector<int>;
25168
+ constructor(params: {
25169
+ peer: Raw.TypeInputPeer;
25170
+ order: Vector<int>;
25171
+ });
25172
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.payments.ReorderStarGiftCollections>;
25173
+ write(): Buffer;
25174
+ }
25175
+ class DeleteStarGiftCollection extends TLObject {
25176
+ __response__: Bool;
25177
+ peer: Raw.TypeInputPeer;
25178
+ collectionId: int;
25179
+ constructor(params: {
25180
+ peer: Raw.TypeInputPeer;
25181
+ collectionId: int;
25182
+ });
25183
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.payments.DeleteStarGiftCollection>;
25184
+ write(): Buffer;
25185
+ }
25186
+ class GetStarGiftCollections extends TLObject {
25187
+ __response__: Raw.payments.TypeStarGiftCollections;
25188
+ peer: Raw.TypeInputPeer;
25189
+ hash: long;
25190
+ constructor(params: {
25191
+ peer: Raw.TypeInputPeer;
25192
+ hash: long;
25193
+ });
25194
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.payments.GetStarGiftCollections>;
25195
+ write(): Buffer;
25196
+ }
25003
25197
  }
25004
25198
  namespace phone {
25005
25199
  type TypeGroupCallStreamRtmpUrl = Raw.phone.GroupCallStreamRtmpUrl;
@@ -26576,6 +26770,7 @@ export declare namespace Raw {
26576
26770
  }
26577
26771
  }
26578
26772
  namespace stories {
26773
+ type TypeAlbums = Raw.stories.AlbumsNotModified | Raw.stories.Albums;
26579
26774
  type TypeFoundStories = Raw.stories.FoundStories;
26580
26775
  type TypeStoryReactionsList = Raw.stories.StoryReactionsList;
26581
26776
  type TypePeerStories = Raw.stories.PeerStories;
@@ -26714,6 +26909,21 @@ export declare namespace Raw {
26714
26909
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.stories.CanSendStoryCount>;
26715
26910
  write(): Buffer;
26716
26911
  }
26912
+ class AlbumsNotModified extends TLObject {
26913
+ constructor();
26914
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.stories.AlbumsNotModified>;
26915
+ write(): Buffer;
26916
+ }
26917
+ class Albums extends TLObject {
26918
+ hash: long;
26919
+ albums: Vector<Raw.TypeStoryAlbum>;
26920
+ constructor(params: {
26921
+ hash: long;
26922
+ albums: Vector<Raw.TypeStoryAlbum>;
26923
+ });
26924
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.stories.Albums>;
26925
+ write(): Buffer;
26926
+ }
26717
26927
  class CanSendStory extends TLObject {
26718
26928
  __response__: Raw.stories.TypeCanSendStoryCount;
26719
26929
  peer: Raw.TypeInputPeer;
@@ -26738,6 +26948,7 @@ export declare namespace Raw {
26738
26948
  period?: int;
26739
26949
  fwdFromId?: Raw.TypeInputPeer;
26740
26950
  fwdFromStory?: int;
26951
+ albums?: Vector<int>;
26741
26952
  constructor(params: {
26742
26953
  pinned?: boolean;
26743
26954
  noforwards?: boolean;
@@ -26752,6 +26963,7 @@ export declare namespace Raw {
26752
26963
  period?: int;
26753
26964
  fwdFromId?: Raw.TypeInputPeer;
26754
26965
  fwdFromStory?: int;
26966
+ albums?: Vector<int>;
26755
26967
  });
26756
26968
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.stories.SendStory>;
26757
26969
  write(): Buffer;
@@ -27056,6 +27268,86 @@ export declare namespace Raw {
27056
27268
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.stories.SearchPosts>;
27057
27269
  write(): Buffer;
27058
27270
  }
27271
+ class CreateAlbum extends TLObject {
27272
+ __response__: Raw.TypeStoryAlbum;
27273
+ peer: Raw.TypeInputPeer;
27274
+ title: string;
27275
+ stories: Vector<int>;
27276
+ constructor(params: {
27277
+ peer: Raw.TypeInputPeer;
27278
+ title: string;
27279
+ stories: Vector<int>;
27280
+ });
27281
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.stories.CreateAlbum>;
27282
+ write(): Buffer;
27283
+ }
27284
+ class UpdateAlbum extends TLObject {
27285
+ __response__: Raw.TypeStoryAlbum;
27286
+ peer: Raw.TypeInputPeer;
27287
+ albumId: int;
27288
+ title?: string;
27289
+ deleteStories?: Vector<int>;
27290
+ addStories?: Vector<int>;
27291
+ order?: Vector<int>;
27292
+ constructor(params: {
27293
+ peer: Raw.TypeInputPeer;
27294
+ albumId: int;
27295
+ title?: string;
27296
+ deleteStories?: Vector<int>;
27297
+ addStories?: Vector<int>;
27298
+ order?: Vector<int>;
27299
+ });
27300
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.stories.UpdateAlbum>;
27301
+ write(): Buffer;
27302
+ }
27303
+ class ReorderAlbums extends TLObject {
27304
+ __response__: Bool;
27305
+ peer: Raw.TypeInputPeer;
27306
+ order: Vector<int>;
27307
+ constructor(params: {
27308
+ peer: Raw.TypeInputPeer;
27309
+ order: Vector<int>;
27310
+ });
27311
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.stories.ReorderAlbums>;
27312
+ write(): Buffer;
27313
+ }
27314
+ class DeleteAlbum extends TLObject {
27315
+ __response__: Bool;
27316
+ peer: Raw.TypeInputPeer;
27317
+ albumId: int;
27318
+ constructor(params: {
27319
+ peer: Raw.TypeInputPeer;
27320
+ albumId: int;
27321
+ });
27322
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.stories.DeleteAlbum>;
27323
+ write(): Buffer;
27324
+ }
27325
+ class GetAlbums extends TLObject {
27326
+ __response__: Raw.stories.TypeAlbums;
27327
+ peer: Raw.TypeInputPeer;
27328
+ hash: long;
27329
+ constructor(params: {
27330
+ peer: Raw.TypeInputPeer;
27331
+ hash: long;
27332
+ });
27333
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.stories.GetAlbums>;
27334
+ write(): Buffer;
27335
+ }
27336
+ class GetAlbumStories extends TLObject {
27337
+ __response__: Raw.stories.TypeStories;
27338
+ peer: Raw.TypeInputPeer;
27339
+ albumId: int;
27340
+ offset: int;
27341
+ limit: int;
27342
+ constructor(params: {
27343
+ peer: Raw.TypeInputPeer;
27344
+ albumId: int;
27345
+ offset: int;
27346
+ limit: int;
27347
+ });
27348
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.stories.GetAlbumStories>;
27349
+ write(): Buffer;
27350
+ }
27059
27351
  }
27060
27352
  namespace premium {
27061
27353
  type TypeBoostsStatus = Raw.premium.BoostsStatus;