@tgsnake/skema 1.2.0 → 1.4.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.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.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.account.SetMainProfileTab | Raw.account.SaveMusic | Raw.account.GetSavedMusicIds | Raw.account.GetUniqueGiftChatThemes | Raw.users.GetUsers | Raw.users.GetFullUser | Raw.users.SetSecureValueErrors | Raw.users.GetRequirementsToContact | Raw.users.GetSavedMusic | Raw.users.GetSavedMusicByID | 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.channels.SetMainProfileTab | 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.payments.GetUniqueStarGiftValueInfo | Raw.payments.CheckCanSendGift | 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;
@@ -33,7 +33,7 @@ export declare namespace Raw {
33
33
  type TypeInputStarsTransaction = Raw.InputStarsTransaction;
34
34
  type TypeStarsTopupOption = Raw.StarsTopupOption;
35
35
  type TypeInputPaymentCredentials = Raw.InputPaymentCredentialsSaved | Raw.InputPaymentCredentials | Raw.InputPaymentCredentialsApplePay | Raw.InputPaymentCredentialsGooglePay;
36
- type TypeInputInvoice = Raw.InputInvoiceMessage | Raw.InputInvoiceSlug | Raw.InputInvoicePremiumGiftCode | Raw.InputInvoiceStars | Raw.InputInvoiceChatInviteSubscription | Raw.InputInvoiceStarGift | Raw.InputInvoiceStarGiftUpgrade | Raw.InputInvoiceStarGiftTransfer | Raw.InputInvoicePremiumGiftStars | Raw.InputInvoiceBusinessBotTransferStars | Raw.InputInvoiceStarGiftResale;
36
+ type TypeInputInvoice = Raw.InputInvoiceMessage | Raw.InputInvoiceSlug | Raw.InputInvoicePremiumGiftCode | Raw.InputInvoiceStars | Raw.InputInvoiceChatInviteSubscription | Raw.InputInvoiceStarGift | Raw.InputInvoiceStarGiftUpgrade | Raw.InputInvoiceStarGiftTransfer | Raw.InputInvoicePremiumGiftStars | Raw.InputInvoiceBusinessBotTransferStars | Raw.InputInvoiceStarGiftResale | Raw.InputInvoiceStarGiftPrepaidUpgrade;
37
37
  type TypeBotCommandScope = Raw.BotCommandScopeDefault | Raw.BotCommandScopeUsers | Raw.BotCommandScopeChats | Raw.BotCommandScopeChatAdmins | Raw.BotCommandScopePeer | Raw.BotCommandScopePeerAdmins | Raw.BotCommandScopePeerUser;
38
38
  type TypeChannelAdminLogEventsFilter = Raw.ChannelAdminLogEventsFilter;
39
39
  type TypeExportedMessageLink = Raw.ExportedMessageLink;
@@ -53,6 +53,7 @@ export declare namespace Raw {
53
53
  type TypeAttachMenuBotsBot = Raw.AttachMenuBotsBot;
54
54
  type TypeAttachMenuBots = Raw.AttachMenuBotsNotModified | Raw.AttachMenuBots;
55
55
  type TypeReadParticipantDate = Raw.ReadParticipantDate;
56
+ type TypeInputChatTheme = Raw.InputChatThemeEmpty | Raw.InputChatTheme | Raw.InputChatThemeUniqueGift;
56
57
  type TypeDialogFilterSuggested = Raw.DialogFilterSuggested;
57
58
  type TypeUrlAuthResult = Raw.UrlAuthResultRequest | Raw.UrlAuthResultAccepted | Raw.UrlAuthResultDefault;
58
59
  type TypeEmojiURL = Raw.EmojiURL;
@@ -98,6 +99,7 @@ export declare namespace Raw {
98
99
  type TypeEmailVerification = Raw.EmailVerificationCode | Raw.EmailVerificationGoogle | Raw.EmailVerificationApple;
99
100
  type TypeCodeSettings = Raw.CodeSettings;
100
101
  type TypeInputClientProxy = Raw.InputClientProxy;
102
+ type TypeStoryAlbum = Raw.StoryAlbum;
101
103
  type TypeStarGiftCollection = Raw.StarGiftCollection;
102
104
  type TypeStarGiftAttributeCounter = Raw.StarGiftAttributeCounter;
103
105
  type TypeStarGiftAttributeId = Raw.StarGiftAttributeIdModel | Raw.StarGiftAttributeIdPattern | Raw.StarGiftAttributeIdBackdrop;
@@ -237,7 +239,7 @@ export declare namespace Raw {
237
239
  type TypeSecurePasswordKdfAlgo = Raw.SecurePasswordKdfAlgoUnknown | Raw.SecurePasswordKdfAlgoPBKDF2HMACSHA512iter100000 | Raw.SecurePasswordKdfAlgoSHA512;
238
240
  type TypePasswordKdfAlgo = Raw.PasswordKdfAlgoUnknown | Raw.PasswordKdfAlgoSHA256SHA256PBKDF2HMACSHA512iter100000SHA256ModPow;
239
241
  type TypeAuthorization = Raw.Authorization;
240
- type TypeWebPageAttribute = Raw.WebPageAttributeTheme | Raw.WebPageAttributeStory | Raw.WebPageAttributeStickerSet | Raw.WebPageAttributeUniqueStarGift;
242
+ type TypeWebPageAttribute = Raw.WebPageAttributeTheme | Raw.WebPageAttributeStory | Raw.WebPageAttributeStickerSet | Raw.WebPageAttributeUniqueStarGift | Raw.WebPageAttributeStarGiftCollection;
241
243
  type TypePage = Raw.Page;
242
244
  type TypeMaskCoords = Raw.MaskCoords;
243
245
  type TypeInputUser = Raw.InputUserEmpty | Raw.InputUserSelf | Raw.InputUser | Raw.InputUserFromMessage;
@@ -276,6 +278,7 @@ export declare namespace Raw {
276
278
  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;
277
279
  type TypeChatFull = Raw.ChatFull | Raw.ChannelFull;
278
280
  type TypeForumTopic = Raw.ForumTopicDeleted | Raw.ForumTopic;
281
+ type TypeSearchPostsFlood = Raw.SearchPostsFlood;
279
282
  type TypeMessage = Raw.MessageEmpty | Raw.Message | Raw.MessageService;
280
283
  type TypeDialog = Raw.Dialog | Raw.DialogFolder;
281
284
  type TypeChat = Raw.ChatEmpty | Raw.Chat | Raw.ChatForbidden | Raw.Channel | Raw.ChannelForbidden;
@@ -299,11 +302,12 @@ export declare namespace Raw {
299
302
  type TypePhotoSize = Raw.PhotoSizeEmpty | Raw.PhotoSize | Raw.PhotoCachedSize | Raw.PhotoStrippedSize | Raw.PhotoSizeProgressive | Raw.PhotoPathSize | Raw.PhotoSize23 | Raw.PhotoCachedSize23;
300
303
  type TypeFolder = Raw.Folder;
301
304
  type TypeDraftMessage = Raw.DraftMessageEmpty | Raw.DraftMessage;
302
- type TypeStarsAmount = Raw.StarsAmount | Raw.StarsTonAmount;
303
305
  type TypeTodoItem = Raw.TodoItem;
306
+ type TypeStarsAmount = Raw.StarsAmount | Raw.StarsTonAmount;
304
307
  type TypeStarGift = Raw.StarGift | Raw.StarGiftUnique;
305
308
  type TypeRequestedPeer = Raw.RequestedPeerUser | Raw.RequestedPeerChat | Raw.RequestedPeerChannel;
306
309
  type TypeTextWithEntities = Raw.TextWithEntities;
310
+ type TypeChatTheme = Raw.ChatTheme | Raw.ChatThemeUniqueGift;
307
311
  type TypeSecureValueType = Raw.SecureValueTypePersonalDetails | Raw.SecureValueTypePassport | Raw.SecureValueTypeDriverLicense | Raw.SecureValueTypeIdentityCard | Raw.SecureValueTypeInternalPassport | Raw.SecureValueTypeAddress | Raw.SecureValueTypeUtilityBill | Raw.SecureValueTypeBankStatement | Raw.SecureValueTypeRentalAgreement | Raw.SecureValueTypePassportRegistration | Raw.SecureValueTypeTemporaryRegistration | Raw.SecureValueTypePhone | Raw.SecureValueTypeEmail;
308
312
  type TypeSecureCredentialsEncrypted = Raw.SecureCredentialsEncrypted;
309
313
  type TypeSecureValue = Raw.SecureValue;
@@ -330,6 +334,7 @@ export declare namespace Raw {
330
334
  type TypeMessageReplyHeader = Raw.MessageReplyHeader | Raw.MessageReplyStoryHeader;
331
335
  type TypeMessageFwdHeader = Raw.MessageFwdHeader;
332
336
  type TypeChatParticipant = Raw.ChatParticipant | Raw.ChatParticipantCreator | Raw.ChatParticipantAdmin;
337
+ type TypeProfileTab = Raw.ProfileTabPosts | Raw.ProfileTabGifts | Raw.ProfileTabMedia | Raw.ProfileTabFiles | Raw.ProfileTabMusic | Raw.ProfileTabVoice | Raw.ProfileTabLinks | Raw.ProfileTabGifs;
333
338
  type TypeBotVerification = Raw.BotVerification;
334
339
  type TypeWallPaper = Raw.WallPaper | Raw.WallPaperNoFile;
335
340
  type TypePeerStories = Raw.PeerStories;
@@ -2013,6 +2018,7 @@ export declare namespace Raw {
2013
2018
  botVerification?: Raw.TypeBotVerification;
2014
2019
  stargiftsCount?: int;
2015
2020
  sendPaidMessagesStars?: long;
2021
+ mainTab?: Raw.TypeProfileTab;
2016
2022
  constructor(params: {
2017
2023
  canViewParticipants?: boolean;
2018
2024
  canSetUsername?: boolean;
@@ -2079,6 +2085,7 @@ export declare namespace Raw {
2079
2085
  botVerification?: Raw.TypeBotVerification;
2080
2086
  stargiftsCount?: int;
2081
2087
  sendPaidMessagesStars?: long;
2088
+ mainTab?: Raw.TypeProfileTab;
2082
2089
  });
2083
2090
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.ChannelFull>;
2084
2091
  write(): Buffer;
@@ -2825,9 +2832,9 @@ export declare namespace Raw {
2825
2832
  write(): Buffer;
2826
2833
  }
2827
2834
  class MessageActionSetChatTheme extends TLObject {
2828
- emoticon: string;
2835
+ theme: Raw.TypeChatTheme;
2829
2836
  constructor(params: {
2830
- emoticon: string;
2837
+ theme: Raw.TypeChatTheme;
2831
2838
  });
2832
2839
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.MessageActionSetChatTheme>;
2833
2840
  write(): Buffer;
@@ -3050,6 +3057,8 @@ export declare namespace Raw {
3050
3057
  upgraded?: boolean;
3051
3058
  refunded?: boolean;
3052
3059
  canUpgrade?: boolean;
3060
+ prepaidUpgrade?: boolean;
3061
+ upgradeSeparate?: boolean;
3053
3062
  gift: Raw.TypeStarGift;
3054
3063
  message?: Raw.TypeTextWithEntities;
3055
3064
  convertStars?: long;
@@ -3058,6 +3067,8 @@ export declare namespace Raw {
3058
3067
  fromId?: Raw.TypePeer;
3059
3068
  peer?: Raw.TypePeer;
3060
3069
  savedId?: long;
3070
+ prepaidUpgradeHash?: string;
3071
+ giftMsgId?: int;
3061
3072
  constructor(params: {
3062
3073
  nameHidden?: boolean;
3063
3074
  saved?: boolean;
@@ -3065,6 +3076,8 @@ export declare namespace Raw {
3065
3076
  upgraded?: boolean;
3066
3077
  refunded?: boolean;
3067
3078
  canUpgrade?: boolean;
3079
+ prepaidUpgrade?: boolean;
3080
+ upgradeSeparate?: boolean;
3068
3081
  gift: Raw.TypeStarGift;
3069
3082
  message?: Raw.TypeTextWithEntities;
3070
3083
  convertStars?: long;
@@ -3073,6 +3086,8 @@ export declare namespace Raw {
3073
3086
  fromId?: Raw.TypePeer;
3074
3087
  peer?: Raw.TypePeer;
3075
3088
  savedId?: long;
3089
+ prepaidUpgradeHash?: string;
3090
+ giftMsgId?: int;
3076
3091
  });
3077
3092
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.MessageActionStarGift>;
3078
3093
  write(): Buffer;
@@ -3082,13 +3097,14 @@ export declare namespace Raw {
3082
3097
  transferred?: boolean;
3083
3098
  saved?: boolean;
3084
3099
  refunded?: boolean;
3100
+ prepaidUpgrade?: boolean;
3085
3101
  gift: Raw.TypeStarGift;
3086
3102
  canExportAt?: int;
3087
3103
  transferStars?: long;
3088
3104
  fromId?: Raw.TypePeer;
3089
3105
  peer?: Raw.TypePeer;
3090
3106
  savedId?: long;
3091
- resaleStars?: long;
3107
+ resaleAmount?: Raw.TypeStarsAmount;
3092
3108
  canTransferAt?: int;
3093
3109
  canResellAt?: int;
3094
3110
  constructor(params: {
@@ -3096,13 +3112,14 @@ export declare namespace Raw {
3096
3112
  transferred?: boolean;
3097
3113
  saved?: boolean;
3098
3114
  refunded?: boolean;
3115
+ prepaidUpgrade?: boolean;
3099
3116
  gift: Raw.TypeStarGift;
3100
3117
  canExportAt?: int;
3101
3118
  transferStars?: long;
3102
3119
  fromId?: Raw.TypePeer;
3103
3120
  peer?: Raw.TypePeer;
3104
3121
  savedId?: long;
3105
- resaleStars?: long;
3122
+ resaleAmount?: Raw.TypeStarsAmount;
3106
3123
  canTransferAt?: int;
3107
3124
  canResellAt?: int;
3108
3125
  });
@@ -3637,7 +3654,7 @@ export declare namespace Raw {
3637
3654
  commonChatsCount: int;
3638
3655
  folderId?: int;
3639
3656
  ttlPeriod?: int;
3640
- themeEmoticon?: string;
3657
+ theme?: Raw.TypeChatTheme;
3641
3658
  privateForwardName?: string;
3642
3659
  botGroupAdminRights?: Raw.TypeChatAdminRights;
3643
3660
  botBroadcastAdminRights?: Raw.TypeChatAdminRights;
@@ -3657,6 +3674,10 @@ export declare namespace Raw {
3657
3674
  sendPaidMessagesStars?: long;
3658
3675
  disallowedGifts?: Raw.TypeDisallowedGiftsSettings;
3659
3676
  starsRating?: Raw.TypeStarsRating;
3677
+ starsMyPendingRating?: Raw.TypeStarsRating;
3678
+ starsMyPendingRatingDate?: int;
3679
+ mainTab?: Raw.TypeProfileTab;
3680
+ savedMusic?: Raw.TypeDocument;
3660
3681
  constructor(params: {
3661
3682
  blocked?: boolean;
3662
3683
  phoneCallsAvailable?: boolean;
@@ -3687,7 +3708,7 @@ export declare namespace Raw {
3687
3708
  commonChatsCount: int;
3688
3709
  folderId?: int;
3689
3710
  ttlPeriod?: int;
3690
- themeEmoticon?: string;
3711
+ theme?: Raw.TypeChatTheme;
3691
3712
  privateForwardName?: string;
3692
3713
  botGroupAdminRights?: Raw.TypeChatAdminRights;
3693
3714
  botBroadcastAdminRights?: Raw.TypeChatAdminRights;
@@ -3707,6 +3728,10 @@ export declare namespace Raw {
3707
3728
  sendPaidMessagesStars?: long;
3708
3729
  disallowedGifts?: Raw.TypeDisallowedGiftsSettings;
3709
3730
  starsRating?: Raw.TypeStarsRating;
3731
+ starsMyPendingRating?: Raw.TypeStarsRating;
3732
+ starsMyPendingRatingDate?: int;
3733
+ mainTab?: Raw.TypeProfileTab;
3734
+ savedMusic?: Raw.TypeDocument;
3710
3735
  });
3711
3736
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.UserFull>;
3712
3737
  write(): Buffer;
@@ -11113,6 +11138,14 @@ export declare namespace Raw {
11113
11138
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.WebPageAttributeUniqueStarGift>;
11114
11139
  write(): Buffer;
11115
11140
  }
11141
+ class WebPageAttributeStarGiftCollection extends TLObject {
11142
+ icons: Vector<Raw.TypeDocument>;
11143
+ constructor(params: {
11144
+ icons: Vector<Raw.TypeDocument>;
11145
+ });
11146
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.WebPageAttributeStarGiftCollection>;
11147
+ write(): Buffer;
11148
+ }
11116
11149
  class BankCardOpenUrl extends TLObject {
11117
11150
  url: string;
11118
11151
  name: string;
@@ -11692,6 +11725,24 @@ export declare namespace Raw {
11692
11725
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.BotCommandScopePeerUser>;
11693
11726
  write(): Buffer;
11694
11727
  }
11728
+ class ChatTheme extends TLObject {
11729
+ emoticon: string;
11730
+ constructor(params: {
11731
+ emoticon: string;
11732
+ });
11733
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.ChatTheme>;
11734
+ write(): Buffer;
11735
+ }
11736
+ class ChatThemeUniqueGift extends TLObject {
11737
+ gift: Raw.TypeStarGift;
11738
+ themeSettings: Vector<Raw.TypeThemeSettings>;
11739
+ constructor(params: {
11740
+ gift: Raw.TypeStarGift;
11741
+ themeSettings: Vector<Raw.TypeThemeSettings>;
11742
+ });
11743
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.ChatThemeUniqueGift>;
11744
+ write(): Buffer;
11745
+ }
11695
11746
  class SponsoredMessage extends TLObject {
11696
11747
  recommended?: boolean;
11697
11748
  canReport?: boolean;
@@ -12115,15 +12166,27 @@ export declare namespace Raw {
12115
12166
  write(): Buffer;
12116
12167
  }
12117
12168
  class InputInvoiceStarGiftResale extends TLObject {
12169
+ ton?: boolean;
12118
12170
  slug: string;
12119
12171
  toId: Raw.TypeInputPeer;
12120
12172
  constructor(params: {
12173
+ ton?: boolean;
12121
12174
  slug: string;
12122
12175
  toId: Raw.TypeInputPeer;
12123
12176
  });
12124
12177
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.InputInvoiceStarGiftResale>;
12125
12178
  write(): Buffer;
12126
12179
  }
12180
+ class InputInvoiceStarGiftPrepaidUpgrade extends TLObject {
12181
+ peer: Raw.TypeInputPeer;
12182
+ hash: string;
12183
+ constructor(params: {
12184
+ peer: Raw.TypeInputPeer;
12185
+ hash: string;
12186
+ });
12187
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.InputInvoiceStarGiftPrepaidUpgrade>;
12188
+ write(): Buffer;
12189
+ }
12127
12190
  class InputStorePaymentPremiumSubscription extends TLObject {
12128
12191
  restore?: boolean;
12129
12192
  upgrade?: boolean;
@@ -12192,10 +12255,12 @@ export declare namespace Raw {
12192
12255
  stars: long;
12193
12256
  currency: string;
12194
12257
  amount: long;
12258
+ spendPurposePeer?: Raw.TypeInputPeer;
12195
12259
  constructor(params: {
12196
12260
  stars: long;
12197
12261
  currency: string;
12198
12262
  amount: long;
12263
+ spendPurposePeer?: Raw.TypeInputPeer;
12199
12264
  });
12200
12265
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.InputStorePaymentStarsTopup>;
12201
12266
  write(): Buffer;
@@ -12864,6 +12929,7 @@ export declare namespace Raw {
12864
12929
  privacy?: Vector<Raw.TypePrivacyRule>;
12865
12930
  views?: Raw.TypeStoryViews;
12866
12931
  sentReaction?: Raw.TypeReaction;
12932
+ albums?: Vector<int>;
12867
12933
  constructor(params: {
12868
12934
  pinned?: boolean;
12869
12935
  public?: boolean;
@@ -12886,6 +12952,7 @@ export declare namespace Raw {
12886
12952
  privacy?: Vector<Raw.TypePrivacyRule>;
12887
12953
  views?: Raw.TypeStoryViews;
12888
12954
  sentReaction?: Raw.TypeReaction;
12955
+ albums?: Vector<int>;
12889
12956
  });
12890
12957
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.StoryItem>;
12891
12958
  write(): Buffer;
@@ -13926,6 +13993,8 @@ export declare namespace Raw {
13926
13993
  stargiftUpgrade?: boolean;
13927
13994
  businessTransfer?: boolean;
13928
13995
  stargiftResale?: boolean;
13996
+ postsSearch?: boolean;
13997
+ stargiftPrepaidUpgrade?: boolean;
13929
13998
  id: string;
13930
13999
  amount: Raw.TypeStarsAmount;
13931
14000
  date: int;
@@ -13958,6 +14027,8 @@ export declare namespace Raw {
13958
14027
  stargiftUpgrade?: boolean;
13959
14028
  businessTransfer?: boolean;
13960
14029
  stargiftResale?: boolean;
14030
+ postsSearch?: boolean;
14031
+ stargiftPrepaidUpgrade?: boolean;
13961
14032
  id: string;
13962
14033
  amount: Raw.TypeStarsAmount;
13963
14034
  date: int;
@@ -14172,6 +14243,7 @@ export declare namespace Raw {
14172
14243
  releasedBy?: Raw.TypePeer;
14173
14244
  perUserTotal?: int;
14174
14245
  perUserRemains?: int;
14246
+ lockedUntilDate?: int;
14175
14247
  constructor(params: {
14176
14248
  limited?: boolean;
14177
14249
  soldOut?: boolean;
@@ -14193,13 +14265,17 @@ export declare namespace Raw {
14193
14265
  releasedBy?: Raw.TypePeer;
14194
14266
  perUserTotal?: int;
14195
14267
  perUserRemains?: int;
14268
+ lockedUntilDate?: int;
14196
14269
  });
14197
14270
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.StarGift>;
14198
14271
  write(): Buffer;
14199
14272
  }
14200
14273
  class StarGiftUnique extends TLObject {
14201
14274
  requirePremium?: boolean;
14275
+ resaleTonOnly?: boolean;
14276
+ themeAvailable?: boolean;
14202
14277
  id: long;
14278
+ giftId: long;
14203
14279
  title: string;
14204
14280
  slug: string;
14205
14281
  num: int;
@@ -14210,11 +14286,17 @@ export declare namespace Raw {
14210
14286
  availabilityIssued: int;
14211
14287
  availabilityTotal: int;
14212
14288
  giftAddress?: string;
14213
- resellStars?: long;
14289
+ resellAmount?: Vector<Raw.TypeStarsAmount>;
14214
14290
  releasedBy?: Raw.TypePeer;
14291
+ valueAmount?: long;
14292
+ valueCurrency?: string;
14293
+ themePeer?: Raw.TypePeer;
14215
14294
  constructor(params: {
14216
14295
  requirePremium?: boolean;
14296
+ resaleTonOnly?: boolean;
14297
+ themeAvailable?: boolean;
14217
14298
  id: long;
14299
+ giftId: long;
14218
14300
  title: string;
14219
14301
  slug: string;
14220
14302
  num: int;
@@ -14225,8 +14307,11 @@ export declare namespace Raw {
14225
14307
  availabilityIssued: int;
14226
14308
  availabilityTotal: int;
14227
14309
  giftAddress?: string;
14228
- resellStars?: long;
14310
+ resellAmount?: Vector<Raw.TypeStarsAmount>;
14229
14311
  releasedBy?: Raw.TypePeer;
14312
+ valueAmount?: long;
14313
+ valueCurrency?: string;
14314
+ themePeer?: Raw.TypePeer;
14230
14315
  });
14231
14316
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.StarGiftUnique>;
14232
14317
  write(): Buffer;
@@ -14428,6 +14513,7 @@ export declare namespace Raw {
14428
14513
  refunded?: boolean;
14429
14514
  canUpgrade?: boolean;
14430
14515
  pinnedToTop?: boolean;
14516
+ upgradeSeparate?: boolean;
14431
14517
  fromId?: Raw.TypePeer;
14432
14518
  date: int;
14433
14519
  gift: Raw.TypeStarGift;
@@ -14441,12 +14527,14 @@ export declare namespace Raw {
14441
14527
  canTransferAt?: int;
14442
14528
  canResellAt?: int;
14443
14529
  collectionId?: Vector<int>;
14530
+ prepaidUpgradeHash?: string;
14444
14531
  constructor(params: {
14445
14532
  nameHidden?: boolean;
14446
14533
  unsaved?: boolean;
14447
14534
  refunded?: boolean;
14448
14535
  canUpgrade?: boolean;
14449
14536
  pinnedToTop?: boolean;
14537
+ upgradeSeparate?: boolean;
14450
14538
  fromId?: Raw.TypePeer;
14451
14539
  date: int;
14452
14540
  gift: Raw.TypeStarGift;
@@ -14460,6 +14548,7 @@ export declare namespace Raw {
14460
14548
  canTransferAt?: int;
14461
14549
  canResellAt?: int;
14462
14550
  collectionId?: Vector<int>;
14551
+ prepaidUpgradeHash?: string;
14463
14552
  });
14464
14553
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.SavedStarGift>;
14465
14554
  write(): Buffer;
@@ -14716,6 +14805,97 @@ export declare namespace Raw {
14716
14805
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.StarGiftCollection>;
14717
14806
  write(): Buffer;
14718
14807
  }
14808
+ class StoryAlbum extends TLObject {
14809
+ albumId: int;
14810
+ title: string;
14811
+ iconPhoto?: Raw.TypePhoto;
14812
+ iconVideo?: Raw.TypeDocument;
14813
+ constructor(params: {
14814
+ albumId: int;
14815
+ title: string;
14816
+ iconPhoto?: Raw.TypePhoto;
14817
+ iconVideo?: Raw.TypeDocument;
14818
+ });
14819
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.StoryAlbum>;
14820
+ write(): Buffer;
14821
+ }
14822
+ class SearchPostsFlood extends TLObject {
14823
+ queryIsFree?: boolean;
14824
+ totalDaily: int;
14825
+ remains: int;
14826
+ waitTill?: int;
14827
+ starsAmount: long;
14828
+ constructor(params: {
14829
+ queryIsFree?: boolean;
14830
+ totalDaily: int;
14831
+ remains: int;
14832
+ waitTill?: int;
14833
+ starsAmount: long;
14834
+ });
14835
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.SearchPostsFlood>;
14836
+ write(): Buffer;
14837
+ }
14838
+ class ProfileTabPosts extends TLObject {
14839
+ constructor();
14840
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.ProfileTabPosts>;
14841
+ write(): Buffer;
14842
+ }
14843
+ class ProfileTabGifts extends TLObject {
14844
+ constructor();
14845
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.ProfileTabGifts>;
14846
+ write(): Buffer;
14847
+ }
14848
+ class ProfileTabMedia extends TLObject {
14849
+ constructor();
14850
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.ProfileTabMedia>;
14851
+ write(): Buffer;
14852
+ }
14853
+ class ProfileTabFiles extends TLObject {
14854
+ constructor();
14855
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.ProfileTabFiles>;
14856
+ write(): Buffer;
14857
+ }
14858
+ class ProfileTabMusic extends TLObject {
14859
+ constructor();
14860
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.ProfileTabMusic>;
14861
+ write(): Buffer;
14862
+ }
14863
+ class ProfileTabVoice extends TLObject {
14864
+ constructor();
14865
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.ProfileTabVoice>;
14866
+ write(): Buffer;
14867
+ }
14868
+ class ProfileTabLinks extends TLObject {
14869
+ constructor();
14870
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.ProfileTabLinks>;
14871
+ write(): Buffer;
14872
+ }
14873
+ class ProfileTabGifs extends TLObject {
14874
+ constructor();
14875
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.ProfileTabGifs>;
14876
+ write(): Buffer;
14877
+ }
14878
+ class InputChatThemeEmpty extends TLObject {
14879
+ constructor();
14880
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.InputChatThemeEmpty>;
14881
+ write(): Buffer;
14882
+ }
14883
+ class InputChatTheme extends TLObject {
14884
+ emoticon: string;
14885
+ constructor(params: {
14886
+ emoticon: string;
14887
+ });
14888
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.InputChatTheme>;
14889
+ write(): Buffer;
14890
+ }
14891
+ class InputChatThemeUniqueGift extends TLObject {
14892
+ slug: string;
14893
+ constructor(params: {
14894
+ slug: string;
14895
+ });
14896
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.InputChatThemeUniqueGift>;
14897
+ write(): Buffer;
14898
+ }
14719
14899
  class InvokeAfterMsg extends TLObject {
14720
14900
  __response__: X;
14721
14901
  msgId: long;
@@ -16187,9 +16367,13 @@ export declare namespace Raw {
16187
16367
  class SentCodePaymentRequired extends TLObject {
16188
16368
  storeProduct: string;
16189
16369
  phoneCodeHash: string;
16370
+ supportEmailAddress: string;
16371
+ supportEmailSubject: string;
16190
16372
  constructor(params: {
16191
16373
  storeProduct: string;
16192
16374
  phoneCodeHash: string;
16375
+ supportEmailAddress: string;
16376
+ supportEmailSubject: string;
16193
16377
  });
16194
16378
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.auth.SentCodePaymentRequired>;
16195
16379
  write(): Buffer;
@@ -17218,6 +17402,7 @@ export declare namespace Raw {
17218
17402
  count: int;
17219
17403
  nextRate?: int;
17220
17404
  offsetIdOffset?: int;
17405
+ searchFlood?: Raw.TypeSearchPostsFlood;
17221
17406
  messages: Vector<Raw.TypeMessage>;
17222
17407
  chats: Vector<Raw.TypeChat>;
17223
17408
  users: Vector<Raw.TypeUser>;
@@ -17226,6 +17411,7 @@ export declare namespace Raw {
17226
17411
  count: int;
17227
17412
  nextRate?: int;
17228
17413
  offsetIdOffset?: int;
17414
+ searchFlood?: Raw.TypeSearchPostsFlood;
17229
17415
  messages: Vector<Raw.TypeMessage>;
17230
17416
  chats: Vector<Raw.TypeChat>;
17231
17417
  users: Vector<Raw.TypeUser>;
@@ -18128,9 +18314,11 @@ export declare namespace Raw {
18128
18314
  }
18129
18315
  class WebPagePreview extends TLObject {
18130
18316
  media: Raw.TypeMessageMedia;
18317
+ chats: Vector<Raw.TypeChat>;
18131
18318
  users: Vector<Raw.TypeUser>;
18132
18319
  constructor(params: {
18133
18320
  media: Raw.TypeMessageMedia;
18321
+ chats: Vector<Raw.TypeChat>;
18134
18322
  users: Vector<Raw.TypeUser>;
18135
18323
  });
18136
18324
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.messages.WebPagePreview>;
@@ -20072,10 +20260,10 @@ export declare namespace Raw {
20072
20260
  class SetChatTheme extends TLObject {
20073
20261
  __response__: Raw.TypeUpdates;
20074
20262
  peer: Raw.TypeInputPeer;
20075
- emoticon: string;
20263
+ theme: Raw.TypeInputChatTheme;
20076
20264
  constructor(params: {
20077
20265
  peer: Raw.TypeInputPeer;
20078
- emoticon: string;
20266
+ theme: Raw.TypeInputChatTheme;
20079
20267
  });
20080
20268
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.messages.SetChatTheme>;
20081
20269
  write(): Buffer;
@@ -21668,6 +21856,8 @@ export declare namespace Raw {
21668
21856
  }
21669
21857
  }
21670
21858
  namespace account {
21859
+ type TypeChatThemes = Raw.account.ChatThemesNotModified | Raw.account.ChatThemes;
21860
+ type TypeSavedMusicIds = Raw.account.SavedMusicIdsNotModified | Raw.account.SavedMusicIds;
21671
21861
  type TypePaidMessagesRevenue = Raw.account.PaidMessagesRevenue;
21672
21862
  type TypeResolvedBusinessChatLinks = Raw.account.ResolvedBusinessChatLinks;
21673
21863
  type TypeBusinessChatLinks = Raw.account.BusinessChatLinks;
@@ -21899,6 +22089,27 @@ export declare namespace Raw {
21899
22089
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.account.ResetPasswordOk>;
21900
22090
  write(): Buffer;
21901
22091
  }
22092
+ class ChatThemesNotModified extends TLObject {
22093
+ constructor();
22094
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.account.ChatThemesNotModified>;
22095
+ write(): Buffer;
22096
+ }
22097
+ class ChatThemes extends TLObject {
22098
+ hash: long;
22099
+ themes: Vector<Raw.TypeChatTheme>;
22100
+ chats: Vector<Raw.TypeChat>;
22101
+ users: Vector<Raw.TypeUser>;
22102
+ nextOffset?: int;
22103
+ constructor(params: {
22104
+ hash: long;
22105
+ themes: Vector<Raw.TypeChatTheme>;
22106
+ chats: Vector<Raw.TypeChat>;
22107
+ users: Vector<Raw.TypeUser>;
22108
+ nextOffset?: int;
22109
+ });
22110
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.account.ChatThemes>;
22111
+ write(): Buffer;
22112
+ }
21902
22113
  class SavedRingtonesNotModified extends TLObject {
21903
22114
  constructor();
21904
22115
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.account.SavedRingtonesNotModified>;
@@ -22024,6 +22235,19 @@ export declare namespace Raw {
22024
22235
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.account.PaidMessagesRevenue>;
22025
22236
  write(): Buffer;
22026
22237
  }
22238
+ class SavedMusicIdsNotModified extends TLObject {
22239
+ constructor();
22240
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.account.SavedMusicIdsNotModified>;
22241
+ write(): Buffer;
22242
+ }
22243
+ class SavedMusicIds extends TLObject {
22244
+ ids: Vector<long>;
22245
+ constructor(params: {
22246
+ ids: Vector<long>;
22247
+ });
22248
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.account.SavedMusicIds>;
22249
+ write(): Buffer;
22250
+ }
22027
22251
  class RegisterDevice extends TLObject {
22028
22252
  __response__: Bool;
22029
22253
  noMuted?: boolean;
@@ -23177,6 +23401,50 @@ export declare namespace Raw {
23177
23401
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.account.ToggleNoPaidMessagesException>;
23178
23402
  write(): Buffer;
23179
23403
  }
23404
+ class SetMainProfileTab extends TLObject {
23405
+ __response__: Bool;
23406
+ tab: Raw.TypeProfileTab;
23407
+ constructor(params: {
23408
+ tab: Raw.TypeProfileTab;
23409
+ });
23410
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.account.SetMainProfileTab>;
23411
+ write(): Buffer;
23412
+ }
23413
+ class SaveMusic extends TLObject {
23414
+ __response__: Bool;
23415
+ unsave?: boolean;
23416
+ id: Raw.TypeInputDocument;
23417
+ afterId?: Raw.TypeInputDocument;
23418
+ constructor(params: {
23419
+ unsave?: boolean;
23420
+ id: Raw.TypeInputDocument;
23421
+ afterId?: Raw.TypeInputDocument;
23422
+ });
23423
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.account.SaveMusic>;
23424
+ write(): Buffer;
23425
+ }
23426
+ class GetSavedMusicIds extends TLObject {
23427
+ __response__: Raw.account.TypeSavedMusicIds;
23428
+ hash: long;
23429
+ constructor(params: {
23430
+ hash: long;
23431
+ });
23432
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.account.GetSavedMusicIds>;
23433
+ write(): Buffer;
23434
+ }
23435
+ class GetUniqueGiftChatThemes extends TLObject {
23436
+ __response__: Raw.account.TypeChatThemes;
23437
+ offset: int;
23438
+ limit: int;
23439
+ hash: long;
23440
+ constructor(params: {
23441
+ offset: int;
23442
+ limit: int;
23443
+ hash: long;
23444
+ });
23445
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.account.GetUniqueGiftChatThemes>;
23446
+ write(): Buffer;
23447
+ }
23180
23448
  }
23181
23449
  namespace channels {
23182
23450
  type TypeSendAsPeers = Raw.channels.SendAsPeers;
@@ -23981,17 +24249,21 @@ export declare namespace Raw {
23981
24249
  }
23982
24250
  class SearchPosts extends TLObject {
23983
24251
  __response__: Raw.messages.TypeMessages;
23984
- hashtag: string;
24252
+ hashtag?: string;
24253
+ query?: string;
23985
24254
  offsetRate: int;
23986
24255
  offsetPeer: Raw.TypeInputPeer;
23987
24256
  offsetId: int;
23988
24257
  limit: int;
24258
+ allowPaidStars?: long;
23989
24259
  constructor(params: {
23990
- hashtag: string;
24260
+ hashtag?: string;
24261
+ query?: string;
23991
24262
  offsetRate: int;
23992
24263
  offsetPeer: Raw.TypeInputPeer;
23993
24264
  offsetId: int;
23994
24265
  limit: int;
24266
+ allowPaidStars?: long;
23995
24267
  });
23996
24268
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.channels.SearchPosts>;
23997
24269
  write(): Buffer;
@@ -24031,8 +24303,30 @@ export declare namespace Raw {
24031
24303
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.channels.GetMessageAuthor>;
24032
24304
  write(): Buffer;
24033
24305
  }
24306
+ class CheckSearchPostsFlood extends TLObject {
24307
+ __response__: Raw.TypeSearchPostsFlood;
24308
+ query?: string;
24309
+ constructor(params: {
24310
+ query?: string;
24311
+ });
24312
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.channels.CheckSearchPostsFlood>;
24313
+ write(): Buffer;
24314
+ }
24315
+ class SetMainProfileTab extends TLObject {
24316
+ __response__: Bool;
24317
+ channel: Raw.TypeInputChannel;
24318
+ tab: Raw.TypeProfileTab;
24319
+ constructor(params: {
24320
+ channel: Raw.TypeInputChannel;
24321
+ tab: Raw.TypeProfileTab;
24322
+ });
24323
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.channels.SetMainProfileTab>;
24324
+ write(): Buffer;
24325
+ }
24034
24326
  }
24035
24327
  namespace payments {
24328
+ type TypeCheckCanSendGiftResult = Raw.payments.CheckCanSendGiftResultOk | Raw.payments.CheckCanSendGiftResultFail;
24329
+ type TypeUniqueStarGiftValueInfo = Raw.payments.UniqueStarGiftValueInfo;
24036
24330
  type TypeStarGiftCollections = Raw.payments.StarGiftCollectionsNotModified | Raw.payments.StarGiftCollections;
24037
24331
  type TypeResaleStarGifts = Raw.payments.ResaleStarGifts;
24038
24332
  type TypeStarGiftWithdrawalUrl = Raw.payments.StarGiftWithdrawalUrl;
@@ -24408,9 +24702,11 @@ export declare namespace Raw {
24408
24702
  }
24409
24703
  class UniqueStarGift extends TLObject {
24410
24704
  gift: Raw.TypeStarGift;
24705
+ chats: Vector<Raw.TypeChat>;
24411
24706
  users: Vector<Raw.TypeUser>;
24412
24707
  constructor(params: {
24413
24708
  gift: Raw.TypeStarGift;
24709
+ chats: Vector<Raw.TypeChat>;
24414
24710
  users: Vector<Raw.TypeUser>;
24415
24711
  });
24416
24712
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.payments.UniqueStarGift>;
@@ -24477,6 +24773,53 @@ export declare namespace Raw {
24477
24773
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.payments.StarGiftCollections>;
24478
24774
  write(): Buffer;
24479
24775
  }
24776
+ class UniqueStarGiftValueInfo extends TLObject {
24777
+ lastSaleOnFragment?: boolean;
24778
+ valueIsAverage?: boolean;
24779
+ currency: string;
24780
+ value: long;
24781
+ initialSaleDate: int;
24782
+ initialSaleStars: long;
24783
+ initialSalePrice: long;
24784
+ lastSaleDate?: int;
24785
+ lastSalePrice?: long;
24786
+ floorPrice?: long;
24787
+ averagePrice?: long;
24788
+ listedCount?: int;
24789
+ fragmentListedCount?: int;
24790
+ fragmentListedUrl?: string;
24791
+ constructor(params: {
24792
+ lastSaleOnFragment?: boolean;
24793
+ valueIsAverage?: boolean;
24794
+ currency: string;
24795
+ value: long;
24796
+ initialSaleDate: int;
24797
+ initialSaleStars: long;
24798
+ initialSalePrice: long;
24799
+ lastSaleDate?: int;
24800
+ lastSalePrice?: long;
24801
+ floorPrice?: long;
24802
+ averagePrice?: long;
24803
+ listedCount?: int;
24804
+ fragmentListedCount?: int;
24805
+ fragmentListedUrl?: string;
24806
+ });
24807
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.payments.UniqueStarGiftValueInfo>;
24808
+ write(): Buffer;
24809
+ }
24810
+ class CheckCanSendGiftResultOk extends TLObject {
24811
+ constructor();
24812
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.payments.CheckCanSendGiftResultOk>;
24813
+ write(): Buffer;
24814
+ }
24815
+ class CheckCanSendGiftResultFail extends TLObject {
24816
+ reason: Raw.TypeTextWithEntities;
24817
+ constructor(params: {
24818
+ reason: Raw.TypeTextWithEntities;
24819
+ });
24820
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.payments.CheckCanSendGiftResultFail>;
24821
+ write(): Buffer;
24822
+ }
24480
24823
  class GetPaymentForm extends TLObject {
24481
24824
  __response__: Raw.payments.TypePaymentForm;
24482
24825
  invoice: Raw.TypeInputInvoice;
@@ -24957,9 +25300,10 @@ export declare namespace Raw {
24957
25300
  excludeUnsaved?: boolean;
24958
25301
  excludeSaved?: boolean;
24959
25302
  excludeUnlimited?: boolean;
24960
- excludeLimited?: boolean;
24961
25303
  excludeUnique?: boolean;
24962
25304
  sortByValue?: boolean;
25305
+ excludeUpgradable?: boolean;
25306
+ excludeUnupgradable?: boolean;
24963
25307
  peer: Raw.TypeInputPeer;
24964
25308
  collectionId?: int;
24965
25309
  offset: string;
@@ -24968,9 +25312,10 @@ export declare namespace Raw {
24968
25312
  excludeUnsaved?: boolean;
24969
25313
  excludeSaved?: boolean;
24970
25314
  excludeUnlimited?: boolean;
24971
- excludeLimited?: boolean;
24972
25315
  excludeUnique?: boolean;
24973
25316
  sortByValue?: boolean;
25317
+ excludeUpgradable?: boolean;
25318
+ excludeUnupgradable?: boolean;
24974
25319
  peer: Raw.TypeInputPeer;
24975
25320
  collectionId?: int;
24976
25321
  offset: string;
@@ -25054,10 +25399,10 @@ export declare namespace Raw {
25054
25399
  class UpdateStarGiftPrice extends TLObject {
25055
25400
  __response__: Raw.TypeUpdates;
25056
25401
  stargift: Raw.TypeInputSavedStarGift;
25057
- resellStars: long;
25402
+ resellAmount: Raw.TypeStarsAmount;
25058
25403
  constructor(params: {
25059
25404
  stargift: Raw.TypeInputSavedStarGift;
25060
- resellStars: long;
25405
+ resellAmount: Raw.TypeStarsAmount;
25061
25406
  });
25062
25407
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.payments.UpdateStarGiftPrice>;
25063
25408
  write(): Buffer;
@@ -25127,6 +25472,24 @@ export declare namespace Raw {
25127
25472
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.payments.GetStarGiftCollections>;
25128
25473
  write(): Buffer;
25129
25474
  }
25475
+ class GetUniqueStarGiftValueInfo extends TLObject {
25476
+ __response__: Raw.payments.TypeUniqueStarGiftValueInfo;
25477
+ slug: string;
25478
+ constructor(params: {
25479
+ slug: string;
25480
+ });
25481
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.payments.GetUniqueStarGiftValueInfo>;
25482
+ write(): Buffer;
25483
+ }
25484
+ class CheckCanSendGift extends TLObject {
25485
+ __response__: Raw.payments.TypeCheckCanSendGiftResult;
25486
+ giftId: long;
25487
+ constructor(params: {
25488
+ giftId: long;
25489
+ });
25490
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.payments.CheckCanSendGift>;
25491
+ write(): Buffer;
25492
+ }
25130
25493
  }
25131
25494
  namespace phone {
25132
25495
  type TypeGroupCallStreamRtmpUrl = Raw.phone.GroupCallStreamRtmpUrl;
@@ -26063,6 +26426,7 @@ export declare namespace Raw {
26063
26426
  }
26064
26427
  namespace users {
26065
26428
  type TypeUsers = Raw.users.Users | Raw.users.UsersSlice;
26429
+ type TypeSavedMusic = Raw.users.SavedMusicNotModified | Raw.users.SavedMusic;
26066
26430
  type TypeUserFull = Raw.users.UserFull;
26067
26431
  class UserFull extends TLObject {
26068
26432
  fullUser: Raw.TypeUserFull;
@@ -26094,6 +26458,24 @@ export declare namespace Raw {
26094
26458
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.users.UsersSlice>;
26095
26459
  write(): Buffer;
26096
26460
  }
26461
+ class SavedMusicNotModified extends TLObject {
26462
+ count: int;
26463
+ constructor(params: {
26464
+ count: int;
26465
+ });
26466
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.users.SavedMusicNotModified>;
26467
+ write(): Buffer;
26468
+ }
26469
+ class SavedMusic extends TLObject {
26470
+ count: int;
26471
+ documents: Vector<Raw.TypeDocument>;
26472
+ constructor(params: {
26473
+ count: int;
26474
+ documents: Vector<Raw.TypeDocument>;
26475
+ });
26476
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.users.SavedMusic>;
26477
+ write(): Buffer;
26478
+ }
26097
26479
  class GetUsers extends TLObject {
26098
26480
  __response__: Vector<Raw.TypeUser>;
26099
26481
  id: Vector<Raw.TypeInputUser>;
@@ -26132,6 +26514,32 @@ export declare namespace Raw {
26132
26514
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.users.GetRequirementsToContact>;
26133
26515
  write(): Buffer;
26134
26516
  }
26517
+ class GetSavedMusic extends TLObject {
26518
+ __response__: Raw.users.TypeSavedMusic;
26519
+ id: Raw.TypeInputUser;
26520
+ offset: int;
26521
+ limit: int;
26522
+ hash: long;
26523
+ constructor(params: {
26524
+ id: Raw.TypeInputUser;
26525
+ offset: int;
26526
+ limit: int;
26527
+ hash: long;
26528
+ });
26529
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.users.GetSavedMusic>;
26530
+ write(): Buffer;
26531
+ }
26532
+ class GetSavedMusicByID extends TLObject {
26533
+ __response__: Raw.users.TypeSavedMusic;
26534
+ id: Raw.TypeInputUser;
26535
+ documents: Vector<Raw.TypeInputDocument>;
26536
+ constructor(params: {
26537
+ id: Raw.TypeInputUser;
26538
+ documents: Vector<Raw.TypeInputDocument>;
26539
+ });
26540
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.users.GetSavedMusicByID>;
26541
+ write(): Buffer;
26542
+ }
26135
26543
  }
26136
26544
  namespace chatlists {
26137
26545
  type TypeChatlistUpdates = Raw.chatlists.ChatlistUpdates;
@@ -26703,6 +27111,7 @@ export declare namespace Raw {
26703
27111
  }
26704
27112
  }
26705
27113
  namespace stories {
27114
+ type TypeAlbums = Raw.stories.AlbumsNotModified | Raw.stories.Albums;
26706
27115
  type TypeFoundStories = Raw.stories.FoundStories;
26707
27116
  type TypeStoryReactionsList = Raw.stories.StoryReactionsList;
26708
27117
  type TypePeerStories = Raw.stories.PeerStories;
@@ -26841,6 +27250,21 @@ export declare namespace Raw {
26841
27250
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.stories.CanSendStoryCount>;
26842
27251
  write(): Buffer;
26843
27252
  }
27253
+ class AlbumsNotModified extends TLObject {
27254
+ constructor();
27255
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.stories.AlbumsNotModified>;
27256
+ write(): Buffer;
27257
+ }
27258
+ class Albums extends TLObject {
27259
+ hash: long;
27260
+ albums: Vector<Raw.TypeStoryAlbum>;
27261
+ constructor(params: {
27262
+ hash: long;
27263
+ albums: Vector<Raw.TypeStoryAlbum>;
27264
+ });
27265
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.stories.Albums>;
27266
+ write(): Buffer;
27267
+ }
26844
27268
  class CanSendStory extends TLObject {
26845
27269
  __response__: Raw.stories.TypeCanSendStoryCount;
26846
27270
  peer: Raw.TypeInputPeer;
@@ -26865,6 +27289,7 @@ export declare namespace Raw {
26865
27289
  period?: int;
26866
27290
  fwdFromId?: Raw.TypeInputPeer;
26867
27291
  fwdFromStory?: int;
27292
+ albums?: Vector<int>;
26868
27293
  constructor(params: {
26869
27294
  pinned?: boolean;
26870
27295
  noforwards?: boolean;
@@ -26879,6 +27304,7 @@ export declare namespace Raw {
26879
27304
  period?: int;
26880
27305
  fwdFromId?: Raw.TypeInputPeer;
26881
27306
  fwdFromStory?: int;
27307
+ albums?: Vector<int>;
26882
27308
  });
26883
27309
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.stories.SendStory>;
26884
27310
  write(): Buffer;
@@ -27183,6 +27609,86 @@ export declare namespace Raw {
27183
27609
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.stories.SearchPosts>;
27184
27610
  write(): Buffer;
27185
27611
  }
27612
+ class CreateAlbum extends TLObject {
27613
+ __response__: Raw.TypeStoryAlbum;
27614
+ peer: Raw.TypeInputPeer;
27615
+ title: string;
27616
+ stories: Vector<int>;
27617
+ constructor(params: {
27618
+ peer: Raw.TypeInputPeer;
27619
+ title: string;
27620
+ stories: Vector<int>;
27621
+ });
27622
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.stories.CreateAlbum>;
27623
+ write(): Buffer;
27624
+ }
27625
+ class UpdateAlbum extends TLObject {
27626
+ __response__: Raw.TypeStoryAlbum;
27627
+ peer: Raw.TypeInputPeer;
27628
+ albumId: int;
27629
+ title?: string;
27630
+ deleteStories?: Vector<int>;
27631
+ addStories?: Vector<int>;
27632
+ order?: Vector<int>;
27633
+ constructor(params: {
27634
+ peer: Raw.TypeInputPeer;
27635
+ albumId: int;
27636
+ title?: string;
27637
+ deleteStories?: Vector<int>;
27638
+ addStories?: Vector<int>;
27639
+ order?: Vector<int>;
27640
+ });
27641
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.stories.UpdateAlbum>;
27642
+ write(): Buffer;
27643
+ }
27644
+ class ReorderAlbums extends TLObject {
27645
+ __response__: Bool;
27646
+ peer: Raw.TypeInputPeer;
27647
+ order: Vector<int>;
27648
+ constructor(params: {
27649
+ peer: Raw.TypeInputPeer;
27650
+ order: Vector<int>;
27651
+ });
27652
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.stories.ReorderAlbums>;
27653
+ write(): Buffer;
27654
+ }
27655
+ class DeleteAlbum extends TLObject {
27656
+ __response__: Bool;
27657
+ peer: Raw.TypeInputPeer;
27658
+ albumId: int;
27659
+ constructor(params: {
27660
+ peer: Raw.TypeInputPeer;
27661
+ albumId: int;
27662
+ });
27663
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.stories.DeleteAlbum>;
27664
+ write(): Buffer;
27665
+ }
27666
+ class GetAlbums extends TLObject {
27667
+ __response__: Raw.stories.TypeAlbums;
27668
+ peer: Raw.TypeInputPeer;
27669
+ hash: long;
27670
+ constructor(params: {
27671
+ peer: Raw.TypeInputPeer;
27672
+ hash: long;
27673
+ });
27674
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.stories.GetAlbums>;
27675
+ write(): Buffer;
27676
+ }
27677
+ class GetAlbumStories extends TLObject {
27678
+ __response__: Raw.stories.TypeStories;
27679
+ peer: Raw.TypeInputPeer;
27680
+ albumId: int;
27681
+ offset: int;
27682
+ limit: int;
27683
+ constructor(params: {
27684
+ peer: Raw.TypeInputPeer;
27685
+ albumId: int;
27686
+ offset: int;
27687
+ limit: int;
27688
+ });
27689
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.stories.GetAlbumStories>;
27690
+ write(): Buffer;
27691
+ }
27186
27692
  }
27187
27693
  namespace premium {
27188
27694
  type TypeBoostsStatus = Raw.premium.BoostsStatus;