@tgsnake/skema 1.3.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/README.md +1 -1
- package/dist/raw/All.d.ts +44 -12
- package/dist/raw/All.js +44 -12
- package/dist/raw/Raw.d.ts +351 -10
- package/dist/raw/Raw.js +1192 -47
- package/package.json +1 -1
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.channels.CheckSearchPostsFlood | Raw.bots.SendCustomRequest | Raw.bots.AnswerWebhookJSONQuery | Raw.bots.SetBotCommands | Raw.bots.ResetBotCommands | Raw.bots.GetBotCommands | Raw.bots.SetBotMenuButton | Raw.bots.GetBotMenuButton | Raw.bots.SetBotBroadcastDefaultAdminRights | Raw.bots.SetBotGroupDefaultAdminRights | Raw.bots.SetBotInfo | Raw.bots.GetBotInfo | Raw.bots.ReorderUsernames | Raw.bots.ToggleUsername | Raw.bots.CanSendMessage | Raw.bots.AllowSendMessage | Raw.bots.InvokeWebViewCustomMethod | Raw.bots.GetPopularAppBots | Raw.bots.AddPreviewMedia | Raw.bots.EditPreviewMedia | Raw.bots.DeletePreviewMedia | Raw.bots.ReorderPreviewMedias | Raw.bots.GetPreviewInfo | Raw.bots.GetPreviewMedias | Raw.bots.UpdateUserEmojiStatus | Raw.bots.ToggleUserEmojiStatusPermission | Raw.bots.CheckDownloadFileParams | Raw.bots.GetAdminedBots | Raw.bots.UpdateStarRefProgram | Raw.bots.SetCustomVerification | Raw.bots.GetBotRecommendations | Raw.payments.GetPaymentForm | Raw.payments.GetPaymentReceipt | Raw.payments.ValidateRequestedInfo | Raw.payments.SendPaymentForm | Raw.payments.GetSavedInfo | Raw.payments.ClearSavedInfo | Raw.payments.GetBankCardData | Raw.payments.ExportInvoice | Raw.payments.AssignAppStoreTransaction | Raw.payments.AssignPlayMarketTransaction | Raw.payments.GetPremiumGiftCodeOptions | Raw.payments.CheckGiftCode | Raw.payments.ApplyGiftCode | Raw.payments.GetGiveawayInfo | Raw.payments.LaunchPrepaidGiveaway | Raw.payments.GetStarsTopupOptions | Raw.payments.GetStarsStatus | Raw.payments.GetStarsTransactions | Raw.payments.SendStarsForm | Raw.payments.RefundStarsCharge | Raw.payments.GetStarsRevenueStats | Raw.payments.GetStarsRevenueWithdrawalUrl | Raw.payments.GetStarsRevenueAdsAccountUrl | Raw.payments.GetStarsTransactionsByID | Raw.payments.GetStarsGiftOptions | Raw.payments.GetStarsSubscriptions | Raw.payments.ChangeStarsSubscription | Raw.payments.FulfillStarsSubscription | Raw.payments.GetStarsGiveawayOptions | Raw.payments.GetStarGifts | Raw.payments.SaveStarGift | Raw.payments.ConvertStarGift | Raw.payments.BotCancelStarsSubscription | Raw.payments.GetConnectedStarRefBots | Raw.payments.GetConnectedStarRefBot | Raw.payments.GetSuggestedStarRefBots | Raw.payments.ConnectStarRefBot | Raw.payments.EditConnectedStarRefBot | Raw.payments.GetStarGiftUpgradePreview | Raw.payments.UpgradeStarGift | Raw.payments.TransferStarGift | Raw.payments.GetUniqueStarGift | Raw.payments.GetSavedStarGifts | Raw.payments.GetSavedStarGift | Raw.payments.GetStarGiftWithdrawalUrl | Raw.payments.ToggleChatStarGiftNotifications | Raw.payments.ToggleStarGiftsPinnedToTop | Raw.payments.CanPurchaseStore | Raw.payments.GetResaleStarGifts | Raw.payments.UpdateStarGiftPrice | Raw.payments.CreateStarGiftCollection | Raw.payments.UpdateStarGiftCollection | Raw.payments.ReorderStarGiftCollections | Raw.payments.DeleteStarGiftCollection | Raw.payments.GetStarGiftCollections | Raw.stickers.CreateStickerSet | Raw.stickers.RemoveStickerFromSet | Raw.stickers.ChangeStickerPosition | Raw.stickers.AddStickerToSet | Raw.stickers.SetStickerSetThumb | Raw.stickers.CheckShortName | Raw.stickers.SuggestShortName | Raw.stickers.ChangeSticker | Raw.stickers.RenameStickerSet | Raw.stickers.DeleteStickerSet | Raw.stickers.ReplaceSticker | Raw.phone.GetCallConfig | Raw.phone.RequestCall | Raw.phone.AcceptCall | Raw.phone.ConfirmCall | Raw.phone.ReceivedCall | Raw.phone.DiscardCall | Raw.phone.SetCallRating | Raw.phone.SaveCallDebug | Raw.phone.SendSignalingData | Raw.phone.CreateGroupCall | Raw.phone.JoinGroupCall | Raw.phone.LeaveGroupCall | Raw.phone.InviteToGroupCall | Raw.phone.DiscardGroupCall | Raw.phone.ToggleGroupCallSettings | Raw.phone.GetGroupCall | Raw.phone.GetGroupParticipants | Raw.phone.CheckGroupCall | Raw.phone.ToggleGroupCallRecord | Raw.phone.EditGroupCallParticipant | Raw.phone.EditGroupCallTitle | Raw.phone.GetGroupCallJoinAs | Raw.phone.ExportGroupCallInvite | Raw.phone.ToggleGroupCallStartSubscription | Raw.phone.StartScheduledGroupCall | Raw.phone.SaveDefaultGroupCallJoinAs | Raw.phone.JoinGroupCallPresentation | Raw.phone.LeaveGroupCallPresentation | Raw.phone.GetGroupCallStreamChannels | Raw.phone.GetGroupCallStreamRtmpUrl | Raw.phone.SaveCallLog | Raw.phone.CreateConferenceCall | Raw.phone.DeleteConferenceCallParticipants | Raw.phone.SendConferenceCallBroadcast | Raw.phone.InviteConferenceCallParticipant | Raw.phone.DeclineConferenceCallInvite | Raw.phone.GetGroupCallChainBlocks | Raw.langpack.GetLangPack | Raw.langpack.GetStrings | Raw.langpack.GetDifference | Raw.langpack.GetLanguages | Raw.langpack.GetLanguage | Raw.folders.EditPeerFolders | Raw.stats.GetBroadcastStats | Raw.stats.LoadAsyncGraph | Raw.stats.GetMegagroupStats | Raw.stats.GetMessagePublicForwards | Raw.stats.GetMessageStats | Raw.stats.GetStoryStats | Raw.stats.GetStoryPublicForwards | Raw.chatlists.ExportChatlistInvite | Raw.chatlists.DeleteExportedInvite | Raw.chatlists.EditExportedInvite | Raw.chatlists.GetExportedInvites | Raw.chatlists.CheckChatlistInvite | Raw.chatlists.JoinChatlistInvite | Raw.chatlists.GetChatlistUpdates | Raw.chatlists.JoinChatlistUpdates | Raw.chatlists.HideChatlistUpdates | Raw.chatlists.GetLeaveChatlistSuggestions | Raw.chatlists.LeaveChatlist | Raw.stories.CanSendStory | Raw.stories.SendStory | Raw.stories.EditStory | Raw.stories.DeleteStories | Raw.stories.TogglePinned | Raw.stories.GetAllStories | Raw.stories.GetPinnedStories | Raw.stories.GetStoriesArchive | Raw.stories.GetStoriesByID | Raw.stories.ToggleAllStoriesHidden | Raw.stories.ReadStories | Raw.stories.IncrementStoryViews | Raw.stories.GetStoryViewsList | Raw.stories.GetStoriesViews | Raw.stories.ExportStoryLink | Raw.stories.Report | Raw.stories.ActivateStealthMode | Raw.stories.SendReaction | Raw.stories.GetPeerStories | Raw.stories.GetAllReadPeerStories | Raw.stories.GetPeerMaxIDs | Raw.stories.GetChatsToSend | Raw.stories.TogglePeerStoriesHidden | Raw.stories.GetStoryReactionsList | Raw.stories.TogglePinnedToTop | Raw.stories.SearchPosts | Raw.stories.CreateAlbum | Raw.stories.UpdateAlbum | Raw.stories.ReorderAlbums | Raw.stories.DeleteAlbum | Raw.stories.GetAlbums | Raw.stories.GetAlbumStories | Raw.premium.GetBoostsList | Raw.premium.GetMyBoosts | Raw.premium.ApplyBoost | Raw.premium.GetBoostsStatus | Raw.premium.GetUserBoosts | Raw.smsjobs.IsEligibleToJoin | Raw.smsjobs.Join | Raw.smsjobs.Leave | Raw.smsjobs.UpdateSettings | Raw.smsjobs.GetStatus | Raw.smsjobs.GetSmsJob | Raw.smsjobs.FinishJob | Raw.fragment.GetCollectibleInfo;
|
|
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;
|
|
@@ -306,6 +307,7 @@ export declare namespace Raw {
|
|
|
306
307
|
type TypeStarGift = Raw.StarGift | Raw.StarGiftUnique;
|
|
307
308
|
type TypeRequestedPeer = Raw.RequestedPeerUser | Raw.RequestedPeerChat | Raw.RequestedPeerChannel;
|
|
308
309
|
type TypeTextWithEntities = Raw.TextWithEntities;
|
|
310
|
+
type TypeChatTheme = Raw.ChatTheme | Raw.ChatThemeUniqueGift;
|
|
309
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;
|
|
310
312
|
type TypeSecureCredentialsEncrypted = Raw.SecureCredentialsEncrypted;
|
|
311
313
|
type TypeSecureValue = Raw.SecureValue;
|
|
@@ -332,6 +334,7 @@ export declare namespace Raw {
|
|
|
332
334
|
type TypeMessageReplyHeader = Raw.MessageReplyHeader | Raw.MessageReplyStoryHeader;
|
|
333
335
|
type TypeMessageFwdHeader = Raw.MessageFwdHeader;
|
|
334
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;
|
|
335
338
|
type TypeBotVerification = Raw.BotVerification;
|
|
336
339
|
type TypeWallPaper = Raw.WallPaper | Raw.WallPaperNoFile;
|
|
337
340
|
type TypePeerStories = Raw.PeerStories;
|
|
@@ -2015,6 +2018,7 @@ export declare namespace Raw {
|
|
|
2015
2018
|
botVerification?: Raw.TypeBotVerification;
|
|
2016
2019
|
stargiftsCount?: int;
|
|
2017
2020
|
sendPaidMessagesStars?: long;
|
|
2021
|
+
mainTab?: Raw.TypeProfileTab;
|
|
2018
2022
|
constructor(params: {
|
|
2019
2023
|
canViewParticipants?: boolean;
|
|
2020
2024
|
canSetUsername?: boolean;
|
|
@@ -2081,6 +2085,7 @@ export declare namespace Raw {
|
|
|
2081
2085
|
botVerification?: Raw.TypeBotVerification;
|
|
2082
2086
|
stargiftsCount?: int;
|
|
2083
2087
|
sendPaidMessagesStars?: long;
|
|
2088
|
+
mainTab?: Raw.TypeProfileTab;
|
|
2084
2089
|
});
|
|
2085
2090
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.ChannelFull>;
|
|
2086
2091
|
write(): Buffer;
|
|
@@ -2827,9 +2832,9 @@ export declare namespace Raw {
|
|
|
2827
2832
|
write(): Buffer;
|
|
2828
2833
|
}
|
|
2829
2834
|
class MessageActionSetChatTheme extends TLObject {
|
|
2830
|
-
|
|
2835
|
+
theme: Raw.TypeChatTheme;
|
|
2831
2836
|
constructor(params: {
|
|
2832
|
-
|
|
2837
|
+
theme: Raw.TypeChatTheme;
|
|
2833
2838
|
});
|
|
2834
2839
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.MessageActionSetChatTheme>;
|
|
2835
2840
|
write(): Buffer;
|
|
@@ -3052,6 +3057,8 @@ export declare namespace Raw {
|
|
|
3052
3057
|
upgraded?: boolean;
|
|
3053
3058
|
refunded?: boolean;
|
|
3054
3059
|
canUpgrade?: boolean;
|
|
3060
|
+
prepaidUpgrade?: boolean;
|
|
3061
|
+
upgradeSeparate?: boolean;
|
|
3055
3062
|
gift: Raw.TypeStarGift;
|
|
3056
3063
|
message?: Raw.TypeTextWithEntities;
|
|
3057
3064
|
convertStars?: long;
|
|
@@ -3060,6 +3067,8 @@ export declare namespace Raw {
|
|
|
3060
3067
|
fromId?: Raw.TypePeer;
|
|
3061
3068
|
peer?: Raw.TypePeer;
|
|
3062
3069
|
savedId?: long;
|
|
3070
|
+
prepaidUpgradeHash?: string;
|
|
3071
|
+
giftMsgId?: int;
|
|
3063
3072
|
constructor(params: {
|
|
3064
3073
|
nameHidden?: boolean;
|
|
3065
3074
|
saved?: boolean;
|
|
@@ -3067,6 +3076,8 @@ export declare namespace Raw {
|
|
|
3067
3076
|
upgraded?: boolean;
|
|
3068
3077
|
refunded?: boolean;
|
|
3069
3078
|
canUpgrade?: boolean;
|
|
3079
|
+
prepaidUpgrade?: boolean;
|
|
3080
|
+
upgradeSeparate?: boolean;
|
|
3070
3081
|
gift: Raw.TypeStarGift;
|
|
3071
3082
|
message?: Raw.TypeTextWithEntities;
|
|
3072
3083
|
convertStars?: long;
|
|
@@ -3075,6 +3086,8 @@ export declare namespace Raw {
|
|
|
3075
3086
|
fromId?: Raw.TypePeer;
|
|
3076
3087
|
peer?: Raw.TypePeer;
|
|
3077
3088
|
savedId?: long;
|
|
3089
|
+
prepaidUpgradeHash?: string;
|
|
3090
|
+
giftMsgId?: int;
|
|
3078
3091
|
});
|
|
3079
3092
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.MessageActionStarGift>;
|
|
3080
3093
|
write(): Buffer;
|
|
@@ -3084,6 +3097,7 @@ export declare namespace Raw {
|
|
|
3084
3097
|
transferred?: boolean;
|
|
3085
3098
|
saved?: boolean;
|
|
3086
3099
|
refunded?: boolean;
|
|
3100
|
+
prepaidUpgrade?: boolean;
|
|
3087
3101
|
gift: Raw.TypeStarGift;
|
|
3088
3102
|
canExportAt?: int;
|
|
3089
3103
|
transferStars?: long;
|
|
@@ -3098,6 +3112,7 @@ export declare namespace Raw {
|
|
|
3098
3112
|
transferred?: boolean;
|
|
3099
3113
|
saved?: boolean;
|
|
3100
3114
|
refunded?: boolean;
|
|
3115
|
+
prepaidUpgrade?: boolean;
|
|
3101
3116
|
gift: Raw.TypeStarGift;
|
|
3102
3117
|
canExportAt?: int;
|
|
3103
3118
|
transferStars?: long;
|
|
@@ -3639,7 +3654,7 @@ export declare namespace Raw {
|
|
|
3639
3654
|
commonChatsCount: int;
|
|
3640
3655
|
folderId?: int;
|
|
3641
3656
|
ttlPeriod?: int;
|
|
3642
|
-
|
|
3657
|
+
theme?: Raw.TypeChatTheme;
|
|
3643
3658
|
privateForwardName?: string;
|
|
3644
3659
|
botGroupAdminRights?: Raw.TypeChatAdminRights;
|
|
3645
3660
|
botBroadcastAdminRights?: Raw.TypeChatAdminRights;
|
|
@@ -3661,6 +3676,8 @@ export declare namespace Raw {
|
|
|
3661
3676
|
starsRating?: Raw.TypeStarsRating;
|
|
3662
3677
|
starsMyPendingRating?: Raw.TypeStarsRating;
|
|
3663
3678
|
starsMyPendingRatingDate?: int;
|
|
3679
|
+
mainTab?: Raw.TypeProfileTab;
|
|
3680
|
+
savedMusic?: Raw.TypeDocument;
|
|
3664
3681
|
constructor(params: {
|
|
3665
3682
|
blocked?: boolean;
|
|
3666
3683
|
phoneCallsAvailable?: boolean;
|
|
@@ -3691,7 +3708,7 @@ export declare namespace Raw {
|
|
|
3691
3708
|
commonChatsCount: int;
|
|
3692
3709
|
folderId?: int;
|
|
3693
3710
|
ttlPeriod?: int;
|
|
3694
|
-
|
|
3711
|
+
theme?: Raw.TypeChatTheme;
|
|
3695
3712
|
privateForwardName?: string;
|
|
3696
3713
|
botGroupAdminRights?: Raw.TypeChatAdminRights;
|
|
3697
3714
|
botBroadcastAdminRights?: Raw.TypeChatAdminRights;
|
|
@@ -3713,6 +3730,8 @@ export declare namespace Raw {
|
|
|
3713
3730
|
starsRating?: Raw.TypeStarsRating;
|
|
3714
3731
|
starsMyPendingRating?: Raw.TypeStarsRating;
|
|
3715
3732
|
starsMyPendingRatingDate?: int;
|
|
3733
|
+
mainTab?: Raw.TypeProfileTab;
|
|
3734
|
+
savedMusic?: Raw.TypeDocument;
|
|
3716
3735
|
});
|
|
3717
3736
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.UserFull>;
|
|
3718
3737
|
write(): Buffer;
|
|
@@ -11706,6 +11725,24 @@ export declare namespace Raw {
|
|
|
11706
11725
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.BotCommandScopePeerUser>;
|
|
11707
11726
|
write(): Buffer;
|
|
11708
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
|
+
}
|
|
11709
11746
|
class SponsoredMessage extends TLObject {
|
|
11710
11747
|
recommended?: boolean;
|
|
11711
11748
|
canReport?: boolean;
|
|
@@ -12140,6 +12177,16 @@ export declare namespace Raw {
|
|
|
12140
12177
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.InputInvoiceStarGiftResale>;
|
|
12141
12178
|
write(): Buffer;
|
|
12142
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
|
+
}
|
|
12143
12190
|
class InputStorePaymentPremiumSubscription extends TLObject {
|
|
12144
12191
|
restore?: boolean;
|
|
12145
12192
|
upgrade?: boolean;
|
|
@@ -12208,10 +12255,12 @@ export declare namespace Raw {
|
|
|
12208
12255
|
stars: long;
|
|
12209
12256
|
currency: string;
|
|
12210
12257
|
amount: long;
|
|
12258
|
+
spendPurposePeer?: Raw.TypeInputPeer;
|
|
12211
12259
|
constructor(params: {
|
|
12212
12260
|
stars: long;
|
|
12213
12261
|
currency: string;
|
|
12214
12262
|
amount: long;
|
|
12263
|
+
spendPurposePeer?: Raw.TypeInputPeer;
|
|
12215
12264
|
});
|
|
12216
12265
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.InputStorePaymentStarsTopup>;
|
|
12217
12266
|
write(): Buffer;
|
|
@@ -13945,6 +13994,7 @@ export declare namespace Raw {
|
|
|
13945
13994
|
businessTransfer?: boolean;
|
|
13946
13995
|
stargiftResale?: boolean;
|
|
13947
13996
|
postsSearch?: boolean;
|
|
13997
|
+
stargiftPrepaidUpgrade?: boolean;
|
|
13948
13998
|
id: string;
|
|
13949
13999
|
amount: Raw.TypeStarsAmount;
|
|
13950
14000
|
date: int;
|
|
@@ -13978,6 +14028,7 @@ export declare namespace Raw {
|
|
|
13978
14028
|
businessTransfer?: boolean;
|
|
13979
14029
|
stargiftResale?: boolean;
|
|
13980
14030
|
postsSearch?: boolean;
|
|
14031
|
+
stargiftPrepaidUpgrade?: boolean;
|
|
13981
14032
|
id: string;
|
|
13982
14033
|
amount: Raw.TypeStarsAmount;
|
|
13983
14034
|
date: int;
|
|
@@ -14192,6 +14243,7 @@ export declare namespace Raw {
|
|
|
14192
14243
|
releasedBy?: Raw.TypePeer;
|
|
14193
14244
|
perUserTotal?: int;
|
|
14194
14245
|
perUserRemains?: int;
|
|
14246
|
+
lockedUntilDate?: int;
|
|
14195
14247
|
constructor(params: {
|
|
14196
14248
|
limited?: boolean;
|
|
14197
14249
|
soldOut?: boolean;
|
|
@@ -14213,6 +14265,7 @@ export declare namespace Raw {
|
|
|
14213
14265
|
releasedBy?: Raw.TypePeer;
|
|
14214
14266
|
perUserTotal?: int;
|
|
14215
14267
|
perUserRemains?: int;
|
|
14268
|
+
lockedUntilDate?: int;
|
|
14216
14269
|
});
|
|
14217
14270
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.StarGift>;
|
|
14218
14271
|
write(): Buffer;
|
|
@@ -14220,7 +14273,9 @@ export declare namespace Raw {
|
|
|
14220
14273
|
class StarGiftUnique extends TLObject {
|
|
14221
14274
|
requirePremium?: boolean;
|
|
14222
14275
|
resaleTonOnly?: boolean;
|
|
14276
|
+
themeAvailable?: boolean;
|
|
14223
14277
|
id: long;
|
|
14278
|
+
giftId: long;
|
|
14224
14279
|
title: string;
|
|
14225
14280
|
slug: string;
|
|
14226
14281
|
num: int;
|
|
@@ -14233,10 +14288,15 @@ export declare namespace Raw {
|
|
|
14233
14288
|
giftAddress?: string;
|
|
14234
14289
|
resellAmount?: Vector<Raw.TypeStarsAmount>;
|
|
14235
14290
|
releasedBy?: Raw.TypePeer;
|
|
14291
|
+
valueAmount?: long;
|
|
14292
|
+
valueCurrency?: string;
|
|
14293
|
+
themePeer?: Raw.TypePeer;
|
|
14236
14294
|
constructor(params: {
|
|
14237
14295
|
requirePremium?: boolean;
|
|
14238
14296
|
resaleTonOnly?: boolean;
|
|
14297
|
+
themeAvailable?: boolean;
|
|
14239
14298
|
id: long;
|
|
14299
|
+
giftId: long;
|
|
14240
14300
|
title: string;
|
|
14241
14301
|
slug: string;
|
|
14242
14302
|
num: int;
|
|
@@ -14249,6 +14309,9 @@ export declare namespace Raw {
|
|
|
14249
14309
|
giftAddress?: string;
|
|
14250
14310
|
resellAmount?: Vector<Raw.TypeStarsAmount>;
|
|
14251
14311
|
releasedBy?: Raw.TypePeer;
|
|
14312
|
+
valueAmount?: long;
|
|
14313
|
+
valueCurrency?: string;
|
|
14314
|
+
themePeer?: Raw.TypePeer;
|
|
14252
14315
|
});
|
|
14253
14316
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.StarGiftUnique>;
|
|
14254
14317
|
write(): Buffer;
|
|
@@ -14450,6 +14513,7 @@ export declare namespace Raw {
|
|
|
14450
14513
|
refunded?: boolean;
|
|
14451
14514
|
canUpgrade?: boolean;
|
|
14452
14515
|
pinnedToTop?: boolean;
|
|
14516
|
+
upgradeSeparate?: boolean;
|
|
14453
14517
|
fromId?: Raw.TypePeer;
|
|
14454
14518
|
date: int;
|
|
14455
14519
|
gift: Raw.TypeStarGift;
|
|
@@ -14463,12 +14527,14 @@ export declare namespace Raw {
|
|
|
14463
14527
|
canTransferAt?: int;
|
|
14464
14528
|
canResellAt?: int;
|
|
14465
14529
|
collectionId?: Vector<int>;
|
|
14530
|
+
prepaidUpgradeHash?: string;
|
|
14466
14531
|
constructor(params: {
|
|
14467
14532
|
nameHidden?: boolean;
|
|
14468
14533
|
unsaved?: boolean;
|
|
14469
14534
|
refunded?: boolean;
|
|
14470
14535
|
canUpgrade?: boolean;
|
|
14471
14536
|
pinnedToTop?: boolean;
|
|
14537
|
+
upgradeSeparate?: boolean;
|
|
14472
14538
|
fromId?: Raw.TypePeer;
|
|
14473
14539
|
date: int;
|
|
14474
14540
|
gift: Raw.TypeStarGift;
|
|
@@ -14482,6 +14548,7 @@ export declare namespace Raw {
|
|
|
14482
14548
|
canTransferAt?: int;
|
|
14483
14549
|
canResellAt?: int;
|
|
14484
14550
|
collectionId?: Vector<int>;
|
|
14551
|
+
prepaidUpgradeHash?: string;
|
|
14485
14552
|
});
|
|
14486
14553
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.SavedStarGift>;
|
|
14487
14554
|
write(): Buffer;
|
|
@@ -14768,6 +14835,67 @@ export declare namespace Raw {
|
|
|
14768
14835
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.SearchPostsFlood>;
|
|
14769
14836
|
write(): Buffer;
|
|
14770
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
|
+
}
|
|
14771
14899
|
class InvokeAfterMsg extends TLObject {
|
|
14772
14900
|
__response__: X;
|
|
14773
14901
|
msgId: long;
|
|
@@ -16239,9 +16367,13 @@ export declare namespace Raw {
|
|
|
16239
16367
|
class SentCodePaymentRequired extends TLObject {
|
|
16240
16368
|
storeProduct: string;
|
|
16241
16369
|
phoneCodeHash: string;
|
|
16370
|
+
supportEmailAddress: string;
|
|
16371
|
+
supportEmailSubject: string;
|
|
16242
16372
|
constructor(params: {
|
|
16243
16373
|
storeProduct: string;
|
|
16244
16374
|
phoneCodeHash: string;
|
|
16375
|
+
supportEmailAddress: string;
|
|
16376
|
+
supportEmailSubject: string;
|
|
16245
16377
|
});
|
|
16246
16378
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.auth.SentCodePaymentRequired>;
|
|
16247
16379
|
write(): Buffer;
|
|
@@ -18182,9 +18314,11 @@ export declare namespace Raw {
|
|
|
18182
18314
|
}
|
|
18183
18315
|
class WebPagePreview extends TLObject {
|
|
18184
18316
|
media: Raw.TypeMessageMedia;
|
|
18317
|
+
chats: Vector<Raw.TypeChat>;
|
|
18185
18318
|
users: Vector<Raw.TypeUser>;
|
|
18186
18319
|
constructor(params: {
|
|
18187
18320
|
media: Raw.TypeMessageMedia;
|
|
18321
|
+
chats: Vector<Raw.TypeChat>;
|
|
18188
18322
|
users: Vector<Raw.TypeUser>;
|
|
18189
18323
|
});
|
|
18190
18324
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.messages.WebPagePreview>;
|
|
@@ -20126,10 +20260,10 @@ export declare namespace Raw {
|
|
|
20126
20260
|
class SetChatTheme extends TLObject {
|
|
20127
20261
|
__response__: Raw.TypeUpdates;
|
|
20128
20262
|
peer: Raw.TypeInputPeer;
|
|
20129
|
-
|
|
20263
|
+
theme: Raw.TypeInputChatTheme;
|
|
20130
20264
|
constructor(params: {
|
|
20131
20265
|
peer: Raw.TypeInputPeer;
|
|
20132
|
-
|
|
20266
|
+
theme: Raw.TypeInputChatTheme;
|
|
20133
20267
|
});
|
|
20134
20268
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.messages.SetChatTheme>;
|
|
20135
20269
|
write(): Buffer;
|
|
@@ -21722,6 +21856,8 @@ export declare namespace Raw {
|
|
|
21722
21856
|
}
|
|
21723
21857
|
}
|
|
21724
21858
|
namespace account {
|
|
21859
|
+
type TypeChatThemes = Raw.account.ChatThemesNotModified | Raw.account.ChatThemes;
|
|
21860
|
+
type TypeSavedMusicIds = Raw.account.SavedMusicIdsNotModified | Raw.account.SavedMusicIds;
|
|
21725
21861
|
type TypePaidMessagesRevenue = Raw.account.PaidMessagesRevenue;
|
|
21726
21862
|
type TypeResolvedBusinessChatLinks = Raw.account.ResolvedBusinessChatLinks;
|
|
21727
21863
|
type TypeBusinessChatLinks = Raw.account.BusinessChatLinks;
|
|
@@ -21953,6 +22089,27 @@ export declare namespace Raw {
|
|
|
21953
22089
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.account.ResetPasswordOk>;
|
|
21954
22090
|
write(): Buffer;
|
|
21955
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
|
+
}
|
|
21956
22113
|
class SavedRingtonesNotModified extends TLObject {
|
|
21957
22114
|
constructor();
|
|
21958
22115
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.account.SavedRingtonesNotModified>;
|
|
@@ -22078,6 +22235,19 @@ export declare namespace Raw {
|
|
|
22078
22235
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.account.PaidMessagesRevenue>;
|
|
22079
22236
|
write(): Buffer;
|
|
22080
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
|
+
}
|
|
22081
22251
|
class RegisterDevice extends TLObject {
|
|
22082
22252
|
__response__: Bool;
|
|
22083
22253
|
noMuted?: boolean;
|
|
@@ -23231,6 +23401,50 @@ export declare namespace Raw {
|
|
|
23231
23401
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.account.ToggleNoPaidMessagesException>;
|
|
23232
23402
|
write(): Buffer;
|
|
23233
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
|
+
}
|
|
23234
23448
|
}
|
|
23235
23449
|
namespace channels {
|
|
23236
23450
|
type TypeSendAsPeers = Raw.channels.SendAsPeers;
|
|
@@ -24098,8 +24312,21 @@ export declare namespace Raw {
|
|
|
24098
24312
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.channels.CheckSearchPostsFlood>;
|
|
24099
24313
|
write(): Buffer;
|
|
24100
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
|
+
}
|
|
24101
24326
|
}
|
|
24102
24327
|
namespace payments {
|
|
24328
|
+
type TypeCheckCanSendGiftResult = Raw.payments.CheckCanSendGiftResultOk | Raw.payments.CheckCanSendGiftResultFail;
|
|
24329
|
+
type TypeUniqueStarGiftValueInfo = Raw.payments.UniqueStarGiftValueInfo;
|
|
24103
24330
|
type TypeStarGiftCollections = Raw.payments.StarGiftCollectionsNotModified | Raw.payments.StarGiftCollections;
|
|
24104
24331
|
type TypeResaleStarGifts = Raw.payments.ResaleStarGifts;
|
|
24105
24332
|
type TypeStarGiftWithdrawalUrl = Raw.payments.StarGiftWithdrawalUrl;
|
|
@@ -24475,9 +24702,11 @@ export declare namespace Raw {
|
|
|
24475
24702
|
}
|
|
24476
24703
|
class UniqueStarGift extends TLObject {
|
|
24477
24704
|
gift: Raw.TypeStarGift;
|
|
24705
|
+
chats: Vector<Raw.TypeChat>;
|
|
24478
24706
|
users: Vector<Raw.TypeUser>;
|
|
24479
24707
|
constructor(params: {
|
|
24480
24708
|
gift: Raw.TypeStarGift;
|
|
24709
|
+
chats: Vector<Raw.TypeChat>;
|
|
24481
24710
|
users: Vector<Raw.TypeUser>;
|
|
24482
24711
|
});
|
|
24483
24712
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.payments.UniqueStarGift>;
|
|
@@ -24544,6 +24773,53 @@ export declare namespace Raw {
|
|
|
24544
24773
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.payments.StarGiftCollections>;
|
|
24545
24774
|
write(): Buffer;
|
|
24546
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
|
+
}
|
|
24547
24823
|
class GetPaymentForm extends TLObject {
|
|
24548
24824
|
__response__: Raw.payments.TypePaymentForm;
|
|
24549
24825
|
invoice: Raw.TypeInputInvoice;
|
|
@@ -25024,9 +25300,10 @@ export declare namespace Raw {
|
|
|
25024
25300
|
excludeUnsaved?: boolean;
|
|
25025
25301
|
excludeSaved?: boolean;
|
|
25026
25302
|
excludeUnlimited?: boolean;
|
|
25027
|
-
excludeLimited?: boolean;
|
|
25028
25303
|
excludeUnique?: boolean;
|
|
25029
25304
|
sortByValue?: boolean;
|
|
25305
|
+
excludeUpgradable?: boolean;
|
|
25306
|
+
excludeUnupgradable?: boolean;
|
|
25030
25307
|
peer: Raw.TypeInputPeer;
|
|
25031
25308
|
collectionId?: int;
|
|
25032
25309
|
offset: string;
|
|
@@ -25035,9 +25312,10 @@ export declare namespace Raw {
|
|
|
25035
25312
|
excludeUnsaved?: boolean;
|
|
25036
25313
|
excludeSaved?: boolean;
|
|
25037
25314
|
excludeUnlimited?: boolean;
|
|
25038
|
-
excludeLimited?: boolean;
|
|
25039
25315
|
excludeUnique?: boolean;
|
|
25040
25316
|
sortByValue?: boolean;
|
|
25317
|
+
excludeUpgradable?: boolean;
|
|
25318
|
+
excludeUnupgradable?: boolean;
|
|
25041
25319
|
peer: Raw.TypeInputPeer;
|
|
25042
25320
|
collectionId?: int;
|
|
25043
25321
|
offset: string;
|
|
@@ -25194,6 +25472,24 @@ export declare namespace Raw {
|
|
|
25194
25472
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.payments.GetStarGiftCollections>;
|
|
25195
25473
|
write(): Buffer;
|
|
25196
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
|
+
}
|
|
25197
25493
|
}
|
|
25198
25494
|
namespace phone {
|
|
25199
25495
|
type TypeGroupCallStreamRtmpUrl = Raw.phone.GroupCallStreamRtmpUrl;
|
|
@@ -26130,6 +26426,7 @@ export declare namespace Raw {
|
|
|
26130
26426
|
}
|
|
26131
26427
|
namespace users {
|
|
26132
26428
|
type TypeUsers = Raw.users.Users | Raw.users.UsersSlice;
|
|
26429
|
+
type TypeSavedMusic = Raw.users.SavedMusicNotModified | Raw.users.SavedMusic;
|
|
26133
26430
|
type TypeUserFull = Raw.users.UserFull;
|
|
26134
26431
|
class UserFull extends TLObject {
|
|
26135
26432
|
fullUser: Raw.TypeUserFull;
|
|
@@ -26161,6 +26458,24 @@ export declare namespace Raw {
|
|
|
26161
26458
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.users.UsersSlice>;
|
|
26162
26459
|
write(): Buffer;
|
|
26163
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
|
+
}
|
|
26164
26479
|
class GetUsers extends TLObject {
|
|
26165
26480
|
__response__: Vector<Raw.TypeUser>;
|
|
26166
26481
|
id: Vector<Raw.TypeInputUser>;
|
|
@@ -26199,6 +26514,32 @@ export declare namespace Raw {
|
|
|
26199
26514
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.users.GetRequirementsToContact>;
|
|
26200
26515
|
write(): Buffer;
|
|
26201
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
|
+
}
|
|
26202
26543
|
}
|
|
26203
26544
|
namespace chatlists {
|
|
26204
26545
|
type TypeChatlistUpdates = Raw.chatlists.ChatlistUpdates;
|