@tgsnake/skema 1.4.0 → 1.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/raw/Raw.d.ts CHANGED
@@ -15,7 +15,7 @@ export declare namespace Raw {
15
15
  type Vector<T> = Array<T>;
16
16
  const Layer: number;
17
17
  const HighestSCLayer: number;
18
- type TypesTLRequest = Raw.ReqPq | Raw.ReqPqMulti | Raw.ReqDhParams | Raw.SetClientDhParams | Raw.DestroyAuthKey | Raw.RpcDropAnswer | Raw.GetFutureSalts | Raw.Ping | Raw.PingDelayDisconnect | Raw.DestroySession | Raw.InvokeAfterMsg | Raw.InvokeAfterMsgs | Raw.InitConnection | Raw.InvokeWithLayer | Raw.InvokeWithoutUpdates | Raw.InvokeWithMessagesRange | Raw.InvokeWithTakeout | Raw.InvokeWithBusinessConnection | Raw.InvokeWithGooglePlayIntegrity | Raw.InvokeWithApnsSecret | Raw.InvokeWithReCaptcha | Raw.auth.SendCode | Raw.auth.SignUp | Raw.auth.SignIn | Raw.auth.LogOut | Raw.auth.ResetAuthorizations | Raw.auth.ExportAuthorization | Raw.auth.ImportAuthorization | Raw.auth.BindTempAuthKey | Raw.auth.ImportBotAuthorization | Raw.auth.CheckPassword | Raw.auth.RequestPasswordRecovery | Raw.auth.RecoverPassword | Raw.auth.ResendCode | Raw.auth.CancelCode | Raw.auth.DropTempAuthKeys | Raw.auth.ExportLoginToken | Raw.auth.ImportLoginToken | Raw.auth.AcceptLoginToken | Raw.auth.CheckRecoveryPassword | Raw.auth.ImportWebTokenAuthorization | Raw.auth.RequestFirebaseSms | Raw.auth.ResetLoginEmail | Raw.auth.ReportMissingCode | Raw.account.RegisterDevice | Raw.account.UnregisterDevice | Raw.account.UpdateNotifySettings | Raw.account.GetNotifySettings | Raw.account.ResetNotifySettings | Raw.account.UpdateProfile | Raw.account.UpdateStatus | Raw.account.GetWallPapers | Raw.account.ReportPeer | Raw.account.CheckUsername | Raw.account.UpdateUsername | Raw.account.GetPrivacy | Raw.account.SetPrivacy | Raw.account.DeleteAccount | Raw.account.GetAccountTTL | Raw.account.SetAccountTTL | Raw.account.SendChangePhoneCode | Raw.account.ChangePhone | Raw.account.UpdateDeviceLocked | Raw.account.GetAuthorizations | Raw.account.ResetAuthorization | Raw.account.GetPassword | Raw.account.GetPasswordSettings | Raw.account.UpdatePasswordSettings | Raw.account.SendConfirmPhoneCode | Raw.account.ConfirmPhone | Raw.account.GetTmpPassword | Raw.account.GetWebAuthorizations | Raw.account.ResetWebAuthorization | Raw.account.ResetWebAuthorizations | Raw.account.GetAllSecureValues | Raw.account.GetSecureValue | Raw.account.SaveSecureValue | Raw.account.DeleteSecureValue | Raw.account.GetAuthorizationForm | Raw.account.AcceptAuthorization | Raw.account.SendVerifyPhoneCode | Raw.account.VerifyPhone | Raw.account.SendVerifyEmailCode | Raw.account.VerifyEmail | Raw.account.InitTakeoutSession | Raw.account.FinishTakeoutSession | Raw.account.ConfirmPasswordEmail | Raw.account.ResendPasswordEmail | Raw.account.CancelPasswordEmail | Raw.account.GetContactSignUpNotification | Raw.account.SetContactSignUpNotification | Raw.account.GetNotifyExceptions | Raw.account.GetWallPaper | Raw.account.UploadWallPaper | Raw.account.SaveWallPaper | Raw.account.InstallWallPaper | Raw.account.ResetWallPapers | Raw.account.GetAutoDownloadSettings | Raw.account.SaveAutoDownloadSettings | Raw.account.UploadTheme | Raw.account.CreateTheme | Raw.account.UpdateTheme | Raw.account.SaveTheme | Raw.account.InstallTheme | Raw.account.GetTheme | Raw.account.GetThemes | Raw.account.SetContentSettings | Raw.account.GetContentSettings | Raw.account.GetMultiWallPapers | Raw.account.GetGlobalPrivacySettings | Raw.account.SetGlobalPrivacySettings | Raw.account.ReportProfilePhoto | Raw.account.ResetPassword | Raw.account.DeclinePasswordReset | Raw.account.GetChatThemes | Raw.account.SetAuthorizationTTL | Raw.account.ChangeAuthorizationSettings | Raw.account.GetSavedRingtones | Raw.account.SaveRingtone | Raw.account.UploadRingtone | Raw.account.UpdateEmojiStatus | Raw.account.GetDefaultEmojiStatuses | Raw.account.GetRecentEmojiStatuses | Raw.account.ClearRecentEmojiStatuses | Raw.account.ReorderUsernames | Raw.account.ToggleUsername | Raw.account.GetDefaultProfilePhotoEmojis | Raw.account.GetDefaultGroupPhotoEmojis | Raw.account.GetAutoSaveSettings | Raw.account.SaveAutoSaveSettings | Raw.account.DeleteAutoSaveExceptions | Raw.account.InvalidateSignInCodes | Raw.account.UpdateColor | Raw.account.GetDefaultBackgroundEmojis | Raw.account.GetChannelDefaultEmojiStatuses | Raw.account.GetChannelRestrictedStatusEmojis | Raw.account.UpdateBusinessWorkHours | Raw.account.UpdateBusinessLocation | Raw.account.UpdateBusinessGreetingMessage | Raw.account.UpdateBusinessAwayMessage | Raw.account.UpdateConnectedBot | Raw.account.GetConnectedBots | Raw.account.GetBotBusinessConnection | Raw.account.UpdateBusinessIntro | Raw.account.ToggleConnectedBotPaused | Raw.account.DisablePeerConnectedBot | Raw.account.UpdateBirthday | Raw.account.CreateBusinessChatLink | Raw.account.EditBusinessChatLink | Raw.account.DeleteBusinessChatLink | Raw.account.GetBusinessChatLinks | Raw.account.ResolveBusinessChatLink | Raw.account.UpdatePersonalChannel | Raw.account.ToggleSponsoredMessages | Raw.account.GetReactionsNotifySettings | Raw.account.SetReactionsNotifySettings | Raw.account.GetCollectibleEmojiStatuses | Raw.account.GetPaidMessagesRevenue | Raw.account.ToggleNoPaidMessagesException | Raw.account.SetMainProfileTab | Raw.account.SaveMusic | Raw.account.GetSavedMusicIds | Raw.account.GetUniqueGiftChatThemes | Raw.users.GetUsers | Raw.users.GetFullUser | Raw.users.SetSecureValueErrors | Raw.users.GetRequirementsToContact | Raw.users.GetSavedMusic | Raw.users.GetSavedMusicByID | Raw.contacts.GetContactIDs | Raw.contacts.GetStatuses | Raw.contacts.GetContacts | Raw.contacts.ImportContacts | Raw.contacts.DeleteContacts | Raw.contacts.DeleteByPhones | Raw.contacts.Block | Raw.contacts.Unblock | Raw.contacts.GetBlocked | Raw.contacts.Search | Raw.contacts.ResolveUsername | Raw.contacts.GetTopPeers | Raw.contacts.ResetTopPeerRating | Raw.contacts.ResetSaved | Raw.contacts.GetSaved | Raw.contacts.ToggleTopPeers | Raw.contacts.AddContact | Raw.contacts.AcceptContact | Raw.contacts.GetLocated | Raw.contacts.BlockFromReplies | Raw.contacts.ResolvePhone | Raw.contacts.ExportContactToken | Raw.contacts.ImportContactToken | Raw.contacts.EditCloseFriends | Raw.contacts.SetBlocked | Raw.contacts.GetBirthdays | Raw.contacts.GetSponsoredPeers | Raw.messages.GetMessages | Raw.messages.GetDialogs | Raw.messages.GetHistory | Raw.messages.Search | Raw.messages.ReadHistory | Raw.messages.DeleteHistory | Raw.messages.DeleteMessages | Raw.messages.ReceivedMessages | Raw.messages.SetTyping | Raw.messages.SendMessage | Raw.messages.SendMedia | Raw.messages.ForwardMessages | Raw.messages.ReportSpam | Raw.messages.GetPeerSettings | Raw.messages.Report | Raw.messages.GetChats | Raw.messages.GetFullChat | Raw.messages.EditChatTitle | Raw.messages.EditChatPhoto | Raw.messages.AddChatUser | Raw.messages.DeleteChatUser | Raw.messages.CreateChat | Raw.messages.GetDhConfig | Raw.messages.RequestEncryption | Raw.messages.AcceptEncryption | Raw.messages.DiscardEncryption | Raw.messages.SetEncryptedTyping | Raw.messages.ReadEncryptedHistory | Raw.messages.SendEncrypted | Raw.messages.SendEncryptedFile | Raw.messages.SendEncryptedService | Raw.messages.ReceivedQueue | Raw.messages.ReportEncryptedSpam | Raw.messages.ReadMessageContents | Raw.messages.GetStickers | Raw.messages.GetAllStickers | Raw.messages.GetWebPagePreview | Raw.messages.ExportChatInvite | Raw.messages.CheckChatInvite | Raw.messages.ImportChatInvite | Raw.messages.GetStickerSet | Raw.messages.InstallStickerSet | Raw.messages.UninstallStickerSet | Raw.messages.StartBot | Raw.messages.GetMessagesViews | Raw.messages.EditChatAdmin | Raw.messages.MigrateChat | Raw.messages.SearchGlobal | Raw.messages.ReorderStickerSets | Raw.messages.GetDocumentByHash | Raw.messages.GetSavedGifs | Raw.messages.SaveGif | Raw.messages.GetInlineBotResults | Raw.messages.SetInlineBotResults | Raw.messages.SendInlineBotResult | Raw.messages.GetMessageEditData | Raw.messages.EditMessage | Raw.messages.EditInlineBotMessage | Raw.messages.GetBotCallbackAnswer | Raw.messages.SetBotCallbackAnswer | Raw.messages.GetPeerDialogs | Raw.messages.SaveDraft | Raw.messages.GetAllDrafts | Raw.messages.GetFeaturedStickers | Raw.messages.ReadFeaturedStickers | Raw.messages.GetRecentStickers | Raw.messages.SaveRecentSticker | Raw.messages.ClearRecentStickers | Raw.messages.GetArchivedStickers | Raw.messages.GetMaskStickers | Raw.messages.GetAttachedStickers | Raw.messages.SetGameScore | Raw.messages.SetInlineGameScore | Raw.messages.GetGameHighScores | Raw.messages.GetInlineGameHighScores | Raw.messages.GetCommonChats | Raw.messages.GetWebPage | Raw.messages.ToggleDialogPin | Raw.messages.ReorderPinnedDialogs | Raw.messages.GetPinnedDialogs | Raw.messages.SetBotShippingResults | Raw.messages.SetBotPrecheckoutResults | Raw.messages.UploadMedia | Raw.messages.SendScreenshotNotification | Raw.messages.GetFavedStickers | Raw.messages.FaveSticker | Raw.messages.GetUnreadMentions | Raw.messages.ReadMentions | Raw.messages.GetRecentLocations | Raw.messages.SendMultiMedia | Raw.messages.UploadEncryptedFile | Raw.messages.SearchStickerSets | Raw.messages.GetSplitRanges | Raw.messages.MarkDialogUnread | Raw.messages.GetDialogUnreadMarks | Raw.messages.ClearAllDrafts | Raw.messages.UpdatePinnedMessage | Raw.messages.SendVote | Raw.messages.GetPollResults | Raw.messages.GetOnlines | Raw.messages.EditChatAbout | Raw.messages.EditChatDefaultBannedRights | Raw.messages.GetEmojiKeywords | Raw.messages.GetEmojiKeywordsDifference | Raw.messages.GetEmojiKeywordsLanguages | Raw.messages.GetEmojiURL | Raw.messages.GetSearchCounters | Raw.messages.RequestUrlAuth | Raw.messages.AcceptUrlAuth | Raw.messages.HidePeerSettingsBar | Raw.messages.GetScheduledHistory | Raw.messages.GetScheduledMessages | Raw.messages.SendScheduledMessages | Raw.messages.DeleteScheduledMessages | Raw.messages.GetPollVotes | Raw.messages.ToggleStickerSets | Raw.messages.GetDialogFilters | Raw.messages.GetSuggestedDialogFilters | Raw.messages.UpdateDialogFilter | Raw.messages.UpdateDialogFiltersOrder | Raw.messages.GetOldFeaturedStickers | Raw.messages.GetReplies | Raw.messages.GetDiscussionMessage | Raw.messages.ReadDiscussion | Raw.messages.UnpinAllMessages | Raw.messages.DeleteChat | Raw.messages.DeletePhoneCallHistory | Raw.messages.CheckHistoryImport | Raw.messages.InitHistoryImport | Raw.messages.UploadImportedMedia | Raw.messages.StartHistoryImport | Raw.messages.GetExportedChatInvites | Raw.messages.GetExportedChatInvite | Raw.messages.EditExportedChatInvite | Raw.messages.DeleteRevokedExportedChatInvites | Raw.messages.DeleteExportedChatInvite | Raw.messages.GetAdminsWithInvites | Raw.messages.GetChatInviteImporters | Raw.messages.SetHistoryTTL | Raw.messages.CheckHistoryImportPeer | Raw.messages.SetChatTheme | Raw.messages.GetMessageReadParticipants | Raw.messages.GetSearchResultsCalendar | Raw.messages.GetSearchResultsPositions | Raw.messages.HideChatJoinRequest | Raw.messages.HideAllChatJoinRequests | Raw.messages.ToggleNoForwards | Raw.messages.SaveDefaultSendAs | Raw.messages.SendReaction | Raw.messages.GetMessagesReactions | Raw.messages.GetMessageReactionsList | Raw.messages.SetChatAvailableReactions | Raw.messages.GetAvailableReactions | Raw.messages.SetDefaultReaction | Raw.messages.TranslateText | Raw.messages.GetUnreadReactions | Raw.messages.ReadReactions | Raw.messages.SearchSentMedia | Raw.messages.GetAttachMenuBots | Raw.messages.GetAttachMenuBot | Raw.messages.ToggleBotInAttachMenu | Raw.messages.RequestWebView | Raw.messages.ProlongWebView | Raw.messages.RequestSimpleWebView | Raw.messages.SendWebViewResultMessage | Raw.messages.SendWebViewData | Raw.messages.TranscribeAudio | Raw.messages.RateTranscribedAudio | Raw.messages.GetCustomEmojiDocuments | Raw.messages.GetEmojiStickers | Raw.messages.GetFeaturedEmojiStickers | Raw.messages.ReportReaction | Raw.messages.GetTopReactions | Raw.messages.GetRecentReactions | Raw.messages.ClearRecentReactions | Raw.messages.GetExtendedMedia | Raw.messages.SetDefaultHistoryTTL | Raw.messages.GetDefaultHistoryTTL | Raw.messages.SendBotRequestedPeer | Raw.messages.GetEmojiGroups | Raw.messages.GetEmojiStatusGroups | Raw.messages.GetEmojiProfilePhotoGroups | Raw.messages.SearchCustomEmoji | Raw.messages.TogglePeerTranslations | Raw.messages.GetBotApp | Raw.messages.RequestAppWebView | Raw.messages.SetChatWallPaper | Raw.messages.SearchEmojiStickerSets | Raw.messages.GetSavedDialogs | Raw.messages.GetSavedHistory | Raw.messages.DeleteSavedHistory | Raw.messages.GetPinnedSavedDialogs | Raw.messages.ToggleSavedDialogPin | Raw.messages.ReorderPinnedSavedDialogs | Raw.messages.GetSavedReactionTags | Raw.messages.UpdateSavedReactionTag | Raw.messages.GetDefaultTagReactions | Raw.messages.GetOutboxReadDate | Raw.messages.GetQuickReplies | Raw.messages.ReorderQuickReplies | Raw.messages.CheckQuickReplyShortcut | Raw.messages.EditQuickReplyShortcut | Raw.messages.DeleteQuickReplyShortcut | Raw.messages.GetQuickReplyMessages | Raw.messages.SendQuickReplyMessages | Raw.messages.DeleteQuickReplyMessages | Raw.messages.ToggleDialogFilterTags | Raw.messages.GetMyStickers | Raw.messages.GetEmojiStickerGroups | Raw.messages.GetAvailableEffects | Raw.messages.EditFactCheck | Raw.messages.DeleteFactCheck | Raw.messages.GetFactCheck | Raw.messages.RequestMainWebView | Raw.messages.SendPaidReaction | Raw.messages.TogglePaidReactionPrivacy | Raw.messages.GetPaidReactionPrivacy | Raw.messages.ViewSponsoredMessage | Raw.messages.ClickSponsoredMessage | Raw.messages.ReportSponsoredMessage | Raw.messages.GetSponsoredMessages | Raw.messages.SavePreparedInlineMessage | Raw.messages.GetPreparedInlineMessage | Raw.messages.SearchStickers | Raw.messages.ReportMessagesDelivery | Raw.messages.GetSavedDialogsByID | Raw.messages.ReadSavedHistory | Raw.messages.ToggleTodoCompleted | Raw.messages.AppendTodoList | Raw.messages.ToggleSuggestedPostApproval | Raw.updates.GetState | Raw.updates.GetDifference | Raw.updates.GetChannelDifference | Raw.photos.UpdateProfilePhoto | Raw.photos.UploadProfilePhoto | Raw.photos.DeletePhotos | Raw.photos.GetUserPhotos | Raw.photos.UploadContactProfilePhoto | Raw.upload.SaveFilePart | Raw.upload.GetFile | Raw.upload.SaveBigFilePart | Raw.upload.GetWebFile | Raw.upload.GetCdnFile | Raw.upload.ReuploadCdnFile | Raw.upload.GetCdnFileHashes | Raw.upload.GetFileHashes | Raw.help.GetConfig | Raw.help.GetNearestDc | Raw.help.GetAppUpdate | Raw.help.GetInviteText | Raw.help.GetSupport | Raw.help.SetBotUpdatesStatus | Raw.help.GetCdnConfig | Raw.help.GetRecentMeUrls | Raw.help.GetTermsOfServiceUpdate | Raw.help.AcceptTermsOfService | Raw.help.GetDeepLinkInfo | Raw.help.GetAppConfig | Raw.help.SaveAppLog | Raw.help.GetPassportConfig | Raw.help.GetSupportName | Raw.help.GetUserInfo | Raw.help.EditUserInfo | Raw.help.GetPromoData | Raw.help.HidePromoData | Raw.help.DismissSuggestion | Raw.help.GetCountriesList | Raw.help.GetPremiumPromo | Raw.help.GetPeerColors | Raw.help.GetPeerProfileColors | Raw.help.GetTimezonesList | Raw.channels.ReadHistory | Raw.channels.DeleteMessages | Raw.channels.ReportSpam | Raw.channels.GetMessages | Raw.channels.GetParticipants | Raw.channels.GetParticipant | Raw.channels.GetChannels | Raw.channels.GetFullChannel | Raw.channels.CreateChannel | Raw.channels.EditAdmin | Raw.channels.EditTitle | Raw.channels.EditPhoto | Raw.channels.CheckUsername | Raw.channels.UpdateUsername | Raw.channels.JoinChannel | Raw.channels.LeaveChannel | Raw.channels.InviteToChannel | Raw.channels.DeleteChannel | Raw.channels.ExportMessageLink | Raw.channels.ToggleSignatures | Raw.channels.GetAdminedPublicChannels | Raw.channels.EditBanned | Raw.channels.GetAdminLog | Raw.channels.SetStickers | Raw.channels.ReadMessageContents | Raw.channels.DeleteHistory | Raw.channels.TogglePreHistoryHidden | Raw.channels.GetLeftChannels | Raw.channels.GetGroupsForDiscussion | Raw.channels.SetDiscussionGroup | Raw.channels.EditCreator | Raw.channels.EditLocation | Raw.channels.ToggleSlowMode | Raw.channels.GetInactiveChannels | Raw.channels.ConvertToGigagroup | Raw.channels.GetSendAs | Raw.channels.DeleteParticipantHistory | Raw.channels.ToggleJoinToSend | Raw.channels.ToggleJoinRequest | Raw.channels.ReorderUsernames | Raw.channels.ToggleUsername | Raw.channels.DeactivateAllUsernames | Raw.channels.ToggleForum | Raw.channels.CreateForumTopic | Raw.channels.GetForumTopics | Raw.channels.GetForumTopicsByID | Raw.channels.EditForumTopic | Raw.channels.UpdatePinnedForumTopic | Raw.channels.DeleteTopicHistory | Raw.channels.ReorderPinnedForumTopics | Raw.channels.ToggleAntiSpam | Raw.channels.ReportAntiSpamFalsePositive | Raw.channels.ToggleParticipantsHidden | Raw.channels.UpdateColor | Raw.channels.ToggleViewForumAsMessages | Raw.channels.GetChannelRecommendations | Raw.channels.UpdateEmojiStatus | Raw.channels.SetBoostsToUnblockRestrictions | Raw.channels.SetEmojiStickers | Raw.channels.RestrictSponsoredMessages | Raw.channels.SearchPosts | Raw.channels.UpdatePaidMessagesPrice | Raw.channels.ToggleAutotranslation | Raw.channels.GetMessageAuthor | Raw.channels.CheckSearchPostsFlood | Raw.channels.SetMainProfileTab | Raw.bots.SendCustomRequest | Raw.bots.AnswerWebhookJSONQuery | Raw.bots.SetBotCommands | Raw.bots.ResetBotCommands | Raw.bots.GetBotCommands | Raw.bots.SetBotMenuButton | Raw.bots.GetBotMenuButton | Raw.bots.SetBotBroadcastDefaultAdminRights | Raw.bots.SetBotGroupDefaultAdminRights | Raw.bots.SetBotInfo | Raw.bots.GetBotInfo | Raw.bots.ReorderUsernames | Raw.bots.ToggleUsername | Raw.bots.CanSendMessage | Raw.bots.AllowSendMessage | Raw.bots.InvokeWebViewCustomMethod | Raw.bots.GetPopularAppBots | Raw.bots.AddPreviewMedia | Raw.bots.EditPreviewMedia | Raw.bots.DeletePreviewMedia | Raw.bots.ReorderPreviewMedias | Raw.bots.GetPreviewInfo | Raw.bots.GetPreviewMedias | Raw.bots.UpdateUserEmojiStatus | Raw.bots.ToggleUserEmojiStatusPermission | Raw.bots.CheckDownloadFileParams | Raw.bots.GetAdminedBots | Raw.bots.UpdateStarRefProgram | Raw.bots.SetCustomVerification | Raw.bots.GetBotRecommendations | Raw.payments.GetPaymentForm | Raw.payments.GetPaymentReceipt | Raw.payments.ValidateRequestedInfo | Raw.payments.SendPaymentForm | Raw.payments.GetSavedInfo | Raw.payments.ClearSavedInfo | Raw.payments.GetBankCardData | Raw.payments.ExportInvoice | Raw.payments.AssignAppStoreTransaction | Raw.payments.AssignPlayMarketTransaction | Raw.payments.GetPremiumGiftCodeOptions | Raw.payments.CheckGiftCode | Raw.payments.ApplyGiftCode | Raw.payments.GetGiveawayInfo | Raw.payments.LaunchPrepaidGiveaway | Raw.payments.GetStarsTopupOptions | Raw.payments.GetStarsStatus | Raw.payments.GetStarsTransactions | Raw.payments.SendStarsForm | Raw.payments.RefundStarsCharge | Raw.payments.GetStarsRevenueStats | Raw.payments.GetStarsRevenueWithdrawalUrl | Raw.payments.GetStarsRevenueAdsAccountUrl | Raw.payments.GetStarsTransactionsByID | Raw.payments.GetStarsGiftOptions | Raw.payments.GetStarsSubscriptions | Raw.payments.ChangeStarsSubscription | Raw.payments.FulfillStarsSubscription | Raw.payments.GetStarsGiveawayOptions | Raw.payments.GetStarGifts | Raw.payments.SaveStarGift | Raw.payments.ConvertStarGift | Raw.payments.BotCancelStarsSubscription | Raw.payments.GetConnectedStarRefBots | Raw.payments.GetConnectedStarRefBot | Raw.payments.GetSuggestedStarRefBots | Raw.payments.ConnectStarRefBot | Raw.payments.EditConnectedStarRefBot | Raw.payments.GetStarGiftUpgradePreview | Raw.payments.UpgradeStarGift | Raw.payments.TransferStarGift | Raw.payments.GetUniqueStarGift | Raw.payments.GetSavedStarGifts | Raw.payments.GetSavedStarGift | Raw.payments.GetStarGiftWithdrawalUrl | Raw.payments.ToggleChatStarGiftNotifications | Raw.payments.ToggleStarGiftsPinnedToTop | Raw.payments.CanPurchaseStore | Raw.payments.GetResaleStarGifts | Raw.payments.UpdateStarGiftPrice | Raw.payments.CreateStarGiftCollection | Raw.payments.UpdateStarGiftCollection | Raw.payments.ReorderStarGiftCollections | Raw.payments.DeleteStarGiftCollection | Raw.payments.GetStarGiftCollections | Raw.payments.GetUniqueStarGiftValueInfo | Raw.payments.CheckCanSendGift | Raw.stickers.CreateStickerSet | Raw.stickers.RemoveStickerFromSet | Raw.stickers.ChangeStickerPosition | Raw.stickers.AddStickerToSet | Raw.stickers.SetStickerSetThumb | Raw.stickers.CheckShortName | Raw.stickers.SuggestShortName | Raw.stickers.ChangeSticker | Raw.stickers.RenameStickerSet | Raw.stickers.DeleteStickerSet | Raw.stickers.ReplaceSticker | Raw.phone.GetCallConfig | Raw.phone.RequestCall | Raw.phone.AcceptCall | Raw.phone.ConfirmCall | Raw.phone.ReceivedCall | Raw.phone.DiscardCall | Raw.phone.SetCallRating | Raw.phone.SaveCallDebug | Raw.phone.SendSignalingData | Raw.phone.CreateGroupCall | Raw.phone.JoinGroupCall | Raw.phone.LeaveGroupCall | Raw.phone.InviteToGroupCall | Raw.phone.DiscardGroupCall | Raw.phone.ToggleGroupCallSettings | Raw.phone.GetGroupCall | Raw.phone.GetGroupParticipants | Raw.phone.CheckGroupCall | Raw.phone.ToggleGroupCallRecord | Raw.phone.EditGroupCallParticipant | Raw.phone.EditGroupCallTitle | Raw.phone.GetGroupCallJoinAs | Raw.phone.ExportGroupCallInvite | Raw.phone.ToggleGroupCallStartSubscription | Raw.phone.StartScheduledGroupCall | Raw.phone.SaveDefaultGroupCallJoinAs | Raw.phone.JoinGroupCallPresentation | Raw.phone.LeaveGroupCallPresentation | Raw.phone.GetGroupCallStreamChannels | Raw.phone.GetGroupCallStreamRtmpUrl | Raw.phone.SaveCallLog | Raw.phone.CreateConferenceCall | Raw.phone.DeleteConferenceCallParticipants | Raw.phone.SendConferenceCallBroadcast | Raw.phone.InviteConferenceCallParticipant | Raw.phone.DeclineConferenceCallInvite | Raw.phone.GetGroupCallChainBlocks | Raw.langpack.GetLangPack | Raw.langpack.GetStrings | Raw.langpack.GetDifference | Raw.langpack.GetLanguages | Raw.langpack.GetLanguage | Raw.folders.EditPeerFolders | Raw.stats.GetBroadcastStats | Raw.stats.LoadAsyncGraph | Raw.stats.GetMegagroupStats | Raw.stats.GetMessagePublicForwards | Raw.stats.GetMessageStats | Raw.stats.GetStoryStats | Raw.stats.GetStoryPublicForwards | Raw.chatlists.ExportChatlistInvite | Raw.chatlists.DeleteExportedInvite | Raw.chatlists.EditExportedInvite | Raw.chatlists.GetExportedInvites | Raw.chatlists.CheckChatlistInvite | Raw.chatlists.JoinChatlistInvite | Raw.chatlists.GetChatlistUpdates | Raw.chatlists.JoinChatlistUpdates | Raw.chatlists.HideChatlistUpdates | Raw.chatlists.GetLeaveChatlistSuggestions | Raw.chatlists.LeaveChatlist | Raw.stories.CanSendStory | Raw.stories.SendStory | Raw.stories.EditStory | Raw.stories.DeleteStories | Raw.stories.TogglePinned | Raw.stories.GetAllStories | Raw.stories.GetPinnedStories | Raw.stories.GetStoriesArchive | Raw.stories.GetStoriesByID | Raw.stories.ToggleAllStoriesHidden | Raw.stories.ReadStories | Raw.stories.IncrementStoryViews | Raw.stories.GetStoryViewsList | Raw.stories.GetStoriesViews | Raw.stories.ExportStoryLink | Raw.stories.Report | Raw.stories.ActivateStealthMode | Raw.stories.SendReaction | Raw.stories.GetPeerStories | Raw.stories.GetAllReadPeerStories | Raw.stories.GetPeerMaxIDs | Raw.stories.GetChatsToSend | Raw.stories.TogglePeerStoriesHidden | Raw.stories.GetStoryReactionsList | Raw.stories.TogglePinnedToTop | Raw.stories.SearchPosts | Raw.stories.CreateAlbum | Raw.stories.UpdateAlbum | Raw.stories.ReorderAlbums | Raw.stories.DeleteAlbum | Raw.stories.GetAlbums | Raw.stories.GetAlbumStories | Raw.premium.GetBoostsList | Raw.premium.GetMyBoosts | Raw.premium.ApplyBoost | Raw.premium.GetBoostsStatus | Raw.premium.GetUserBoosts | Raw.smsjobs.IsEligibleToJoin | Raw.smsjobs.Join | Raw.smsjobs.Leave | Raw.smsjobs.UpdateSettings | Raw.smsjobs.GetStatus | Raw.smsjobs.GetSmsJob | Raw.smsjobs.FinishJob | Raw.fragment.GetCollectibleInfo;
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.payments.GetStarGiftAuctionState | Raw.payments.GetStarGiftAuctionAcquiredGifts | Raw.payments.GetStarGiftActiveAuctions | 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.phone.DeleteGroupCallMessages | Raw.phone.DeleteGroupCallParticipantMessages | Raw.phone.GetGroupCallStars | Raw.phone.SaveDefaultSendAs | 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.stories.StartLive | 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;
@@ -28,12 +28,13 @@ export declare namespace Raw {
28
28
  type TypeLangPackLanguage = Raw.LangPackLanguage;
29
29
  type TypeInputPhoneCall = Raw.InputPhoneCall;
30
30
  type TypeInputStickerSetItem = Raw.InputStickerSetItem;
31
+ type TypeInputStarGiftAuction = Raw.InputStarGiftAuction | Raw.InputStarGiftAuctionSlug;
31
32
  type TypeStarsGiveawayOption = Raw.StarsGiveawayOption;
32
33
  type TypeStarsGiftOption = Raw.StarsGiftOption;
33
34
  type TypeInputStarsTransaction = Raw.InputStarsTransaction;
34
35
  type TypeStarsTopupOption = Raw.StarsTopupOption;
35
36
  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 | Raw.InputInvoiceStarGiftPrepaidUpgrade;
37
+ 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 | Raw.InputInvoiceStarGiftAuctionBid;
37
38
  type TypeBotCommandScope = Raw.BotCommandScopeDefault | Raw.BotCommandScopeUsers | Raw.BotCommandScopeChats | Raw.BotCommandScopeChatAdmins | Raw.BotCommandScopePeer | Raw.BotCommandScopePeerAdmins | Raw.BotCommandScopePeerUser;
38
39
  type TypeChannelAdminLogEventsFilter = Raw.ChannelAdminLogEventsFilter;
39
40
  type TypeExportedMessageLink = Raw.ExportedMessageLink;
@@ -91,7 +92,7 @@ export declare namespace Raw {
91
92
  type TypeInputSecureValue = Raw.InputSecureValue;
92
93
  type TypeAccountDaysTTL = Raw.AccountDaysTTL;
93
94
  type TypeInputPrivacyRule = Raw.InputPrivacyValueAllowContacts | Raw.InputPrivacyValueAllowAll | Raw.InputPrivacyValueAllowUsers | Raw.InputPrivacyValueDisallowContacts | Raw.InputPrivacyValueDisallowAll | Raw.InputPrivacyValueDisallowUsers | Raw.InputPrivacyValueAllowChatParticipants | Raw.InputPrivacyValueDisallowChatParticipants | Raw.InputPrivacyValueAllowCloseFriends | Raw.InputPrivacyValueAllowPremium | Raw.InputPrivacyValueAllowBots | Raw.InputPrivacyValueDisallowBots;
94
- type TypeInputPrivacyKey = Raw.InputPrivacyKeyStatusTimestamp | Raw.InputPrivacyKeyChatInvite | Raw.InputPrivacyKeyPhoneCall | Raw.InputPrivacyKeyPhoneP2P | Raw.InputPrivacyKeyForwards | Raw.InputPrivacyKeyProfilePhoto | Raw.InputPrivacyKeyPhoneNumber | Raw.InputPrivacyKeyAddedByPhone | Raw.InputPrivacyKeyVoiceMessages | Raw.InputPrivacyKeyAbout | Raw.InputPrivacyKeyBirthday | Raw.InputPrivacyKeyStarGiftsAutoSave | Raw.InputPrivacyKeyNoPaidMessages;
95
+ type TypeInputPrivacyKey = Raw.InputPrivacyKeyStatusTimestamp | Raw.InputPrivacyKeyChatInvite | Raw.InputPrivacyKeyPhoneCall | Raw.InputPrivacyKeyPhoneP2P | Raw.InputPrivacyKeyForwards | Raw.InputPrivacyKeyProfilePhoto | Raw.InputPrivacyKeyPhoneNumber | Raw.InputPrivacyKeyAddedByPhone | Raw.InputPrivacyKeyVoiceMessages | Raw.InputPrivacyKeyAbout | Raw.InputPrivacyKeyBirthday | Raw.InputPrivacyKeyStarGiftsAutoSave | Raw.InputPrivacyKeyNoPaidMessages | Raw.InputPrivacyKeySavedMusic;
95
96
  type TypeReportReason = Raw.InputReportReasonSpam | Raw.InputReportReasonViolence | Raw.InputReportReasonPornography | Raw.InputReportReasonChildAbuse | Raw.InputReportReasonOther | Raw.InputReportReasonCopyright | Raw.InputReportReasonGeoIrrelevant | Raw.InputReportReasonFake | Raw.InputReportReasonIllegalDrugs | Raw.InputReportReasonPersonalDetails;
96
97
  type TypeInputPeerNotifySettings = Raw.InputPeerNotifySettings;
97
98
  type TypeInputNotifyPeer = Raw.InputNotifyPeer | Raw.InputNotifyUsers | Raw.InputNotifyChats | Raw.InputNotifyBroadcasts | Raw.InputNotifyForumTopic;
@@ -99,12 +100,17 @@ export declare namespace Raw {
99
100
  type TypeEmailVerification = Raw.EmailVerificationCode | Raw.EmailVerificationGoogle | Raw.EmailVerificationApple;
100
101
  type TypeCodeSettings = Raw.CodeSettings;
101
102
  type TypeInputClientProxy = Raw.InputClientProxy;
103
+ type TypeStarGiftActiveAuctionState = Raw.StarGiftActiveAuctionState;
104
+ type TypeStarGiftAuctionAcquiredGift = Raw.StarGiftAuctionAcquiredGift;
105
+ type TypeAuctionBidLevel = Raw.AuctionBidLevel;
106
+ type TypeGroupCallDonor = Raw.GroupCallDonor;
102
107
  type TypeStoryAlbum = Raw.StoryAlbum;
103
108
  type TypeStarGiftCollection = Raw.StarGiftCollection;
104
109
  type TypeStarGiftAttributeCounter = Raw.StarGiftAttributeCounter;
105
110
  type TypeStarGiftAttributeId = Raw.StarGiftAttributeIdModel | Raw.StarGiftAttributeIdPattern | Raw.StarGiftAttributeIdBackdrop;
106
111
  type TypeSponsoredPeer = Raw.SponsoredPeer;
107
112
  type TypeSavedStarGift = Raw.SavedStarGift;
113
+ type TypeStarGiftUpgradePrice = Raw.StarGiftUpgradePrice;
108
114
  type TypeConnectedBotStarRef = Raw.ConnectedBotStarRef;
109
115
  type TypeMessageReportOption = Raw.MessageReportOption;
110
116
  type TypeStarGiftAttribute = Raw.StarGiftAttributeModel | Raw.StarGiftAttributePattern | Raw.StarGiftAttributeBackdrop | Raw.StarGiftAttributeOriginalDetails;
@@ -239,13 +245,16 @@ export declare namespace Raw {
239
245
  type TypeSecurePasswordKdfAlgo = Raw.SecurePasswordKdfAlgoUnknown | Raw.SecurePasswordKdfAlgoPBKDF2HMACSHA512iter100000 | Raw.SecurePasswordKdfAlgoSHA512;
240
246
  type TypePasswordKdfAlgo = Raw.PasswordKdfAlgoUnknown | Raw.PasswordKdfAlgoSHA256SHA256PBKDF2HMACSHA512iter100000SHA256ModPow;
241
247
  type TypeAuthorization = Raw.Authorization;
242
- type TypeWebPageAttribute = Raw.WebPageAttributeTheme | Raw.WebPageAttributeStory | Raw.WebPageAttributeStickerSet | Raw.WebPageAttributeUniqueStarGift | Raw.WebPageAttributeStarGiftCollection;
248
+ type TypeWebPageAttribute = Raw.WebPageAttributeTheme | Raw.WebPageAttributeStory | Raw.WebPageAttributeStickerSet | Raw.WebPageAttributeUniqueStarGift | Raw.WebPageAttributeStarGiftCollection | Raw.WebPageAttributeStarGiftAuction;
243
249
  type TypePage = Raw.Page;
244
250
  type TypeMaskCoords = Raw.MaskCoords;
245
251
  type TypeInputUser = Raw.InputUserEmpty | Raw.InputUserSelf | Raw.InputUser | Raw.InputUserFromMessage;
246
252
  type TypeEncryptedFile = Raw.EncryptedFileEmpty | Raw.EncryptedFile;
247
253
  type TypeFileHash = Raw.FileHash;
248
- 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.UpdateChannelPinnedTopic | Raw.UpdateChannelPinnedTopics | 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 | UpdateSecretChatMessage;
254
+ 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 | Raw.UpdateDeleteGroupCallMessages | Raw.UpdateStarGiftAuctionState | Raw.UpdateStarGiftAuctionUserState | UpdateSecretChatMessage;
255
+ type TypeStarGiftAuctionUserState = Raw.StarGiftAuctionUserState;
256
+ type TypeStarGiftAuctionState = Raw.StarGiftAuctionStateNotModified | Raw.StarGiftAuctionState | Raw.StarGiftAuctionStateFinished;
257
+ type TypeGroupCallMessage = Raw.GroupCallMessage;
249
258
  type TypePaidReactionPrivacy = Raw.PaidReactionPrivacyDefault | Raw.PaidReactionPrivacyAnonymous | Raw.PaidReactionPrivacyPeer;
250
259
  type TypeStarsRevenueStatus = Raw.StarsRevenueStatus;
251
260
  type TypeBotBusinessConnection = Raw.BotBusinessConnection;
@@ -270,15 +279,15 @@ export declare namespace Raw {
270
279
  type TypeInputBotInlineMessageID = Raw.InputBotInlineMessageID | Raw.InputBotInlineMessageID64;
271
280
  type TypeInlineQueryPeerType = Raw.InlineQueryPeerTypeSameBotPM | Raw.InlineQueryPeerTypePM | Raw.InlineQueryPeerTypeChat | Raw.InlineQueryPeerTypeMegagroup | Raw.InlineQueryPeerTypeBroadcast | Raw.InlineQueryPeerTypeBotPM;
272
281
  type TypePrivacyRule = Raw.PrivacyValueAllowContacts | Raw.PrivacyValueAllowAll | Raw.PrivacyValueAllowUsers | Raw.PrivacyValueDisallowContacts | Raw.PrivacyValueDisallowAll | Raw.PrivacyValueDisallowUsers | Raw.PrivacyValueAllowChatParticipants | Raw.PrivacyValueDisallowChatParticipants | Raw.PrivacyValueAllowCloseFriends | Raw.PrivacyValueAllowPremium | Raw.PrivacyValueAllowBots | Raw.PrivacyValueDisallowBots;
273
- type TypePrivacyKey = Raw.PrivacyKeyStatusTimestamp | Raw.PrivacyKeyChatInvite | Raw.PrivacyKeyPhoneCall | Raw.PrivacyKeyPhoneP2P | Raw.PrivacyKeyForwards | Raw.PrivacyKeyProfilePhoto | Raw.PrivacyKeyPhoneNumber | Raw.PrivacyKeyAddedByPhone | Raw.PrivacyKeyVoiceMessages | Raw.PrivacyKeyAbout | Raw.PrivacyKeyBirthday | Raw.PrivacyKeyStarGiftsAutoSave | Raw.PrivacyKeyNoPaidMessages;
282
+ type TypePrivacyKey = Raw.PrivacyKeyStatusTimestamp | Raw.PrivacyKeyChatInvite | Raw.PrivacyKeyPhoneCall | Raw.PrivacyKeyPhoneP2P | Raw.PrivacyKeyForwards | Raw.PrivacyKeyProfilePhoto | Raw.PrivacyKeyPhoneNumber | Raw.PrivacyKeyAddedByPhone | Raw.PrivacyKeyVoiceMessages | Raw.PrivacyKeyAbout | Raw.PrivacyKeyBirthday | Raw.PrivacyKeyStarGiftsAutoSave | Raw.PrivacyKeyNoPaidMessages | Raw.PrivacyKeySavedMusic;
274
283
  type TypeNotifyPeer = Raw.NotifyPeer | Raw.NotifyUsers | Raw.NotifyChats | Raw.NotifyBroadcasts | Raw.NotifyForumTopic;
275
284
  type TypeDcOption = Raw.DcOption;
276
285
  type TypeEncryptedChat = Raw.EncryptedChatEmpty | Raw.EncryptedChatWaiting | Raw.EncryptedChatRequested | Raw.EncryptedChat | Raw.EncryptedChatDiscarded;
277
286
  type TypeEncryptedMessage = Raw.EncryptedMessage | Raw.EncryptedMessageService;
278
- type TypeSendMessageAction = Raw.SendMessageTypingAction | Raw.SendMessageCancelAction | Raw.SendMessageRecordVideoAction | Raw.SendMessageUploadVideoAction | Raw.SendMessageRecordAudioAction | Raw.SendMessageUploadAudioAction | Raw.SendMessageUploadPhotoAction | Raw.SendMessageUploadDocumentAction | Raw.SendMessageGeoLocationAction | Raw.SendMessageChooseContactAction | Raw.SendMessageGamePlayAction | Raw.SendMessageRecordRoundAction | Raw.SendMessageUploadRoundAction | Raw.SpeakingInGroupCallAction | Raw.SendMessageHistoryImportAction | Raw.SendMessageChooseStickerAction | Raw.SendMessageEmojiInteraction | Raw.SendMessageEmojiInteractionSeen | Raw.SendMessageUploadVideoAction17 | Raw.SendMessageUploadAudioAction17 | Raw.SendMessageUploadPhotoAction17 | Raw.SendMessageUploadDocumentAction17 | Raw.SendMessageUploadRoundAction66;
287
+ 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;
279
288
  type TypeChatFull = Raw.ChatFull | Raw.ChannelFull;
280
- type TypeForumTopic = Raw.ForumTopicDeleted | Raw.ForumTopic;
281
289
  type TypeSearchPostsFlood = Raw.SearchPostsFlood;
290
+ type TypeForumTopic = Raw.ForumTopicDeleted | Raw.ForumTopic;
282
291
  type TypeMessage = Raw.MessageEmpty | Raw.Message | Raw.MessageService;
283
292
  type TypeDialog = Raw.Dialog | Raw.DialogFolder;
284
293
  type TypeChat = Raw.ChatEmpty | Raw.Chat | Raw.ChatForbidden | Raw.Channel | Raw.ChannelForbidden;
@@ -289,7 +298,6 @@ export declare namespace Raw {
289
298
  type TypeStarsRating = Raw.StarsRating;
290
299
  type TypeDisallowedGiftsSettings = Raw.DisallowedGiftsSettings;
291
300
  type TypeStarRefProgram = Raw.StarRefProgram;
292
- type TypeBirthday = Raw.Birthday;
293
301
  type TypeBusinessIntro = Raw.BusinessIntro;
294
302
  type TypeBusinessAwayMessage = Raw.BusinessAwayMessage;
295
303
  type TypeBusinessGreetingMessage = Raw.BusinessGreetingMessage;
@@ -302,11 +310,11 @@ export declare namespace Raw {
302
310
  type TypePhotoSize = Raw.PhotoSizeEmpty | Raw.PhotoSize | Raw.PhotoCachedSize | Raw.PhotoStrippedSize | Raw.PhotoSizeProgressive | Raw.PhotoPathSize | Raw.PhotoSize23 | Raw.PhotoCachedSize23;
303
311
  type TypeFolder = Raw.Folder;
304
312
  type TypeDraftMessage = Raw.DraftMessageEmpty | Raw.DraftMessage;
313
+ type TypeBirthday = Raw.Birthday;
305
314
  type TypeTodoItem = Raw.TodoItem;
306
315
  type TypeStarsAmount = Raw.StarsAmount | Raw.StarsTonAmount;
307
316
  type TypeStarGift = Raw.StarGift | Raw.StarGiftUnique;
308
317
  type TypeRequestedPeer = Raw.RequestedPeerUser | Raw.RequestedPeerChat | Raw.RequestedPeerChannel;
309
- type TypeTextWithEntities = Raw.TextWithEntities;
310
318
  type TypeChatTheme = Raw.ChatTheme | Raw.ChatThemeUniqueGift;
311
319
  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;
312
320
  type TypeSecureCredentialsEncrypted = Raw.SecureCredentialsEncrypted;
@@ -324,13 +332,13 @@ export declare namespace Raw {
324
332
  type TypeWebPage = Raw.WebPageEmpty | Raw.WebPagePending | Raw.WebPage | Raw.WebPageNotModified;
325
333
  type TypeDocument = Raw.DocumentEmpty | Raw.Document;
326
334
  type TypeGeoPoint = Raw.GeoPointEmpty | Raw.GeoPoint;
327
- 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;
335
+ 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;
328
336
  type TypeSuggestedPost = Raw.SuggestedPost;
329
337
  type TypeFactCheck = Raw.FactCheck;
330
338
  type TypeMessageReactions = Raw.MessageReactions;
331
339
  type TypeMessageReplies = Raw.MessageReplies;
332
340
  type TypeReplyMarkup = Raw.ReplyKeyboardHide | Raw.ReplyKeyboardForceReply | Raw.ReplyKeyboardMarkup | Raw.ReplyInlineMarkup;
333
- type TypeMessageMedia = Raw.MessageMediaEmpty | Raw.MessageMediaPhoto | Raw.MessageMediaGeo | Raw.MessageMediaContact | Raw.MessageMediaUnsupported | Raw.MessageMediaDocument | Raw.MessageMediaWebPage | Raw.MessageMediaVenue | Raw.MessageMediaGame | Raw.MessageMediaInvoice | Raw.MessageMediaGeoLive | Raw.MessageMediaPoll | Raw.MessageMediaDice | Raw.MessageMediaStory | Raw.MessageMediaGiveaway | Raw.MessageMediaGiveawayResults | Raw.MessageMediaPaidMedia | Raw.MessageMediaToDo;
341
+ type TypeMessageMedia = Raw.MessageMediaEmpty | Raw.MessageMediaPhoto | Raw.MessageMediaGeo | Raw.MessageMediaContact | Raw.MessageMediaUnsupported | Raw.MessageMediaDocument | Raw.MessageMediaWebPage | Raw.MessageMediaVenue | Raw.MessageMediaGame | Raw.MessageMediaInvoice | Raw.MessageMediaGeoLive | Raw.MessageMediaPoll | Raw.MessageMediaDice | Raw.MessageMediaStory | Raw.MessageMediaGiveaway | Raw.MessageMediaGiveawayResults | Raw.MessageMediaPaidMedia | Raw.MessageMediaToDo | Raw.MessageMediaVideoStream;
334
342
  type TypeMessageReplyHeader = Raw.MessageReplyHeader | Raw.MessageReplyStoryHeader;
335
343
  type TypeMessageFwdHeader = Raw.MessageFwdHeader;
336
344
  type TypeChatParticipant = Raw.ChatParticipant | Raw.ChatParticipantCreator | Raw.ChatParticipantAdmin;
@@ -351,7 +359,8 @@ export declare namespace Raw {
351
359
  type TypeChatAdminRights = Raw.ChatAdminRights;
352
360
  type TypeInputChannel = Raw.InputChannelEmpty | Raw.InputChannel | Raw.InputChannelFromMessage;
353
361
  type TypeChatPhoto = Raw.ChatPhotoEmpty | Raw.ChatPhoto;
354
- type TypePeerColor = Raw.PeerColor;
362
+ type TypePeerColor = Raw.PeerColor | Raw.PeerColorCollectible | Raw.InputPeerColorCollectible;
363
+ type TypeRecentStory = Raw.RecentStory;
355
364
  type TypeUsername = Raw.Username;
356
365
  type TypeEmojiStatus = Raw.EmojiStatusEmpty | Raw.EmojiStatus | Raw.EmojiStatusCollectible | Raw.InputEmojiStatusCollectible;
357
366
  type TypeRestrictionReason = Raw.RestrictionReason;
@@ -373,6 +382,7 @@ export declare namespace Raw {
373
382
  type TypeInputPhoto = Raw.InputPhotoEmpty | Raw.InputPhoto;
374
383
  type TypeInputFile = Raw.InputFile | Raw.InputFileBig | Raw.InputFileStoryDocument;
375
384
  type TypeInputDocument = Raw.InputDocumentEmpty | Raw.InputDocument;
385
+ type TypeTextWithEntities = Raw.TextWithEntities;
376
386
  type TypeInputPeer = Raw.InputPeerEmpty | Raw.InputPeerSelf | Raw.InputPeerChat | Raw.InputPeerUser | Raw.InputPeerChannel | Raw.InputPeerUserFromMessage | Raw.InputPeerChannelFromMessage;
377
387
  type TypeDestroySessionRes = Raw.DestroySessionOk | Raw.DestroySessionNone;
378
388
  type TypePong = Raw.Pong;
@@ -1050,11 +1060,13 @@ export declare namespace Raw {
1050
1060
  phone: string;
1051
1061
  firstName: string;
1052
1062
  lastName: string;
1063
+ note?: Raw.TypeTextWithEntities;
1053
1064
  constructor(params: {
1054
1065
  clientId: long;
1055
1066
  phone: string;
1056
1067
  firstName: string;
1057
1068
  lastName: string;
1069
+ note?: Raw.TypeTextWithEntities;
1058
1070
  });
1059
1071
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.InputPhoneContact>;
1060
1072
  write(): Buffer;
@@ -1594,6 +1606,7 @@ export declare namespace Raw {
1594
1606
  contactRequirePremium?: boolean;
1595
1607
  botBusiness?: boolean;
1596
1608
  botHasMainApp?: boolean;
1609
+ botForumView?: boolean;
1597
1610
  id: long;
1598
1611
  accessHash?: long;
1599
1612
  firstName?: string;
@@ -1608,7 +1621,7 @@ export declare namespace Raw {
1608
1621
  langCode?: string;
1609
1622
  emojiStatus?: Raw.TypeEmojiStatus;
1610
1623
  usernames?: Vector<Raw.TypeUsername>;
1611
- storiesMaxId?: int;
1624
+ storiesMaxId?: Raw.TypeRecentStory;
1612
1625
  color?: Raw.TypePeerColor;
1613
1626
  profileColor?: Raw.TypePeerColor;
1614
1627
  botActiveUsers?: int;
@@ -1640,6 +1653,7 @@ export declare namespace Raw {
1640
1653
  contactRequirePremium?: boolean;
1641
1654
  botBusiness?: boolean;
1642
1655
  botHasMainApp?: boolean;
1656
+ botForumView?: boolean;
1643
1657
  id: long;
1644
1658
  accessHash?: long;
1645
1659
  firstName?: string;
@@ -1654,7 +1668,7 @@ export declare namespace Raw {
1654
1668
  langCode?: string;
1655
1669
  emojiStatus?: Raw.TypeEmojiStatus;
1656
1670
  usernames?: Vector<Raw.TypeUsername>;
1657
- storiesMaxId?: int;
1671
+ storiesMaxId?: Raw.TypeRecentStory;
1658
1672
  color?: Raw.TypePeerColor;
1659
1673
  profileColor?: Raw.TypePeerColor;
1660
1674
  botActiveUsers?: int;
@@ -1825,7 +1839,7 @@ export declare namespace Raw {
1825
1839
  defaultBannedRights?: Raw.TypeChatBannedRights;
1826
1840
  participantsCount?: int;
1827
1841
  usernames?: Vector<Raw.TypeUsername>;
1828
- storiesMaxId?: int;
1842
+ storiesMaxId?: Raw.TypeRecentStory;
1829
1843
  color?: Raw.TypePeerColor;
1830
1844
  profileColor?: Raw.TypePeerColor;
1831
1845
  emojiStatus?: Raw.TypeEmojiStatus;
@@ -1875,7 +1889,7 @@ export declare namespace Raw {
1875
1889
  defaultBannedRights?: Raw.TypeChatBannedRights;
1876
1890
  participantsCount?: int;
1877
1891
  usernames?: Vector<Raw.TypeUsername>;
1878
- storiesMaxId?: int;
1892
+ storiesMaxId?: Raw.TypeRecentStory;
1879
1893
  color?: Raw.TypePeerColor;
1880
1894
  profileColor?: Raw.TypePeerColor;
1881
1895
  emojiStatus?: Raw.TypeEmojiStatus;
@@ -2218,6 +2232,7 @@ export declare namespace Raw {
2218
2232
  reportDeliveryUntilDate?: int;
2219
2233
  paidMessageStars?: long;
2220
2234
  suggestedPost?: Raw.TypeSuggestedPost;
2235
+ scheduleRepeatPeriod?: int;
2221
2236
  constructor(params: {
2222
2237
  out?: boolean;
2223
2238
  mentioned?: boolean;
@@ -2263,6 +2278,7 @@ export declare namespace Raw {
2263
2278
  reportDeliveryUntilDate?: int;
2264
2279
  paidMessageStars?: long;
2265
2280
  suggestedPost?: Raw.TypeSuggestedPost;
2281
+ scheduleRepeatPeriod?: int;
2266
2282
  });
2267
2283
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.Message>;
2268
2284
  write(): Buffer;
@@ -2567,6 +2583,16 @@ export declare namespace Raw {
2567
2583
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.MessageMediaToDo>;
2568
2584
  write(): Buffer;
2569
2585
  }
2586
+ class MessageMediaVideoStream extends TLObject {
2587
+ rtmpStream?: boolean;
2588
+ call: Raw.TypeInputGroupCall;
2589
+ constructor(params: {
2590
+ rtmpStream?: boolean;
2591
+ call: Raw.TypeInputGroupCall;
2592
+ });
2593
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.MessageMediaVideoStream>;
2594
+ write(): Buffer;
2595
+ }
2570
2596
  class MessageActionEmpty extends TLObject {
2571
2597
  constructor();
2572
2598
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.MessageActionEmpty>;
@@ -2865,14 +2891,14 @@ export declare namespace Raw {
2865
2891
  class MessageActionGiftPremium extends TLObject {
2866
2892
  currency: string;
2867
2893
  amount: long;
2868
- months: int;
2894
+ days: int;
2869
2895
  cryptoCurrency?: string;
2870
2896
  cryptoAmount?: long;
2871
2897
  message?: Raw.TypeTextWithEntities;
2872
2898
  constructor(params: {
2873
2899
  currency: string;
2874
2900
  amount: long;
2875
- months: int;
2901
+ days: int;
2876
2902
  cryptoCurrency?: string;
2877
2903
  cryptoAmount?: long;
2878
2904
  message?: Raw.TypeTextWithEntities;
@@ -2881,10 +2907,12 @@ export declare namespace Raw {
2881
2907
  write(): Buffer;
2882
2908
  }
2883
2909
  class MessageActionTopicCreate extends TLObject {
2910
+ titleMissing?: boolean;
2884
2911
  title: string;
2885
2912
  iconColor: int;
2886
2913
  iconEmojiId?: long;
2887
2914
  constructor(params: {
2915
+ titleMissing?: boolean;
2888
2916
  title: string;
2889
2917
  iconColor: int;
2890
2918
  iconEmojiId?: long;
@@ -2940,7 +2968,7 @@ export declare namespace Raw {
2940
2968
  viaGiveaway?: boolean;
2941
2969
  unclaimed?: boolean;
2942
2970
  boostPeer?: Raw.TypePeer;
2943
- months: int;
2971
+ days: int;
2944
2972
  slug: string;
2945
2973
  currency?: string;
2946
2974
  amount?: long;
@@ -2951,7 +2979,7 @@ export declare namespace Raw {
2951
2979
  viaGiveaway?: boolean;
2952
2980
  unclaimed?: boolean;
2953
2981
  boostPeer?: Raw.TypePeer;
2954
- months: int;
2982
+ days: int;
2955
2983
  slug: string;
2956
2984
  currency?: string;
2957
2985
  amount?: long;
@@ -3059,6 +3087,7 @@ export declare namespace Raw {
3059
3087
  canUpgrade?: boolean;
3060
3088
  prepaidUpgrade?: boolean;
3061
3089
  upgradeSeparate?: boolean;
3090
+ auctionAcquired?: boolean;
3062
3091
  gift: Raw.TypeStarGift;
3063
3092
  message?: Raw.TypeTextWithEntities;
3064
3093
  convertStars?: long;
@@ -3069,6 +3098,7 @@ export declare namespace Raw {
3069
3098
  savedId?: long;
3070
3099
  prepaidUpgradeHash?: string;
3071
3100
  giftMsgId?: int;
3101
+ toId?: Raw.TypePeer;
3072
3102
  constructor(params: {
3073
3103
  nameHidden?: boolean;
3074
3104
  saved?: boolean;
@@ -3078,6 +3108,7 @@ export declare namespace Raw {
3078
3108
  canUpgrade?: boolean;
3079
3109
  prepaidUpgrade?: boolean;
3080
3110
  upgradeSeparate?: boolean;
3111
+ auctionAcquired?: boolean;
3081
3112
  gift: Raw.TypeStarGift;
3082
3113
  message?: Raw.TypeTextWithEntities;
3083
3114
  convertStars?: long;
@@ -3088,6 +3119,7 @@ export declare namespace Raw {
3088
3119
  savedId?: long;
3089
3120
  prepaidUpgradeHash?: string;
3090
3121
  giftMsgId?: int;
3122
+ toId?: Raw.TypePeer;
3091
3123
  });
3092
3124
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.MessageActionStarGift>;
3093
3125
  write(): Buffer;
@@ -3098,6 +3130,7 @@ export declare namespace Raw {
3098
3130
  saved?: boolean;
3099
3131
  refunded?: boolean;
3100
3132
  prepaidUpgrade?: boolean;
3133
+ assigned?: boolean;
3101
3134
  gift: Raw.TypeStarGift;
3102
3135
  canExportAt?: int;
3103
3136
  transferStars?: long;
@@ -3107,12 +3140,14 @@ export declare namespace Raw {
3107
3140
  resaleAmount?: Raw.TypeStarsAmount;
3108
3141
  canTransferAt?: int;
3109
3142
  canResellAt?: int;
3143
+ dropOriginalDetailsStars?: long;
3110
3144
  constructor(params: {
3111
3145
  upgrade?: boolean;
3112
3146
  transferred?: boolean;
3113
3147
  saved?: boolean;
3114
3148
  refunded?: boolean;
3115
3149
  prepaidUpgrade?: boolean;
3150
+ assigned?: boolean;
3116
3151
  gift: Raw.TypeStarGift;
3117
3152
  canExportAt?: int;
3118
3153
  transferStars?: long;
@@ -3122,6 +3157,7 @@ export declare namespace Raw {
3122
3157
  resaleAmount?: Raw.TypeStarsAmount;
3123
3158
  canTransferAt?: int;
3124
3159
  canResellAt?: int;
3160
+ dropOriginalDetailsStars?: long;
3125
3161
  });
3126
3162
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.MessageActionStarGiftUnique>;
3127
3163
  write(): Buffer;
@@ -3230,6 +3266,14 @@ export declare namespace Raw {
3230
3266
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.MessageActionGiftTon>;
3231
3267
  write(): Buffer;
3232
3268
  }
3269
+ class MessageActionSuggestBirthday extends TLObject {
3270
+ birthday: Raw.TypeBirthday;
3271
+ constructor(params: {
3272
+ birthday: Raw.TypeBirthday;
3273
+ });
3274
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.MessageActionSuggestBirthday>;
3275
+ write(): Buffer;
3276
+ }
3233
3277
  class Dialog extends TLObject {
3234
3278
  pinned?: boolean;
3235
3279
  unreadMark?: boolean;
@@ -3678,6 +3722,7 @@ export declare namespace Raw {
3678
3722
  starsMyPendingRatingDate?: int;
3679
3723
  mainTab?: Raw.TypeProfileTab;
3680
3724
  savedMusic?: Raw.TypeDocument;
3725
+ note?: Raw.TypeTextWithEntities;
3681
3726
  constructor(params: {
3682
3727
  blocked?: boolean;
3683
3728
  phoneCallsAvailable?: boolean;
@@ -3732,6 +3777,7 @@ export declare namespace Raw {
3732
3777
  starsMyPendingRatingDate?: int;
3733
3778
  mainTab?: Raw.TypeProfileTab;
3734
3779
  savedMusic?: Raw.TypeDocument;
3780
+ note?: Raw.TypeTextWithEntities;
3735
3781
  });
3736
3782
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.UserFull>;
3737
3783
  write(): Buffer;
@@ -3890,9 +3936,11 @@ export declare namespace Raw {
3890
3936
  }
3891
3937
  class UpdateUserTyping extends TLObject {
3892
3938
  userId: long;
3939
+ topMsgId?: int;
3893
3940
  action: Raw.TypeSendMessageAction;
3894
3941
  constructor(params: {
3895
3942
  userId: long;
3943
+ topMsgId?: int;
3896
3944
  action: Raw.TypeSendMessageAction;
3897
3945
  });
3898
3946
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.UpdateUserTyping>;
@@ -4087,6 +4135,7 @@ export declare namespace Raw {
4087
4135
  class UpdateReadHistoryInbox extends TLObject {
4088
4136
  folderId?: int;
4089
4137
  peer: Raw.TypePeer;
4138
+ topMsgId?: int;
4090
4139
  maxId: int;
4091
4140
  stillUnreadCount: int;
4092
4141
  pts: int;
@@ -4094,6 +4143,7 @@ export declare namespace Raw {
4094
4143
  constructor(params: {
4095
4144
  folderId?: int;
4096
4145
  peer: Raw.TypePeer;
4146
+ topMsgId?: int;
4097
4147
  maxId: int;
4098
4148
  stillUnreadCount: int;
4099
4149
  pts: int;
@@ -4826,10 +4876,12 @@ export declare namespace Raw {
4826
4876
  write(): Buffer;
4827
4877
  }
4828
4878
  class UpdateGroupCall extends TLObject {
4829
- chatId?: long;
4879
+ liveStory?: boolean;
4880
+ peer?: Raw.TypePeer;
4830
4881
  call: Raw.TypeGroupCall;
4831
4882
  constructor(params: {
4832
- chatId?: long;
4883
+ liveStory?: boolean;
4884
+ peer?: Raw.TypePeer;
4833
4885
  call: Raw.TypeGroupCall;
4834
4886
  });
4835
4887
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.UpdateGroupCall>;
@@ -5066,28 +5118,6 @@ export declare namespace Raw {
5066
5118
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.UpdateMessageExtendedMedia>;
5067
5119
  write(): Buffer;
5068
5120
  }
5069
- class UpdateChannelPinnedTopic extends TLObject {
5070
- pinned?: boolean;
5071
- channelId: long;
5072
- topicId: int;
5073
- constructor(params: {
5074
- pinned?: boolean;
5075
- channelId: long;
5076
- topicId: int;
5077
- });
5078
- static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.UpdateChannelPinnedTopic>;
5079
- write(): Buffer;
5080
- }
5081
- class UpdateChannelPinnedTopics extends TLObject {
5082
- channelId: long;
5083
- order?: Vector<int>;
5084
- constructor(params: {
5085
- channelId: long;
5086
- order?: Vector<int>;
5087
- });
5088
- static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.UpdateChannelPinnedTopics>;
5089
- write(): Buffer;
5090
- }
5091
5121
  class UpdateUser extends TLObject {
5092
5122
  userId: long;
5093
5123
  constructor(params: {
@@ -5474,6 +5504,80 @@ export declare namespace Raw {
5474
5504
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.UpdateMonoForumNoPaidException>;
5475
5505
  write(): Buffer;
5476
5506
  }
5507
+ class UpdateGroupCallMessage extends TLObject {
5508
+ call: Raw.TypeInputGroupCall;
5509
+ message: Raw.TypeGroupCallMessage;
5510
+ constructor(params: {
5511
+ call: Raw.TypeInputGroupCall;
5512
+ message: Raw.TypeGroupCallMessage;
5513
+ });
5514
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.UpdateGroupCallMessage>;
5515
+ write(): Buffer;
5516
+ }
5517
+ class UpdateGroupCallEncryptedMessage extends TLObject {
5518
+ call: Raw.TypeInputGroupCall;
5519
+ fromId: Raw.TypePeer;
5520
+ encryptedMessage: bytes;
5521
+ constructor(params: {
5522
+ call: Raw.TypeInputGroupCall;
5523
+ fromId: Raw.TypePeer;
5524
+ encryptedMessage: bytes;
5525
+ });
5526
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.UpdateGroupCallEncryptedMessage>;
5527
+ write(): Buffer;
5528
+ }
5529
+ class UpdatePinnedForumTopic extends TLObject {
5530
+ pinned?: boolean;
5531
+ peer: Raw.TypePeer;
5532
+ topicId: int;
5533
+ constructor(params: {
5534
+ pinned?: boolean;
5535
+ peer: Raw.TypePeer;
5536
+ topicId: int;
5537
+ });
5538
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.UpdatePinnedForumTopic>;
5539
+ write(): Buffer;
5540
+ }
5541
+ class UpdatePinnedForumTopics extends TLObject {
5542
+ peer: Raw.TypePeer;
5543
+ order?: Vector<int>;
5544
+ constructor(params: {
5545
+ peer: Raw.TypePeer;
5546
+ order?: Vector<int>;
5547
+ });
5548
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.UpdatePinnedForumTopics>;
5549
+ write(): Buffer;
5550
+ }
5551
+ class UpdateDeleteGroupCallMessages extends TLObject {
5552
+ call: Raw.TypeInputGroupCall;
5553
+ messages: Vector<int>;
5554
+ constructor(params: {
5555
+ call: Raw.TypeInputGroupCall;
5556
+ messages: Vector<int>;
5557
+ });
5558
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.UpdateDeleteGroupCallMessages>;
5559
+ write(): Buffer;
5560
+ }
5561
+ class UpdateStarGiftAuctionState extends TLObject {
5562
+ giftId: long;
5563
+ state: Raw.TypeStarGiftAuctionState;
5564
+ constructor(params: {
5565
+ giftId: long;
5566
+ state: Raw.TypeStarGiftAuctionState;
5567
+ });
5568
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.UpdateStarGiftAuctionState>;
5569
+ write(): Buffer;
5570
+ }
5571
+ class UpdateStarGiftAuctionUserState extends TLObject {
5572
+ giftId: long;
5573
+ userState: Raw.TypeStarGiftAuctionUserState;
5574
+ constructor(params: {
5575
+ giftId: long;
5576
+ userState: Raw.TypeStarGiftAuctionUserState;
5577
+ });
5578
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.UpdateStarGiftAuctionUserState>;
5579
+ write(): Buffer;
5580
+ }
5477
5581
  class UpdatesTooLong extends TLObject {
5478
5582
  constructor();
5479
5583
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.UpdatesTooLong>;
@@ -6135,6 +6239,16 @@ export declare namespace Raw {
6135
6239
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.SendMessageEmojiInteractionSeen>;
6136
6240
  write(): Buffer;
6137
6241
  }
6242
+ class SendMessageTextDraftAction extends TLObject {
6243
+ randomId: long;
6244
+ text: Raw.TypeTextWithEntities;
6245
+ constructor(params: {
6246
+ randomId: long;
6247
+ text: Raw.TypeTextWithEntities;
6248
+ });
6249
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.SendMessageTextDraftAction>;
6250
+ write(): Buffer;
6251
+ }
6138
6252
  class InputPrivacyKeyStatusTimestamp extends TLObject {
6139
6253
  constructor();
6140
6254
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.InputPrivacyKeyStatusTimestamp>;
@@ -6200,6 +6314,11 @@ export declare namespace Raw {
6200
6314
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.InputPrivacyKeyNoPaidMessages>;
6201
6315
  write(): Buffer;
6202
6316
  }
6317
+ class InputPrivacyKeySavedMusic extends TLObject {
6318
+ constructor();
6319
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.InputPrivacyKeySavedMusic>;
6320
+ write(): Buffer;
6321
+ }
6203
6322
  class PrivacyKeyStatusTimestamp extends TLObject {
6204
6323
  constructor();
6205
6324
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.PrivacyKeyStatusTimestamp>;
@@ -6265,6 +6384,11 @@ export declare namespace Raw {
6265
6384
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.PrivacyKeyNoPaidMessages>;
6266
6385
  write(): Buffer;
6267
6386
  }
6387
+ class PrivacyKeySavedMusic extends TLObject {
6388
+ constructor();
6389
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.PrivacyKeySavedMusic>;
6390
+ write(): Buffer;
6391
+ }
6268
6392
  class InputPrivacyValueAllowContacts extends TLObject {
6269
6393
  constructor();
6270
6394
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.InputPrivacyValueAllowContacts>;
@@ -11146,6 +11270,22 @@ export declare namespace Raw {
11146
11270
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.WebPageAttributeStarGiftCollection>;
11147
11271
  write(): Buffer;
11148
11272
  }
11273
+ class WebPageAttributeStarGiftAuction extends TLObject {
11274
+ gift: Raw.TypeStarGift;
11275
+ endDate: int;
11276
+ centerColor: int;
11277
+ edgeColor: int;
11278
+ textColor: int;
11279
+ constructor(params: {
11280
+ gift: Raw.TypeStarGift;
11281
+ endDate: int;
11282
+ centerColor: int;
11283
+ edgeColor: int;
11284
+ textColor: int;
11285
+ });
11286
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.WebPageAttributeStarGiftAuction>;
11287
+ write(): Buffer;
11288
+ }
11149
11289
  class BankCardOpenUrl extends TLObject {
11150
11290
  url: string;
11151
11291
  name: string;
@@ -11488,6 +11628,9 @@ export declare namespace Raw {
11488
11628
  listenersHidden?: boolean;
11489
11629
  conference?: boolean;
11490
11630
  creator?: boolean;
11631
+ messagesEnabled?: boolean;
11632
+ canChangeMessagesEnabled?: boolean;
11633
+ min?: boolean;
11491
11634
  id: long;
11492
11635
  accessHash: long;
11493
11636
  participantsCount: int;
@@ -11499,6 +11642,8 @@ export declare namespace Raw {
11499
11642
  unmutedVideoLimit: int;
11500
11643
  version: int;
11501
11644
  inviteLink?: string;
11645
+ sendPaidMessagesStars?: long;
11646
+ defaultSendAs?: Raw.TypePeer;
11502
11647
  constructor(params: {
11503
11648
  joinMuted?: boolean;
11504
11649
  canChangeJoinMuted?: boolean;
@@ -11510,6 +11655,9 @@ export declare namespace Raw {
11510
11655
  listenersHidden?: boolean;
11511
11656
  conference?: boolean;
11512
11657
  creator?: boolean;
11658
+ messagesEnabled?: boolean;
11659
+ canChangeMessagesEnabled?: boolean;
11660
+ min?: boolean;
11513
11661
  id: long;
11514
11662
  accessHash: long;
11515
11663
  participantsCount: int;
@@ -11521,6 +11669,8 @@ export declare namespace Raw {
11521
11669
  unmutedVideoLimit: int;
11522
11670
  version: int;
11523
11671
  inviteLink?: string;
11672
+ sendPaidMessagesStars?: long;
11673
+ defaultSendAs?: Raw.TypePeer;
11524
11674
  });
11525
11675
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.GroupCall>;
11526
11676
  write(): Buffer;
@@ -11571,6 +11721,7 @@ export declare namespace Raw {
11571
11721
  raiseHandRating?: long;
11572
11722
  video?: Raw.TypeGroupCallParticipantVideo;
11573
11723
  presentation?: Raw.TypeGroupCallParticipantVideo;
11724
+ paidStarsTotal?: long;
11574
11725
  constructor(params: {
11575
11726
  muted?: boolean;
11576
11727
  left?: boolean;
@@ -11591,6 +11742,7 @@ export declare namespace Raw {
11591
11742
  raiseHandRating?: long;
11592
11743
  video?: Raw.TypeGroupCallParticipantVideo;
11593
11744
  presentation?: Raw.TypeGroupCallParticipantVideo;
11745
+ paidStarsTotal?: long;
11594
11746
  });
11595
11747
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.GroupCallParticipant>;
11596
11748
  write(): Buffer;
@@ -12187,6 +12339,40 @@ export declare namespace Raw {
12187
12339
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.InputInvoiceStarGiftPrepaidUpgrade>;
12188
12340
  write(): Buffer;
12189
12341
  }
12342
+ class InputInvoicePremiumAuthCode extends TLObject {
12343
+ purpose: Raw.TypeInputStorePaymentPurpose;
12344
+ constructor(params: {
12345
+ purpose: Raw.TypeInputStorePaymentPurpose;
12346
+ });
12347
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.InputInvoicePremiumAuthCode>;
12348
+ write(): Buffer;
12349
+ }
12350
+ class InputInvoiceStarGiftDropOriginalDetails extends TLObject {
12351
+ stargift: Raw.TypeInputSavedStarGift;
12352
+ constructor(params: {
12353
+ stargift: Raw.TypeInputSavedStarGift;
12354
+ });
12355
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.InputInvoiceStarGiftDropOriginalDetails>;
12356
+ write(): Buffer;
12357
+ }
12358
+ class InputInvoiceStarGiftAuctionBid extends TLObject {
12359
+ hideName?: boolean;
12360
+ updateBid?: boolean;
12361
+ peer?: Raw.TypeInputPeer;
12362
+ giftId: long;
12363
+ bidAmount: long;
12364
+ message?: Raw.TypeTextWithEntities;
12365
+ constructor(params: {
12366
+ hideName?: boolean;
12367
+ updateBid?: boolean;
12368
+ peer?: Raw.TypeInputPeer;
12369
+ giftId: long;
12370
+ bidAmount: long;
12371
+ message?: Raw.TypeTextWithEntities;
12372
+ });
12373
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.InputInvoiceStarGiftAuctionBid>;
12374
+ write(): Buffer;
12375
+ }
12190
12376
  class InputStorePaymentPremiumSubscription extends TLObject {
12191
12377
  restore?: boolean;
12192
12378
  upgrade?: boolean;
@@ -12567,8 +12753,10 @@ export declare namespace Raw {
12567
12753
  pinned?: boolean;
12568
12754
  short?: boolean;
12569
12755
  hidden?: boolean;
12756
+ titleMissing?: boolean;
12570
12757
  id: int;
12571
12758
  date: int;
12759
+ peer: Raw.TypePeer;
12572
12760
  title: string;
12573
12761
  iconColor: int;
12574
12762
  iconEmojiId?: long;
@@ -12587,8 +12775,10 @@ export declare namespace Raw {
12587
12775
  pinned?: boolean;
12588
12776
  short?: boolean;
12589
12777
  hidden?: boolean;
12778
+ titleMissing?: boolean;
12590
12779
  id: int;
12591
12780
  date: int;
12781
+ peer: Raw.TypePeer;
12592
12782
  title: string;
12593
12783
  iconColor: int;
12594
12784
  iconEmojiId?: long;
@@ -12895,11 +13085,13 @@ export declare namespace Raw {
12895
13085
  }
12896
13086
  class StoryItemSkipped extends TLObject {
12897
13087
  closeFriends?: boolean;
13088
+ live?: boolean;
12898
13089
  id: int;
12899
13090
  date: int;
12900
13091
  expireDate: int;
12901
13092
  constructor(params: {
12902
13093
  closeFriends?: boolean;
13094
+ live?: boolean;
12903
13095
  id: int;
12904
13096
  date: int;
12905
13097
  expireDate: int;
@@ -13365,6 +13557,34 @@ export declare namespace Raw {
13365
13557
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.PeerColor>;
13366
13558
  write(): Buffer;
13367
13559
  }
13560
+ class PeerColorCollectible extends TLObject {
13561
+ collectibleId: long;
13562
+ giftEmojiId: long;
13563
+ backgroundEmojiId: long;
13564
+ accentColor: int;
13565
+ colors: Vector<int>;
13566
+ darkAccentColor?: int;
13567
+ darkColors?: Vector<int>;
13568
+ constructor(params: {
13569
+ collectibleId: long;
13570
+ giftEmojiId: long;
13571
+ backgroundEmojiId: long;
13572
+ accentColor: int;
13573
+ colors: Vector<int>;
13574
+ darkAccentColor?: int;
13575
+ darkColors?: Vector<int>;
13576
+ });
13577
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.PeerColorCollectible>;
13578
+ write(): Buffer;
13579
+ }
13580
+ class InputPeerColorCollectible extends TLObject {
13581
+ collectibleId: long;
13582
+ constructor(params: {
13583
+ collectibleId: long;
13584
+ });
13585
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.InputPeerColorCollectible>;
13586
+ write(): Buffer;
13587
+ }
13368
13588
  class StoryReaction extends TLObject {
13369
13589
  peerId: Raw.TypePeer;
13370
13590
  date: int;
@@ -13995,6 +14215,9 @@ export declare namespace Raw {
13995
14215
  stargiftResale?: boolean;
13996
14216
  postsSearch?: boolean;
13997
14217
  stargiftPrepaidUpgrade?: boolean;
14218
+ stargiftDropOriginalDetails?: boolean;
14219
+ phonegroupMessage?: boolean;
14220
+ stargiftAuctionBid?: boolean;
13998
14221
  id: string;
13999
14222
  amount: Raw.TypeStarsAmount;
14000
14223
  date: int;
@@ -14029,6 +14252,9 @@ export declare namespace Raw {
14029
14252
  stargiftResale?: boolean;
14030
14253
  postsSearch?: boolean;
14031
14254
  stargiftPrepaidUpgrade?: boolean;
14255
+ stargiftDropOriginalDetails?: boolean;
14256
+ phonegroupMessage?: boolean;
14257
+ stargiftAuctionBid?: boolean;
14032
14258
  id: string;
14033
14259
  amount: Raw.TypeStarsAmount;
14034
14260
  date: int;
@@ -14228,6 +14454,8 @@ export declare namespace Raw {
14228
14454
  birthday?: boolean;
14229
14455
  requirePremium?: boolean;
14230
14456
  limitedPerUser?: boolean;
14457
+ peerColorAvailable?: boolean;
14458
+ auction?: boolean;
14231
14459
  id: long;
14232
14460
  sticker: Raw.TypeDocument;
14233
14461
  stars: long;
@@ -14244,12 +14472,16 @@ export declare namespace Raw {
14244
14472
  perUserTotal?: int;
14245
14473
  perUserRemains?: int;
14246
14474
  lockedUntilDate?: int;
14475
+ auctionSlug?: string;
14476
+ giftsPerRound?: int;
14247
14477
  constructor(params: {
14248
14478
  limited?: boolean;
14249
14479
  soldOut?: boolean;
14250
14480
  birthday?: boolean;
14251
14481
  requirePremium?: boolean;
14252
14482
  limitedPerUser?: boolean;
14483
+ peerColorAvailable?: boolean;
14484
+ auction?: boolean;
14253
14485
  id: long;
14254
14486
  sticker: Raw.TypeDocument;
14255
14487
  stars: long;
@@ -14266,6 +14498,8 @@ export declare namespace Raw {
14266
14498
  perUserTotal?: int;
14267
14499
  perUserRemains?: int;
14268
14500
  lockedUntilDate?: int;
14501
+ auctionSlug?: string;
14502
+ giftsPerRound?: int;
14269
14503
  });
14270
14504
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.StarGift>;
14271
14505
  write(): Buffer;
@@ -14291,6 +14525,8 @@ export declare namespace Raw {
14291
14525
  valueAmount?: long;
14292
14526
  valueCurrency?: string;
14293
14527
  themePeer?: Raw.TypePeer;
14528
+ peerColor?: Raw.TypePeerColor;
14529
+ hostId?: Raw.TypePeer;
14294
14530
  constructor(params: {
14295
14531
  requirePremium?: boolean;
14296
14532
  resaleTonOnly?: boolean;
@@ -14312,6 +14548,8 @@ export declare namespace Raw {
14312
14548
  valueAmount?: long;
14313
14549
  valueCurrency?: string;
14314
14550
  themePeer?: Raw.TypePeer;
14551
+ peerColor?: Raw.TypePeerColor;
14552
+ hostId?: Raw.TypePeer;
14315
14553
  });
14316
14554
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.StarGiftUnique>;
14317
14555
  write(): Buffer;
@@ -14528,6 +14766,7 @@ export declare namespace Raw {
14528
14766
  canResellAt?: int;
14529
14767
  collectionId?: Vector<int>;
14530
14768
  prepaidUpgradeHash?: string;
14769
+ dropOriginalDetailsStars?: long;
14531
14770
  constructor(params: {
14532
14771
  nameHidden?: boolean;
14533
14772
  unsaved?: boolean;
@@ -14549,6 +14788,7 @@ export declare namespace Raw {
14549
14788
  canResellAt?: int;
14550
14789
  collectionId?: Vector<int>;
14551
14790
  prepaidUpgradeHash?: string;
14791
+ dropOriginalDetailsStars?: long;
14552
14792
  });
14553
14793
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.SavedStarGift>;
14554
14794
  write(): Buffer;
@@ -14654,11 +14894,13 @@ export declare namespace Raw {
14654
14894
  disallowLimitedStargifts?: boolean;
14655
14895
  disallowUniqueStargifts?: boolean;
14656
14896
  disallowPremiumGifts?: boolean;
14897
+ disallowStargiftsFromChannels?: boolean;
14657
14898
  constructor(params: {
14658
14899
  disallowUnlimitedStargifts?: boolean;
14659
14900
  disallowLimitedStargifts?: boolean;
14660
14901
  disallowUniqueStargifts?: boolean;
14661
14902
  disallowPremiumGifts?: boolean;
14903
+ disallowStargiftsFromChannels?: boolean;
14662
14904
  });
14663
14905
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.DisallowedGiftsSettings>;
14664
14906
  write(): Buffer;
@@ -14751,11 +14993,11 @@ export declare namespace Raw {
14751
14993
  }
14752
14994
  class TodoCompletion extends TLObject {
14753
14995
  id: int;
14754
- completedBy: long;
14996
+ completedBy: Raw.TypePeer;
14755
14997
  date: int;
14756
14998
  constructor(params: {
14757
14999
  id: int;
14758
- completedBy: long;
15000
+ completedBy: Raw.TypePeer;
14759
15001
  date: int;
14760
15002
  });
14761
15003
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.TodoCompletion>;
@@ -14896,73 +15138,248 @@ export declare namespace Raw {
14896
15138
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.InputChatThemeUniqueGift>;
14897
15139
  write(): Buffer;
14898
15140
  }
14899
- class InvokeAfterMsg extends TLObject {
14900
- __response__: X;
14901
- msgId: long;
14902
- query: X;
15141
+ class StarGiftUpgradePrice extends TLObject {
15142
+ date: int;
15143
+ upgradeStars: long;
14903
15144
  constructor(params: {
14904
- msgId: long;
14905
- query: X;
15145
+ date: int;
15146
+ upgradeStars: long;
14906
15147
  });
14907
- static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.InvokeAfterMsg>;
15148
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.StarGiftUpgradePrice>;
14908
15149
  write(): Buffer;
14909
15150
  }
14910
- class InvokeAfterMsgs extends TLObject {
14911
- __response__: X;
14912
- msgIds: Vector<long>;
14913
- query: X;
15151
+ class GroupCallMessage extends TLObject {
15152
+ fromAdmin?: boolean;
15153
+ id: int;
15154
+ fromId: Raw.TypePeer;
15155
+ date: int;
15156
+ message: Raw.TypeTextWithEntities;
15157
+ paidMessageStars?: long;
14914
15158
  constructor(params: {
14915
- msgIds: Vector<long>;
14916
- query: X;
15159
+ fromAdmin?: boolean;
15160
+ id: int;
15161
+ fromId: Raw.TypePeer;
15162
+ date: int;
15163
+ message: Raw.TypeTextWithEntities;
15164
+ paidMessageStars?: long;
14917
15165
  });
14918
- static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.InvokeAfterMsgs>;
15166
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.GroupCallMessage>;
14919
15167
  write(): Buffer;
14920
15168
  }
14921
- class InitConnection extends TLObject {
14922
- __response__: X;
14923
- apiId: int;
14924
- deviceModel: string;
14925
- systemVersion: string;
14926
- appVersion: string;
14927
- systemLangCode: string;
14928
- langPack: string;
14929
- langCode: string;
14930
- proxy?: Raw.TypeInputClientProxy;
14931
- params?: Raw.TypeJSONValue;
14932
- query: X;
15169
+ class GroupCallDonor extends TLObject {
15170
+ top?: boolean;
15171
+ my?: boolean;
15172
+ anonymous?: boolean;
15173
+ peerId?: Raw.TypePeer;
15174
+ stars: long;
14933
15175
  constructor(params: {
14934
- apiId: int;
14935
- deviceModel: string;
14936
- systemVersion: string;
14937
- appVersion: string;
14938
- systemLangCode: string;
14939
- langPack: string;
14940
- langCode: string;
14941
- proxy?: Raw.TypeInputClientProxy;
14942
- params?: Raw.TypeJSONValue;
14943
- query: X;
15176
+ top?: boolean;
15177
+ my?: boolean;
15178
+ anonymous?: boolean;
15179
+ peerId?: Raw.TypePeer;
15180
+ stars: long;
14944
15181
  });
14945
- static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.InitConnection>;
15182
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.GroupCallDonor>;
14946
15183
  write(): Buffer;
14947
15184
  }
14948
- class InvokeWithLayer extends TLObject {
14949
- __response__: X;
14950
- layer: int;
14951
- query: X;
15185
+ class RecentStory extends TLObject {
15186
+ live?: boolean;
15187
+ maxId?: int;
14952
15188
  constructor(params: {
14953
- layer: int;
14954
- query: X;
15189
+ live?: boolean;
15190
+ maxId?: int;
14955
15191
  });
14956
- static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.InvokeWithLayer>;
15192
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.RecentStory>;
14957
15193
  write(): Buffer;
14958
15194
  }
14959
- class InvokeWithoutUpdates extends TLObject {
14960
- __response__: X;
14961
- query: X;
15195
+ class AuctionBidLevel extends TLObject {
15196
+ pos: int;
15197
+ amount: long;
15198
+ date: int;
14962
15199
  constructor(params: {
14963
- query: X;
15200
+ pos: int;
15201
+ amount: long;
15202
+ date: int;
14964
15203
  });
14965
- static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.InvokeWithoutUpdates>;
15204
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.AuctionBidLevel>;
15205
+ write(): Buffer;
15206
+ }
15207
+ class StarGiftAuctionStateNotModified extends TLObject {
15208
+ constructor();
15209
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.StarGiftAuctionStateNotModified>;
15210
+ write(): Buffer;
15211
+ }
15212
+ class StarGiftAuctionState extends TLObject {
15213
+ version: int;
15214
+ startDate: int;
15215
+ endDate: int;
15216
+ minBidAmount: long;
15217
+ bidLevels: Vector<Raw.TypeAuctionBidLevel>;
15218
+ topBidders: Vector<long>;
15219
+ nextRoundAt: int;
15220
+ giftsLeft: int;
15221
+ currentRound: int;
15222
+ totalRounds: int;
15223
+ constructor(params: {
15224
+ version: int;
15225
+ startDate: int;
15226
+ endDate: int;
15227
+ minBidAmount: long;
15228
+ bidLevels: Vector<Raw.TypeAuctionBidLevel>;
15229
+ topBidders: Vector<long>;
15230
+ nextRoundAt: int;
15231
+ giftsLeft: int;
15232
+ currentRound: int;
15233
+ totalRounds: int;
15234
+ });
15235
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.StarGiftAuctionState>;
15236
+ write(): Buffer;
15237
+ }
15238
+ class StarGiftAuctionStateFinished extends TLObject {
15239
+ startDate: int;
15240
+ endDate: int;
15241
+ averagePrice: long;
15242
+ constructor(params: {
15243
+ startDate: int;
15244
+ endDate: int;
15245
+ averagePrice: long;
15246
+ });
15247
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.StarGiftAuctionStateFinished>;
15248
+ write(): Buffer;
15249
+ }
15250
+ class StarGiftAuctionUserState extends TLObject {
15251
+ returned?: boolean;
15252
+ bidAmount?: long;
15253
+ bidDate?: int;
15254
+ minBidAmount?: long;
15255
+ bidPeer?: Raw.TypePeer;
15256
+ acquiredCount: int;
15257
+ constructor(params: {
15258
+ returned?: boolean;
15259
+ bidAmount?: long;
15260
+ bidDate?: int;
15261
+ minBidAmount?: long;
15262
+ bidPeer?: Raw.TypePeer;
15263
+ acquiredCount: int;
15264
+ });
15265
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.StarGiftAuctionUserState>;
15266
+ write(): Buffer;
15267
+ }
15268
+ class StarGiftAuctionAcquiredGift extends TLObject {
15269
+ nameHidden?: boolean;
15270
+ peer: Raw.TypePeer;
15271
+ date: int;
15272
+ bidAmount: long;
15273
+ round: int;
15274
+ pos: int;
15275
+ message?: Raw.TypeTextWithEntities;
15276
+ constructor(params: {
15277
+ nameHidden?: boolean;
15278
+ peer: Raw.TypePeer;
15279
+ date: int;
15280
+ bidAmount: long;
15281
+ round: int;
15282
+ pos: int;
15283
+ message?: Raw.TypeTextWithEntities;
15284
+ });
15285
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.StarGiftAuctionAcquiredGift>;
15286
+ write(): Buffer;
15287
+ }
15288
+ class StarGiftActiveAuctionState extends TLObject {
15289
+ gift: Raw.TypeStarGift;
15290
+ state: Raw.TypeStarGiftAuctionState;
15291
+ userState: Raw.TypeStarGiftAuctionUserState;
15292
+ constructor(params: {
15293
+ gift: Raw.TypeStarGift;
15294
+ state: Raw.TypeStarGiftAuctionState;
15295
+ userState: Raw.TypeStarGiftAuctionUserState;
15296
+ });
15297
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.StarGiftActiveAuctionState>;
15298
+ write(): Buffer;
15299
+ }
15300
+ class InputStarGiftAuction extends TLObject {
15301
+ giftId: long;
15302
+ constructor(params: {
15303
+ giftId: long;
15304
+ });
15305
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.InputStarGiftAuction>;
15306
+ write(): Buffer;
15307
+ }
15308
+ class InputStarGiftAuctionSlug extends TLObject {
15309
+ slug: string;
15310
+ constructor(params: {
15311
+ slug: string;
15312
+ });
15313
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.InputStarGiftAuctionSlug>;
15314
+ write(): Buffer;
15315
+ }
15316
+ class InvokeAfterMsg extends TLObject {
15317
+ __response__: X;
15318
+ msgId: long;
15319
+ query: X;
15320
+ constructor(params: {
15321
+ msgId: long;
15322
+ query: X;
15323
+ });
15324
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.InvokeAfterMsg>;
15325
+ write(): Buffer;
15326
+ }
15327
+ class InvokeAfterMsgs extends TLObject {
15328
+ __response__: X;
15329
+ msgIds: Vector<long>;
15330
+ query: X;
15331
+ constructor(params: {
15332
+ msgIds: Vector<long>;
15333
+ query: X;
15334
+ });
15335
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.InvokeAfterMsgs>;
15336
+ write(): Buffer;
15337
+ }
15338
+ class InitConnection extends TLObject {
15339
+ __response__: X;
15340
+ apiId: int;
15341
+ deviceModel: string;
15342
+ systemVersion: string;
15343
+ appVersion: string;
15344
+ systemLangCode: string;
15345
+ langPack: string;
15346
+ langCode: string;
15347
+ proxy?: Raw.TypeInputClientProxy;
15348
+ params?: Raw.TypeJSONValue;
15349
+ query: X;
15350
+ constructor(params: {
15351
+ apiId: int;
15352
+ deviceModel: string;
15353
+ systemVersion: string;
15354
+ appVersion: string;
15355
+ systemLangCode: string;
15356
+ langPack: string;
15357
+ langCode: string;
15358
+ proxy?: Raw.TypeInputClientProxy;
15359
+ params?: Raw.TypeJSONValue;
15360
+ query: X;
15361
+ });
15362
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.InitConnection>;
15363
+ write(): Buffer;
15364
+ }
15365
+ class InvokeWithLayer extends TLObject {
15366
+ __response__: X;
15367
+ layer: int;
15368
+ query: X;
15369
+ constructor(params: {
15370
+ layer: int;
15371
+ query: X;
15372
+ });
15373
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.InvokeWithLayer>;
15374
+ write(): Buffer;
15375
+ }
15376
+ class InvokeWithoutUpdates extends TLObject {
15377
+ __response__: X;
15378
+ query: X;
15379
+ constructor(params: {
15380
+ query: X;
15381
+ });
15382
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.InvokeWithoutUpdates>;
14966
15383
  write(): Buffer;
14967
15384
  }
14968
15385
  class InvokeWithMessagesRange extends TLObject {
@@ -16369,11 +16786,15 @@ export declare namespace Raw {
16369
16786
  phoneCodeHash: string;
16370
16787
  supportEmailAddress: string;
16371
16788
  supportEmailSubject: string;
16789
+ currency: string;
16790
+ amount: long;
16372
16791
  constructor(params: {
16373
16792
  storeProduct: string;
16374
16793
  phoneCodeHash: string;
16375
16794
  supportEmailAddress: string;
16376
16795
  supportEmailSubject: string;
16796
+ currency: string;
16797
+ amount: long;
16377
16798
  });
16378
16799
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.auth.SentCodePaymentRequired>;
16379
16800
  write(): Buffer;
@@ -16857,6 +17278,19 @@ export declare namespace Raw {
16857
17278
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.auth.ReportMissingCode>;
16858
17279
  write(): Buffer;
16859
17280
  }
17281
+ class CheckPaidAuth extends TLObject {
17282
+ __response__: Raw.auth.TypeSentCode;
17283
+ phoneNumber: string;
17284
+ phoneCodeHash: string;
17285
+ formId: long;
17286
+ constructor(params: {
17287
+ phoneNumber: string;
17288
+ phoneCodeHash: string;
17289
+ formId: long;
17290
+ });
17291
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.auth.CheckPaidAuth>;
17292
+ write(): Buffer;
17293
+ }
16860
17294
  }
16861
17295
  namespace contacts {
16862
17296
  type TypeSponsoredPeers = Raw.contacts.SponsoredPeersEmpty | Raw.contacts.SponsoredPeers;
@@ -17177,12 +17611,14 @@ export declare namespace Raw {
17177
17611
  firstName: string;
17178
17612
  lastName: string;
17179
17613
  phone: string;
17614
+ note?: Raw.TypeTextWithEntities;
17180
17615
  constructor(params: {
17181
17616
  addPhonePrivacyException?: boolean;
17182
17617
  id: Raw.TypeInputUser;
17183
17618
  firstName: string;
17184
17619
  lastName: string;
17185
17620
  phone: string;
17621
+ note?: Raw.TypeTextWithEntities;
17186
17622
  });
17187
17623
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.contacts.AddContact>;
17188
17624
  write(): Buffer;
@@ -17285,10 +17721,21 @@ export declare namespace Raw {
17285
17721
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.contacts.GetSponsoredPeers>;
17286
17722
  write(): Buffer;
17287
17723
  }
17724
+ class UpdateContactNote extends TLObject {
17725
+ __response__: Bool;
17726
+ id: Raw.TypeInputUser;
17727
+ note: Raw.TypeTextWithEntities;
17728
+ constructor(params: {
17729
+ id: Raw.TypeInputUser;
17730
+ note: Raw.TypeTextWithEntities;
17731
+ });
17732
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.contacts.UpdateContactNote>;
17733
+ write(): Buffer;
17734
+ }
17288
17735
  }
17289
17736
  namespace messages {
17290
- type TypeForumTopics = Raw.messages.ForumTopics;
17291
17737
  type TypeInactiveChats = Raw.messages.InactiveChats;
17738
+ type TypeForumTopics = Raw.messages.ForumTopics;
17292
17739
  type TypeFoundStickers = Raw.messages.FoundStickersNotModified | Raw.messages.FoundStickers;
17293
17740
  type TypePreparedInlineMessage = Raw.messages.PreparedInlineMessage;
17294
17741
  type TypeBotPreparedInlineMessage = Raw.messages.BotPreparedInlineMessage;
@@ -17387,10 +17834,12 @@ export declare namespace Raw {
17387
17834
  }
17388
17835
  class Messages extends TLObject {
17389
17836
  messages: Vector<Raw.TypeMessage>;
17837
+ topics: Vector<Raw.TypeForumTopic>;
17390
17838
  chats: Vector<Raw.TypeChat>;
17391
17839
  users: Vector<Raw.TypeUser>;
17392
17840
  constructor(params: {
17393
17841
  messages: Vector<Raw.TypeMessage>;
17842
+ topics: Vector<Raw.TypeForumTopic>;
17394
17843
  chats: Vector<Raw.TypeChat>;
17395
17844
  users: Vector<Raw.TypeUser>;
17396
17845
  });
@@ -17404,6 +17853,7 @@ export declare namespace Raw {
17404
17853
  offsetIdOffset?: int;
17405
17854
  searchFlood?: Raw.TypeSearchPostsFlood;
17406
17855
  messages: Vector<Raw.TypeMessage>;
17856
+ topics: Vector<Raw.TypeForumTopic>;
17407
17857
  chats: Vector<Raw.TypeChat>;
17408
17858
  users: Vector<Raw.TypeUser>;
17409
17859
  constructor(params: {
@@ -17413,6 +17863,7 @@ export declare namespace Raw {
17413
17863
  offsetIdOffset?: int;
17414
17864
  searchFlood?: Raw.TypeSearchPostsFlood;
17415
17865
  messages: Vector<Raw.TypeMessage>;
17866
+ topics: Vector<Raw.TypeForumTopic>;
17416
17867
  chats: Vector<Raw.TypeChat>;
17417
17868
  users: Vector<Raw.TypeUser>;
17418
17869
  });
@@ -18494,6 +18945,7 @@ export declare namespace Raw {
18494
18945
  replyMarkup?: Raw.TypeReplyMarkup;
18495
18946
  entities?: Vector<Raw.TypeMessageEntity>;
18496
18947
  scheduleDate?: int;
18948
+ scheduleRepeatPeriod?: int;
18497
18949
  sendAs?: Raw.TypeInputPeer;
18498
18950
  quickReplyShortcut?: Raw.TypeInputQuickReplyShortcut;
18499
18951
  effect?: long;
@@ -18515,6 +18967,7 @@ export declare namespace Raw {
18515
18967
  replyMarkup?: Raw.TypeReplyMarkup;
18516
18968
  entities?: Vector<Raw.TypeMessageEntity>;
18517
18969
  scheduleDate?: int;
18970
+ scheduleRepeatPeriod?: int;
18518
18971
  sendAs?: Raw.TypeInputPeer;
18519
18972
  quickReplyShortcut?: Raw.TypeInputQuickReplyShortcut;
18520
18973
  effect?: long;
@@ -18541,6 +18994,7 @@ export declare namespace Raw {
18541
18994
  replyMarkup?: Raw.TypeReplyMarkup;
18542
18995
  entities?: Vector<Raw.TypeMessageEntity>;
18543
18996
  scheduleDate?: int;
18997
+ scheduleRepeatPeriod?: int;
18544
18998
  sendAs?: Raw.TypeInputPeer;
18545
18999
  quickReplyShortcut?: Raw.TypeInputQuickReplyShortcut;
18546
19000
  effect?: long;
@@ -18562,6 +19016,7 @@ export declare namespace Raw {
18562
19016
  replyMarkup?: Raw.TypeReplyMarkup;
18563
19017
  entities?: Vector<Raw.TypeMessageEntity>;
18564
19018
  scheduleDate?: int;
19019
+ scheduleRepeatPeriod?: int;
18565
19020
  sendAs?: Raw.TypeInputPeer;
18566
19021
  quickReplyShortcut?: Raw.TypeInputQuickReplyShortcut;
18567
19022
  effect?: long;
@@ -18587,6 +19042,7 @@ export declare namespace Raw {
18587
19042
  topMsgId?: int;
18588
19043
  replyTo?: Raw.TypeInputReplyTo;
18589
19044
  scheduleDate?: int;
19045
+ scheduleRepeatPeriod?: int;
18590
19046
  sendAs?: Raw.TypeInputPeer;
18591
19047
  quickReplyShortcut?: Raw.TypeInputQuickReplyShortcut;
18592
19048
  videoTimestamp?: int;
@@ -18607,6 +19063,7 @@ export declare namespace Raw {
18607
19063
  topMsgId?: int;
18608
19064
  replyTo?: Raw.TypeInputReplyTo;
18609
19065
  scheduleDate?: int;
19066
+ scheduleRepeatPeriod?: int;
18610
19067
  sendAs?: Raw.TypeInputPeer;
18611
19068
  quickReplyShortcut?: Raw.TypeInputQuickReplyShortcut;
18612
19069
  videoTimestamp?: int;
@@ -19193,6 +19650,7 @@ export declare namespace Raw {
19193
19650
  replyMarkup?: Raw.TypeReplyMarkup;
19194
19651
  entities?: Vector<Raw.TypeMessageEntity>;
19195
19652
  scheduleDate?: int;
19653
+ scheduleRepeatPeriod?: int;
19196
19654
  quickReplyShortcutId?: int;
19197
19655
  constructor(params: {
19198
19656
  noWebpage?: boolean;
@@ -19204,6 +19662,7 @@ export declare namespace Raw {
19204
19662
  replyMarkup?: Raw.TypeReplyMarkup;
19205
19663
  entities?: Vector<Raw.TypeMessageEntity>;
19206
19664
  scheduleDate?: int;
19665
+ scheduleRepeatPeriod?: int;
19207
19666
  quickReplyShortcutId?: int;
19208
19667
  });
19209
19668
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.messages.EditMessage>;
@@ -21405,6 +21864,113 @@ export declare namespace Raw {
21405
21864
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.messages.ToggleSuggestedPostApproval>;
21406
21865
  write(): Buffer;
21407
21866
  }
21867
+ class GetForumTopics extends TLObject {
21868
+ __response__: Raw.messages.TypeForumTopics;
21869
+ peer: Raw.TypeInputPeer;
21870
+ q?: string;
21871
+ offsetDate: int;
21872
+ offsetId: int;
21873
+ offsetTopic: int;
21874
+ limit: int;
21875
+ constructor(params: {
21876
+ peer: Raw.TypeInputPeer;
21877
+ q?: string;
21878
+ offsetDate: int;
21879
+ offsetId: int;
21880
+ offsetTopic: int;
21881
+ limit: int;
21882
+ });
21883
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.messages.GetForumTopics>;
21884
+ write(): Buffer;
21885
+ }
21886
+ class GetForumTopicsByID extends TLObject {
21887
+ __response__: Raw.messages.TypeForumTopics;
21888
+ peer: Raw.TypeInputPeer;
21889
+ topics: Vector<int>;
21890
+ constructor(params: {
21891
+ peer: Raw.TypeInputPeer;
21892
+ topics: Vector<int>;
21893
+ });
21894
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.messages.GetForumTopicsByID>;
21895
+ write(): Buffer;
21896
+ }
21897
+ class EditForumTopic extends TLObject {
21898
+ __response__: Raw.TypeUpdates;
21899
+ peer: Raw.TypeInputPeer;
21900
+ topicId: int;
21901
+ title?: string;
21902
+ iconEmojiId?: long;
21903
+ closed?: Bool;
21904
+ hidden?: Bool;
21905
+ constructor(params: {
21906
+ peer: Raw.TypeInputPeer;
21907
+ topicId: int;
21908
+ title?: string;
21909
+ iconEmojiId?: long;
21910
+ closed?: Bool;
21911
+ hidden?: Bool;
21912
+ });
21913
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.messages.EditForumTopic>;
21914
+ write(): Buffer;
21915
+ }
21916
+ class UpdatePinnedForumTopic extends TLObject {
21917
+ __response__: Raw.TypeUpdates;
21918
+ peer: Raw.TypeInputPeer;
21919
+ topicId: int;
21920
+ pinned: Bool;
21921
+ constructor(params: {
21922
+ peer: Raw.TypeInputPeer;
21923
+ topicId: int;
21924
+ pinned: Bool;
21925
+ });
21926
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.messages.UpdatePinnedForumTopic>;
21927
+ write(): Buffer;
21928
+ }
21929
+ class ReorderPinnedForumTopics extends TLObject {
21930
+ __response__: Raw.TypeUpdates;
21931
+ force?: boolean;
21932
+ peer: Raw.TypeInputPeer;
21933
+ order: Vector<int>;
21934
+ constructor(params: {
21935
+ force?: boolean;
21936
+ peer: Raw.TypeInputPeer;
21937
+ order: Vector<int>;
21938
+ });
21939
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.messages.ReorderPinnedForumTopics>;
21940
+ write(): Buffer;
21941
+ }
21942
+ class CreateForumTopic extends TLObject {
21943
+ __response__: Raw.TypeUpdates;
21944
+ titleMissing?: boolean;
21945
+ peer: Raw.TypeInputPeer;
21946
+ title: string;
21947
+ iconColor?: int;
21948
+ iconEmojiId?: long;
21949
+ randomId: long;
21950
+ sendAs?: Raw.TypeInputPeer;
21951
+ constructor(params: {
21952
+ titleMissing?: boolean;
21953
+ peer: Raw.TypeInputPeer;
21954
+ title: string;
21955
+ iconColor?: int;
21956
+ iconEmojiId?: long;
21957
+ randomId: long;
21958
+ sendAs?: Raw.TypeInputPeer;
21959
+ });
21960
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.messages.CreateForumTopic>;
21961
+ write(): Buffer;
21962
+ }
21963
+ class DeleteTopicHistory extends TLObject {
21964
+ __response__: Raw.messages.TypeAffectedHistory;
21965
+ peer: Raw.TypeInputPeer;
21966
+ topMsgId: int;
21967
+ constructor(params: {
21968
+ peer: Raw.TypeInputPeer;
21969
+ topMsgId: int;
21970
+ });
21971
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.messages.DeleteTopicHistory>;
21972
+ write(): Buffer;
21973
+ }
21408
21974
  }
21409
21975
  namespace updates {
21410
21976
  type TypeChannelDifference = Raw.updates.ChannelDifferenceEmpty | Raw.updates.ChannelDifferenceTooLong | Raw.updates.ChannelDifference;
@@ -22099,13 +22665,13 @@ export declare namespace Raw {
22099
22665
  themes: Vector<Raw.TypeChatTheme>;
22100
22666
  chats: Vector<Raw.TypeChat>;
22101
22667
  users: Vector<Raw.TypeUser>;
22102
- nextOffset?: int;
22668
+ nextOffset?: string;
22103
22669
  constructor(params: {
22104
22670
  hash: long;
22105
22671
  themes: Vector<Raw.TypeChatTheme>;
22106
22672
  chats: Vector<Raw.TypeChat>;
22107
22673
  users: Vector<Raw.TypeUser>;
22108
- nextOffset?: int;
22674
+ nextOffset?: string;
22109
22675
  });
22110
22676
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.account.ChatThemes>;
22111
22677
  write(): Buffer;
@@ -23146,12 +23712,10 @@ export declare namespace Raw {
23146
23712
  class UpdateColor extends TLObject {
23147
23713
  __response__: Bool;
23148
23714
  forProfile?: boolean;
23149
- color?: int;
23150
- backgroundEmojiId?: long;
23715
+ color?: Raw.TypePeerColor;
23151
23716
  constructor(params: {
23152
23717
  forProfile?: boolean;
23153
- color?: int;
23154
- backgroundEmojiId?: long;
23718
+ color?: Raw.TypePeerColor;
23155
23719
  });
23156
23720
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.account.UpdateColor>;
23157
23721
  write(): Buffer;
@@ -23434,11 +23998,11 @@ export declare namespace Raw {
23434
23998
  }
23435
23999
  class GetUniqueGiftChatThemes extends TLObject {
23436
24000
  __response__: Raw.account.TypeChatThemes;
23437
- offset: int;
24001
+ offset: string;
23438
24002
  limit: int;
23439
24003
  hash: long;
23440
24004
  constructor(params: {
23441
- offset: int;
24005
+ offset: string;
23442
24006
  limit: int;
23443
24007
  hash: long;
23444
24008
  });
@@ -23943,9 +24507,11 @@ export declare namespace Raw {
23943
24507
  class GetSendAs extends TLObject {
23944
24508
  __response__: Raw.channels.TypeSendAsPeers;
23945
24509
  forPaidReactions?: boolean;
24510
+ forLiveStories?: boolean;
23946
24511
  peer: Raw.TypeInputPeer;
23947
24512
  constructor(params: {
23948
24513
  forPaidReactions?: boolean;
24514
+ forLiveStories?: boolean;
23949
24515
  peer: Raw.TypeInputPeer;
23950
24516
  });
23951
24517
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.channels.GetSendAs>;
@@ -24030,111 +24596,6 @@ export declare namespace Raw {
24030
24596
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.channels.ToggleForum>;
24031
24597
  write(): Buffer;
24032
24598
  }
24033
- class CreateForumTopic extends TLObject {
24034
- __response__: Raw.TypeUpdates;
24035
- channel: Raw.TypeInputChannel;
24036
- title: string;
24037
- iconColor?: int;
24038
- iconEmojiId?: long;
24039
- randomId: long;
24040
- sendAs?: Raw.TypeInputPeer;
24041
- constructor(params: {
24042
- channel: Raw.TypeInputChannel;
24043
- title: string;
24044
- iconColor?: int;
24045
- iconEmojiId?: long;
24046
- randomId: long;
24047
- sendAs?: Raw.TypeInputPeer;
24048
- });
24049
- static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.channels.CreateForumTopic>;
24050
- write(): Buffer;
24051
- }
24052
- class GetForumTopics extends TLObject {
24053
- __response__: Raw.messages.TypeForumTopics;
24054
- channel: Raw.TypeInputChannel;
24055
- q?: string;
24056
- offsetDate: int;
24057
- offsetId: int;
24058
- offsetTopic: int;
24059
- limit: int;
24060
- constructor(params: {
24061
- channel: Raw.TypeInputChannel;
24062
- q?: string;
24063
- offsetDate: int;
24064
- offsetId: int;
24065
- offsetTopic: int;
24066
- limit: int;
24067
- });
24068
- static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.channels.GetForumTopics>;
24069
- write(): Buffer;
24070
- }
24071
- class GetForumTopicsByID extends TLObject {
24072
- __response__: Raw.messages.TypeForumTopics;
24073
- channel: Raw.TypeInputChannel;
24074
- topics: Vector<int>;
24075
- constructor(params: {
24076
- channel: Raw.TypeInputChannel;
24077
- topics: Vector<int>;
24078
- });
24079
- static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.channels.GetForumTopicsByID>;
24080
- write(): Buffer;
24081
- }
24082
- class EditForumTopic extends TLObject {
24083
- __response__: Raw.TypeUpdates;
24084
- channel: Raw.TypeInputChannel;
24085
- topicId: int;
24086
- title?: string;
24087
- iconEmojiId?: long;
24088
- closed?: Bool;
24089
- hidden?: Bool;
24090
- constructor(params: {
24091
- channel: Raw.TypeInputChannel;
24092
- topicId: int;
24093
- title?: string;
24094
- iconEmojiId?: long;
24095
- closed?: Bool;
24096
- hidden?: Bool;
24097
- });
24098
- static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.channels.EditForumTopic>;
24099
- write(): Buffer;
24100
- }
24101
- class UpdatePinnedForumTopic extends TLObject {
24102
- __response__: Raw.TypeUpdates;
24103
- channel: Raw.TypeInputChannel;
24104
- topicId: int;
24105
- pinned: Bool;
24106
- constructor(params: {
24107
- channel: Raw.TypeInputChannel;
24108
- topicId: int;
24109
- pinned: Bool;
24110
- });
24111
- static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.channels.UpdatePinnedForumTopic>;
24112
- write(): Buffer;
24113
- }
24114
- class DeleteTopicHistory extends TLObject {
24115
- __response__: Raw.messages.TypeAffectedHistory;
24116
- channel: Raw.TypeInputChannel;
24117
- topMsgId: int;
24118
- constructor(params: {
24119
- channel: Raw.TypeInputChannel;
24120
- topMsgId: int;
24121
- });
24122
- static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.channels.DeleteTopicHistory>;
24123
- write(): Buffer;
24124
- }
24125
- class ReorderPinnedForumTopics extends TLObject {
24126
- __response__: Raw.TypeUpdates;
24127
- force?: boolean;
24128
- channel: Raw.TypeInputChannel;
24129
- order: Vector<int>;
24130
- constructor(params: {
24131
- force?: boolean;
24132
- channel: Raw.TypeInputChannel;
24133
- order: Vector<int>;
24134
- });
24135
- static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.channels.ReorderPinnedForumTopics>;
24136
- write(): Buffer;
24137
- }
24138
24599
  class ToggleAntiSpam extends TLObject {
24139
24600
  __response__: Raw.TypeUpdates;
24140
24601
  channel: Raw.TypeInputChannel;
@@ -24325,6 +24786,9 @@ export declare namespace Raw {
24325
24786
  }
24326
24787
  }
24327
24788
  namespace payments {
24789
+ type TypeStarGiftActiveAuctions = Raw.payments.StarGiftActiveAuctionsNotModified | Raw.payments.StarGiftActiveAuctions;
24790
+ type TypeStarGiftAuctionAcquiredGifts = Raw.payments.StarGiftAuctionAcquiredGifts;
24791
+ type TypeStarGiftAuctionState = Raw.payments.StarGiftAuctionState;
24328
24792
  type TypeCheckCanSendGiftResult = Raw.payments.CheckCanSendGiftResultOk | Raw.payments.CheckCanSendGiftResultFail;
24329
24793
  type TypeUniqueStarGiftValueInfo = Raw.payments.UniqueStarGiftValueInfo;
24330
24794
  type TypeStarGiftCollections = Raw.payments.StarGiftCollectionsNotModified | Raw.payments.StarGiftCollections;
@@ -24537,7 +25001,7 @@ export declare namespace Raw {
24537
25001
  giveawayMsgId?: int;
24538
25002
  toId?: long;
24539
25003
  date: int;
24540
- months: int;
25004
+ days: int;
24541
25005
  usedDate?: int;
24542
25006
  chats: Vector<Raw.TypeChat>;
24543
25007
  users: Vector<Raw.TypeUser>;
@@ -24547,7 +25011,7 @@ export declare namespace Raw {
24547
25011
  giveawayMsgId?: int;
24548
25012
  toId?: long;
24549
25013
  date: int;
24550
- months: int;
25014
+ days: int;
24551
25015
  usedDate?: int;
24552
25016
  chats: Vector<Raw.TypeChat>;
24553
25017
  users: Vector<Raw.TypeUser>;
@@ -24694,8 +25158,12 @@ export declare namespace Raw {
24694
25158
  }
24695
25159
  class StarGiftUpgradePreview extends TLObject {
24696
25160
  sampleAttributes: Vector<Raw.TypeStarGiftAttribute>;
25161
+ prices: Vector<Raw.TypeStarGiftUpgradePrice>;
25162
+ nextPrices: Vector<Raw.TypeStarGiftUpgradePrice>;
24697
25163
  constructor(params: {
24698
25164
  sampleAttributes: Vector<Raw.TypeStarGiftAttribute>;
25165
+ prices: Vector<Raw.TypeStarGiftUpgradePrice>;
25166
+ nextPrices: Vector<Raw.TypeStarGiftUpgradePrice>;
24699
25167
  });
24700
25168
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.payments.StarGiftUpgradePreview>;
24701
25169
  write(): Buffer;
@@ -24820,6 +25288,49 @@ export declare namespace Raw {
24820
25288
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.payments.CheckCanSendGiftResultFail>;
24821
25289
  write(): Buffer;
24822
25290
  }
25291
+ class StarGiftAuctionState extends TLObject {
25292
+ gift: Raw.TypeStarGift;
25293
+ state: Raw.TypeStarGiftAuctionState;
25294
+ userState: Raw.TypeStarGiftAuctionUserState;
25295
+ timeout: int;
25296
+ users: Vector<Raw.TypeUser>;
25297
+ constructor(params: {
25298
+ gift: Raw.TypeStarGift;
25299
+ state: Raw.TypeStarGiftAuctionState;
25300
+ userState: Raw.TypeStarGiftAuctionUserState;
25301
+ timeout: int;
25302
+ users: Vector<Raw.TypeUser>;
25303
+ });
25304
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.payments.StarGiftAuctionState>;
25305
+ write(): Buffer;
25306
+ }
25307
+ class StarGiftAuctionAcquiredGifts extends TLObject {
25308
+ gifts: Vector<Raw.TypeStarGiftAuctionAcquiredGift>;
25309
+ users: Vector<Raw.TypeUser>;
25310
+ chats: Vector<Raw.TypeChat>;
25311
+ constructor(params: {
25312
+ gifts: Vector<Raw.TypeStarGiftAuctionAcquiredGift>;
25313
+ users: Vector<Raw.TypeUser>;
25314
+ chats: Vector<Raw.TypeChat>;
25315
+ });
25316
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.payments.StarGiftAuctionAcquiredGifts>;
25317
+ write(): Buffer;
25318
+ }
25319
+ class StarGiftActiveAuctionsNotModified extends TLObject {
25320
+ constructor();
25321
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.payments.StarGiftActiveAuctionsNotModified>;
25322
+ write(): Buffer;
25323
+ }
25324
+ class StarGiftActiveAuctions extends TLObject {
25325
+ auctions: Vector<Raw.TypeStarGiftActiveAuctionState>;
25326
+ users: Vector<Raw.TypeUser>;
25327
+ constructor(params: {
25328
+ auctions: Vector<Raw.TypeStarGiftActiveAuctionState>;
25329
+ users: Vector<Raw.TypeUser>;
25330
+ });
25331
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.payments.StarGiftActiveAuctions>;
25332
+ write(): Buffer;
25333
+ }
24823
25334
  class GetPaymentForm extends TLObject {
24824
25335
  __response__: Raw.payments.TypePaymentForm;
24825
25336
  invoice: Raw.TypeInputInvoice;
@@ -25304,6 +25815,8 @@ export declare namespace Raw {
25304
25815
  sortByValue?: boolean;
25305
25816
  excludeUpgradable?: boolean;
25306
25817
  excludeUnupgradable?: boolean;
25818
+ peerColorAvailable?: boolean;
25819
+ excludeHosted?: boolean;
25307
25820
  peer: Raw.TypeInputPeer;
25308
25821
  collectionId?: int;
25309
25822
  offset: string;
@@ -25316,6 +25829,8 @@ export declare namespace Raw {
25316
25829
  sortByValue?: boolean;
25317
25830
  excludeUpgradable?: boolean;
25318
25831
  excludeUnupgradable?: boolean;
25832
+ peerColorAvailable?: boolean;
25833
+ excludeHosted?: boolean;
25319
25834
  peer: Raw.TypeInputPeer;
25320
25835
  collectionId?: int;
25321
25836
  offset: string;
@@ -25490,8 +26005,38 @@ export declare namespace Raw {
25490
26005
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.payments.CheckCanSendGift>;
25491
26006
  write(): Buffer;
25492
26007
  }
26008
+ class GetStarGiftAuctionState extends TLObject {
26009
+ __response__: Raw.payments.TypeStarGiftAuctionState;
26010
+ auction: Raw.TypeInputStarGiftAuction;
26011
+ version: int;
26012
+ constructor(params: {
26013
+ auction: Raw.TypeInputStarGiftAuction;
26014
+ version: int;
26015
+ });
26016
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.payments.GetStarGiftAuctionState>;
26017
+ write(): Buffer;
26018
+ }
26019
+ class GetStarGiftAuctionAcquiredGifts extends TLObject {
26020
+ __response__: Raw.payments.TypeStarGiftAuctionAcquiredGifts;
26021
+ giftId: long;
26022
+ constructor(params: {
26023
+ giftId: long;
26024
+ });
26025
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.payments.GetStarGiftAuctionAcquiredGifts>;
26026
+ write(): Buffer;
26027
+ }
26028
+ class GetStarGiftActiveAuctions extends TLObject {
26029
+ __response__: Raw.payments.TypeStarGiftActiveAuctions;
26030
+ hash: long;
26031
+ constructor(params: {
26032
+ hash: long;
26033
+ });
26034
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.payments.GetStarGiftActiveAuctions>;
26035
+ write(): Buffer;
26036
+ }
25493
26037
  }
25494
26038
  namespace phone {
26039
+ type TypeGroupCallStars = Raw.phone.GroupCallStars;
25495
26040
  type TypeGroupCallStreamRtmpUrl = Raw.phone.GroupCallStreamRtmpUrl;
25496
26041
  type TypeGroupCallStreamChannels = Raw.phone.GroupCallStreamChannels;
25497
26042
  type TypeExportedGroupCallInvite = Raw.phone.ExportedGroupCallInvite;
@@ -25581,6 +26126,20 @@ export declare namespace Raw {
25581
26126
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.phone.GroupCallStreamRtmpUrl>;
25582
26127
  write(): Buffer;
25583
26128
  }
26129
+ class GroupCallStars extends TLObject {
26130
+ totalStars: long;
26131
+ topDonors: Vector<Raw.TypeGroupCallDonor>;
26132
+ chats: Vector<Raw.TypeChat>;
26133
+ users: Vector<Raw.TypeUser>;
26134
+ constructor(params: {
26135
+ totalStars: long;
26136
+ topDonors: Vector<Raw.TypeGroupCallDonor>;
26137
+ chats: Vector<Raw.TypeChat>;
26138
+ users: Vector<Raw.TypeUser>;
26139
+ });
26140
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.phone.GroupCallStars>;
26141
+ write(): Buffer;
26142
+ }
25584
26143
  class GetCallConfig extends TLObject {
25585
26144
  __response__: Raw.TypeDataJSON;
25586
26145
  constructor();
@@ -25771,10 +26330,14 @@ export declare namespace Raw {
25771
26330
  resetInviteHash?: boolean;
25772
26331
  call: Raw.TypeInputGroupCall;
25773
26332
  joinMuted?: Bool;
26333
+ messagesEnabled?: Bool;
26334
+ sendPaidMessagesStars?: long;
25774
26335
  constructor(params: {
25775
26336
  resetInviteHash?: boolean;
25776
26337
  call: Raw.TypeInputGroupCall;
25777
26338
  joinMuted?: Bool;
26339
+ messagesEnabled?: Bool;
26340
+ sendPaidMessagesStars?: long;
25778
26341
  });
25779
26342
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.phone.ToggleGroupCallSettings>;
25780
26343
  write(): Buffer;
@@ -25951,9 +26514,11 @@ export declare namespace Raw {
25951
26514
  }
25952
26515
  class GetGroupCallStreamRtmpUrl extends TLObject {
25953
26516
  __response__: Raw.phone.TypeGroupCallStreamRtmpUrl;
26517
+ liveStory?: boolean;
25954
26518
  peer: Raw.TypeInputPeer;
25955
26519
  revoke: Bool;
25956
26520
  constructor(params: {
26521
+ liveStory?: boolean;
25957
26522
  peer: Raw.TypeInputPeer;
25958
26523
  revoke: Bool;
25959
26524
  });
@@ -26057,6 +26622,80 @@ export declare namespace Raw {
26057
26622
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.phone.GetGroupCallChainBlocks>;
26058
26623
  write(): Buffer;
26059
26624
  }
26625
+ class SendGroupCallMessage extends TLObject {
26626
+ __response__: Raw.TypeUpdates;
26627
+ call: Raw.TypeInputGroupCall;
26628
+ randomId: long;
26629
+ message: Raw.TypeTextWithEntities;
26630
+ allowPaidStars?: long;
26631
+ sendAs?: Raw.TypeInputPeer;
26632
+ constructor(params: {
26633
+ call: Raw.TypeInputGroupCall;
26634
+ randomId: long;
26635
+ message: Raw.TypeTextWithEntities;
26636
+ allowPaidStars?: long;
26637
+ sendAs?: Raw.TypeInputPeer;
26638
+ });
26639
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.phone.SendGroupCallMessage>;
26640
+ write(): Buffer;
26641
+ }
26642
+ class SendGroupCallEncryptedMessage extends TLObject {
26643
+ __response__: Bool;
26644
+ call: Raw.TypeInputGroupCall;
26645
+ encryptedMessage: bytes;
26646
+ constructor(params: {
26647
+ call: Raw.TypeInputGroupCall;
26648
+ encryptedMessage: bytes;
26649
+ });
26650
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.phone.SendGroupCallEncryptedMessage>;
26651
+ write(): Buffer;
26652
+ }
26653
+ class DeleteGroupCallMessages extends TLObject {
26654
+ __response__: Raw.TypeUpdates;
26655
+ reportSpam?: boolean;
26656
+ call: Raw.TypeInputGroupCall;
26657
+ messages: Vector<int>;
26658
+ constructor(params: {
26659
+ reportSpam?: boolean;
26660
+ call: Raw.TypeInputGroupCall;
26661
+ messages: Vector<int>;
26662
+ });
26663
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.phone.DeleteGroupCallMessages>;
26664
+ write(): Buffer;
26665
+ }
26666
+ class DeleteGroupCallParticipantMessages extends TLObject {
26667
+ __response__: Raw.TypeUpdates;
26668
+ reportSpam?: boolean;
26669
+ call: Raw.TypeInputGroupCall;
26670
+ participant: Raw.TypeInputPeer;
26671
+ constructor(params: {
26672
+ reportSpam?: boolean;
26673
+ call: Raw.TypeInputGroupCall;
26674
+ participant: Raw.TypeInputPeer;
26675
+ });
26676
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.phone.DeleteGroupCallParticipantMessages>;
26677
+ write(): Buffer;
26678
+ }
26679
+ class GetGroupCallStars extends TLObject {
26680
+ __response__: Raw.phone.TypeGroupCallStars;
26681
+ call: Raw.TypeInputGroupCall;
26682
+ constructor(params: {
26683
+ call: Raw.TypeInputGroupCall;
26684
+ });
26685
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.phone.GetGroupCallStars>;
26686
+ write(): Buffer;
26687
+ }
26688
+ class SaveDefaultSendAs extends TLObject {
26689
+ __response__: Bool;
26690
+ call: Raw.TypeInputGroupCall;
26691
+ sendAs: Raw.TypeInputPeer;
26692
+ constructor(params: {
26693
+ call: Raw.TypeInputGroupCall;
26694
+ sendAs: Raw.TypeInputPeer;
26695
+ });
26696
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.phone.SaveDefaultSendAs>;
26697
+ write(): Buffer;
26698
+ }
26060
26699
  }
26061
26700
  namespace stats {
26062
26701
  type TypeStoryStats = Raw.stats.StoryStats;
@@ -26540,6 +27179,17 @@ export declare namespace Raw {
26540
27179
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.users.GetSavedMusicByID>;
26541
27180
  write(): Buffer;
26542
27181
  }
27182
+ class SuggestBirthday extends TLObject {
27183
+ __response__: Raw.TypeUpdates;
27184
+ id: Raw.TypeInputUser;
27185
+ birthday: Raw.TypeBirthday;
27186
+ constructor(params: {
27187
+ id: Raw.TypeInputUser;
27188
+ birthday: Raw.TypeBirthday;
27189
+ });
27190
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.users.SuggestBirthday>;
27191
+ write(): Buffer;
27192
+ }
26543
27193
  }
26544
27194
  namespace chatlists {
26545
27195
  type TypeChatlistUpdates = Raw.chatlists.ChatlistUpdates;
@@ -27537,7 +28187,7 @@ export declare namespace Raw {
27537
28187
  write(): Buffer;
27538
28188
  }
27539
28189
  class GetPeerMaxIDs extends TLObject {
27540
- __response__: Vector<int>;
28190
+ __response__: Vector<Raw.TypeRecentStory>;
27541
28191
  id: Vector<Raw.TypeInputPeer>;
27542
28192
  constructor(params: {
27543
28193
  id: Vector<Raw.TypeInputPeer>;
@@ -27689,6 +28339,33 @@ export declare namespace Raw {
27689
28339
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.stories.GetAlbumStories>;
27690
28340
  write(): Buffer;
27691
28341
  }
28342
+ class StartLive extends TLObject {
28343
+ __response__: Raw.TypeUpdates;
28344
+ pinned?: boolean;
28345
+ noforwards?: boolean;
28346
+ rtmpStream?: boolean;
28347
+ peer: Raw.TypeInputPeer;
28348
+ caption?: string;
28349
+ entities?: Vector<Raw.TypeMessageEntity>;
28350
+ privacyRules: Vector<Raw.TypeInputPrivacyRule>;
28351
+ randomId: long;
28352
+ messagesEnabled?: Bool;
28353
+ sendPaidMessagesStars?: long;
28354
+ constructor(params: {
28355
+ pinned?: boolean;
28356
+ noforwards?: boolean;
28357
+ rtmpStream?: boolean;
28358
+ peer: Raw.TypeInputPeer;
28359
+ caption?: string;
28360
+ entities?: Vector<Raw.TypeMessageEntity>;
28361
+ privacyRules: Vector<Raw.TypeInputPrivacyRule>;
28362
+ randomId: long;
28363
+ messagesEnabled?: Bool;
28364
+ sendPaidMessagesStars?: long;
28365
+ });
28366
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.stories.StartLive>;
28367
+ write(): Buffer;
28368
+ }
27692
28369
  }
27693
28370
  namespace premium {
27694
28371
  type TypeBoostsStatus = Raw.premium.BoostsStatus;