@tgsnake/skema 1.3.0 → 1.5.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 +77 -31
- package/dist/raw/All.js +77 -31
- package/dist/raw/Raw.d.ts +726 -173
- package/dist/raw/Raw.js +2384 -514
- 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.auth.CheckPaidAuth | 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.users.SuggestBirthday | 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.contacts.UpdateContactNote | 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.messages.GetForumTopics | Raw.messages.GetForumTopicsByID | Raw.messages.EditForumTopic | Raw.messages.UpdatePinnedForumTopic | Raw.messages.ReorderPinnedForumTopics | Raw.messages.CreateForumTopic | Raw.messages.DeleteTopicHistory | 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.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.phone.SendGroupCallMessage | Raw.phone.SendGroupCallEncryptedMessage | 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 | Raw.InputInvoicePremiumAuthCode | Raw.InputInvoiceStarGiftDropOriginalDetails;
|
|
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;
|
|
@@ -104,6 +105,7 @@ export declare namespace Raw {
|
|
|
104
105
|
type TypeStarGiftAttributeId = Raw.StarGiftAttributeIdModel | Raw.StarGiftAttributeIdPattern | Raw.StarGiftAttributeIdBackdrop;
|
|
105
106
|
type TypeSponsoredPeer = Raw.SponsoredPeer;
|
|
106
107
|
type TypeSavedStarGift = Raw.SavedStarGift;
|
|
108
|
+
type TypeStarGiftUpgradePrice = Raw.StarGiftUpgradePrice;
|
|
107
109
|
type TypeConnectedBotStarRef = Raw.ConnectedBotStarRef;
|
|
108
110
|
type TypeMessageReportOption = Raw.MessageReportOption;
|
|
109
111
|
type TypeStarGiftAttribute = Raw.StarGiftAttributeModel | Raw.StarGiftAttributePattern | Raw.StarGiftAttributeBackdrop | Raw.StarGiftAttributeOriginalDetails;
|
|
@@ -244,7 +246,7 @@ export declare namespace Raw {
|
|
|
244
246
|
type TypeInputUser = Raw.InputUserEmpty | Raw.InputUserSelf | Raw.InputUser | Raw.InputUserFromMessage;
|
|
245
247
|
type TypeEncryptedFile = Raw.EncryptedFileEmpty | Raw.EncryptedFile;
|
|
246
248
|
type TypeFileHash = Raw.FileHash;
|
|
247
|
-
type TypeUpdate = Raw.UpdateNewMessage | Raw.UpdateMessageID | Raw.UpdateDeleteMessages | Raw.UpdateUserTyping | Raw.UpdateChatUserTyping | Raw.UpdateChatParticipants | Raw.UpdateUserStatus | Raw.UpdateUserName | Raw.UpdateNewAuthorization | Raw.UpdateNewEncryptedMessage | Raw.UpdateEncryptedChatTyping | Raw.UpdateEncryption | Raw.UpdateEncryptedMessagesRead | Raw.UpdateChatParticipantAdd | Raw.UpdateChatParticipantDelete | Raw.UpdateDcOptions | Raw.UpdateNotifySettings | Raw.UpdateServiceNotification | Raw.UpdatePrivacy | Raw.UpdateUserPhone | Raw.UpdateReadHistoryInbox | Raw.UpdateReadHistoryOutbox | Raw.UpdateWebPage | Raw.UpdateReadMessagesContents | Raw.UpdateChannelTooLong | Raw.UpdateChannel | Raw.UpdateNewChannelMessage | Raw.UpdateReadChannelInbox | Raw.UpdateDeleteChannelMessages | Raw.UpdateChannelMessageViews | Raw.UpdateChatParticipantAdmin | Raw.UpdateNewStickerSet | Raw.UpdateStickerSetsOrder | Raw.UpdateStickerSets | Raw.UpdateSavedGifs | Raw.UpdateBotInlineQuery | Raw.UpdateBotInlineSend | Raw.UpdateEditChannelMessage | Raw.UpdateBotCallbackQuery | Raw.UpdateEditMessage | Raw.UpdateInlineBotCallbackQuery | Raw.UpdateReadChannelOutbox | Raw.UpdateDraftMessage | Raw.UpdateReadFeaturedStickers | Raw.UpdateRecentStickers | Raw.UpdateConfig | Raw.UpdatePtsChanged | Raw.UpdateChannelWebPage | Raw.UpdateDialogPinned | Raw.UpdatePinnedDialogs | Raw.UpdateBotWebhookJSON | Raw.UpdateBotWebhookJSONQuery | Raw.UpdateBotShippingQuery | Raw.UpdateBotPrecheckoutQuery | Raw.UpdatePhoneCall | Raw.UpdateLangPackTooLong | Raw.UpdateLangPack | Raw.UpdateFavedStickers | Raw.UpdateChannelReadMessagesContents | Raw.UpdateContactsReset | Raw.UpdateChannelAvailableMessages | Raw.UpdateDialogUnreadMark | Raw.UpdateMessagePoll | Raw.UpdateChatDefaultBannedRights | Raw.UpdateFolderPeers | Raw.UpdatePeerSettings | Raw.UpdatePeerLocated | Raw.UpdateNewScheduledMessage | Raw.UpdateDeleteScheduledMessages | Raw.UpdateTheme | Raw.UpdateGeoLiveViewed | Raw.UpdateLoginToken | Raw.UpdateMessagePollVote | Raw.UpdateDialogFilter | Raw.UpdateDialogFilterOrder | Raw.UpdateDialogFilters | Raw.UpdatePhoneCallSignalingData | Raw.UpdateChannelMessageForwards | Raw.UpdateReadChannelDiscussionInbox | Raw.UpdateReadChannelDiscussionOutbox | Raw.UpdatePeerBlocked | Raw.UpdateChannelUserTyping | Raw.UpdatePinnedMessages | Raw.UpdatePinnedChannelMessages | Raw.UpdateChat | Raw.UpdateGroupCallParticipants | Raw.UpdateGroupCall | Raw.UpdatePeerHistoryTTL | Raw.UpdateChatParticipant | Raw.UpdateChannelParticipant | Raw.UpdateBotStopped | Raw.UpdateGroupCallConnection | Raw.UpdateBotCommands | Raw.UpdatePendingJoinRequests | Raw.UpdateBotChatInviteRequester | Raw.UpdateMessageReactions | Raw.UpdateAttachMenuBots | Raw.UpdateWebViewResultSent | Raw.UpdateBotMenuButton | Raw.UpdateSavedRingtones | Raw.UpdateTranscribedAudio | Raw.UpdateReadFeaturedEmojiStickers | Raw.UpdateUserEmojiStatus | Raw.UpdateRecentEmojiStatuses | Raw.UpdateRecentReactions | Raw.UpdateMoveStickerSetToTop | Raw.UpdateMessageExtendedMedia | Raw.
|
|
249
|
+
type TypeUpdate = Raw.UpdateNewMessage | Raw.UpdateMessageID | Raw.UpdateDeleteMessages | Raw.UpdateUserTyping | Raw.UpdateChatUserTyping | Raw.UpdateChatParticipants | Raw.UpdateUserStatus | Raw.UpdateUserName | Raw.UpdateNewAuthorization | Raw.UpdateNewEncryptedMessage | Raw.UpdateEncryptedChatTyping | Raw.UpdateEncryption | Raw.UpdateEncryptedMessagesRead | Raw.UpdateChatParticipantAdd | Raw.UpdateChatParticipantDelete | Raw.UpdateDcOptions | Raw.UpdateNotifySettings | Raw.UpdateServiceNotification | Raw.UpdatePrivacy | Raw.UpdateUserPhone | Raw.UpdateReadHistoryInbox | Raw.UpdateReadHistoryOutbox | Raw.UpdateWebPage | Raw.UpdateReadMessagesContents | Raw.UpdateChannelTooLong | Raw.UpdateChannel | Raw.UpdateNewChannelMessage | Raw.UpdateReadChannelInbox | Raw.UpdateDeleteChannelMessages | Raw.UpdateChannelMessageViews | Raw.UpdateChatParticipantAdmin | Raw.UpdateNewStickerSet | Raw.UpdateStickerSetsOrder | Raw.UpdateStickerSets | Raw.UpdateSavedGifs | Raw.UpdateBotInlineQuery | Raw.UpdateBotInlineSend | Raw.UpdateEditChannelMessage | Raw.UpdateBotCallbackQuery | Raw.UpdateEditMessage | Raw.UpdateInlineBotCallbackQuery | Raw.UpdateReadChannelOutbox | Raw.UpdateDraftMessage | Raw.UpdateReadFeaturedStickers | Raw.UpdateRecentStickers | Raw.UpdateConfig | Raw.UpdatePtsChanged | Raw.UpdateChannelWebPage | Raw.UpdateDialogPinned | Raw.UpdatePinnedDialogs | Raw.UpdateBotWebhookJSON | Raw.UpdateBotWebhookJSONQuery | Raw.UpdateBotShippingQuery | Raw.UpdateBotPrecheckoutQuery | Raw.UpdatePhoneCall | Raw.UpdateLangPackTooLong | Raw.UpdateLangPack | Raw.UpdateFavedStickers | Raw.UpdateChannelReadMessagesContents | Raw.UpdateContactsReset | Raw.UpdateChannelAvailableMessages | Raw.UpdateDialogUnreadMark | Raw.UpdateMessagePoll | Raw.UpdateChatDefaultBannedRights | Raw.UpdateFolderPeers | Raw.UpdatePeerSettings | Raw.UpdatePeerLocated | Raw.UpdateNewScheduledMessage | Raw.UpdateDeleteScheduledMessages | Raw.UpdateTheme | Raw.UpdateGeoLiveViewed | Raw.UpdateLoginToken | Raw.UpdateMessagePollVote | Raw.UpdateDialogFilter | Raw.UpdateDialogFilterOrder | Raw.UpdateDialogFilters | Raw.UpdatePhoneCallSignalingData | Raw.UpdateChannelMessageForwards | Raw.UpdateReadChannelDiscussionInbox | Raw.UpdateReadChannelDiscussionOutbox | Raw.UpdatePeerBlocked | Raw.UpdateChannelUserTyping | Raw.UpdatePinnedMessages | Raw.UpdatePinnedChannelMessages | Raw.UpdateChat | Raw.UpdateGroupCallParticipants | Raw.UpdateGroupCall | Raw.UpdatePeerHistoryTTL | Raw.UpdateChatParticipant | Raw.UpdateChannelParticipant | Raw.UpdateBotStopped | Raw.UpdateGroupCallConnection | Raw.UpdateBotCommands | Raw.UpdatePendingJoinRequests | Raw.UpdateBotChatInviteRequester | Raw.UpdateMessageReactions | Raw.UpdateAttachMenuBots | Raw.UpdateWebViewResultSent | Raw.UpdateBotMenuButton | Raw.UpdateSavedRingtones | Raw.UpdateTranscribedAudio | Raw.UpdateReadFeaturedEmojiStickers | Raw.UpdateUserEmojiStatus | Raw.UpdateRecentEmojiStatuses | Raw.UpdateRecentReactions | Raw.UpdateMoveStickerSetToTop | Raw.UpdateMessageExtendedMedia | Raw.UpdateUser | Raw.UpdateAutoSaveSettings | Raw.UpdateStory | Raw.UpdateReadStories | Raw.UpdateStoryID | Raw.UpdateStoriesStealthMode | Raw.UpdateSentStoryReaction | Raw.UpdateBotChatBoost | Raw.UpdateChannelViewForumAsMessages | Raw.UpdatePeerWallpaper | Raw.UpdateBotMessageReaction | Raw.UpdateBotMessageReactions | Raw.UpdateSavedDialogPinned | Raw.UpdatePinnedSavedDialogs | Raw.UpdateSavedReactionTags | Raw.UpdateSmsJob | Raw.UpdateQuickReplies | Raw.UpdateNewQuickReply | Raw.UpdateDeleteQuickReply | Raw.UpdateQuickReplyMessage | Raw.UpdateDeleteQuickReplyMessages | Raw.UpdateBotBusinessConnect | Raw.UpdateBotNewBusinessMessage | Raw.UpdateBotEditBusinessMessage | Raw.UpdateBotDeleteBusinessMessage | Raw.UpdateNewStoryReaction | Raw.UpdateStarsBalance | Raw.UpdateBusinessBotCallbackQuery | Raw.UpdateStarsRevenueStatus | Raw.UpdateBotPurchasedPaidMedia | Raw.UpdatePaidReactionPrivacy | Raw.UpdateSentPhoneCode | Raw.UpdateGroupCallChainBlocks | Raw.UpdateReadMonoForumInbox | Raw.UpdateReadMonoForumOutbox | Raw.UpdateMonoForumNoPaidException | Raw.UpdateGroupCallMessage | Raw.UpdateGroupCallEncryptedMessage | Raw.UpdatePinnedForumTopic | Raw.UpdatePinnedForumTopics | UpdateSecretChatMessage;
|
|
248
250
|
type TypePaidReactionPrivacy = Raw.PaidReactionPrivacyDefault | Raw.PaidReactionPrivacyAnonymous | Raw.PaidReactionPrivacyPeer;
|
|
249
251
|
type TypeStarsRevenueStatus = Raw.StarsRevenueStatus;
|
|
250
252
|
type TypeBotBusinessConnection = Raw.BotBusinessConnection;
|
|
@@ -274,10 +276,10 @@ export declare namespace Raw {
|
|
|
274
276
|
type TypeDcOption = Raw.DcOption;
|
|
275
277
|
type TypeEncryptedChat = Raw.EncryptedChatEmpty | Raw.EncryptedChatWaiting | Raw.EncryptedChatRequested | Raw.EncryptedChat | Raw.EncryptedChatDiscarded;
|
|
276
278
|
type TypeEncryptedMessage = Raw.EncryptedMessage | Raw.EncryptedMessageService;
|
|
277
|
-
type TypeSendMessageAction = Raw.SendMessageTypingAction | Raw.SendMessageCancelAction | Raw.SendMessageRecordVideoAction | Raw.SendMessageUploadVideoAction | Raw.SendMessageRecordAudioAction | Raw.SendMessageUploadAudioAction | Raw.SendMessageUploadPhotoAction | Raw.SendMessageUploadDocumentAction | Raw.SendMessageGeoLocationAction | Raw.SendMessageChooseContactAction | Raw.SendMessageGamePlayAction | Raw.SendMessageRecordRoundAction | Raw.SendMessageUploadRoundAction | Raw.SpeakingInGroupCallAction | Raw.SendMessageHistoryImportAction | Raw.SendMessageChooseStickerAction | Raw.SendMessageEmojiInteraction | Raw.SendMessageEmojiInteractionSeen | Raw.SendMessageUploadVideoAction17 | Raw.SendMessageUploadAudioAction17 | Raw.SendMessageUploadPhotoAction17 | Raw.SendMessageUploadDocumentAction17 | Raw.SendMessageUploadRoundAction66;
|
|
279
|
+
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.SendMessageTextDraftAction | Raw.SendMessageUploadVideoAction17 | Raw.SendMessageUploadAudioAction17 | Raw.SendMessageUploadPhotoAction17 | Raw.SendMessageUploadDocumentAction17 | Raw.SendMessageUploadRoundAction66;
|
|
278
280
|
type TypeChatFull = Raw.ChatFull | Raw.ChannelFull;
|
|
279
|
-
type TypeForumTopic = Raw.ForumTopicDeleted | Raw.ForumTopic;
|
|
280
281
|
type TypeSearchPostsFlood = Raw.SearchPostsFlood;
|
|
282
|
+
type TypeForumTopic = Raw.ForumTopicDeleted | Raw.ForumTopic;
|
|
281
283
|
type TypeMessage = Raw.MessageEmpty | Raw.Message | Raw.MessageService;
|
|
282
284
|
type TypeDialog = Raw.Dialog | Raw.DialogFolder;
|
|
283
285
|
type TypeChat = Raw.ChatEmpty | Raw.Chat | Raw.ChatForbidden | Raw.Channel | Raw.ChannelForbidden;
|
|
@@ -288,7 +290,6 @@ export declare namespace Raw {
|
|
|
288
290
|
type TypeStarsRating = Raw.StarsRating;
|
|
289
291
|
type TypeDisallowedGiftsSettings = Raw.DisallowedGiftsSettings;
|
|
290
292
|
type TypeStarRefProgram = Raw.StarRefProgram;
|
|
291
|
-
type TypeBirthday = Raw.Birthday;
|
|
292
293
|
type TypeBusinessIntro = Raw.BusinessIntro;
|
|
293
294
|
type TypeBusinessAwayMessage = Raw.BusinessAwayMessage;
|
|
294
295
|
type TypeBusinessGreetingMessage = Raw.BusinessGreetingMessage;
|
|
@@ -301,11 +302,13 @@ export declare namespace Raw {
|
|
|
301
302
|
type TypePhotoSize = Raw.PhotoSizeEmpty | Raw.PhotoSize | Raw.PhotoCachedSize | Raw.PhotoStrippedSize | Raw.PhotoSizeProgressive | Raw.PhotoPathSize | Raw.PhotoSize23 | Raw.PhotoCachedSize23;
|
|
302
303
|
type TypeFolder = Raw.Folder;
|
|
303
304
|
type TypeDraftMessage = Raw.DraftMessageEmpty | Raw.DraftMessage;
|
|
305
|
+
type TypeBirthday = Raw.Birthday;
|
|
304
306
|
type TypeTodoItem = Raw.TodoItem;
|
|
305
307
|
type TypeStarsAmount = Raw.StarsAmount | Raw.StarsTonAmount;
|
|
306
308
|
type TypeStarGift = Raw.StarGift | Raw.StarGiftUnique;
|
|
307
309
|
type TypeRequestedPeer = Raw.RequestedPeerUser | Raw.RequestedPeerChat | Raw.RequestedPeerChannel;
|
|
308
310
|
type TypeTextWithEntities = Raw.TextWithEntities;
|
|
311
|
+
type TypeChatTheme = Raw.ChatTheme | Raw.ChatThemeUniqueGift;
|
|
309
312
|
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
313
|
type TypeSecureCredentialsEncrypted = Raw.SecureCredentialsEncrypted;
|
|
311
314
|
type TypeSecureValue = Raw.SecureValue;
|
|
@@ -322,7 +325,7 @@ export declare namespace Raw {
|
|
|
322
325
|
type TypeWebPage = Raw.WebPageEmpty | Raw.WebPagePending | Raw.WebPage | Raw.WebPageNotModified;
|
|
323
326
|
type TypeDocument = Raw.DocumentEmpty | Raw.Document;
|
|
324
327
|
type TypeGeoPoint = Raw.GeoPointEmpty | Raw.GeoPoint;
|
|
325
|
-
type TypeMessageAction = Raw.MessageActionEmpty | Raw.MessageActionChatCreate | Raw.MessageActionChatEditTitle | Raw.MessageActionChatEditPhoto | Raw.MessageActionChatDeletePhoto | Raw.MessageActionChatAddUser | Raw.MessageActionChatDeleteUser | Raw.MessageActionChatJoinedByLink | Raw.MessageActionChannelCreate | Raw.MessageActionChatMigrateTo | Raw.MessageActionChannelMigrateFrom | Raw.MessageActionPinMessage | Raw.MessageActionHistoryClear | Raw.MessageActionGameScore | Raw.MessageActionPaymentSentMe | Raw.MessageActionPaymentSent | Raw.MessageActionPhoneCall | Raw.MessageActionScreenshotTaken | Raw.MessageActionCustomAction | Raw.MessageActionBotAllowed | Raw.MessageActionSecureValuesSentMe | Raw.MessageActionSecureValuesSent | Raw.MessageActionContactSignUp | Raw.MessageActionGeoProximityReached | Raw.MessageActionGroupCall | Raw.MessageActionInviteToGroupCall | Raw.MessageActionSetMessagesTTL | Raw.MessageActionGroupCallScheduled | Raw.MessageActionSetChatTheme | Raw.MessageActionChatJoinedByRequest | Raw.MessageActionWebViewDataSentMe | Raw.MessageActionWebViewDataSent | Raw.MessageActionGiftPremium | Raw.MessageActionTopicCreate | Raw.MessageActionTopicEdit | Raw.MessageActionSuggestProfilePhoto | Raw.MessageActionRequestedPeer | Raw.MessageActionSetChatWallPaper | Raw.MessageActionGiftCode | Raw.MessageActionGiveawayLaunch | Raw.MessageActionGiveawayResults | Raw.MessageActionBoostApply | Raw.MessageActionRequestedPeerSentMe | Raw.MessageActionPaymentRefunded | Raw.MessageActionGiftStars | Raw.MessageActionPrizeStars | Raw.MessageActionStarGift | Raw.MessageActionStarGiftUnique | Raw.MessageActionPaidMessagesRefunded | Raw.MessageActionPaidMessagesPrice | Raw.MessageActionConferenceCall | Raw.MessageActionTodoCompletions | Raw.MessageActionTodoAppendTasks | Raw.MessageActionSuggestedPostApproval | Raw.MessageActionSuggestedPostSuccess | Raw.MessageActionSuggestedPostRefund | Raw.MessageActionGiftTon;
|
|
328
|
+
type TypeMessageAction = Raw.MessageActionEmpty | Raw.MessageActionChatCreate | Raw.MessageActionChatEditTitle | Raw.MessageActionChatEditPhoto | Raw.MessageActionChatDeletePhoto | Raw.MessageActionChatAddUser | Raw.MessageActionChatDeleteUser | Raw.MessageActionChatJoinedByLink | Raw.MessageActionChannelCreate | Raw.MessageActionChatMigrateTo | Raw.MessageActionChannelMigrateFrom | Raw.MessageActionPinMessage | Raw.MessageActionHistoryClear | Raw.MessageActionGameScore | Raw.MessageActionPaymentSentMe | Raw.MessageActionPaymentSent | Raw.MessageActionPhoneCall | Raw.MessageActionScreenshotTaken | Raw.MessageActionCustomAction | Raw.MessageActionBotAllowed | Raw.MessageActionSecureValuesSentMe | Raw.MessageActionSecureValuesSent | Raw.MessageActionContactSignUp | Raw.MessageActionGeoProximityReached | Raw.MessageActionGroupCall | Raw.MessageActionInviteToGroupCall | Raw.MessageActionSetMessagesTTL | Raw.MessageActionGroupCallScheduled | Raw.MessageActionSetChatTheme | Raw.MessageActionChatJoinedByRequest | Raw.MessageActionWebViewDataSentMe | Raw.MessageActionWebViewDataSent | Raw.MessageActionGiftPremium | Raw.MessageActionTopicCreate | Raw.MessageActionTopicEdit | Raw.MessageActionSuggestProfilePhoto | Raw.MessageActionRequestedPeer | Raw.MessageActionSetChatWallPaper | Raw.MessageActionGiftCode | Raw.MessageActionGiveawayLaunch | Raw.MessageActionGiveawayResults | Raw.MessageActionBoostApply | Raw.MessageActionRequestedPeerSentMe | Raw.MessageActionPaymentRefunded | Raw.MessageActionGiftStars | Raw.MessageActionPrizeStars | Raw.MessageActionStarGift | Raw.MessageActionStarGiftUnique | Raw.MessageActionPaidMessagesRefunded | Raw.MessageActionPaidMessagesPrice | Raw.MessageActionConferenceCall | Raw.MessageActionTodoCompletions | Raw.MessageActionTodoAppendTasks | Raw.MessageActionSuggestedPostApproval | Raw.MessageActionSuggestedPostSuccess | Raw.MessageActionSuggestedPostRefund | Raw.MessageActionGiftTon | Raw.MessageActionSuggestBirthday;
|
|
326
329
|
type TypeSuggestedPost = Raw.SuggestedPost;
|
|
327
330
|
type TypeFactCheck = Raw.FactCheck;
|
|
328
331
|
type TypeMessageReactions = Raw.MessageReactions;
|
|
@@ -332,6 +335,7 @@ export declare namespace Raw {
|
|
|
332
335
|
type TypeMessageReplyHeader = Raw.MessageReplyHeader | Raw.MessageReplyStoryHeader;
|
|
333
336
|
type TypeMessageFwdHeader = Raw.MessageFwdHeader;
|
|
334
337
|
type TypeChatParticipant = Raw.ChatParticipant | Raw.ChatParticipantCreator | Raw.ChatParticipantAdmin;
|
|
338
|
+
type TypeProfileTab = Raw.ProfileTabPosts | Raw.ProfileTabGifts | Raw.ProfileTabMedia | Raw.ProfileTabFiles | Raw.ProfileTabMusic | Raw.ProfileTabVoice | Raw.ProfileTabLinks | Raw.ProfileTabGifs;
|
|
335
339
|
type TypeBotVerification = Raw.BotVerification;
|
|
336
340
|
type TypeWallPaper = Raw.WallPaper | Raw.WallPaperNoFile;
|
|
337
341
|
type TypePeerStories = Raw.PeerStories;
|
|
@@ -348,7 +352,7 @@ export declare namespace Raw {
|
|
|
348
352
|
type TypeChatAdminRights = Raw.ChatAdminRights;
|
|
349
353
|
type TypeInputChannel = Raw.InputChannelEmpty | Raw.InputChannel | Raw.InputChannelFromMessage;
|
|
350
354
|
type TypeChatPhoto = Raw.ChatPhotoEmpty | Raw.ChatPhoto;
|
|
351
|
-
type TypePeerColor = Raw.PeerColor;
|
|
355
|
+
type TypePeerColor = Raw.PeerColor | Raw.PeerColorCollectible | Raw.InputPeerColorCollectible;
|
|
352
356
|
type TypeUsername = Raw.Username;
|
|
353
357
|
type TypeEmojiStatus = Raw.EmojiStatusEmpty | Raw.EmojiStatus | Raw.EmojiStatusCollectible | Raw.InputEmojiStatusCollectible;
|
|
354
358
|
type TypeRestrictionReason = Raw.RestrictionReason;
|
|
@@ -1591,6 +1595,7 @@ export declare namespace Raw {
|
|
|
1591
1595
|
contactRequirePremium?: boolean;
|
|
1592
1596
|
botBusiness?: boolean;
|
|
1593
1597
|
botHasMainApp?: boolean;
|
|
1598
|
+
botForumView?: boolean;
|
|
1594
1599
|
id: long;
|
|
1595
1600
|
accessHash?: long;
|
|
1596
1601
|
firstName?: string;
|
|
@@ -1637,6 +1642,7 @@ export declare namespace Raw {
|
|
|
1637
1642
|
contactRequirePremium?: boolean;
|
|
1638
1643
|
botBusiness?: boolean;
|
|
1639
1644
|
botHasMainApp?: boolean;
|
|
1645
|
+
botForumView?: boolean;
|
|
1640
1646
|
id: long;
|
|
1641
1647
|
accessHash?: long;
|
|
1642
1648
|
firstName?: string;
|
|
@@ -2015,6 +2021,7 @@ export declare namespace Raw {
|
|
|
2015
2021
|
botVerification?: Raw.TypeBotVerification;
|
|
2016
2022
|
stargiftsCount?: int;
|
|
2017
2023
|
sendPaidMessagesStars?: long;
|
|
2024
|
+
mainTab?: Raw.TypeProfileTab;
|
|
2018
2025
|
constructor(params: {
|
|
2019
2026
|
canViewParticipants?: boolean;
|
|
2020
2027
|
canSetUsername?: boolean;
|
|
@@ -2081,6 +2088,7 @@ export declare namespace Raw {
|
|
|
2081
2088
|
botVerification?: Raw.TypeBotVerification;
|
|
2082
2089
|
stargiftsCount?: int;
|
|
2083
2090
|
sendPaidMessagesStars?: long;
|
|
2091
|
+
mainTab?: Raw.TypeProfileTab;
|
|
2084
2092
|
});
|
|
2085
2093
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.ChannelFull>;
|
|
2086
2094
|
write(): Buffer;
|
|
@@ -2827,9 +2835,9 @@ export declare namespace Raw {
|
|
|
2827
2835
|
write(): Buffer;
|
|
2828
2836
|
}
|
|
2829
2837
|
class MessageActionSetChatTheme extends TLObject {
|
|
2830
|
-
|
|
2838
|
+
theme: Raw.TypeChatTheme;
|
|
2831
2839
|
constructor(params: {
|
|
2832
|
-
|
|
2840
|
+
theme: Raw.TypeChatTheme;
|
|
2833
2841
|
});
|
|
2834
2842
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.MessageActionSetChatTheme>;
|
|
2835
2843
|
write(): Buffer;
|
|
@@ -2876,10 +2884,12 @@ export declare namespace Raw {
|
|
|
2876
2884
|
write(): Buffer;
|
|
2877
2885
|
}
|
|
2878
2886
|
class MessageActionTopicCreate extends TLObject {
|
|
2887
|
+
titleMissing?: boolean;
|
|
2879
2888
|
title: string;
|
|
2880
2889
|
iconColor: int;
|
|
2881
2890
|
iconEmojiId?: long;
|
|
2882
2891
|
constructor(params: {
|
|
2892
|
+
titleMissing?: boolean;
|
|
2883
2893
|
title: string;
|
|
2884
2894
|
iconColor: int;
|
|
2885
2895
|
iconEmojiId?: long;
|
|
@@ -3052,6 +3062,8 @@ export declare namespace Raw {
|
|
|
3052
3062
|
upgraded?: boolean;
|
|
3053
3063
|
refunded?: boolean;
|
|
3054
3064
|
canUpgrade?: boolean;
|
|
3065
|
+
prepaidUpgrade?: boolean;
|
|
3066
|
+
upgradeSeparate?: boolean;
|
|
3055
3067
|
gift: Raw.TypeStarGift;
|
|
3056
3068
|
message?: Raw.TypeTextWithEntities;
|
|
3057
3069
|
convertStars?: long;
|
|
@@ -3060,6 +3072,8 @@ export declare namespace Raw {
|
|
|
3060
3072
|
fromId?: Raw.TypePeer;
|
|
3061
3073
|
peer?: Raw.TypePeer;
|
|
3062
3074
|
savedId?: long;
|
|
3075
|
+
prepaidUpgradeHash?: string;
|
|
3076
|
+
giftMsgId?: int;
|
|
3063
3077
|
constructor(params: {
|
|
3064
3078
|
nameHidden?: boolean;
|
|
3065
3079
|
saved?: boolean;
|
|
@@ -3067,6 +3081,8 @@ export declare namespace Raw {
|
|
|
3067
3081
|
upgraded?: boolean;
|
|
3068
3082
|
refunded?: boolean;
|
|
3069
3083
|
canUpgrade?: boolean;
|
|
3084
|
+
prepaidUpgrade?: boolean;
|
|
3085
|
+
upgradeSeparate?: boolean;
|
|
3070
3086
|
gift: Raw.TypeStarGift;
|
|
3071
3087
|
message?: Raw.TypeTextWithEntities;
|
|
3072
3088
|
convertStars?: long;
|
|
@@ -3075,6 +3091,8 @@ export declare namespace Raw {
|
|
|
3075
3091
|
fromId?: Raw.TypePeer;
|
|
3076
3092
|
peer?: Raw.TypePeer;
|
|
3077
3093
|
savedId?: long;
|
|
3094
|
+
prepaidUpgradeHash?: string;
|
|
3095
|
+
giftMsgId?: int;
|
|
3078
3096
|
});
|
|
3079
3097
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.MessageActionStarGift>;
|
|
3080
3098
|
write(): Buffer;
|
|
@@ -3084,6 +3102,8 @@ export declare namespace Raw {
|
|
|
3084
3102
|
transferred?: boolean;
|
|
3085
3103
|
saved?: boolean;
|
|
3086
3104
|
refunded?: boolean;
|
|
3105
|
+
prepaidUpgrade?: boolean;
|
|
3106
|
+
assigned?: boolean;
|
|
3087
3107
|
gift: Raw.TypeStarGift;
|
|
3088
3108
|
canExportAt?: int;
|
|
3089
3109
|
transferStars?: long;
|
|
@@ -3093,11 +3113,14 @@ export declare namespace Raw {
|
|
|
3093
3113
|
resaleAmount?: Raw.TypeStarsAmount;
|
|
3094
3114
|
canTransferAt?: int;
|
|
3095
3115
|
canResellAt?: int;
|
|
3116
|
+
dropOriginalDetailsStars?: long;
|
|
3096
3117
|
constructor(params: {
|
|
3097
3118
|
upgrade?: boolean;
|
|
3098
3119
|
transferred?: boolean;
|
|
3099
3120
|
saved?: boolean;
|
|
3100
3121
|
refunded?: boolean;
|
|
3122
|
+
prepaidUpgrade?: boolean;
|
|
3123
|
+
assigned?: boolean;
|
|
3101
3124
|
gift: Raw.TypeStarGift;
|
|
3102
3125
|
canExportAt?: int;
|
|
3103
3126
|
transferStars?: long;
|
|
@@ -3107,6 +3130,7 @@ export declare namespace Raw {
|
|
|
3107
3130
|
resaleAmount?: Raw.TypeStarsAmount;
|
|
3108
3131
|
canTransferAt?: int;
|
|
3109
3132
|
canResellAt?: int;
|
|
3133
|
+
dropOriginalDetailsStars?: long;
|
|
3110
3134
|
});
|
|
3111
3135
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.MessageActionStarGiftUnique>;
|
|
3112
3136
|
write(): Buffer;
|
|
@@ -3215,6 +3239,14 @@ export declare namespace Raw {
|
|
|
3215
3239
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.MessageActionGiftTon>;
|
|
3216
3240
|
write(): Buffer;
|
|
3217
3241
|
}
|
|
3242
|
+
class MessageActionSuggestBirthday extends TLObject {
|
|
3243
|
+
birthday: Raw.TypeBirthday;
|
|
3244
|
+
constructor(params: {
|
|
3245
|
+
birthday: Raw.TypeBirthday;
|
|
3246
|
+
});
|
|
3247
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.MessageActionSuggestBirthday>;
|
|
3248
|
+
write(): Buffer;
|
|
3249
|
+
}
|
|
3218
3250
|
class Dialog extends TLObject {
|
|
3219
3251
|
pinned?: boolean;
|
|
3220
3252
|
unreadMark?: boolean;
|
|
@@ -3639,7 +3671,7 @@ export declare namespace Raw {
|
|
|
3639
3671
|
commonChatsCount: int;
|
|
3640
3672
|
folderId?: int;
|
|
3641
3673
|
ttlPeriod?: int;
|
|
3642
|
-
|
|
3674
|
+
theme?: Raw.TypeChatTheme;
|
|
3643
3675
|
privateForwardName?: string;
|
|
3644
3676
|
botGroupAdminRights?: Raw.TypeChatAdminRights;
|
|
3645
3677
|
botBroadcastAdminRights?: Raw.TypeChatAdminRights;
|
|
@@ -3661,6 +3693,9 @@ export declare namespace Raw {
|
|
|
3661
3693
|
starsRating?: Raw.TypeStarsRating;
|
|
3662
3694
|
starsMyPendingRating?: Raw.TypeStarsRating;
|
|
3663
3695
|
starsMyPendingRatingDate?: int;
|
|
3696
|
+
mainTab?: Raw.TypeProfileTab;
|
|
3697
|
+
savedMusic?: Raw.TypeDocument;
|
|
3698
|
+
note?: Raw.TypeTextWithEntities;
|
|
3664
3699
|
constructor(params: {
|
|
3665
3700
|
blocked?: boolean;
|
|
3666
3701
|
phoneCallsAvailable?: boolean;
|
|
@@ -3691,7 +3726,7 @@ export declare namespace Raw {
|
|
|
3691
3726
|
commonChatsCount: int;
|
|
3692
3727
|
folderId?: int;
|
|
3693
3728
|
ttlPeriod?: int;
|
|
3694
|
-
|
|
3729
|
+
theme?: Raw.TypeChatTheme;
|
|
3695
3730
|
privateForwardName?: string;
|
|
3696
3731
|
botGroupAdminRights?: Raw.TypeChatAdminRights;
|
|
3697
3732
|
botBroadcastAdminRights?: Raw.TypeChatAdminRights;
|
|
@@ -3713,6 +3748,9 @@ export declare namespace Raw {
|
|
|
3713
3748
|
starsRating?: Raw.TypeStarsRating;
|
|
3714
3749
|
starsMyPendingRating?: Raw.TypeStarsRating;
|
|
3715
3750
|
starsMyPendingRatingDate?: int;
|
|
3751
|
+
mainTab?: Raw.TypeProfileTab;
|
|
3752
|
+
savedMusic?: Raw.TypeDocument;
|
|
3753
|
+
note?: Raw.TypeTextWithEntities;
|
|
3716
3754
|
});
|
|
3717
3755
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.UserFull>;
|
|
3718
3756
|
write(): Buffer;
|
|
@@ -3871,9 +3909,11 @@ export declare namespace Raw {
|
|
|
3871
3909
|
}
|
|
3872
3910
|
class UpdateUserTyping extends TLObject {
|
|
3873
3911
|
userId: long;
|
|
3912
|
+
topMsgId?: int;
|
|
3874
3913
|
action: Raw.TypeSendMessageAction;
|
|
3875
3914
|
constructor(params: {
|
|
3876
3915
|
userId: long;
|
|
3916
|
+
topMsgId?: int;
|
|
3877
3917
|
action: Raw.TypeSendMessageAction;
|
|
3878
3918
|
});
|
|
3879
3919
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.UpdateUserTyping>;
|
|
@@ -4068,6 +4108,7 @@ export declare namespace Raw {
|
|
|
4068
4108
|
class UpdateReadHistoryInbox extends TLObject {
|
|
4069
4109
|
folderId?: int;
|
|
4070
4110
|
peer: Raw.TypePeer;
|
|
4111
|
+
topMsgId?: int;
|
|
4071
4112
|
maxId: int;
|
|
4072
4113
|
stillUnreadCount: int;
|
|
4073
4114
|
pts: int;
|
|
@@ -4075,6 +4116,7 @@ export declare namespace Raw {
|
|
|
4075
4116
|
constructor(params: {
|
|
4076
4117
|
folderId?: int;
|
|
4077
4118
|
peer: Raw.TypePeer;
|
|
4119
|
+
topMsgId?: int;
|
|
4078
4120
|
maxId: int;
|
|
4079
4121
|
stillUnreadCount: int;
|
|
4080
4122
|
pts: int;
|
|
@@ -5047,28 +5089,6 @@ export declare namespace Raw {
|
|
|
5047
5089
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.UpdateMessageExtendedMedia>;
|
|
5048
5090
|
write(): Buffer;
|
|
5049
5091
|
}
|
|
5050
|
-
class UpdateChannelPinnedTopic extends TLObject {
|
|
5051
|
-
pinned?: boolean;
|
|
5052
|
-
channelId: long;
|
|
5053
|
-
topicId: int;
|
|
5054
|
-
constructor(params: {
|
|
5055
|
-
pinned?: boolean;
|
|
5056
|
-
channelId: long;
|
|
5057
|
-
topicId: int;
|
|
5058
|
-
});
|
|
5059
|
-
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.UpdateChannelPinnedTopic>;
|
|
5060
|
-
write(): Buffer;
|
|
5061
|
-
}
|
|
5062
|
-
class UpdateChannelPinnedTopics extends TLObject {
|
|
5063
|
-
channelId: long;
|
|
5064
|
-
order?: Vector<int>;
|
|
5065
|
-
constructor(params: {
|
|
5066
|
-
channelId: long;
|
|
5067
|
-
order?: Vector<int>;
|
|
5068
|
-
});
|
|
5069
|
-
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.UpdateChannelPinnedTopics>;
|
|
5070
|
-
write(): Buffer;
|
|
5071
|
-
}
|
|
5072
5092
|
class UpdateUser extends TLObject {
|
|
5073
5093
|
userId: long;
|
|
5074
5094
|
constructor(params: {
|
|
@@ -5455,6 +5475,54 @@ export declare namespace Raw {
|
|
|
5455
5475
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.UpdateMonoForumNoPaidException>;
|
|
5456
5476
|
write(): Buffer;
|
|
5457
5477
|
}
|
|
5478
|
+
class UpdateGroupCallMessage extends TLObject {
|
|
5479
|
+
call: Raw.TypeInputGroupCall;
|
|
5480
|
+
fromId: Raw.TypePeer;
|
|
5481
|
+
randomId: long;
|
|
5482
|
+
message: Raw.TypeTextWithEntities;
|
|
5483
|
+
constructor(params: {
|
|
5484
|
+
call: Raw.TypeInputGroupCall;
|
|
5485
|
+
fromId: Raw.TypePeer;
|
|
5486
|
+
randomId: long;
|
|
5487
|
+
message: Raw.TypeTextWithEntities;
|
|
5488
|
+
});
|
|
5489
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.UpdateGroupCallMessage>;
|
|
5490
|
+
write(): Buffer;
|
|
5491
|
+
}
|
|
5492
|
+
class UpdateGroupCallEncryptedMessage extends TLObject {
|
|
5493
|
+
call: Raw.TypeInputGroupCall;
|
|
5494
|
+
fromId: Raw.TypePeer;
|
|
5495
|
+
encryptedMessage: bytes;
|
|
5496
|
+
constructor(params: {
|
|
5497
|
+
call: Raw.TypeInputGroupCall;
|
|
5498
|
+
fromId: Raw.TypePeer;
|
|
5499
|
+
encryptedMessage: bytes;
|
|
5500
|
+
});
|
|
5501
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.UpdateGroupCallEncryptedMessage>;
|
|
5502
|
+
write(): Buffer;
|
|
5503
|
+
}
|
|
5504
|
+
class UpdatePinnedForumTopic extends TLObject {
|
|
5505
|
+
pinned?: boolean;
|
|
5506
|
+
peer: Raw.TypePeer;
|
|
5507
|
+
topicId: int;
|
|
5508
|
+
constructor(params: {
|
|
5509
|
+
pinned?: boolean;
|
|
5510
|
+
peer: Raw.TypePeer;
|
|
5511
|
+
topicId: int;
|
|
5512
|
+
});
|
|
5513
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.UpdatePinnedForumTopic>;
|
|
5514
|
+
write(): Buffer;
|
|
5515
|
+
}
|
|
5516
|
+
class UpdatePinnedForumTopics extends TLObject {
|
|
5517
|
+
peer: Raw.TypePeer;
|
|
5518
|
+
order?: Vector<int>;
|
|
5519
|
+
constructor(params: {
|
|
5520
|
+
peer: Raw.TypePeer;
|
|
5521
|
+
order?: Vector<int>;
|
|
5522
|
+
});
|
|
5523
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.UpdatePinnedForumTopics>;
|
|
5524
|
+
write(): Buffer;
|
|
5525
|
+
}
|
|
5458
5526
|
class UpdatesTooLong extends TLObject {
|
|
5459
5527
|
constructor();
|
|
5460
5528
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.UpdatesTooLong>;
|
|
@@ -6116,6 +6184,16 @@ export declare namespace Raw {
|
|
|
6116
6184
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.SendMessageEmojiInteractionSeen>;
|
|
6117
6185
|
write(): Buffer;
|
|
6118
6186
|
}
|
|
6187
|
+
class SendMessageTextDraftAction extends TLObject {
|
|
6188
|
+
randomId: long;
|
|
6189
|
+
text: Raw.TypeTextWithEntities;
|
|
6190
|
+
constructor(params: {
|
|
6191
|
+
randomId: long;
|
|
6192
|
+
text: Raw.TypeTextWithEntities;
|
|
6193
|
+
});
|
|
6194
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.SendMessageTextDraftAction>;
|
|
6195
|
+
write(): Buffer;
|
|
6196
|
+
}
|
|
6119
6197
|
class InputPrivacyKeyStatusTimestamp extends TLObject {
|
|
6120
6198
|
constructor();
|
|
6121
6199
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.InputPrivacyKeyStatusTimestamp>;
|
|
@@ -11469,6 +11547,9 @@ export declare namespace Raw {
|
|
|
11469
11547
|
listenersHidden?: boolean;
|
|
11470
11548
|
conference?: boolean;
|
|
11471
11549
|
creator?: boolean;
|
|
11550
|
+
messagesEnabled?: boolean;
|
|
11551
|
+
canChangeMessagesEnabled?: boolean;
|
|
11552
|
+
min?: boolean;
|
|
11472
11553
|
id: long;
|
|
11473
11554
|
accessHash: long;
|
|
11474
11555
|
participantsCount: int;
|
|
@@ -11491,6 +11572,9 @@ export declare namespace Raw {
|
|
|
11491
11572
|
listenersHidden?: boolean;
|
|
11492
11573
|
conference?: boolean;
|
|
11493
11574
|
creator?: boolean;
|
|
11575
|
+
messagesEnabled?: boolean;
|
|
11576
|
+
canChangeMessagesEnabled?: boolean;
|
|
11577
|
+
min?: boolean;
|
|
11494
11578
|
id: long;
|
|
11495
11579
|
accessHash: long;
|
|
11496
11580
|
participantsCount: int;
|
|
@@ -11706,6 +11790,24 @@ export declare namespace Raw {
|
|
|
11706
11790
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.BotCommandScopePeerUser>;
|
|
11707
11791
|
write(): Buffer;
|
|
11708
11792
|
}
|
|
11793
|
+
class ChatTheme extends TLObject {
|
|
11794
|
+
emoticon: string;
|
|
11795
|
+
constructor(params: {
|
|
11796
|
+
emoticon: string;
|
|
11797
|
+
});
|
|
11798
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.ChatTheme>;
|
|
11799
|
+
write(): Buffer;
|
|
11800
|
+
}
|
|
11801
|
+
class ChatThemeUniqueGift extends TLObject {
|
|
11802
|
+
gift: Raw.TypeStarGift;
|
|
11803
|
+
themeSettings: Vector<Raw.TypeThemeSettings>;
|
|
11804
|
+
constructor(params: {
|
|
11805
|
+
gift: Raw.TypeStarGift;
|
|
11806
|
+
themeSettings: Vector<Raw.TypeThemeSettings>;
|
|
11807
|
+
});
|
|
11808
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.ChatThemeUniqueGift>;
|
|
11809
|
+
write(): Buffer;
|
|
11810
|
+
}
|
|
11709
11811
|
class SponsoredMessage extends TLObject {
|
|
11710
11812
|
recommended?: boolean;
|
|
11711
11813
|
canReport?: boolean;
|
|
@@ -12140,6 +12242,32 @@ export declare namespace Raw {
|
|
|
12140
12242
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.InputInvoiceStarGiftResale>;
|
|
12141
12243
|
write(): Buffer;
|
|
12142
12244
|
}
|
|
12245
|
+
class InputInvoiceStarGiftPrepaidUpgrade extends TLObject {
|
|
12246
|
+
peer: Raw.TypeInputPeer;
|
|
12247
|
+
hash: string;
|
|
12248
|
+
constructor(params: {
|
|
12249
|
+
peer: Raw.TypeInputPeer;
|
|
12250
|
+
hash: string;
|
|
12251
|
+
});
|
|
12252
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.InputInvoiceStarGiftPrepaidUpgrade>;
|
|
12253
|
+
write(): Buffer;
|
|
12254
|
+
}
|
|
12255
|
+
class InputInvoicePremiumAuthCode extends TLObject {
|
|
12256
|
+
purpose: Raw.TypeInputStorePaymentPurpose;
|
|
12257
|
+
constructor(params: {
|
|
12258
|
+
purpose: Raw.TypeInputStorePaymentPurpose;
|
|
12259
|
+
});
|
|
12260
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.InputInvoicePremiumAuthCode>;
|
|
12261
|
+
write(): Buffer;
|
|
12262
|
+
}
|
|
12263
|
+
class InputInvoiceStarGiftDropOriginalDetails extends TLObject {
|
|
12264
|
+
stargift: Raw.TypeInputSavedStarGift;
|
|
12265
|
+
constructor(params: {
|
|
12266
|
+
stargift: Raw.TypeInputSavedStarGift;
|
|
12267
|
+
});
|
|
12268
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.InputInvoiceStarGiftDropOriginalDetails>;
|
|
12269
|
+
write(): Buffer;
|
|
12270
|
+
}
|
|
12143
12271
|
class InputStorePaymentPremiumSubscription extends TLObject {
|
|
12144
12272
|
restore?: boolean;
|
|
12145
12273
|
upgrade?: boolean;
|
|
@@ -12208,10 +12336,12 @@ export declare namespace Raw {
|
|
|
12208
12336
|
stars: long;
|
|
12209
12337
|
currency: string;
|
|
12210
12338
|
amount: long;
|
|
12339
|
+
spendPurposePeer?: Raw.TypeInputPeer;
|
|
12211
12340
|
constructor(params: {
|
|
12212
12341
|
stars: long;
|
|
12213
12342
|
currency: string;
|
|
12214
12343
|
amount: long;
|
|
12344
|
+
spendPurposePeer?: Raw.TypeInputPeer;
|
|
12215
12345
|
});
|
|
12216
12346
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.InputStorePaymentStarsTopup>;
|
|
12217
12347
|
write(): Buffer;
|
|
@@ -12518,8 +12648,10 @@ export declare namespace Raw {
|
|
|
12518
12648
|
pinned?: boolean;
|
|
12519
12649
|
short?: boolean;
|
|
12520
12650
|
hidden?: boolean;
|
|
12651
|
+
titleMissing?: boolean;
|
|
12521
12652
|
id: int;
|
|
12522
12653
|
date: int;
|
|
12654
|
+
peer: Raw.TypePeer;
|
|
12523
12655
|
title: string;
|
|
12524
12656
|
iconColor: int;
|
|
12525
12657
|
iconEmojiId?: long;
|
|
@@ -12538,8 +12670,10 @@ export declare namespace Raw {
|
|
|
12538
12670
|
pinned?: boolean;
|
|
12539
12671
|
short?: boolean;
|
|
12540
12672
|
hidden?: boolean;
|
|
12673
|
+
titleMissing?: boolean;
|
|
12541
12674
|
id: int;
|
|
12542
12675
|
date: int;
|
|
12676
|
+
peer: Raw.TypePeer;
|
|
12543
12677
|
title: string;
|
|
12544
12678
|
iconColor: int;
|
|
12545
12679
|
iconEmojiId?: long;
|
|
@@ -13316,6 +13450,34 @@ export declare namespace Raw {
|
|
|
13316
13450
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.PeerColor>;
|
|
13317
13451
|
write(): Buffer;
|
|
13318
13452
|
}
|
|
13453
|
+
class PeerColorCollectible extends TLObject {
|
|
13454
|
+
collectibleId: long;
|
|
13455
|
+
giftEmojiId: long;
|
|
13456
|
+
backgroundEmojiId: long;
|
|
13457
|
+
accentColor: int;
|
|
13458
|
+
colors: Vector<int>;
|
|
13459
|
+
darkAccentColor?: int;
|
|
13460
|
+
darkColors?: Vector<int>;
|
|
13461
|
+
constructor(params: {
|
|
13462
|
+
collectibleId: long;
|
|
13463
|
+
giftEmojiId: long;
|
|
13464
|
+
backgroundEmojiId: long;
|
|
13465
|
+
accentColor: int;
|
|
13466
|
+
colors: Vector<int>;
|
|
13467
|
+
darkAccentColor?: int;
|
|
13468
|
+
darkColors?: Vector<int>;
|
|
13469
|
+
});
|
|
13470
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.PeerColorCollectible>;
|
|
13471
|
+
write(): Buffer;
|
|
13472
|
+
}
|
|
13473
|
+
class InputPeerColorCollectible extends TLObject {
|
|
13474
|
+
collectibleId: long;
|
|
13475
|
+
constructor(params: {
|
|
13476
|
+
collectibleId: long;
|
|
13477
|
+
});
|
|
13478
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.InputPeerColorCollectible>;
|
|
13479
|
+
write(): Buffer;
|
|
13480
|
+
}
|
|
13319
13481
|
class StoryReaction extends TLObject {
|
|
13320
13482
|
peerId: Raw.TypePeer;
|
|
13321
13483
|
date: int;
|
|
@@ -13945,6 +14107,8 @@ export declare namespace Raw {
|
|
|
13945
14107
|
businessTransfer?: boolean;
|
|
13946
14108
|
stargiftResale?: boolean;
|
|
13947
14109
|
postsSearch?: boolean;
|
|
14110
|
+
stargiftPrepaidUpgrade?: boolean;
|
|
14111
|
+
stargiftDropOriginalDetails?: boolean;
|
|
13948
14112
|
id: string;
|
|
13949
14113
|
amount: Raw.TypeStarsAmount;
|
|
13950
14114
|
date: int;
|
|
@@ -13978,6 +14142,8 @@ export declare namespace Raw {
|
|
|
13978
14142
|
businessTransfer?: boolean;
|
|
13979
14143
|
stargiftResale?: boolean;
|
|
13980
14144
|
postsSearch?: boolean;
|
|
14145
|
+
stargiftPrepaidUpgrade?: boolean;
|
|
14146
|
+
stargiftDropOriginalDetails?: boolean;
|
|
13981
14147
|
id: string;
|
|
13982
14148
|
amount: Raw.TypeStarsAmount;
|
|
13983
14149
|
date: int;
|
|
@@ -14177,6 +14343,7 @@ export declare namespace Raw {
|
|
|
14177
14343
|
birthday?: boolean;
|
|
14178
14344
|
requirePremium?: boolean;
|
|
14179
14345
|
limitedPerUser?: boolean;
|
|
14346
|
+
peerColorAvailable?: boolean;
|
|
14180
14347
|
id: long;
|
|
14181
14348
|
sticker: Raw.TypeDocument;
|
|
14182
14349
|
stars: long;
|
|
@@ -14192,12 +14359,14 @@ export declare namespace Raw {
|
|
|
14192
14359
|
releasedBy?: Raw.TypePeer;
|
|
14193
14360
|
perUserTotal?: int;
|
|
14194
14361
|
perUserRemains?: int;
|
|
14362
|
+
lockedUntilDate?: int;
|
|
14195
14363
|
constructor(params: {
|
|
14196
14364
|
limited?: boolean;
|
|
14197
14365
|
soldOut?: boolean;
|
|
14198
14366
|
birthday?: boolean;
|
|
14199
14367
|
requirePremium?: boolean;
|
|
14200
14368
|
limitedPerUser?: boolean;
|
|
14369
|
+
peerColorAvailable?: boolean;
|
|
14201
14370
|
id: long;
|
|
14202
14371
|
sticker: Raw.TypeDocument;
|
|
14203
14372
|
stars: long;
|
|
@@ -14213,6 +14382,7 @@ export declare namespace Raw {
|
|
|
14213
14382
|
releasedBy?: Raw.TypePeer;
|
|
14214
14383
|
perUserTotal?: int;
|
|
14215
14384
|
perUserRemains?: int;
|
|
14385
|
+
lockedUntilDate?: int;
|
|
14216
14386
|
});
|
|
14217
14387
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.StarGift>;
|
|
14218
14388
|
write(): Buffer;
|
|
@@ -14220,7 +14390,9 @@ export declare namespace Raw {
|
|
|
14220
14390
|
class StarGiftUnique extends TLObject {
|
|
14221
14391
|
requirePremium?: boolean;
|
|
14222
14392
|
resaleTonOnly?: boolean;
|
|
14393
|
+
themeAvailable?: boolean;
|
|
14223
14394
|
id: long;
|
|
14395
|
+
giftId: long;
|
|
14224
14396
|
title: string;
|
|
14225
14397
|
slug: string;
|
|
14226
14398
|
num: int;
|
|
@@ -14233,10 +14405,17 @@ export declare namespace Raw {
|
|
|
14233
14405
|
giftAddress?: string;
|
|
14234
14406
|
resellAmount?: Vector<Raw.TypeStarsAmount>;
|
|
14235
14407
|
releasedBy?: Raw.TypePeer;
|
|
14408
|
+
valueAmount?: long;
|
|
14409
|
+
valueCurrency?: string;
|
|
14410
|
+
themePeer?: Raw.TypePeer;
|
|
14411
|
+
peerColor?: Raw.TypePeerColor;
|
|
14412
|
+
hostId?: Raw.TypePeer;
|
|
14236
14413
|
constructor(params: {
|
|
14237
14414
|
requirePremium?: boolean;
|
|
14238
14415
|
resaleTonOnly?: boolean;
|
|
14416
|
+
themeAvailable?: boolean;
|
|
14239
14417
|
id: long;
|
|
14418
|
+
giftId: long;
|
|
14240
14419
|
title: string;
|
|
14241
14420
|
slug: string;
|
|
14242
14421
|
num: int;
|
|
@@ -14249,6 +14428,11 @@ export declare namespace Raw {
|
|
|
14249
14428
|
giftAddress?: string;
|
|
14250
14429
|
resellAmount?: Vector<Raw.TypeStarsAmount>;
|
|
14251
14430
|
releasedBy?: Raw.TypePeer;
|
|
14431
|
+
valueAmount?: long;
|
|
14432
|
+
valueCurrency?: string;
|
|
14433
|
+
themePeer?: Raw.TypePeer;
|
|
14434
|
+
peerColor?: Raw.TypePeerColor;
|
|
14435
|
+
hostId?: Raw.TypePeer;
|
|
14252
14436
|
});
|
|
14253
14437
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.StarGiftUnique>;
|
|
14254
14438
|
write(): Buffer;
|
|
@@ -14450,6 +14634,7 @@ export declare namespace Raw {
|
|
|
14450
14634
|
refunded?: boolean;
|
|
14451
14635
|
canUpgrade?: boolean;
|
|
14452
14636
|
pinnedToTop?: boolean;
|
|
14637
|
+
upgradeSeparate?: boolean;
|
|
14453
14638
|
fromId?: Raw.TypePeer;
|
|
14454
14639
|
date: int;
|
|
14455
14640
|
gift: Raw.TypeStarGift;
|
|
@@ -14463,12 +14648,15 @@ export declare namespace Raw {
|
|
|
14463
14648
|
canTransferAt?: int;
|
|
14464
14649
|
canResellAt?: int;
|
|
14465
14650
|
collectionId?: Vector<int>;
|
|
14651
|
+
prepaidUpgradeHash?: string;
|
|
14652
|
+
dropOriginalDetailsStars?: long;
|
|
14466
14653
|
constructor(params: {
|
|
14467
14654
|
nameHidden?: boolean;
|
|
14468
14655
|
unsaved?: boolean;
|
|
14469
14656
|
refunded?: boolean;
|
|
14470
14657
|
canUpgrade?: boolean;
|
|
14471
14658
|
pinnedToTop?: boolean;
|
|
14659
|
+
upgradeSeparate?: boolean;
|
|
14472
14660
|
fromId?: Raw.TypePeer;
|
|
14473
14661
|
date: int;
|
|
14474
14662
|
gift: Raw.TypeStarGift;
|
|
@@ -14482,6 +14670,8 @@ export declare namespace Raw {
|
|
|
14482
14670
|
canTransferAt?: int;
|
|
14483
14671
|
canResellAt?: int;
|
|
14484
14672
|
collectionId?: Vector<int>;
|
|
14673
|
+
prepaidUpgradeHash?: string;
|
|
14674
|
+
dropOriginalDetailsStars?: long;
|
|
14485
14675
|
});
|
|
14486
14676
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.SavedStarGift>;
|
|
14487
14677
|
write(): Buffer;
|
|
@@ -14768,6 +14958,77 @@ export declare namespace Raw {
|
|
|
14768
14958
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.SearchPostsFlood>;
|
|
14769
14959
|
write(): Buffer;
|
|
14770
14960
|
}
|
|
14961
|
+
class ProfileTabPosts extends TLObject {
|
|
14962
|
+
constructor();
|
|
14963
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.ProfileTabPosts>;
|
|
14964
|
+
write(): Buffer;
|
|
14965
|
+
}
|
|
14966
|
+
class ProfileTabGifts extends TLObject {
|
|
14967
|
+
constructor();
|
|
14968
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.ProfileTabGifts>;
|
|
14969
|
+
write(): Buffer;
|
|
14970
|
+
}
|
|
14971
|
+
class ProfileTabMedia extends TLObject {
|
|
14972
|
+
constructor();
|
|
14973
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.ProfileTabMedia>;
|
|
14974
|
+
write(): Buffer;
|
|
14975
|
+
}
|
|
14976
|
+
class ProfileTabFiles extends TLObject {
|
|
14977
|
+
constructor();
|
|
14978
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.ProfileTabFiles>;
|
|
14979
|
+
write(): Buffer;
|
|
14980
|
+
}
|
|
14981
|
+
class ProfileTabMusic extends TLObject {
|
|
14982
|
+
constructor();
|
|
14983
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.ProfileTabMusic>;
|
|
14984
|
+
write(): Buffer;
|
|
14985
|
+
}
|
|
14986
|
+
class ProfileTabVoice extends TLObject {
|
|
14987
|
+
constructor();
|
|
14988
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.ProfileTabVoice>;
|
|
14989
|
+
write(): Buffer;
|
|
14990
|
+
}
|
|
14991
|
+
class ProfileTabLinks extends TLObject {
|
|
14992
|
+
constructor();
|
|
14993
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.ProfileTabLinks>;
|
|
14994
|
+
write(): Buffer;
|
|
14995
|
+
}
|
|
14996
|
+
class ProfileTabGifs extends TLObject {
|
|
14997
|
+
constructor();
|
|
14998
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.ProfileTabGifs>;
|
|
14999
|
+
write(): Buffer;
|
|
15000
|
+
}
|
|
15001
|
+
class InputChatThemeEmpty extends TLObject {
|
|
15002
|
+
constructor();
|
|
15003
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.InputChatThemeEmpty>;
|
|
15004
|
+
write(): Buffer;
|
|
15005
|
+
}
|
|
15006
|
+
class InputChatTheme extends TLObject {
|
|
15007
|
+
emoticon: string;
|
|
15008
|
+
constructor(params: {
|
|
15009
|
+
emoticon: string;
|
|
15010
|
+
});
|
|
15011
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.InputChatTheme>;
|
|
15012
|
+
write(): Buffer;
|
|
15013
|
+
}
|
|
15014
|
+
class InputChatThemeUniqueGift extends TLObject {
|
|
15015
|
+
slug: string;
|
|
15016
|
+
constructor(params: {
|
|
15017
|
+
slug: string;
|
|
15018
|
+
});
|
|
15019
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.InputChatThemeUniqueGift>;
|
|
15020
|
+
write(): Buffer;
|
|
15021
|
+
}
|
|
15022
|
+
class StarGiftUpgradePrice extends TLObject {
|
|
15023
|
+
date: int;
|
|
15024
|
+
upgradeStars: long;
|
|
15025
|
+
constructor(params: {
|
|
15026
|
+
date: int;
|
|
15027
|
+
upgradeStars: long;
|
|
15028
|
+
});
|
|
15029
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.StarGiftUpgradePrice>;
|
|
15030
|
+
write(): Buffer;
|
|
15031
|
+
}
|
|
14771
15032
|
class InvokeAfterMsg extends TLObject {
|
|
14772
15033
|
__response__: X;
|
|
14773
15034
|
msgId: long;
|
|
@@ -16239,9 +16500,17 @@ export declare namespace Raw {
|
|
|
16239
16500
|
class SentCodePaymentRequired extends TLObject {
|
|
16240
16501
|
storeProduct: string;
|
|
16241
16502
|
phoneCodeHash: string;
|
|
16503
|
+
supportEmailAddress: string;
|
|
16504
|
+
supportEmailSubject: string;
|
|
16505
|
+
currency: string;
|
|
16506
|
+
amount: long;
|
|
16242
16507
|
constructor(params: {
|
|
16243
16508
|
storeProduct: string;
|
|
16244
16509
|
phoneCodeHash: string;
|
|
16510
|
+
supportEmailAddress: string;
|
|
16511
|
+
supportEmailSubject: string;
|
|
16512
|
+
currency: string;
|
|
16513
|
+
amount: long;
|
|
16245
16514
|
});
|
|
16246
16515
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.auth.SentCodePaymentRequired>;
|
|
16247
16516
|
write(): Buffer;
|
|
@@ -16725,6 +16994,19 @@ export declare namespace Raw {
|
|
|
16725
16994
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.auth.ReportMissingCode>;
|
|
16726
16995
|
write(): Buffer;
|
|
16727
16996
|
}
|
|
16997
|
+
class CheckPaidAuth extends TLObject {
|
|
16998
|
+
__response__: Raw.auth.TypeSentCode;
|
|
16999
|
+
phoneNumber: string;
|
|
17000
|
+
phoneCodeHash: string;
|
|
17001
|
+
formId: long;
|
|
17002
|
+
constructor(params: {
|
|
17003
|
+
phoneNumber: string;
|
|
17004
|
+
phoneCodeHash: string;
|
|
17005
|
+
formId: long;
|
|
17006
|
+
});
|
|
17007
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.auth.CheckPaidAuth>;
|
|
17008
|
+
write(): Buffer;
|
|
17009
|
+
}
|
|
16728
17010
|
}
|
|
16729
17011
|
namespace contacts {
|
|
16730
17012
|
type TypeSponsoredPeers = Raw.contacts.SponsoredPeersEmpty | Raw.contacts.SponsoredPeers;
|
|
@@ -17045,12 +17327,14 @@ export declare namespace Raw {
|
|
|
17045
17327
|
firstName: string;
|
|
17046
17328
|
lastName: string;
|
|
17047
17329
|
phone: string;
|
|
17330
|
+
note?: Raw.TypeTextWithEntities;
|
|
17048
17331
|
constructor(params: {
|
|
17049
17332
|
addPhonePrivacyException?: boolean;
|
|
17050
17333
|
id: Raw.TypeInputUser;
|
|
17051
17334
|
firstName: string;
|
|
17052
17335
|
lastName: string;
|
|
17053
17336
|
phone: string;
|
|
17337
|
+
note?: Raw.TypeTextWithEntities;
|
|
17054
17338
|
});
|
|
17055
17339
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.contacts.AddContact>;
|
|
17056
17340
|
write(): Buffer;
|
|
@@ -17153,10 +17437,21 @@ export declare namespace Raw {
|
|
|
17153
17437
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.contacts.GetSponsoredPeers>;
|
|
17154
17438
|
write(): Buffer;
|
|
17155
17439
|
}
|
|
17440
|
+
class UpdateContactNote extends TLObject {
|
|
17441
|
+
__response__: Bool;
|
|
17442
|
+
id: Raw.TypeInputUser;
|
|
17443
|
+
note: Raw.TypeTextWithEntities;
|
|
17444
|
+
constructor(params: {
|
|
17445
|
+
id: Raw.TypeInputUser;
|
|
17446
|
+
note: Raw.TypeTextWithEntities;
|
|
17447
|
+
});
|
|
17448
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.contacts.UpdateContactNote>;
|
|
17449
|
+
write(): Buffer;
|
|
17450
|
+
}
|
|
17156
17451
|
}
|
|
17157
17452
|
namespace messages {
|
|
17158
|
-
type TypeForumTopics = Raw.messages.ForumTopics;
|
|
17159
17453
|
type TypeInactiveChats = Raw.messages.InactiveChats;
|
|
17454
|
+
type TypeForumTopics = Raw.messages.ForumTopics;
|
|
17160
17455
|
type TypeFoundStickers = Raw.messages.FoundStickersNotModified | Raw.messages.FoundStickers;
|
|
17161
17456
|
type TypePreparedInlineMessage = Raw.messages.PreparedInlineMessage;
|
|
17162
17457
|
type TypeBotPreparedInlineMessage = Raw.messages.BotPreparedInlineMessage;
|
|
@@ -17255,10 +17550,12 @@ export declare namespace Raw {
|
|
|
17255
17550
|
}
|
|
17256
17551
|
class Messages extends TLObject {
|
|
17257
17552
|
messages: Vector<Raw.TypeMessage>;
|
|
17553
|
+
topics: Vector<Raw.TypeForumTopic>;
|
|
17258
17554
|
chats: Vector<Raw.TypeChat>;
|
|
17259
17555
|
users: Vector<Raw.TypeUser>;
|
|
17260
17556
|
constructor(params: {
|
|
17261
17557
|
messages: Vector<Raw.TypeMessage>;
|
|
17558
|
+
topics: Vector<Raw.TypeForumTopic>;
|
|
17262
17559
|
chats: Vector<Raw.TypeChat>;
|
|
17263
17560
|
users: Vector<Raw.TypeUser>;
|
|
17264
17561
|
});
|
|
@@ -17272,6 +17569,7 @@ export declare namespace Raw {
|
|
|
17272
17569
|
offsetIdOffset?: int;
|
|
17273
17570
|
searchFlood?: Raw.TypeSearchPostsFlood;
|
|
17274
17571
|
messages: Vector<Raw.TypeMessage>;
|
|
17572
|
+
topics: Vector<Raw.TypeForumTopic>;
|
|
17275
17573
|
chats: Vector<Raw.TypeChat>;
|
|
17276
17574
|
users: Vector<Raw.TypeUser>;
|
|
17277
17575
|
constructor(params: {
|
|
@@ -17281,6 +17579,7 @@ export declare namespace Raw {
|
|
|
17281
17579
|
offsetIdOffset?: int;
|
|
17282
17580
|
searchFlood?: Raw.TypeSearchPostsFlood;
|
|
17283
17581
|
messages: Vector<Raw.TypeMessage>;
|
|
17582
|
+
topics: Vector<Raw.TypeForumTopic>;
|
|
17284
17583
|
chats: Vector<Raw.TypeChat>;
|
|
17285
17584
|
users: Vector<Raw.TypeUser>;
|
|
17286
17585
|
});
|
|
@@ -18182,9 +18481,11 @@ export declare namespace Raw {
|
|
|
18182
18481
|
}
|
|
18183
18482
|
class WebPagePreview extends TLObject {
|
|
18184
18483
|
media: Raw.TypeMessageMedia;
|
|
18484
|
+
chats: Vector<Raw.TypeChat>;
|
|
18185
18485
|
users: Vector<Raw.TypeUser>;
|
|
18186
18486
|
constructor(params: {
|
|
18187
18487
|
media: Raw.TypeMessageMedia;
|
|
18488
|
+
chats: Vector<Raw.TypeChat>;
|
|
18188
18489
|
users: Vector<Raw.TypeUser>;
|
|
18189
18490
|
});
|
|
18190
18491
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.messages.WebPagePreview>;
|
|
@@ -20126,10 +20427,10 @@ export declare namespace Raw {
|
|
|
20126
20427
|
class SetChatTheme extends TLObject {
|
|
20127
20428
|
__response__: Raw.TypeUpdates;
|
|
20128
20429
|
peer: Raw.TypeInputPeer;
|
|
20129
|
-
|
|
20430
|
+
theme: Raw.TypeInputChatTheme;
|
|
20130
20431
|
constructor(params: {
|
|
20131
20432
|
peer: Raw.TypeInputPeer;
|
|
20132
|
-
|
|
20433
|
+
theme: Raw.TypeInputChatTheme;
|
|
20133
20434
|
});
|
|
20134
20435
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.messages.SetChatTheme>;
|
|
20135
20436
|
write(): Buffer;
|
|
@@ -21271,39 +21572,146 @@ export declare namespace Raw {
|
|
|
21271
21572
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.messages.ToggleSuggestedPostApproval>;
|
|
21272
21573
|
write(): Buffer;
|
|
21273
21574
|
}
|
|
21274
|
-
|
|
21275
|
-
|
|
21276
|
-
|
|
21277
|
-
|
|
21278
|
-
|
|
21279
|
-
|
|
21280
|
-
|
|
21281
|
-
|
|
21282
|
-
date: int;
|
|
21283
|
-
seq: int;
|
|
21284
|
-
unreadCount: int;
|
|
21575
|
+
class GetForumTopics extends TLObject {
|
|
21576
|
+
__response__: Raw.messages.TypeForumTopics;
|
|
21577
|
+
peer: Raw.TypeInputPeer;
|
|
21578
|
+
q?: string;
|
|
21579
|
+
offsetDate: int;
|
|
21580
|
+
offsetId: int;
|
|
21581
|
+
offsetTopic: int;
|
|
21582
|
+
limit: int;
|
|
21285
21583
|
constructor(params: {
|
|
21286
|
-
|
|
21287
|
-
|
|
21288
|
-
|
|
21289
|
-
|
|
21290
|
-
|
|
21584
|
+
peer: Raw.TypeInputPeer;
|
|
21585
|
+
q?: string;
|
|
21586
|
+
offsetDate: int;
|
|
21587
|
+
offsetId: int;
|
|
21588
|
+
offsetTopic: int;
|
|
21589
|
+
limit: int;
|
|
21291
21590
|
});
|
|
21292
|
-
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.
|
|
21591
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.messages.GetForumTopics>;
|
|
21293
21592
|
write(): Buffer;
|
|
21294
21593
|
}
|
|
21295
|
-
class
|
|
21296
|
-
|
|
21297
|
-
|
|
21594
|
+
class GetForumTopicsByID extends TLObject {
|
|
21595
|
+
__response__: Raw.messages.TypeForumTopics;
|
|
21596
|
+
peer: Raw.TypeInputPeer;
|
|
21597
|
+
topics: Vector<int>;
|
|
21298
21598
|
constructor(params: {
|
|
21299
|
-
|
|
21300
|
-
|
|
21599
|
+
peer: Raw.TypeInputPeer;
|
|
21600
|
+
topics: Vector<int>;
|
|
21301
21601
|
});
|
|
21302
|
-
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.
|
|
21602
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.messages.GetForumTopicsByID>;
|
|
21303
21603
|
write(): Buffer;
|
|
21304
21604
|
}
|
|
21305
|
-
class
|
|
21306
|
-
|
|
21605
|
+
class EditForumTopic extends TLObject {
|
|
21606
|
+
__response__: Raw.TypeUpdates;
|
|
21607
|
+
peer: Raw.TypeInputPeer;
|
|
21608
|
+
topicId: int;
|
|
21609
|
+
title?: string;
|
|
21610
|
+
iconEmojiId?: long;
|
|
21611
|
+
closed?: Bool;
|
|
21612
|
+
hidden?: Bool;
|
|
21613
|
+
constructor(params: {
|
|
21614
|
+
peer: Raw.TypeInputPeer;
|
|
21615
|
+
topicId: int;
|
|
21616
|
+
title?: string;
|
|
21617
|
+
iconEmojiId?: long;
|
|
21618
|
+
closed?: Bool;
|
|
21619
|
+
hidden?: Bool;
|
|
21620
|
+
});
|
|
21621
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.messages.EditForumTopic>;
|
|
21622
|
+
write(): Buffer;
|
|
21623
|
+
}
|
|
21624
|
+
class UpdatePinnedForumTopic extends TLObject {
|
|
21625
|
+
__response__: Raw.TypeUpdates;
|
|
21626
|
+
peer: Raw.TypeInputPeer;
|
|
21627
|
+
topicId: int;
|
|
21628
|
+
pinned: Bool;
|
|
21629
|
+
constructor(params: {
|
|
21630
|
+
peer: Raw.TypeInputPeer;
|
|
21631
|
+
topicId: int;
|
|
21632
|
+
pinned: Bool;
|
|
21633
|
+
});
|
|
21634
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.messages.UpdatePinnedForumTopic>;
|
|
21635
|
+
write(): Buffer;
|
|
21636
|
+
}
|
|
21637
|
+
class ReorderPinnedForumTopics extends TLObject {
|
|
21638
|
+
__response__: Raw.TypeUpdates;
|
|
21639
|
+
force?: boolean;
|
|
21640
|
+
peer: Raw.TypeInputPeer;
|
|
21641
|
+
order: Vector<int>;
|
|
21642
|
+
constructor(params: {
|
|
21643
|
+
force?: boolean;
|
|
21644
|
+
peer: Raw.TypeInputPeer;
|
|
21645
|
+
order: Vector<int>;
|
|
21646
|
+
});
|
|
21647
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.messages.ReorderPinnedForumTopics>;
|
|
21648
|
+
write(): Buffer;
|
|
21649
|
+
}
|
|
21650
|
+
class CreateForumTopic extends TLObject {
|
|
21651
|
+
__response__: Raw.TypeUpdates;
|
|
21652
|
+
titleMissing?: boolean;
|
|
21653
|
+
peer: Raw.TypeInputPeer;
|
|
21654
|
+
title: string;
|
|
21655
|
+
iconColor?: int;
|
|
21656
|
+
iconEmojiId?: long;
|
|
21657
|
+
randomId: long;
|
|
21658
|
+
sendAs?: Raw.TypeInputPeer;
|
|
21659
|
+
constructor(params: {
|
|
21660
|
+
titleMissing?: boolean;
|
|
21661
|
+
peer: Raw.TypeInputPeer;
|
|
21662
|
+
title: string;
|
|
21663
|
+
iconColor?: int;
|
|
21664
|
+
iconEmojiId?: long;
|
|
21665
|
+
randomId: long;
|
|
21666
|
+
sendAs?: Raw.TypeInputPeer;
|
|
21667
|
+
});
|
|
21668
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.messages.CreateForumTopic>;
|
|
21669
|
+
write(): Buffer;
|
|
21670
|
+
}
|
|
21671
|
+
class DeleteTopicHistory extends TLObject {
|
|
21672
|
+
__response__: Raw.messages.TypeAffectedHistory;
|
|
21673
|
+
peer: Raw.TypeInputPeer;
|
|
21674
|
+
topMsgId: int;
|
|
21675
|
+
constructor(params: {
|
|
21676
|
+
peer: Raw.TypeInputPeer;
|
|
21677
|
+
topMsgId: int;
|
|
21678
|
+
});
|
|
21679
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.messages.DeleteTopicHistory>;
|
|
21680
|
+
write(): Buffer;
|
|
21681
|
+
}
|
|
21682
|
+
}
|
|
21683
|
+
namespace updates {
|
|
21684
|
+
type TypeChannelDifference = Raw.updates.ChannelDifferenceEmpty | Raw.updates.ChannelDifferenceTooLong | Raw.updates.ChannelDifference;
|
|
21685
|
+
type TypeDifference = Raw.updates.DifferenceEmpty | Raw.updates.Difference | Raw.updates.DifferenceSlice | Raw.updates.DifferenceTooLong;
|
|
21686
|
+
type TypeState = Raw.updates.State;
|
|
21687
|
+
class State extends TLObject {
|
|
21688
|
+
pts: int;
|
|
21689
|
+
qts: int;
|
|
21690
|
+
date: int;
|
|
21691
|
+
seq: int;
|
|
21692
|
+
unreadCount: int;
|
|
21693
|
+
constructor(params: {
|
|
21694
|
+
pts: int;
|
|
21695
|
+
qts: int;
|
|
21696
|
+
date: int;
|
|
21697
|
+
seq: int;
|
|
21698
|
+
unreadCount: int;
|
|
21699
|
+
});
|
|
21700
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.updates.State>;
|
|
21701
|
+
write(): Buffer;
|
|
21702
|
+
}
|
|
21703
|
+
class DifferenceEmpty extends TLObject {
|
|
21704
|
+
date: int;
|
|
21705
|
+
seq: int;
|
|
21706
|
+
constructor(params: {
|
|
21707
|
+
date: int;
|
|
21708
|
+
seq: int;
|
|
21709
|
+
});
|
|
21710
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.updates.DifferenceEmpty>;
|
|
21711
|
+
write(): Buffer;
|
|
21712
|
+
}
|
|
21713
|
+
class Difference extends TLObject {
|
|
21714
|
+
newMessages: Vector<Raw.TypeMessage>;
|
|
21307
21715
|
newEncryptedMessages: Vector<Raw.TypeEncryptedMessage>;
|
|
21308
21716
|
otherUpdates: Vector<Raw.TypeUpdate>;
|
|
21309
21717
|
chats: Vector<Raw.TypeChat>;
|
|
@@ -21722,6 +22130,8 @@ export declare namespace Raw {
|
|
|
21722
22130
|
}
|
|
21723
22131
|
}
|
|
21724
22132
|
namespace account {
|
|
22133
|
+
type TypeChatThemes = Raw.account.ChatThemesNotModified | Raw.account.ChatThemes;
|
|
22134
|
+
type TypeSavedMusicIds = Raw.account.SavedMusicIdsNotModified | Raw.account.SavedMusicIds;
|
|
21725
22135
|
type TypePaidMessagesRevenue = Raw.account.PaidMessagesRevenue;
|
|
21726
22136
|
type TypeResolvedBusinessChatLinks = Raw.account.ResolvedBusinessChatLinks;
|
|
21727
22137
|
type TypeBusinessChatLinks = Raw.account.BusinessChatLinks;
|
|
@@ -21953,6 +22363,27 @@ export declare namespace Raw {
|
|
|
21953
22363
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.account.ResetPasswordOk>;
|
|
21954
22364
|
write(): Buffer;
|
|
21955
22365
|
}
|
|
22366
|
+
class ChatThemesNotModified extends TLObject {
|
|
22367
|
+
constructor();
|
|
22368
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.account.ChatThemesNotModified>;
|
|
22369
|
+
write(): Buffer;
|
|
22370
|
+
}
|
|
22371
|
+
class ChatThemes extends TLObject {
|
|
22372
|
+
hash: long;
|
|
22373
|
+
themes: Vector<Raw.TypeChatTheme>;
|
|
22374
|
+
chats: Vector<Raw.TypeChat>;
|
|
22375
|
+
users: Vector<Raw.TypeUser>;
|
|
22376
|
+
nextOffset?: string;
|
|
22377
|
+
constructor(params: {
|
|
22378
|
+
hash: long;
|
|
22379
|
+
themes: Vector<Raw.TypeChatTheme>;
|
|
22380
|
+
chats: Vector<Raw.TypeChat>;
|
|
22381
|
+
users: Vector<Raw.TypeUser>;
|
|
22382
|
+
nextOffset?: string;
|
|
22383
|
+
});
|
|
22384
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.account.ChatThemes>;
|
|
22385
|
+
write(): Buffer;
|
|
22386
|
+
}
|
|
21956
22387
|
class SavedRingtonesNotModified extends TLObject {
|
|
21957
22388
|
constructor();
|
|
21958
22389
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.account.SavedRingtonesNotModified>;
|
|
@@ -22078,6 +22509,19 @@ export declare namespace Raw {
|
|
|
22078
22509
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.account.PaidMessagesRevenue>;
|
|
22079
22510
|
write(): Buffer;
|
|
22080
22511
|
}
|
|
22512
|
+
class SavedMusicIdsNotModified extends TLObject {
|
|
22513
|
+
constructor();
|
|
22514
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.account.SavedMusicIdsNotModified>;
|
|
22515
|
+
write(): Buffer;
|
|
22516
|
+
}
|
|
22517
|
+
class SavedMusicIds extends TLObject {
|
|
22518
|
+
ids: Vector<long>;
|
|
22519
|
+
constructor(params: {
|
|
22520
|
+
ids: Vector<long>;
|
|
22521
|
+
});
|
|
22522
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.account.SavedMusicIds>;
|
|
22523
|
+
write(): Buffer;
|
|
22524
|
+
}
|
|
22081
22525
|
class RegisterDevice extends TLObject {
|
|
22082
22526
|
__response__: Bool;
|
|
22083
22527
|
noMuted?: boolean;
|
|
@@ -22976,12 +23420,10 @@ export declare namespace Raw {
|
|
|
22976
23420
|
class UpdateColor extends TLObject {
|
|
22977
23421
|
__response__: Bool;
|
|
22978
23422
|
forProfile?: boolean;
|
|
22979
|
-
color?:
|
|
22980
|
-
backgroundEmojiId?: long;
|
|
23423
|
+
color?: Raw.TypePeerColor;
|
|
22981
23424
|
constructor(params: {
|
|
22982
23425
|
forProfile?: boolean;
|
|
22983
|
-
color?:
|
|
22984
|
-
backgroundEmojiId?: long;
|
|
23426
|
+
color?: Raw.TypePeerColor;
|
|
22985
23427
|
});
|
|
22986
23428
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.account.UpdateColor>;
|
|
22987
23429
|
write(): Buffer;
|
|
@@ -23231,6 +23673,50 @@ export declare namespace Raw {
|
|
|
23231
23673
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.account.ToggleNoPaidMessagesException>;
|
|
23232
23674
|
write(): Buffer;
|
|
23233
23675
|
}
|
|
23676
|
+
class SetMainProfileTab extends TLObject {
|
|
23677
|
+
__response__: Bool;
|
|
23678
|
+
tab: Raw.TypeProfileTab;
|
|
23679
|
+
constructor(params: {
|
|
23680
|
+
tab: Raw.TypeProfileTab;
|
|
23681
|
+
});
|
|
23682
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.account.SetMainProfileTab>;
|
|
23683
|
+
write(): Buffer;
|
|
23684
|
+
}
|
|
23685
|
+
class SaveMusic extends TLObject {
|
|
23686
|
+
__response__: Bool;
|
|
23687
|
+
unsave?: boolean;
|
|
23688
|
+
id: Raw.TypeInputDocument;
|
|
23689
|
+
afterId?: Raw.TypeInputDocument;
|
|
23690
|
+
constructor(params: {
|
|
23691
|
+
unsave?: boolean;
|
|
23692
|
+
id: Raw.TypeInputDocument;
|
|
23693
|
+
afterId?: Raw.TypeInputDocument;
|
|
23694
|
+
});
|
|
23695
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.account.SaveMusic>;
|
|
23696
|
+
write(): Buffer;
|
|
23697
|
+
}
|
|
23698
|
+
class GetSavedMusicIds extends TLObject {
|
|
23699
|
+
__response__: Raw.account.TypeSavedMusicIds;
|
|
23700
|
+
hash: long;
|
|
23701
|
+
constructor(params: {
|
|
23702
|
+
hash: long;
|
|
23703
|
+
});
|
|
23704
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.account.GetSavedMusicIds>;
|
|
23705
|
+
write(): Buffer;
|
|
23706
|
+
}
|
|
23707
|
+
class GetUniqueGiftChatThemes extends TLObject {
|
|
23708
|
+
__response__: Raw.account.TypeChatThemes;
|
|
23709
|
+
offset: string;
|
|
23710
|
+
limit: int;
|
|
23711
|
+
hash: long;
|
|
23712
|
+
constructor(params: {
|
|
23713
|
+
offset: string;
|
|
23714
|
+
limit: int;
|
|
23715
|
+
hash: long;
|
|
23716
|
+
});
|
|
23717
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.account.GetUniqueGiftChatThemes>;
|
|
23718
|
+
write(): Buffer;
|
|
23719
|
+
}
|
|
23234
23720
|
}
|
|
23235
23721
|
namespace channels {
|
|
23236
23722
|
type TypeSendAsPeers = Raw.channels.SendAsPeers;
|
|
@@ -23816,111 +24302,6 @@ export declare namespace Raw {
|
|
|
23816
24302
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.channels.ToggleForum>;
|
|
23817
24303
|
write(): Buffer;
|
|
23818
24304
|
}
|
|
23819
|
-
class CreateForumTopic extends TLObject {
|
|
23820
|
-
__response__: Raw.TypeUpdates;
|
|
23821
|
-
channel: Raw.TypeInputChannel;
|
|
23822
|
-
title: string;
|
|
23823
|
-
iconColor?: int;
|
|
23824
|
-
iconEmojiId?: long;
|
|
23825
|
-
randomId: long;
|
|
23826
|
-
sendAs?: Raw.TypeInputPeer;
|
|
23827
|
-
constructor(params: {
|
|
23828
|
-
channel: Raw.TypeInputChannel;
|
|
23829
|
-
title: string;
|
|
23830
|
-
iconColor?: int;
|
|
23831
|
-
iconEmojiId?: long;
|
|
23832
|
-
randomId: long;
|
|
23833
|
-
sendAs?: Raw.TypeInputPeer;
|
|
23834
|
-
});
|
|
23835
|
-
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.channels.CreateForumTopic>;
|
|
23836
|
-
write(): Buffer;
|
|
23837
|
-
}
|
|
23838
|
-
class GetForumTopics extends TLObject {
|
|
23839
|
-
__response__: Raw.messages.TypeForumTopics;
|
|
23840
|
-
channel: Raw.TypeInputChannel;
|
|
23841
|
-
q?: string;
|
|
23842
|
-
offsetDate: int;
|
|
23843
|
-
offsetId: int;
|
|
23844
|
-
offsetTopic: int;
|
|
23845
|
-
limit: int;
|
|
23846
|
-
constructor(params: {
|
|
23847
|
-
channel: Raw.TypeInputChannel;
|
|
23848
|
-
q?: string;
|
|
23849
|
-
offsetDate: int;
|
|
23850
|
-
offsetId: int;
|
|
23851
|
-
offsetTopic: int;
|
|
23852
|
-
limit: int;
|
|
23853
|
-
});
|
|
23854
|
-
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.channels.GetForumTopics>;
|
|
23855
|
-
write(): Buffer;
|
|
23856
|
-
}
|
|
23857
|
-
class GetForumTopicsByID extends TLObject {
|
|
23858
|
-
__response__: Raw.messages.TypeForumTopics;
|
|
23859
|
-
channel: Raw.TypeInputChannel;
|
|
23860
|
-
topics: Vector<int>;
|
|
23861
|
-
constructor(params: {
|
|
23862
|
-
channel: Raw.TypeInputChannel;
|
|
23863
|
-
topics: Vector<int>;
|
|
23864
|
-
});
|
|
23865
|
-
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.channels.GetForumTopicsByID>;
|
|
23866
|
-
write(): Buffer;
|
|
23867
|
-
}
|
|
23868
|
-
class EditForumTopic extends TLObject {
|
|
23869
|
-
__response__: Raw.TypeUpdates;
|
|
23870
|
-
channel: Raw.TypeInputChannel;
|
|
23871
|
-
topicId: int;
|
|
23872
|
-
title?: string;
|
|
23873
|
-
iconEmojiId?: long;
|
|
23874
|
-
closed?: Bool;
|
|
23875
|
-
hidden?: Bool;
|
|
23876
|
-
constructor(params: {
|
|
23877
|
-
channel: Raw.TypeInputChannel;
|
|
23878
|
-
topicId: int;
|
|
23879
|
-
title?: string;
|
|
23880
|
-
iconEmojiId?: long;
|
|
23881
|
-
closed?: Bool;
|
|
23882
|
-
hidden?: Bool;
|
|
23883
|
-
});
|
|
23884
|
-
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.channels.EditForumTopic>;
|
|
23885
|
-
write(): Buffer;
|
|
23886
|
-
}
|
|
23887
|
-
class UpdatePinnedForumTopic extends TLObject {
|
|
23888
|
-
__response__: Raw.TypeUpdates;
|
|
23889
|
-
channel: Raw.TypeInputChannel;
|
|
23890
|
-
topicId: int;
|
|
23891
|
-
pinned: Bool;
|
|
23892
|
-
constructor(params: {
|
|
23893
|
-
channel: Raw.TypeInputChannel;
|
|
23894
|
-
topicId: int;
|
|
23895
|
-
pinned: Bool;
|
|
23896
|
-
});
|
|
23897
|
-
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.channels.UpdatePinnedForumTopic>;
|
|
23898
|
-
write(): Buffer;
|
|
23899
|
-
}
|
|
23900
|
-
class DeleteTopicHistory extends TLObject {
|
|
23901
|
-
__response__: Raw.messages.TypeAffectedHistory;
|
|
23902
|
-
channel: Raw.TypeInputChannel;
|
|
23903
|
-
topMsgId: int;
|
|
23904
|
-
constructor(params: {
|
|
23905
|
-
channel: Raw.TypeInputChannel;
|
|
23906
|
-
topMsgId: int;
|
|
23907
|
-
});
|
|
23908
|
-
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.channels.DeleteTopicHistory>;
|
|
23909
|
-
write(): Buffer;
|
|
23910
|
-
}
|
|
23911
|
-
class ReorderPinnedForumTopics extends TLObject {
|
|
23912
|
-
__response__: Raw.TypeUpdates;
|
|
23913
|
-
force?: boolean;
|
|
23914
|
-
channel: Raw.TypeInputChannel;
|
|
23915
|
-
order: Vector<int>;
|
|
23916
|
-
constructor(params: {
|
|
23917
|
-
force?: boolean;
|
|
23918
|
-
channel: Raw.TypeInputChannel;
|
|
23919
|
-
order: Vector<int>;
|
|
23920
|
-
});
|
|
23921
|
-
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.channels.ReorderPinnedForumTopics>;
|
|
23922
|
-
write(): Buffer;
|
|
23923
|
-
}
|
|
23924
24305
|
class ToggleAntiSpam extends TLObject {
|
|
23925
24306
|
__response__: Raw.TypeUpdates;
|
|
23926
24307
|
channel: Raw.TypeInputChannel;
|
|
@@ -24098,8 +24479,21 @@ export declare namespace Raw {
|
|
|
24098
24479
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.channels.CheckSearchPostsFlood>;
|
|
24099
24480
|
write(): Buffer;
|
|
24100
24481
|
}
|
|
24482
|
+
class SetMainProfileTab extends TLObject {
|
|
24483
|
+
__response__: Bool;
|
|
24484
|
+
channel: Raw.TypeInputChannel;
|
|
24485
|
+
tab: Raw.TypeProfileTab;
|
|
24486
|
+
constructor(params: {
|
|
24487
|
+
channel: Raw.TypeInputChannel;
|
|
24488
|
+
tab: Raw.TypeProfileTab;
|
|
24489
|
+
});
|
|
24490
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.channels.SetMainProfileTab>;
|
|
24491
|
+
write(): Buffer;
|
|
24492
|
+
}
|
|
24101
24493
|
}
|
|
24102
24494
|
namespace payments {
|
|
24495
|
+
type TypeCheckCanSendGiftResult = Raw.payments.CheckCanSendGiftResultOk | Raw.payments.CheckCanSendGiftResultFail;
|
|
24496
|
+
type TypeUniqueStarGiftValueInfo = Raw.payments.UniqueStarGiftValueInfo;
|
|
24103
24497
|
type TypeStarGiftCollections = Raw.payments.StarGiftCollectionsNotModified | Raw.payments.StarGiftCollections;
|
|
24104
24498
|
type TypeResaleStarGifts = Raw.payments.ResaleStarGifts;
|
|
24105
24499
|
type TypeStarGiftWithdrawalUrl = Raw.payments.StarGiftWithdrawalUrl;
|
|
@@ -24467,17 +24861,23 @@ export declare namespace Raw {
|
|
|
24467
24861
|
}
|
|
24468
24862
|
class StarGiftUpgradePreview extends TLObject {
|
|
24469
24863
|
sampleAttributes: Vector<Raw.TypeStarGiftAttribute>;
|
|
24864
|
+
prices: Vector<Raw.TypeStarGiftUpgradePrice>;
|
|
24865
|
+
nextPrices: Vector<Raw.TypeStarGiftUpgradePrice>;
|
|
24470
24866
|
constructor(params: {
|
|
24471
24867
|
sampleAttributes: Vector<Raw.TypeStarGiftAttribute>;
|
|
24868
|
+
prices: Vector<Raw.TypeStarGiftUpgradePrice>;
|
|
24869
|
+
nextPrices: Vector<Raw.TypeStarGiftUpgradePrice>;
|
|
24472
24870
|
});
|
|
24473
24871
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.payments.StarGiftUpgradePreview>;
|
|
24474
24872
|
write(): Buffer;
|
|
24475
24873
|
}
|
|
24476
24874
|
class UniqueStarGift extends TLObject {
|
|
24477
24875
|
gift: Raw.TypeStarGift;
|
|
24876
|
+
chats: Vector<Raw.TypeChat>;
|
|
24478
24877
|
users: Vector<Raw.TypeUser>;
|
|
24479
24878
|
constructor(params: {
|
|
24480
24879
|
gift: Raw.TypeStarGift;
|
|
24880
|
+
chats: Vector<Raw.TypeChat>;
|
|
24481
24881
|
users: Vector<Raw.TypeUser>;
|
|
24482
24882
|
});
|
|
24483
24883
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.payments.UniqueStarGift>;
|
|
@@ -24544,6 +24944,53 @@ export declare namespace Raw {
|
|
|
24544
24944
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.payments.StarGiftCollections>;
|
|
24545
24945
|
write(): Buffer;
|
|
24546
24946
|
}
|
|
24947
|
+
class UniqueStarGiftValueInfo extends TLObject {
|
|
24948
|
+
lastSaleOnFragment?: boolean;
|
|
24949
|
+
valueIsAverage?: boolean;
|
|
24950
|
+
currency: string;
|
|
24951
|
+
value: long;
|
|
24952
|
+
initialSaleDate: int;
|
|
24953
|
+
initialSaleStars: long;
|
|
24954
|
+
initialSalePrice: long;
|
|
24955
|
+
lastSaleDate?: int;
|
|
24956
|
+
lastSalePrice?: long;
|
|
24957
|
+
floorPrice?: long;
|
|
24958
|
+
averagePrice?: long;
|
|
24959
|
+
listedCount?: int;
|
|
24960
|
+
fragmentListedCount?: int;
|
|
24961
|
+
fragmentListedUrl?: string;
|
|
24962
|
+
constructor(params: {
|
|
24963
|
+
lastSaleOnFragment?: boolean;
|
|
24964
|
+
valueIsAverage?: boolean;
|
|
24965
|
+
currency: string;
|
|
24966
|
+
value: long;
|
|
24967
|
+
initialSaleDate: int;
|
|
24968
|
+
initialSaleStars: long;
|
|
24969
|
+
initialSalePrice: long;
|
|
24970
|
+
lastSaleDate?: int;
|
|
24971
|
+
lastSalePrice?: long;
|
|
24972
|
+
floorPrice?: long;
|
|
24973
|
+
averagePrice?: long;
|
|
24974
|
+
listedCount?: int;
|
|
24975
|
+
fragmentListedCount?: int;
|
|
24976
|
+
fragmentListedUrl?: string;
|
|
24977
|
+
});
|
|
24978
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.payments.UniqueStarGiftValueInfo>;
|
|
24979
|
+
write(): Buffer;
|
|
24980
|
+
}
|
|
24981
|
+
class CheckCanSendGiftResultOk extends TLObject {
|
|
24982
|
+
constructor();
|
|
24983
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.payments.CheckCanSendGiftResultOk>;
|
|
24984
|
+
write(): Buffer;
|
|
24985
|
+
}
|
|
24986
|
+
class CheckCanSendGiftResultFail extends TLObject {
|
|
24987
|
+
reason: Raw.TypeTextWithEntities;
|
|
24988
|
+
constructor(params: {
|
|
24989
|
+
reason: Raw.TypeTextWithEntities;
|
|
24990
|
+
});
|
|
24991
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.payments.CheckCanSendGiftResultFail>;
|
|
24992
|
+
write(): Buffer;
|
|
24993
|
+
}
|
|
24547
24994
|
class GetPaymentForm extends TLObject {
|
|
24548
24995
|
__response__: Raw.payments.TypePaymentForm;
|
|
24549
24996
|
invoice: Raw.TypeInputInvoice;
|
|
@@ -25024,9 +25471,12 @@ export declare namespace Raw {
|
|
|
25024
25471
|
excludeUnsaved?: boolean;
|
|
25025
25472
|
excludeSaved?: boolean;
|
|
25026
25473
|
excludeUnlimited?: boolean;
|
|
25027
|
-
excludeLimited?: boolean;
|
|
25028
25474
|
excludeUnique?: boolean;
|
|
25029
25475
|
sortByValue?: boolean;
|
|
25476
|
+
excludeUpgradable?: boolean;
|
|
25477
|
+
excludeUnupgradable?: boolean;
|
|
25478
|
+
peerColorAvailable?: boolean;
|
|
25479
|
+
excludeHosted?: boolean;
|
|
25030
25480
|
peer: Raw.TypeInputPeer;
|
|
25031
25481
|
collectionId?: int;
|
|
25032
25482
|
offset: string;
|
|
@@ -25035,9 +25485,12 @@ export declare namespace Raw {
|
|
|
25035
25485
|
excludeUnsaved?: boolean;
|
|
25036
25486
|
excludeSaved?: boolean;
|
|
25037
25487
|
excludeUnlimited?: boolean;
|
|
25038
|
-
excludeLimited?: boolean;
|
|
25039
25488
|
excludeUnique?: boolean;
|
|
25040
25489
|
sortByValue?: boolean;
|
|
25490
|
+
excludeUpgradable?: boolean;
|
|
25491
|
+
excludeUnupgradable?: boolean;
|
|
25492
|
+
peerColorAvailable?: boolean;
|
|
25493
|
+
excludeHosted?: boolean;
|
|
25041
25494
|
peer: Raw.TypeInputPeer;
|
|
25042
25495
|
collectionId?: int;
|
|
25043
25496
|
offset: string;
|
|
@@ -25194,6 +25647,24 @@ export declare namespace Raw {
|
|
|
25194
25647
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.payments.GetStarGiftCollections>;
|
|
25195
25648
|
write(): Buffer;
|
|
25196
25649
|
}
|
|
25650
|
+
class GetUniqueStarGiftValueInfo extends TLObject {
|
|
25651
|
+
__response__: Raw.payments.TypeUniqueStarGiftValueInfo;
|
|
25652
|
+
slug: string;
|
|
25653
|
+
constructor(params: {
|
|
25654
|
+
slug: string;
|
|
25655
|
+
});
|
|
25656
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.payments.GetUniqueStarGiftValueInfo>;
|
|
25657
|
+
write(): Buffer;
|
|
25658
|
+
}
|
|
25659
|
+
class CheckCanSendGift extends TLObject {
|
|
25660
|
+
__response__: Raw.payments.TypeCheckCanSendGiftResult;
|
|
25661
|
+
giftId: long;
|
|
25662
|
+
constructor(params: {
|
|
25663
|
+
giftId: long;
|
|
25664
|
+
});
|
|
25665
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.payments.CheckCanSendGift>;
|
|
25666
|
+
write(): Buffer;
|
|
25667
|
+
}
|
|
25197
25668
|
}
|
|
25198
25669
|
namespace phone {
|
|
25199
25670
|
type TypeGroupCallStreamRtmpUrl = Raw.phone.GroupCallStreamRtmpUrl;
|
|
@@ -25475,10 +25946,12 @@ export declare namespace Raw {
|
|
|
25475
25946
|
resetInviteHash?: boolean;
|
|
25476
25947
|
call: Raw.TypeInputGroupCall;
|
|
25477
25948
|
joinMuted?: Bool;
|
|
25949
|
+
messagesEnabled?: Bool;
|
|
25478
25950
|
constructor(params: {
|
|
25479
25951
|
resetInviteHash?: boolean;
|
|
25480
25952
|
call: Raw.TypeInputGroupCall;
|
|
25481
25953
|
joinMuted?: Bool;
|
|
25954
|
+
messagesEnabled?: Bool;
|
|
25482
25955
|
});
|
|
25483
25956
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.phone.ToggleGroupCallSettings>;
|
|
25484
25957
|
write(): Buffer;
|
|
@@ -25761,6 +26234,30 @@ export declare namespace Raw {
|
|
|
25761
26234
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.phone.GetGroupCallChainBlocks>;
|
|
25762
26235
|
write(): Buffer;
|
|
25763
26236
|
}
|
|
26237
|
+
class SendGroupCallMessage extends TLObject {
|
|
26238
|
+
__response__: Bool;
|
|
26239
|
+
call: Raw.TypeInputGroupCall;
|
|
26240
|
+
randomId: long;
|
|
26241
|
+
message: Raw.TypeTextWithEntities;
|
|
26242
|
+
constructor(params: {
|
|
26243
|
+
call: Raw.TypeInputGroupCall;
|
|
26244
|
+
randomId: long;
|
|
26245
|
+
message: Raw.TypeTextWithEntities;
|
|
26246
|
+
});
|
|
26247
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.phone.SendGroupCallMessage>;
|
|
26248
|
+
write(): Buffer;
|
|
26249
|
+
}
|
|
26250
|
+
class SendGroupCallEncryptedMessage extends TLObject {
|
|
26251
|
+
__response__: Bool;
|
|
26252
|
+
call: Raw.TypeInputGroupCall;
|
|
26253
|
+
encryptedMessage: bytes;
|
|
26254
|
+
constructor(params: {
|
|
26255
|
+
call: Raw.TypeInputGroupCall;
|
|
26256
|
+
encryptedMessage: bytes;
|
|
26257
|
+
});
|
|
26258
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.phone.SendGroupCallEncryptedMessage>;
|
|
26259
|
+
write(): Buffer;
|
|
26260
|
+
}
|
|
25764
26261
|
}
|
|
25765
26262
|
namespace stats {
|
|
25766
26263
|
type TypeStoryStats = Raw.stats.StoryStats;
|
|
@@ -26130,6 +26627,7 @@ export declare namespace Raw {
|
|
|
26130
26627
|
}
|
|
26131
26628
|
namespace users {
|
|
26132
26629
|
type TypeUsers = Raw.users.Users | Raw.users.UsersSlice;
|
|
26630
|
+
type TypeSavedMusic = Raw.users.SavedMusicNotModified | Raw.users.SavedMusic;
|
|
26133
26631
|
type TypeUserFull = Raw.users.UserFull;
|
|
26134
26632
|
class UserFull extends TLObject {
|
|
26135
26633
|
fullUser: Raw.TypeUserFull;
|
|
@@ -26161,6 +26659,24 @@ export declare namespace Raw {
|
|
|
26161
26659
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.users.UsersSlice>;
|
|
26162
26660
|
write(): Buffer;
|
|
26163
26661
|
}
|
|
26662
|
+
class SavedMusicNotModified extends TLObject {
|
|
26663
|
+
count: int;
|
|
26664
|
+
constructor(params: {
|
|
26665
|
+
count: int;
|
|
26666
|
+
});
|
|
26667
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.users.SavedMusicNotModified>;
|
|
26668
|
+
write(): Buffer;
|
|
26669
|
+
}
|
|
26670
|
+
class SavedMusic extends TLObject {
|
|
26671
|
+
count: int;
|
|
26672
|
+
documents: Vector<Raw.TypeDocument>;
|
|
26673
|
+
constructor(params: {
|
|
26674
|
+
count: int;
|
|
26675
|
+
documents: Vector<Raw.TypeDocument>;
|
|
26676
|
+
});
|
|
26677
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.users.SavedMusic>;
|
|
26678
|
+
write(): Buffer;
|
|
26679
|
+
}
|
|
26164
26680
|
class GetUsers extends TLObject {
|
|
26165
26681
|
__response__: Vector<Raw.TypeUser>;
|
|
26166
26682
|
id: Vector<Raw.TypeInputUser>;
|
|
@@ -26199,6 +26715,43 @@ export declare namespace Raw {
|
|
|
26199
26715
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.users.GetRequirementsToContact>;
|
|
26200
26716
|
write(): Buffer;
|
|
26201
26717
|
}
|
|
26718
|
+
class GetSavedMusic extends TLObject {
|
|
26719
|
+
__response__: Raw.users.TypeSavedMusic;
|
|
26720
|
+
id: Raw.TypeInputUser;
|
|
26721
|
+
offset: int;
|
|
26722
|
+
limit: int;
|
|
26723
|
+
hash: long;
|
|
26724
|
+
constructor(params: {
|
|
26725
|
+
id: Raw.TypeInputUser;
|
|
26726
|
+
offset: int;
|
|
26727
|
+
limit: int;
|
|
26728
|
+
hash: long;
|
|
26729
|
+
});
|
|
26730
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.users.GetSavedMusic>;
|
|
26731
|
+
write(): Buffer;
|
|
26732
|
+
}
|
|
26733
|
+
class GetSavedMusicByID extends TLObject {
|
|
26734
|
+
__response__: Raw.users.TypeSavedMusic;
|
|
26735
|
+
id: Raw.TypeInputUser;
|
|
26736
|
+
documents: Vector<Raw.TypeInputDocument>;
|
|
26737
|
+
constructor(params: {
|
|
26738
|
+
id: Raw.TypeInputUser;
|
|
26739
|
+
documents: Vector<Raw.TypeInputDocument>;
|
|
26740
|
+
});
|
|
26741
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.users.GetSavedMusicByID>;
|
|
26742
|
+
write(): Buffer;
|
|
26743
|
+
}
|
|
26744
|
+
class SuggestBirthday extends TLObject {
|
|
26745
|
+
__response__: Raw.TypeUpdates;
|
|
26746
|
+
id: Raw.TypeInputUser;
|
|
26747
|
+
birthday: Raw.TypeBirthday;
|
|
26748
|
+
constructor(params: {
|
|
26749
|
+
id: Raw.TypeInputUser;
|
|
26750
|
+
birthday: Raw.TypeBirthday;
|
|
26751
|
+
});
|
|
26752
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.users.SuggestBirthday>;
|
|
26753
|
+
write(): Buffer;
|
|
26754
|
+
}
|
|
26202
26755
|
}
|
|
26203
26756
|
namespace chatlists {
|
|
26204
26757
|
type TypeChatlistUpdates = Raw.chatlists.ChatlistUpdates;
|