@tgsnake/skema 1.5.0 → 1.7.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.auth.CheckPaidAuth | Raw.account.RegisterDevice | Raw.account.UnregisterDevice | Raw.account.UpdateNotifySettings | Raw.account.GetNotifySettings | Raw.account.ResetNotifySettings | Raw.account.UpdateProfile | Raw.account.UpdateStatus | Raw.account.GetWallPapers | Raw.account.ReportPeer | Raw.account.CheckUsername | Raw.account.UpdateUsername | Raw.account.GetPrivacy | Raw.account.SetPrivacy | Raw.account.DeleteAccount | Raw.account.GetAccountTTL | Raw.account.SetAccountTTL | Raw.account.SendChangePhoneCode | Raw.account.ChangePhone | Raw.account.UpdateDeviceLocked | Raw.account.GetAuthorizations | Raw.account.ResetAuthorization | Raw.account.GetPassword | Raw.account.GetPasswordSettings | Raw.account.UpdatePasswordSettings | Raw.account.SendConfirmPhoneCode | Raw.account.ConfirmPhone | Raw.account.GetTmpPassword | Raw.account.GetWebAuthorizations | Raw.account.ResetWebAuthorization | Raw.account.ResetWebAuthorizations | Raw.account.GetAllSecureValues | Raw.account.GetSecureValue | Raw.account.SaveSecureValue | Raw.account.DeleteSecureValue | Raw.account.GetAuthorizationForm | Raw.account.AcceptAuthorization | Raw.account.SendVerifyPhoneCode | Raw.account.VerifyPhone | Raw.account.SendVerifyEmailCode | Raw.account.VerifyEmail | Raw.account.InitTakeoutSession | Raw.account.FinishTakeoutSession | Raw.account.ConfirmPasswordEmail | Raw.account.ResendPasswordEmail | Raw.account.CancelPasswordEmail | Raw.account.GetContactSignUpNotification | Raw.account.SetContactSignUpNotification | Raw.account.GetNotifyExceptions | Raw.account.GetWallPaper | Raw.account.UploadWallPaper | Raw.account.SaveWallPaper | Raw.account.InstallWallPaper | Raw.account.ResetWallPapers | Raw.account.GetAutoDownloadSettings | Raw.account.SaveAutoDownloadSettings | Raw.account.UploadTheme | Raw.account.CreateTheme | Raw.account.UpdateTheme | Raw.account.SaveTheme | Raw.account.InstallTheme | Raw.account.GetTheme | Raw.account.GetThemes | Raw.account.SetContentSettings | Raw.account.GetContentSettings | Raw.account.GetMultiWallPapers | Raw.account.GetGlobalPrivacySettings | Raw.account.SetGlobalPrivacySettings | Raw.account.ReportProfilePhoto | Raw.account.ResetPassword | Raw.account.DeclinePasswordReset | Raw.account.GetChatThemes | Raw.account.SetAuthorizationTTL | Raw.account.ChangeAuthorizationSettings | Raw.account.GetSavedRingtones | Raw.account.SaveRingtone | Raw.account.UploadRingtone | Raw.account.UpdateEmojiStatus | Raw.account.GetDefaultEmojiStatuses | Raw.account.GetRecentEmojiStatuses | Raw.account.ClearRecentEmojiStatuses | Raw.account.ReorderUsernames | Raw.account.ToggleUsername | Raw.account.GetDefaultProfilePhotoEmojis | Raw.account.GetDefaultGroupPhotoEmojis | Raw.account.GetAutoSaveSettings | Raw.account.SaveAutoSaveSettings | Raw.account.DeleteAutoSaveExceptions | Raw.account.InvalidateSignInCodes | Raw.account.UpdateColor | Raw.account.GetDefaultBackgroundEmojis | Raw.account.GetChannelDefaultEmojiStatuses | Raw.account.GetChannelRestrictedStatusEmojis | Raw.account.UpdateBusinessWorkHours | Raw.account.UpdateBusinessLocation | Raw.account.UpdateBusinessGreetingMessage | Raw.account.UpdateBusinessAwayMessage | Raw.account.UpdateConnectedBot | Raw.account.GetConnectedBots | Raw.account.GetBotBusinessConnection | Raw.account.UpdateBusinessIntro | Raw.account.ToggleConnectedBotPaused | Raw.account.DisablePeerConnectedBot | Raw.account.UpdateBirthday | Raw.account.CreateBusinessChatLink | Raw.account.EditBusinessChatLink | Raw.account.DeleteBusinessChatLink | Raw.account.GetBusinessChatLinks | Raw.account.ResolveBusinessChatLink | Raw.account.UpdatePersonalChannel | Raw.account.ToggleSponsoredMessages | Raw.account.GetReactionsNotifySettings | Raw.account.SetReactionsNotifySettings | Raw.account.GetCollectibleEmojiStatuses | Raw.account.GetPaidMessagesRevenue | Raw.account.ToggleNoPaidMessagesException | Raw.account.SetMainProfileTab | Raw.account.SaveMusic | Raw.account.GetSavedMusicIds | Raw.account.GetUniqueGiftChatThemes | Raw.users.GetUsers | Raw.users.GetFullUser | Raw.users.SetSecureValueErrors | Raw.users.GetRequirementsToContact | Raw.users.GetSavedMusic | Raw.users.GetSavedMusicByID | Raw.users.SuggestBirthday | Raw.contacts.GetContactIDs | Raw.contacts.GetStatuses | Raw.contacts.GetContacts | Raw.contacts.ImportContacts | Raw.contacts.DeleteContacts | Raw.contacts.DeleteByPhones | Raw.contacts.Block | Raw.contacts.Unblock | Raw.contacts.GetBlocked | Raw.contacts.Search | Raw.contacts.ResolveUsername | Raw.contacts.GetTopPeers | Raw.contacts.ResetTopPeerRating | Raw.contacts.ResetSaved | Raw.contacts.GetSaved | Raw.contacts.ToggleTopPeers | Raw.contacts.AddContact | Raw.contacts.AcceptContact | Raw.contacts.GetLocated | Raw.contacts.BlockFromReplies | Raw.contacts.ResolvePhone | Raw.contacts.ExportContactToken | Raw.contacts.ImportContactToken | Raw.contacts.EditCloseFriends | Raw.contacts.SetBlocked | Raw.contacts.GetBirthdays | Raw.contacts.GetSponsoredPeers | Raw.contacts.UpdateContactNote | Raw.messages.GetMessages | Raw.messages.GetDialogs | Raw.messages.GetHistory | Raw.messages.Search | Raw.messages.ReadHistory | Raw.messages.DeleteHistory | Raw.messages.DeleteMessages | Raw.messages.ReceivedMessages | Raw.messages.SetTyping | Raw.messages.SendMessage | Raw.messages.SendMedia | Raw.messages.ForwardMessages | Raw.messages.ReportSpam | Raw.messages.GetPeerSettings | Raw.messages.Report | Raw.messages.GetChats | Raw.messages.GetFullChat | Raw.messages.EditChatTitle | Raw.messages.EditChatPhoto | Raw.messages.AddChatUser | Raw.messages.DeleteChatUser | Raw.messages.CreateChat | Raw.messages.GetDhConfig | Raw.messages.RequestEncryption | Raw.messages.AcceptEncryption | Raw.messages.DiscardEncryption | Raw.messages.SetEncryptedTyping | Raw.messages.ReadEncryptedHistory | Raw.messages.SendEncrypted | Raw.messages.SendEncryptedFile | Raw.messages.SendEncryptedService | Raw.messages.ReceivedQueue | Raw.messages.ReportEncryptedSpam | Raw.messages.ReadMessageContents | Raw.messages.GetStickers | Raw.messages.GetAllStickers | Raw.messages.GetWebPagePreview | Raw.messages.ExportChatInvite | Raw.messages.CheckChatInvite | Raw.messages.ImportChatInvite | Raw.messages.GetStickerSet | Raw.messages.InstallStickerSet | Raw.messages.UninstallStickerSet | Raw.messages.StartBot | Raw.messages.GetMessagesViews | Raw.messages.EditChatAdmin | Raw.messages.MigrateChat | Raw.messages.SearchGlobal | Raw.messages.ReorderStickerSets | Raw.messages.GetDocumentByHash | Raw.messages.GetSavedGifs | Raw.messages.SaveGif | Raw.messages.GetInlineBotResults | Raw.messages.SetInlineBotResults | Raw.messages.SendInlineBotResult | Raw.messages.GetMessageEditData | Raw.messages.EditMessage | Raw.messages.EditInlineBotMessage | Raw.messages.GetBotCallbackAnswer | Raw.messages.SetBotCallbackAnswer | Raw.messages.GetPeerDialogs | Raw.messages.SaveDraft | Raw.messages.GetAllDrafts | Raw.messages.GetFeaturedStickers | Raw.messages.ReadFeaturedStickers | Raw.messages.GetRecentStickers | Raw.messages.SaveRecentSticker | Raw.messages.ClearRecentStickers | Raw.messages.GetArchivedStickers | Raw.messages.GetMaskStickers | Raw.messages.GetAttachedStickers | Raw.messages.SetGameScore | Raw.messages.SetInlineGameScore | Raw.messages.GetGameHighScores | Raw.messages.GetInlineGameHighScores | Raw.messages.GetCommonChats | Raw.messages.GetWebPage | Raw.messages.ToggleDialogPin | Raw.messages.ReorderPinnedDialogs | Raw.messages.GetPinnedDialogs | Raw.messages.SetBotShippingResults | Raw.messages.SetBotPrecheckoutResults | Raw.messages.UploadMedia | Raw.messages.SendScreenshotNotification | Raw.messages.GetFavedStickers | Raw.messages.FaveSticker | Raw.messages.GetUnreadMentions | Raw.messages.ReadMentions | Raw.messages.GetRecentLocations | Raw.messages.SendMultiMedia | Raw.messages.UploadEncryptedFile | Raw.messages.SearchStickerSets | Raw.messages.GetSplitRanges | Raw.messages.MarkDialogUnread | Raw.messages.GetDialogUnreadMarks | Raw.messages.ClearAllDrafts | Raw.messages.UpdatePinnedMessage | Raw.messages.SendVote | Raw.messages.GetPollResults | Raw.messages.GetOnlines | Raw.messages.EditChatAbout | Raw.messages.EditChatDefaultBannedRights | Raw.messages.GetEmojiKeywords | Raw.messages.GetEmojiKeywordsDifference | Raw.messages.GetEmojiKeywordsLanguages | Raw.messages.GetEmojiURL | Raw.messages.GetSearchCounters | Raw.messages.RequestUrlAuth | Raw.messages.AcceptUrlAuth | Raw.messages.HidePeerSettingsBar | Raw.messages.GetScheduledHistory | Raw.messages.GetScheduledMessages | Raw.messages.SendScheduledMessages | Raw.messages.DeleteScheduledMessages | Raw.messages.GetPollVotes | Raw.messages.ToggleStickerSets | Raw.messages.GetDialogFilters | Raw.messages.GetSuggestedDialogFilters | Raw.messages.UpdateDialogFilter | Raw.messages.UpdateDialogFiltersOrder | Raw.messages.GetOldFeaturedStickers | Raw.messages.GetReplies | Raw.messages.GetDiscussionMessage | Raw.messages.ReadDiscussion | Raw.messages.UnpinAllMessages | Raw.messages.DeleteChat | Raw.messages.DeletePhoneCallHistory | Raw.messages.CheckHistoryImport | Raw.messages.InitHistoryImport | Raw.messages.UploadImportedMedia | Raw.messages.StartHistoryImport | Raw.messages.GetExportedChatInvites | Raw.messages.GetExportedChatInvite | Raw.messages.EditExportedChatInvite | Raw.messages.DeleteRevokedExportedChatInvites | Raw.messages.DeleteExportedChatInvite | Raw.messages.GetAdminsWithInvites | Raw.messages.GetChatInviteImporters | Raw.messages.SetHistoryTTL | Raw.messages.CheckHistoryImportPeer | Raw.messages.SetChatTheme | Raw.messages.GetMessageReadParticipants | Raw.messages.GetSearchResultsCalendar | Raw.messages.GetSearchResultsPositions | Raw.messages.HideChatJoinRequest | Raw.messages.HideAllChatJoinRequests | Raw.messages.ToggleNoForwards | Raw.messages.SaveDefaultSendAs | Raw.messages.SendReaction | Raw.messages.GetMessagesReactions | Raw.messages.GetMessageReactionsList | Raw.messages.SetChatAvailableReactions | Raw.messages.GetAvailableReactions | Raw.messages.SetDefaultReaction | Raw.messages.TranslateText | Raw.messages.GetUnreadReactions | Raw.messages.ReadReactions | Raw.messages.SearchSentMedia | Raw.messages.GetAttachMenuBots | Raw.messages.GetAttachMenuBot | Raw.messages.ToggleBotInAttachMenu | Raw.messages.RequestWebView | Raw.messages.ProlongWebView | Raw.messages.RequestSimpleWebView | Raw.messages.SendWebViewResultMessage | Raw.messages.SendWebViewData | Raw.messages.TranscribeAudio | Raw.messages.RateTranscribedAudio | Raw.messages.GetCustomEmojiDocuments | Raw.messages.GetEmojiStickers | Raw.messages.GetFeaturedEmojiStickers | Raw.messages.ReportReaction | Raw.messages.GetTopReactions | Raw.messages.GetRecentReactions | Raw.messages.ClearRecentReactions | Raw.messages.GetExtendedMedia | Raw.messages.SetDefaultHistoryTTL | Raw.messages.GetDefaultHistoryTTL | Raw.messages.SendBotRequestedPeer | Raw.messages.GetEmojiGroups | Raw.messages.GetEmojiStatusGroups | Raw.messages.GetEmojiProfilePhotoGroups | Raw.messages.SearchCustomEmoji | Raw.messages.TogglePeerTranslations | Raw.messages.GetBotApp | Raw.messages.RequestAppWebView | Raw.messages.SetChatWallPaper | Raw.messages.SearchEmojiStickerSets | Raw.messages.GetSavedDialogs | Raw.messages.GetSavedHistory | Raw.messages.DeleteSavedHistory | Raw.messages.GetPinnedSavedDialogs | Raw.messages.ToggleSavedDialogPin | Raw.messages.ReorderPinnedSavedDialogs | Raw.messages.GetSavedReactionTags | Raw.messages.UpdateSavedReactionTag | Raw.messages.GetDefaultTagReactions | Raw.messages.GetOutboxReadDate | Raw.messages.GetQuickReplies | Raw.messages.ReorderQuickReplies | Raw.messages.CheckQuickReplyShortcut | Raw.messages.EditQuickReplyShortcut | Raw.messages.DeleteQuickReplyShortcut | Raw.messages.GetQuickReplyMessages | Raw.messages.SendQuickReplyMessages | Raw.messages.DeleteQuickReplyMessages | Raw.messages.ToggleDialogFilterTags | Raw.messages.GetMyStickers | Raw.messages.GetEmojiStickerGroups | Raw.messages.GetAvailableEffects | Raw.messages.EditFactCheck | Raw.messages.DeleteFactCheck | Raw.messages.GetFactCheck | Raw.messages.RequestMainWebView | Raw.messages.SendPaidReaction | Raw.messages.TogglePaidReactionPrivacy | Raw.messages.GetPaidReactionPrivacy | Raw.messages.ViewSponsoredMessage | Raw.messages.ClickSponsoredMessage | Raw.messages.ReportSponsoredMessage | Raw.messages.GetSponsoredMessages | Raw.messages.SavePreparedInlineMessage | Raw.messages.GetPreparedInlineMessage | Raw.messages.SearchStickers | Raw.messages.ReportMessagesDelivery | Raw.messages.GetSavedDialogsByID | Raw.messages.ReadSavedHistory | Raw.messages.ToggleTodoCompleted | Raw.messages.AppendTodoList | Raw.messages.ToggleSuggestedPostApproval | Raw.messages.GetForumTopics | Raw.messages.GetForumTopicsByID | Raw.messages.EditForumTopic | Raw.messages.UpdatePinnedForumTopic | Raw.messages.ReorderPinnedForumTopics | Raw.messages.CreateForumTopic | Raw.messages.DeleteTopicHistory | Raw.updates.GetState | Raw.updates.GetDifference | Raw.updates.GetChannelDifference | Raw.photos.UpdateProfilePhoto | Raw.photos.UploadProfilePhoto | Raw.photos.DeletePhotos | Raw.photos.GetUserPhotos | Raw.photos.UploadContactProfilePhoto | Raw.upload.SaveFilePart | Raw.upload.GetFile | Raw.upload.SaveBigFilePart | Raw.upload.GetWebFile | Raw.upload.GetCdnFile | Raw.upload.ReuploadCdnFile | Raw.upload.GetCdnFileHashes | Raw.upload.GetFileHashes | Raw.help.GetConfig | Raw.help.GetNearestDc | Raw.help.GetAppUpdate | Raw.help.GetInviteText | Raw.help.GetSupport | Raw.help.SetBotUpdatesStatus | Raw.help.GetCdnConfig | Raw.help.GetRecentMeUrls | Raw.help.GetTermsOfServiceUpdate | Raw.help.AcceptTermsOfService | Raw.help.GetDeepLinkInfo | Raw.help.GetAppConfig | Raw.help.SaveAppLog | Raw.help.GetPassportConfig | Raw.help.GetSupportName | Raw.help.GetUserInfo | Raw.help.EditUserInfo | Raw.help.GetPromoData | Raw.help.HidePromoData | Raw.help.DismissSuggestion | Raw.help.GetCountriesList | Raw.help.GetPremiumPromo | Raw.help.GetPeerColors | Raw.help.GetPeerProfileColors | Raw.help.GetTimezonesList | Raw.channels.ReadHistory | Raw.channels.DeleteMessages | Raw.channels.ReportSpam | Raw.channels.GetMessages | Raw.channels.GetParticipants | Raw.channels.GetParticipant | Raw.channels.GetChannels | Raw.channels.GetFullChannel | Raw.channels.CreateChannel | Raw.channels.EditAdmin | Raw.channels.EditTitle | Raw.channels.EditPhoto | Raw.channels.CheckUsername | Raw.channels.UpdateUsername | Raw.channels.JoinChannel | Raw.channels.LeaveChannel | Raw.channels.InviteToChannel | Raw.channels.DeleteChannel | Raw.channels.ExportMessageLink | Raw.channels.ToggleSignatures | Raw.channels.GetAdminedPublicChannels | Raw.channels.EditBanned | Raw.channels.GetAdminLog | Raw.channels.SetStickers | Raw.channels.ReadMessageContents | Raw.channels.DeleteHistory | Raw.channels.TogglePreHistoryHidden | Raw.channels.GetLeftChannels | Raw.channels.GetGroupsForDiscussion | Raw.channels.SetDiscussionGroup | Raw.channels.EditCreator | Raw.channels.EditLocation | Raw.channels.ToggleSlowMode | Raw.channels.GetInactiveChannels | Raw.channels.ConvertToGigagroup | Raw.channels.GetSendAs | Raw.channels.DeleteParticipantHistory | Raw.channels.ToggleJoinToSend | Raw.channels.ToggleJoinRequest | Raw.channels.ReorderUsernames | Raw.channels.ToggleUsername | Raw.channels.DeactivateAllUsernames | Raw.channels.ToggleForum | Raw.channels.ToggleAntiSpam | Raw.channels.ReportAntiSpamFalsePositive | Raw.channels.ToggleParticipantsHidden | Raw.channels.UpdateColor | Raw.channels.ToggleViewForumAsMessages | Raw.channels.GetChannelRecommendations | Raw.channels.UpdateEmojiStatus | Raw.channels.SetBoostsToUnblockRestrictions | Raw.channels.SetEmojiStickers | Raw.channels.RestrictSponsoredMessages | Raw.channels.SearchPosts | Raw.channels.UpdatePaidMessagesPrice | Raw.channels.ToggleAutotranslation | Raw.channels.GetMessageAuthor | Raw.channels.CheckSearchPostsFlood | Raw.channels.SetMainProfileTab | Raw.bots.SendCustomRequest | Raw.bots.AnswerWebhookJSONQuery | Raw.bots.SetBotCommands | Raw.bots.ResetBotCommands | Raw.bots.GetBotCommands | Raw.bots.SetBotMenuButton | Raw.bots.GetBotMenuButton | Raw.bots.SetBotBroadcastDefaultAdminRights | Raw.bots.SetBotGroupDefaultAdminRights | Raw.bots.SetBotInfo | Raw.bots.GetBotInfo | Raw.bots.ReorderUsernames | Raw.bots.ToggleUsername | Raw.bots.CanSendMessage | Raw.bots.AllowSendMessage | Raw.bots.InvokeWebViewCustomMethod | Raw.bots.GetPopularAppBots | Raw.bots.AddPreviewMedia | Raw.bots.EditPreviewMedia | Raw.bots.DeletePreviewMedia | Raw.bots.ReorderPreviewMedias | Raw.bots.GetPreviewInfo | Raw.bots.GetPreviewMedias | Raw.bots.UpdateUserEmojiStatus | Raw.bots.ToggleUserEmojiStatusPermission | Raw.bots.CheckDownloadFileParams | Raw.bots.GetAdminedBots | Raw.bots.UpdateStarRefProgram | Raw.bots.SetCustomVerification | Raw.bots.GetBotRecommendations | Raw.payments.GetPaymentForm | Raw.payments.GetPaymentReceipt | Raw.payments.ValidateRequestedInfo | Raw.payments.SendPaymentForm | Raw.payments.GetSavedInfo | Raw.payments.ClearSavedInfo | Raw.payments.GetBankCardData | Raw.payments.ExportInvoice | Raw.payments.AssignAppStoreTransaction | Raw.payments.AssignPlayMarketTransaction | Raw.payments.GetPremiumGiftCodeOptions | Raw.payments.CheckGiftCode | Raw.payments.ApplyGiftCode | Raw.payments.GetGiveawayInfo | Raw.payments.LaunchPrepaidGiveaway | Raw.payments.GetStarsTopupOptions | Raw.payments.GetStarsStatus | Raw.payments.GetStarsTransactions | Raw.payments.SendStarsForm | Raw.payments.RefundStarsCharge | Raw.payments.GetStarsRevenueStats | Raw.payments.GetStarsRevenueWithdrawalUrl | Raw.payments.GetStarsRevenueAdsAccountUrl | Raw.payments.GetStarsTransactionsByID | Raw.payments.GetStarsGiftOptions | Raw.payments.GetStarsSubscriptions | Raw.payments.ChangeStarsSubscription | Raw.payments.FulfillStarsSubscription | Raw.payments.GetStarsGiveawayOptions | Raw.payments.GetStarGifts | Raw.payments.SaveStarGift | Raw.payments.ConvertStarGift | Raw.payments.BotCancelStarsSubscription | Raw.payments.GetConnectedStarRefBots | Raw.payments.GetConnectedStarRefBot | Raw.payments.GetSuggestedStarRefBots | Raw.payments.ConnectStarRefBot | Raw.payments.EditConnectedStarRefBot | Raw.payments.GetStarGiftUpgradePreview | Raw.payments.UpgradeStarGift | Raw.payments.TransferStarGift | Raw.payments.GetUniqueStarGift | Raw.payments.GetSavedStarGifts | Raw.payments.GetSavedStarGift | Raw.payments.GetStarGiftWithdrawalUrl | Raw.payments.ToggleChatStarGiftNotifications | Raw.payments.ToggleStarGiftsPinnedToTop | Raw.payments.CanPurchaseStore | Raw.payments.GetResaleStarGifts | Raw.payments.UpdateStarGiftPrice | Raw.payments.CreateStarGiftCollection | Raw.payments.UpdateStarGiftCollection | Raw.payments.ReorderStarGiftCollections | Raw.payments.DeleteStarGiftCollection | Raw.payments.GetStarGiftCollections | Raw.payments.GetUniqueStarGiftValueInfo | Raw.payments.CheckCanSendGift | Raw.stickers.CreateStickerSet | Raw.stickers.RemoveStickerFromSet | Raw.stickers.ChangeStickerPosition | Raw.stickers.AddStickerToSet | Raw.stickers.SetStickerSetThumb | Raw.stickers.CheckShortName | Raw.stickers.SuggestShortName | Raw.stickers.ChangeSticker | Raw.stickers.RenameStickerSet | Raw.stickers.DeleteStickerSet | Raw.stickers.ReplaceSticker | Raw.phone.GetCallConfig | Raw.phone.RequestCall | Raw.phone.AcceptCall | Raw.phone.ConfirmCall | Raw.phone.ReceivedCall | Raw.phone.DiscardCall | Raw.phone.SetCallRating | Raw.phone.SaveCallDebug | Raw.phone.SendSignalingData | Raw.phone.CreateGroupCall | Raw.phone.JoinGroupCall | Raw.phone.LeaveGroupCall | Raw.phone.InviteToGroupCall | Raw.phone.DiscardGroupCall | Raw.phone.ToggleGroupCallSettings | Raw.phone.GetGroupCall | Raw.phone.GetGroupParticipants | Raw.phone.CheckGroupCall | Raw.phone.ToggleGroupCallRecord | Raw.phone.EditGroupCallParticipant | Raw.phone.EditGroupCallTitle | Raw.phone.GetGroupCallJoinAs | Raw.phone.ExportGroupCallInvite | Raw.phone.ToggleGroupCallStartSubscription | Raw.phone.StartScheduledGroupCall | Raw.phone.SaveDefaultGroupCallJoinAs | Raw.phone.JoinGroupCallPresentation | Raw.phone.LeaveGroupCallPresentation | Raw.phone.GetGroupCallStreamChannels | Raw.phone.GetGroupCallStreamRtmpUrl | Raw.phone.SaveCallLog | Raw.phone.CreateConferenceCall | Raw.phone.DeleteConferenceCallParticipants | Raw.phone.SendConferenceCallBroadcast | Raw.phone.InviteConferenceCallParticipant | Raw.phone.DeclineConferenceCallInvite | Raw.phone.GetGroupCallChainBlocks | Raw.phone.SendGroupCallMessage | Raw.phone.SendGroupCallEncryptedMessage | Raw.langpack.GetLangPack | Raw.langpack.GetStrings | Raw.langpack.GetDifference | Raw.langpack.GetLanguages | Raw.langpack.GetLanguage | Raw.folders.EditPeerFolders | Raw.stats.GetBroadcastStats | Raw.stats.LoadAsyncGraph | Raw.stats.GetMegagroupStats | Raw.stats.GetMessagePublicForwards | Raw.stats.GetMessageStats | Raw.stats.GetStoryStats | Raw.stats.GetStoryPublicForwards | Raw.chatlists.ExportChatlistInvite | Raw.chatlists.DeleteExportedInvite | Raw.chatlists.EditExportedInvite | Raw.chatlists.GetExportedInvites | Raw.chatlists.CheckChatlistInvite | Raw.chatlists.JoinChatlistInvite | Raw.chatlists.GetChatlistUpdates | Raw.chatlists.JoinChatlistUpdates | Raw.chatlists.HideChatlistUpdates | Raw.chatlists.GetLeaveChatlistSuggestions | Raw.chatlists.LeaveChatlist | Raw.stories.CanSendStory | Raw.stories.SendStory | Raw.stories.EditStory | Raw.stories.DeleteStories | Raw.stories.TogglePinned | Raw.stories.GetAllStories | Raw.stories.GetPinnedStories | Raw.stories.GetStoriesArchive | Raw.stories.GetStoriesByID | Raw.stories.ToggleAllStoriesHidden | Raw.stories.ReadStories | Raw.stories.IncrementStoryViews | Raw.stories.GetStoryViewsList | Raw.stories.GetStoriesViews | Raw.stories.ExportStoryLink | Raw.stories.Report | Raw.stories.ActivateStealthMode | Raw.stories.SendReaction | Raw.stories.GetPeerStories | Raw.stories.GetAllReadPeerStories | Raw.stories.GetPeerMaxIDs | Raw.stories.GetChatsToSend | Raw.stories.TogglePeerStoriesHidden | Raw.stories.GetStoryReactionsList | Raw.stories.TogglePinnedToTop | Raw.stories.SearchPosts | Raw.stories.CreateAlbum | Raw.stories.UpdateAlbum | Raw.stories.ReorderAlbums | Raw.stories.DeleteAlbum | Raw.stories.GetAlbums | Raw.stories.GetAlbumStories | Raw.premium.GetBoostsList | Raw.premium.GetMyBoosts | Raw.premium.ApplyBoost | Raw.premium.GetBoostsStatus | Raw.premium.GetUserBoosts | Raw.smsjobs.IsEligibleToJoin | Raw.smsjobs.Join | Raw.smsjobs.Leave | Raw.smsjobs.UpdateSettings | Raw.smsjobs.GetStatus | Raw.smsjobs.GetSmsJob | Raw.smsjobs.FinishJob | Raw.fragment.GetCollectibleInfo;
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.auth.InitPasskeyLogin | Raw.auth.FinishPasskeyLogin | 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.account.InitPasskeyRegistration | Raw.account.RegisterPasskey | Raw.account.GetPasskeys | Raw.account.DeletePasskey | 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.payments.ResolveStarGiftOffer | Raw.payments.SendStarGiftOffer | Raw.payments.GetStarGiftUpgradeAttributes | 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 | Raw.InputInvoicePremiumAuthCode | Raw.InputInvoiceStarGiftDropOriginalDetails;
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,14 +92,22 @@ 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
+ type TypeInputPasskeyCredential = Raw.InputPasskeyCredentialPublicKey;
98
100
  type TypeInputCheckPasswordSRP = Raw.InputCheckPasswordEmpty | Raw.InputCheckPasswordSRP;
99
101
  type TypeEmailVerification = Raw.EmailVerificationCode | Raw.EmailVerificationGoogle | Raw.EmailVerificationApple;
100
102
  type TypeCodeSettings = Raw.CodeSettings;
101
103
  type TypeInputClientProxy = Raw.InputClientProxy;
104
+ type TypeInputPasskeyResponse = Raw.InputPasskeyResponseRegister | Raw.InputPasskeyResponseLogin;
105
+ type TypePasskey = Raw.Passkey;
106
+ type TypeStarGiftActiveAuctionState = Raw.StarGiftActiveAuctionState;
107
+ type TypeStarGiftAuctionAcquiredGift = Raw.StarGiftAuctionAcquiredGift;
108
+ type TypeStarGiftAuctionRound = Raw.StarGiftAuctionRound | Raw.StarGiftAuctionRoundExtendable;
109
+ type TypeAuctionBidLevel = Raw.AuctionBidLevel;
110
+ type TypeGroupCallDonor = Raw.GroupCallDonor;
102
111
  type TypeStoryAlbum = Raw.StoryAlbum;
103
112
  type TypeStarGiftCollection = Raw.StarGiftCollection;
104
113
  type TypeStarGiftAttributeCounter = Raw.StarGiftAttributeCounter;
@@ -109,6 +118,7 @@ export declare namespace Raw {
109
118
  type TypeConnectedBotStarRef = Raw.ConnectedBotStarRef;
110
119
  type TypeMessageReportOption = Raw.MessageReportOption;
111
120
  type TypeStarGiftAttribute = Raw.StarGiftAttributeModel | Raw.StarGiftAttributePattern | Raw.StarGiftAttributeBackdrop | Raw.StarGiftAttributeOriginalDetails;
121
+ type TypeStarGiftBackground = Raw.StarGiftBackground;
112
122
  type TypeStarsGiveawayWinnersOption = Raw.StarsGiveawayWinnersOption;
113
123
  type TypeBotPreviewMedia = Raw.BotPreviewMedia;
114
124
  type TypeFoundStory = Raw.FoundStory;
@@ -240,13 +250,16 @@ export declare namespace Raw {
240
250
  type TypeSecurePasswordKdfAlgo = Raw.SecurePasswordKdfAlgoUnknown | Raw.SecurePasswordKdfAlgoPBKDF2HMACSHA512iter100000 | Raw.SecurePasswordKdfAlgoSHA512;
241
251
  type TypePasswordKdfAlgo = Raw.PasswordKdfAlgoUnknown | Raw.PasswordKdfAlgoSHA256SHA256PBKDF2HMACSHA512iter100000SHA256ModPow;
242
252
  type TypeAuthorization = Raw.Authorization;
243
- type TypeWebPageAttribute = Raw.WebPageAttributeTheme | Raw.WebPageAttributeStory | Raw.WebPageAttributeStickerSet | Raw.WebPageAttributeUniqueStarGift | Raw.WebPageAttributeStarGiftCollection;
253
+ type TypeWebPageAttribute = Raw.WebPageAttributeTheme | Raw.WebPageAttributeStory | Raw.WebPageAttributeStickerSet | Raw.WebPageAttributeUniqueStarGift | Raw.WebPageAttributeStarGiftCollection | Raw.WebPageAttributeStarGiftAuction;
244
254
  type TypePage = Raw.Page;
245
255
  type TypeMaskCoords = Raw.MaskCoords;
246
256
  type TypeInputUser = Raw.InputUserEmpty | Raw.InputUserSelf | Raw.InputUser | Raw.InputUserFromMessage;
247
257
  type TypeEncryptedFile = Raw.EncryptedFileEmpty | Raw.EncryptedFile;
248
258
  type TypeFileHash = Raw.FileHash;
249
- type TypeUpdate = Raw.UpdateNewMessage | Raw.UpdateMessageID | Raw.UpdateDeleteMessages | Raw.UpdateUserTyping | Raw.UpdateChatUserTyping | Raw.UpdateChatParticipants | Raw.UpdateUserStatus | Raw.UpdateUserName | Raw.UpdateNewAuthorization | Raw.UpdateNewEncryptedMessage | Raw.UpdateEncryptedChatTyping | Raw.UpdateEncryption | Raw.UpdateEncryptedMessagesRead | Raw.UpdateChatParticipantAdd | Raw.UpdateChatParticipantDelete | Raw.UpdateDcOptions | Raw.UpdateNotifySettings | Raw.UpdateServiceNotification | Raw.UpdatePrivacy | Raw.UpdateUserPhone | Raw.UpdateReadHistoryInbox | Raw.UpdateReadHistoryOutbox | Raw.UpdateWebPage | Raw.UpdateReadMessagesContents | Raw.UpdateChannelTooLong | Raw.UpdateChannel | Raw.UpdateNewChannelMessage | Raw.UpdateReadChannelInbox | Raw.UpdateDeleteChannelMessages | Raw.UpdateChannelMessageViews | Raw.UpdateChatParticipantAdmin | Raw.UpdateNewStickerSet | Raw.UpdateStickerSetsOrder | Raw.UpdateStickerSets | Raw.UpdateSavedGifs | Raw.UpdateBotInlineQuery | Raw.UpdateBotInlineSend | Raw.UpdateEditChannelMessage | Raw.UpdateBotCallbackQuery | Raw.UpdateEditMessage | Raw.UpdateInlineBotCallbackQuery | Raw.UpdateReadChannelOutbox | Raw.UpdateDraftMessage | Raw.UpdateReadFeaturedStickers | Raw.UpdateRecentStickers | Raw.UpdateConfig | Raw.UpdatePtsChanged | Raw.UpdateChannelWebPage | Raw.UpdateDialogPinned | Raw.UpdatePinnedDialogs | Raw.UpdateBotWebhookJSON | Raw.UpdateBotWebhookJSONQuery | Raw.UpdateBotShippingQuery | Raw.UpdateBotPrecheckoutQuery | Raw.UpdatePhoneCall | Raw.UpdateLangPackTooLong | Raw.UpdateLangPack | Raw.UpdateFavedStickers | Raw.UpdateChannelReadMessagesContents | Raw.UpdateContactsReset | Raw.UpdateChannelAvailableMessages | Raw.UpdateDialogUnreadMark | Raw.UpdateMessagePoll | Raw.UpdateChatDefaultBannedRights | Raw.UpdateFolderPeers | Raw.UpdatePeerSettings | Raw.UpdatePeerLocated | Raw.UpdateNewScheduledMessage | Raw.UpdateDeleteScheduledMessages | Raw.UpdateTheme | Raw.UpdateGeoLiveViewed | Raw.UpdateLoginToken | Raw.UpdateMessagePollVote | Raw.UpdateDialogFilter | Raw.UpdateDialogFilterOrder | Raw.UpdateDialogFilters | Raw.UpdatePhoneCallSignalingData | Raw.UpdateChannelMessageForwards | Raw.UpdateReadChannelDiscussionInbox | Raw.UpdateReadChannelDiscussionOutbox | Raw.UpdatePeerBlocked | Raw.UpdateChannelUserTyping | Raw.UpdatePinnedMessages | Raw.UpdatePinnedChannelMessages | Raw.UpdateChat | Raw.UpdateGroupCallParticipants | Raw.UpdateGroupCall | Raw.UpdatePeerHistoryTTL | Raw.UpdateChatParticipant | Raw.UpdateChannelParticipant | Raw.UpdateBotStopped | Raw.UpdateGroupCallConnection | Raw.UpdateBotCommands | Raw.UpdatePendingJoinRequests | Raw.UpdateBotChatInviteRequester | Raw.UpdateMessageReactions | Raw.UpdateAttachMenuBots | Raw.UpdateWebViewResultSent | Raw.UpdateBotMenuButton | Raw.UpdateSavedRingtones | Raw.UpdateTranscribedAudio | Raw.UpdateReadFeaturedEmojiStickers | Raw.UpdateUserEmojiStatus | Raw.UpdateRecentEmojiStatuses | Raw.UpdateRecentReactions | Raw.UpdateMoveStickerSetToTop | Raw.UpdateMessageExtendedMedia | Raw.UpdateUser | Raw.UpdateAutoSaveSettings | Raw.UpdateStory | Raw.UpdateReadStories | Raw.UpdateStoryID | Raw.UpdateStoriesStealthMode | Raw.UpdateSentStoryReaction | Raw.UpdateBotChatBoost | Raw.UpdateChannelViewForumAsMessages | Raw.UpdatePeerWallpaper | Raw.UpdateBotMessageReaction | Raw.UpdateBotMessageReactions | Raw.UpdateSavedDialogPinned | Raw.UpdatePinnedSavedDialogs | Raw.UpdateSavedReactionTags | Raw.UpdateSmsJob | Raw.UpdateQuickReplies | Raw.UpdateNewQuickReply | Raw.UpdateDeleteQuickReply | Raw.UpdateQuickReplyMessage | Raw.UpdateDeleteQuickReplyMessages | Raw.UpdateBotBusinessConnect | Raw.UpdateBotNewBusinessMessage | Raw.UpdateBotEditBusinessMessage | Raw.UpdateBotDeleteBusinessMessage | Raw.UpdateNewStoryReaction | Raw.UpdateStarsBalance | Raw.UpdateBusinessBotCallbackQuery | Raw.UpdateStarsRevenueStatus | Raw.UpdateBotPurchasedPaidMedia | Raw.UpdatePaidReactionPrivacy | Raw.UpdateSentPhoneCode | Raw.UpdateGroupCallChainBlocks | Raw.UpdateReadMonoForumInbox | Raw.UpdateReadMonoForumOutbox | Raw.UpdateMonoForumNoPaidException | Raw.UpdateGroupCallMessage | Raw.UpdateGroupCallEncryptedMessage | Raw.UpdatePinnedForumTopic | Raw.UpdatePinnedForumTopics | UpdateSecretChatMessage;
259
+ 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;
260
+ type TypeStarGiftAuctionUserState = Raw.StarGiftAuctionUserState;
261
+ type TypeStarGiftAuctionState = Raw.StarGiftAuctionStateNotModified | Raw.StarGiftAuctionState | Raw.StarGiftAuctionStateFinished;
262
+ type TypeGroupCallMessage = Raw.GroupCallMessage;
250
263
  type TypePaidReactionPrivacy = Raw.PaidReactionPrivacyDefault | Raw.PaidReactionPrivacyAnonymous | Raw.PaidReactionPrivacyPeer;
251
264
  type TypeStarsRevenueStatus = Raw.StarsRevenueStatus;
252
265
  type TypeBotBusinessConnection = Raw.BotBusinessConnection;
@@ -271,7 +284,7 @@ export declare namespace Raw {
271
284
  type TypeInputBotInlineMessageID = Raw.InputBotInlineMessageID | Raw.InputBotInlineMessageID64;
272
285
  type TypeInlineQueryPeerType = Raw.InlineQueryPeerTypeSameBotPM | Raw.InlineQueryPeerTypePM | Raw.InlineQueryPeerTypeChat | Raw.InlineQueryPeerTypeMegagroup | Raw.InlineQueryPeerTypeBroadcast | Raw.InlineQueryPeerTypeBotPM;
273
286
  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;
274
- 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;
287
+ 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;
275
288
  type TypeNotifyPeer = Raw.NotifyPeer | Raw.NotifyUsers | Raw.NotifyChats | Raw.NotifyBroadcasts | Raw.NotifyForumTopic;
276
289
  type TypeDcOption = Raw.DcOption;
277
290
  type TypeEncryptedChat = Raw.EncryptedChatEmpty | Raw.EncryptedChatWaiting | Raw.EncryptedChatRequested | Raw.EncryptedChat | Raw.EncryptedChatDiscarded;
@@ -307,7 +320,6 @@ export declare namespace Raw {
307
320
  type TypeStarsAmount = Raw.StarsAmount | Raw.StarsTonAmount;
308
321
  type TypeStarGift = Raw.StarGift | Raw.StarGiftUnique;
309
322
  type TypeRequestedPeer = Raw.RequestedPeerUser | Raw.RequestedPeerChat | Raw.RequestedPeerChannel;
310
- type TypeTextWithEntities = Raw.TextWithEntities;
311
323
  type TypeChatTheme = Raw.ChatTheme | Raw.ChatThemeUniqueGift;
312
324
  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;
313
325
  type TypeSecureCredentialsEncrypted = Raw.SecureCredentialsEncrypted;
@@ -325,13 +337,13 @@ export declare namespace Raw {
325
337
  type TypeWebPage = Raw.WebPageEmpty | Raw.WebPagePending | Raw.WebPage | Raw.WebPageNotModified;
326
338
  type TypeDocument = Raw.DocumentEmpty | Raw.Document;
327
339
  type TypeGeoPoint = Raw.GeoPointEmpty | Raw.GeoPoint;
328
- type TypeMessageAction = Raw.MessageActionEmpty | Raw.MessageActionChatCreate | Raw.MessageActionChatEditTitle | Raw.MessageActionChatEditPhoto | Raw.MessageActionChatDeletePhoto | Raw.MessageActionChatAddUser | Raw.MessageActionChatDeleteUser | Raw.MessageActionChatJoinedByLink | Raw.MessageActionChannelCreate | Raw.MessageActionChatMigrateTo | Raw.MessageActionChannelMigrateFrom | Raw.MessageActionPinMessage | Raw.MessageActionHistoryClear | Raw.MessageActionGameScore | Raw.MessageActionPaymentSentMe | Raw.MessageActionPaymentSent | Raw.MessageActionPhoneCall | Raw.MessageActionScreenshotTaken | Raw.MessageActionCustomAction | Raw.MessageActionBotAllowed | Raw.MessageActionSecureValuesSentMe | Raw.MessageActionSecureValuesSent | Raw.MessageActionContactSignUp | Raw.MessageActionGeoProximityReached | Raw.MessageActionGroupCall | Raw.MessageActionInviteToGroupCall | Raw.MessageActionSetMessagesTTL | Raw.MessageActionGroupCallScheduled | Raw.MessageActionSetChatTheme | Raw.MessageActionChatJoinedByRequest | Raw.MessageActionWebViewDataSentMe | Raw.MessageActionWebViewDataSent | Raw.MessageActionGiftPremium | Raw.MessageActionTopicCreate | Raw.MessageActionTopicEdit | Raw.MessageActionSuggestProfilePhoto | Raw.MessageActionRequestedPeer | Raw.MessageActionSetChatWallPaper | Raw.MessageActionGiftCode | Raw.MessageActionGiveawayLaunch | Raw.MessageActionGiveawayResults | Raw.MessageActionBoostApply | Raw.MessageActionRequestedPeerSentMe | Raw.MessageActionPaymentRefunded | Raw.MessageActionGiftStars | Raw.MessageActionPrizeStars | Raw.MessageActionStarGift | Raw.MessageActionStarGiftUnique | Raw.MessageActionPaidMessagesRefunded | Raw.MessageActionPaidMessagesPrice | Raw.MessageActionConferenceCall | Raw.MessageActionTodoCompletions | Raw.MessageActionTodoAppendTasks | Raw.MessageActionSuggestedPostApproval | Raw.MessageActionSuggestedPostSuccess | Raw.MessageActionSuggestedPostRefund | Raw.MessageActionGiftTon | Raw.MessageActionSuggestBirthday;
340
+ 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 | Raw.MessageActionStarGiftPurchaseOffer | Raw.MessageActionStarGiftPurchaseOfferDeclined;
329
341
  type TypeSuggestedPost = Raw.SuggestedPost;
330
342
  type TypeFactCheck = Raw.FactCheck;
331
343
  type TypeMessageReactions = Raw.MessageReactions;
332
344
  type TypeMessageReplies = Raw.MessageReplies;
333
345
  type TypeReplyMarkup = Raw.ReplyKeyboardHide | Raw.ReplyKeyboardForceReply | Raw.ReplyKeyboardMarkup | Raw.ReplyInlineMarkup;
334
- 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;
346
+ 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;
335
347
  type TypeMessageReplyHeader = Raw.MessageReplyHeader | Raw.MessageReplyStoryHeader;
336
348
  type TypeMessageFwdHeader = Raw.MessageFwdHeader;
337
349
  type TypeChatParticipant = Raw.ChatParticipant | Raw.ChatParticipantCreator | Raw.ChatParticipantAdmin;
@@ -353,6 +365,7 @@ export declare namespace Raw {
353
365
  type TypeInputChannel = Raw.InputChannelEmpty | Raw.InputChannel | Raw.InputChannelFromMessage;
354
366
  type TypeChatPhoto = Raw.ChatPhotoEmpty | Raw.ChatPhoto;
355
367
  type TypePeerColor = Raw.PeerColor | Raw.PeerColorCollectible | Raw.InputPeerColorCollectible;
368
+ type TypeRecentStory = Raw.RecentStory;
356
369
  type TypeUsername = Raw.Username;
357
370
  type TypeEmojiStatus = Raw.EmojiStatusEmpty | Raw.EmojiStatus | Raw.EmojiStatusCollectible | Raw.InputEmojiStatusCollectible;
358
371
  type TypeRestrictionReason = Raw.RestrictionReason;
@@ -374,6 +387,7 @@ export declare namespace Raw {
374
387
  type TypeInputPhoto = Raw.InputPhotoEmpty | Raw.InputPhoto;
375
388
  type TypeInputFile = Raw.InputFile | Raw.InputFileBig | Raw.InputFileStoryDocument;
376
389
  type TypeInputDocument = Raw.InputDocumentEmpty | Raw.InputDocument;
390
+ type TypeTextWithEntities = Raw.TextWithEntities;
377
391
  type TypeInputPeer = Raw.InputPeerEmpty | Raw.InputPeerSelf | Raw.InputPeerChat | Raw.InputPeerUser | Raw.InputPeerChannel | Raw.InputPeerUserFromMessage | Raw.InputPeerChannelFromMessage;
378
392
  type TypeDestroySessionRes = Raw.DestroySessionOk | Raw.DestroySessionNone;
379
393
  type TypePong = Raw.Pong;
@@ -1051,11 +1065,13 @@ export declare namespace Raw {
1051
1065
  phone: string;
1052
1066
  firstName: string;
1053
1067
  lastName: string;
1068
+ note?: Raw.TypeTextWithEntities;
1054
1069
  constructor(params: {
1055
1070
  clientId: long;
1056
1071
  phone: string;
1057
1072
  firstName: string;
1058
1073
  lastName: string;
1074
+ note?: Raw.TypeTextWithEntities;
1059
1075
  });
1060
1076
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.InputPhoneContact>;
1061
1077
  write(): Buffer;
@@ -1610,7 +1626,7 @@ export declare namespace Raw {
1610
1626
  langCode?: string;
1611
1627
  emojiStatus?: Raw.TypeEmojiStatus;
1612
1628
  usernames?: Vector<Raw.TypeUsername>;
1613
- storiesMaxId?: int;
1629
+ storiesMaxId?: Raw.TypeRecentStory;
1614
1630
  color?: Raw.TypePeerColor;
1615
1631
  profileColor?: Raw.TypePeerColor;
1616
1632
  botActiveUsers?: int;
@@ -1657,7 +1673,7 @@ export declare namespace Raw {
1657
1673
  langCode?: string;
1658
1674
  emojiStatus?: Raw.TypeEmojiStatus;
1659
1675
  usernames?: Vector<Raw.TypeUsername>;
1660
- storiesMaxId?: int;
1676
+ storiesMaxId?: Raw.TypeRecentStory;
1661
1677
  color?: Raw.TypePeerColor;
1662
1678
  profileColor?: Raw.TypePeerColor;
1663
1679
  botActiveUsers?: int;
@@ -1828,7 +1844,7 @@ export declare namespace Raw {
1828
1844
  defaultBannedRights?: Raw.TypeChatBannedRights;
1829
1845
  participantsCount?: int;
1830
1846
  usernames?: Vector<Raw.TypeUsername>;
1831
- storiesMaxId?: int;
1847
+ storiesMaxId?: Raw.TypeRecentStory;
1832
1848
  color?: Raw.TypePeerColor;
1833
1849
  profileColor?: Raw.TypePeerColor;
1834
1850
  emojiStatus?: Raw.TypeEmojiStatus;
@@ -1878,7 +1894,7 @@ export declare namespace Raw {
1878
1894
  defaultBannedRights?: Raw.TypeChatBannedRights;
1879
1895
  participantsCount?: int;
1880
1896
  usernames?: Vector<Raw.TypeUsername>;
1881
- storiesMaxId?: int;
1897
+ storiesMaxId?: Raw.TypeRecentStory;
1882
1898
  color?: Raw.TypePeerColor;
1883
1899
  profileColor?: Raw.TypePeerColor;
1884
1900
  emojiStatus?: Raw.TypeEmojiStatus;
@@ -2221,6 +2237,7 @@ export declare namespace Raw {
2221
2237
  reportDeliveryUntilDate?: int;
2222
2238
  paidMessageStars?: long;
2223
2239
  suggestedPost?: Raw.TypeSuggestedPost;
2240
+ scheduleRepeatPeriod?: int;
2224
2241
  constructor(params: {
2225
2242
  out?: boolean;
2226
2243
  mentioned?: boolean;
@@ -2266,6 +2283,7 @@ export declare namespace Raw {
2266
2283
  reportDeliveryUntilDate?: int;
2267
2284
  paidMessageStars?: long;
2268
2285
  suggestedPost?: Raw.TypeSuggestedPost;
2286
+ scheduleRepeatPeriod?: int;
2269
2287
  });
2270
2288
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.Message>;
2271
2289
  write(): Buffer;
@@ -2570,6 +2588,16 @@ export declare namespace Raw {
2570
2588
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.MessageMediaToDo>;
2571
2589
  write(): Buffer;
2572
2590
  }
2591
+ class MessageMediaVideoStream extends TLObject {
2592
+ rtmpStream?: boolean;
2593
+ call: Raw.TypeInputGroupCall;
2594
+ constructor(params: {
2595
+ rtmpStream?: boolean;
2596
+ call: Raw.TypeInputGroupCall;
2597
+ });
2598
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.MessageMediaVideoStream>;
2599
+ write(): Buffer;
2600
+ }
2573
2601
  class MessageActionEmpty extends TLObject {
2574
2602
  constructor();
2575
2603
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.MessageActionEmpty>;
@@ -2868,14 +2896,14 @@ export declare namespace Raw {
2868
2896
  class MessageActionGiftPremium extends TLObject {
2869
2897
  currency: string;
2870
2898
  amount: long;
2871
- months: int;
2899
+ days: int;
2872
2900
  cryptoCurrency?: string;
2873
2901
  cryptoAmount?: long;
2874
2902
  message?: Raw.TypeTextWithEntities;
2875
2903
  constructor(params: {
2876
2904
  currency: string;
2877
2905
  amount: long;
2878
- months: int;
2906
+ days: int;
2879
2907
  cryptoCurrency?: string;
2880
2908
  cryptoAmount?: long;
2881
2909
  message?: Raw.TypeTextWithEntities;
@@ -2945,7 +2973,7 @@ export declare namespace Raw {
2945
2973
  viaGiveaway?: boolean;
2946
2974
  unclaimed?: boolean;
2947
2975
  boostPeer?: Raw.TypePeer;
2948
- months: int;
2976
+ days: int;
2949
2977
  slug: string;
2950
2978
  currency?: string;
2951
2979
  amount?: long;
@@ -2956,7 +2984,7 @@ export declare namespace Raw {
2956
2984
  viaGiveaway?: boolean;
2957
2985
  unclaimed?: boolean;
2958
2986
  boostPeer?: Raw.TypePeer;
2959
- months: int;
2987
+ days: int;
2960
2988
  slug: string;
2961
2989
  currency?: string;
2962
2990
  amount?: long;
@@ -3064,6 +3092,7 @@ export declare namespace Raw {
3064
3092
  canUpgrade?: boolean;
3065
3093
  prepaidUpgrade?: boolean;
3066
3094
  upgradeSeparate?: boolean;
3095
+ auctionAcquired?: boolean;
3067
3096
  gift: Raw.TypeStarGift;
3068
3097
  message?: Raw.TypeTextWithEntities;
3069
3098
  convertStars?: long;
@@ -3074,6 +3103,8 @@ export declare namespace Raw {
3074
3103
  savedId?: long;
3075
3104
  prepaidUpgradeHash?: string;
3076
3105
  giftMsgId?: int;
3106
+ toId?: Raw.TypePeer;
3107
+ giftNum?: int;
3077
3108
  constructor(params: {
3078
3109
  nameHidden?: boolean;
3079
3110
  saved?: boolean;
@@ -3083,6 +3114,7 @@ export declare namespace Raw {
3083
3114
  canUpgrade?: boolean;
3084
3115
  prepaidUpgrade?: boolean;
3085
3116
  upgradeSeparate?: boolean;
3117
+ auctionAcquired?: boolean;
3086
3118
  gift: Raw.TypeStarGift;
3087
3119
  message?: Raw.TypeTextWithEntities;
3088
3120
  convertStars?: long;
@@ -3093,6 +3125,8 @@ export declare namespace Raw {
3093
3125
  savedId?: long;
3094
3126
  prepaidUpgradeHash?: string;
3095
3127
  giftMsgId?: int;
3128
+ toId?: Raw.TypePeer;
3129
+ giftNum?: int;
3096
3130
  });
3097
3131
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.MessageActionStarGift>;
3098
3132
  write(): Buffer;
@@ -3104,6 +3138,7 @@ export declare namespace Raw {
3104
3138
  refunded?: boolean;
3105
3139
  prepaidUpgrade?: boolean;
3106
3140
  assigned?: boolean;
3141
+ fromOffer?: boolean;
3107
3142
  gift: Raw.TypeStarGift;
3108
3143
  canExportAt?: int;
3109
3144
  transferStars?: long;
@@ -3121,6 +3156,7 @@ export declare namespace Raw {
3121
3156
  refunded?: boolean;
3122
3157
  prepaidUpgrade?: boolean;
3123
3158
  assigned?: boolean;
3159
+ fromOffer?: boolean;
3124
3160
  gift: Raw.TypeStarGift;
3125
3161
  canExportAt?: int;
3126
3162
  transferStars?: long;
@@ -3247,6 +3283,34 @@ export declare namespace Raw {
3247
3283
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.MessageActionSuggestBirthday>;
3248
3284
  write(): Buffer;
3249
3285
  }
3286
+ class MessageActionStarGiftPurchaseOffer extends TLObject {
3287
+ accepted?: boolean;
3288
+ declined?: boolean;
3289
+ gift: Raw.TypeStarGift;
3290
+ price: Raw.TypeStarsAmount;
3291
+ expiresAt: int;
3292
+ constructor(params: {
3293
+ accepted?: boolean;
3294
+ declined?: boolean;
3295
+ gift: Raw.TypeStarGift;
3296
+ price: Raw.TypeStarsAmount;
3297
+ expiresAt: int;
3298
+ });
3299
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.MessageActionStarGiftPurchaseOffer>;
3300
+ write(): Buffer;
3301
+ }
3302
+ class MessageActionStarGiftPurchaseOfferDeclined extends TLObject {
3303
+ expired?: boolean;
3304
+ gift: Raw.TypeStarGift;
3305
+ price: Raw.TypeStarsAmount;
3306
+ constructor(params: {
3307
+ expired?: boolean;
3308
+ gift: Raw.TypeStarGift;
3309
+ price: Raw.TypeStarsAmount;
3310
+ });
3311
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.MessageActionStarGiftPurchaseOfferDeclined>;
3312
+ write(): Buffer;
3313
+ }
3250
3314
  class Dialog extends TLObject {
3251
3315
  pinned?: boolean;
3252
3316
  unreadMark?: boolean;
@@ -4849,10 +4913,12 @@ export declare namespace Raw {
4849
4913
  write(): Buffer;
4850
4914
  }
4851
4915
  class UpdateGroupCall extends TLObject {
4852
- chatId?: long;
4916
+ liveStory?: boolean;
4917
+ peer?: Raw.TypePeer;
4853
4918
  call: Raw.TypeGroupCall;
4854
4919
  constructor(params: {
4855
- chatId?: long;
4920
+ liveStory?: boolean;
4921
+ peer?: Raw.TypePeer;
4856
4922
  call: Raw.TypeGroupCall;
4857
4923
  });
4858
4924
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.UpdateGroupCall>;
@@ -5477,14 +5543,10 @@ export declare namespace Raw {
5477
5543
  }
5478
5544
  class UpdateGroupCallMessage extends TLObject {
5479
5545
  call: Raw.TypeInputGroupCall;
5480
- fromId: Raw.TypePeer;
5481
- randomId: long;
5482
- message: Raw.TypeTextWithEntities;
5546
+ message: Raw.TypeGroupCallMessage;
5483
5547
  constructor(params: {
5484
5548
  call: Raw.TypeInputGroupCall;
5485
- fromId: Raw.TypePeer;
5486
- randomId: long;
5487
- message: Raw.TypeTextWithEntities;
5549
+ message: Raw.TypeGroupCallMessage;
5488
5550
  });
5489
5551
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.UpdateGroupCallMessage>;
5490
5552
  write(): Buffer;
@@ -5523,6 +5585,36 @@ export declare namespace Raw {
5523
5585
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.UpdatePinnedForumTopics>;
5524
5586
  write(): Buffer;
5525
5587
  }
5588
+ class UpdateDeleteGroupCallMessages extends TLObject {
5589
+ call: Raw.TypeInputGroupCall;
5590
+ messages: Vector<int>;
5591
+ constructor(params: {
5592
+ call: Raw.TypeInputGroupCall;
5593
+ messages: Vector<int>;
5594
+ });
5595
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.UpdateDeleteGroupCallMessages>;
5596
+ write(): Buffer;
5597
+ }
5598
+ class UpdateStarGiftAuctionState extends TLObject {
5599
+ giftId: long;
5600
+ state: Raw.TypeStarGiftAuctionState;
5601
+ constructor(params: {
5602
+ giftId: long;
5603
+ state: Raw.TypeStarGiftAuctionState;
5604
+ });
5605
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.UpdateStarGiftAuctionState>;
5606
+ write(): Buffer;
5607
+ }
5608
+ class UpdateStarGiftAuctionUserState extends TLObject {
5609
+ giftId: long;
5610
+ userState: Raw.TypeStarGiftAuctionUserState;
5611
+ constructor(params: {
5612
+ giftId: long;
5613
+ userState: Raw.TypeStarGiftAuctionUserState;
5614
+ });
5615
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.UpdateStarGiftAuctionUserState>;
5616
+ write(): Buffer;
5617
+ }
5526
5618
  class UpdatesTooLong extends TLObject {
5527
5619
  constructor();
5528
5620
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.UpdatesTooLong>;
@@ -6259,6 +6351,11 @@ export declare namespace Raw {
6259
6351
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.InputPrivacyKeyNoPaidMessages>;
6260
6352
  write(): Buffer;
6261
6353
  }
6354
+ class InputPrivacyKeySavedMusic extends TLObject {
6355
+ constructor();
6356
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.InputPrivacyKeySavedMusic>;
6357
+ write(): Buffer;
6358
+ }
6262
6359
  class PrivacyKeyStatusTimestamp extends TLObject {
6263
6360
  constructor();
6264
6361
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.PrivacyKeyStatusTimestamp>;
@@ -6324,6 +6421,11 @@ export declare namespace Raw {
6324
6421
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.PrivacyKeyNoPaidMessages>;
6325
6422
  write(): Buffer;
6326
6423
  }
6424
+ class PrivacyKeySavedMusic extends TLObject {
6425
+ constructor();
6426
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.PrivacyKeySavedMusic>;
6427
+ write(): Buffer;
6428
+ }
6327
6429
  class InputPrivacyValueAllowContacts extends TLObject {
6328
6430
  constructor();
6329
6431
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.InputPrivacyValueAllowContacts>;
@@ -11205,6 +11307,16 @@ export declare namespace Raw {
11205
11307
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.WebPageAttributeStarGiftCollection>;
11206
11308
  write(): Buffer;
11207
11309
  }
11310
+ class WebPageAttributeStarGiftAuction extends TLObject {
11311
+ gift: Raw.TypeStarGift;
11312
+ endDate: int;
11313
+ constructor(params: {
11314
+ gift: Raw.TypeStarGift;
11315
+ endDate: int;
11316
+ });
11317
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.WebPageAttributeStarGiftAuction>;
11318
+ write(): Buffer;
11319
+ }
11208
11320
  class BankCardOpenUrl extends TLObject {
11209
11321
  url: string;
11210
11322
  name: string;
@@ -11561,6 +11673,8 @@ export declare namespace Raw {
11561
11673
  unmutedVideoLimit: int;
11562
11674
  version: int;
11563
11675
  inviteLink?: string;
11676
+ sendPaidMessagesStars?: long;
11677
+ defaultSendAs?: Raw.TypePeer;
11564
11678
  constructor(params: {
11565
11679
  joinMuted?: boolean;
11566
11680
  canChangeJoinMuted?: boolean;
@@ -11586,6 +11700,8 @@ export declare namespace Raw {
11586
11700
  unmutedVideoLimit: int;
11587
11701
  version: int;
11588
11702
  inviteLink?: string;
11703
+ sendPaidMessagesStars?: long;
11704
+ defaultSendAs?: Raw.TypePeer;
11589
11705
  });
11590
11706
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.GroupCall>;
11591
11707
  write(): Buffer;
@@ -11636,6 +11752,7 @@ export declare namespace Raw {
11636
11752
  raiseHandRating?: long;
11637
11753
  video?: Raw.TypeGroupCallParticipantVideo;
11638
11754
  presentation?: Raw.TypeGroupCallParticipantVideo;
11755
+ paidStarsTotal?: long;
11639
11756
  constructor(params: {
11640
11757
  muted?: boolean;
11641
11758
  left?: boolean;
@@ -11656,6 +11773,7 @@ export declare namespace Raw {
11656
11773
  raiseHandRating?: long;
11657
11774
  video?: Raw.TypeGroupCallParticipantVideo;
11658
11775
  presentation?: Raw.TypeGroupCallParticipantVideo;
11776
+ paidStarsTotal?: long;
11659
11777
  });
11660
11778
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.GroupCallParticipant>;
11661
11779
  write(): Buffer;
@@ -12268,6 +12386,24 @@ export declare namespace Raw {
12268
12386
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.InputInvoiceStarGiftDropOriginalDetails>;
12269
12387
  write(): Buffer;
12270
12388
  }
12389
+ class InputInvoiceStarGiftAuctionBid extends TLObject {
12390
+ hideName?: boolean;
12391
+ updateBid?: boolean;
12392
+ peer?: Raw.TypeInputPeer;
12393
+ giftId: long;
12394
+ bidAmount: long;
12395
+ message?: Raw.TypeTextWithEntities;
12396
+ constructor(params: {
12397
+ hideName?: boolean;
12398
+ updateBid?: boolean;
12399
+ peer?: Raw.TypeInputPeer;
12400
+ giftId: long;
12401
+ bidAmount: long;
12402
+ message?: Raw.TypeTextWithEntities;
12403
+ });
12404
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.InputInvoiceStarGiftAuctionBid>;
12405
+ write(): Buffer;
12406
+ }
12271
12407
  class InputStorePaymentPremiumSubscription extends TLObject {
12272
12408
  restore?: boolean;
12273
12409
  upgrade?: boolean;
@@ -12980,11 +13116,13 @@ export declare namespace Raw {
12980
13116
  }
12981
13117
  class StoryItemSkipped extends TLObject {
12982
13118
  closeFriends?: boolean;
13119
+ live?: boolean;
12983
13120
  id: int;
12984
13121
  date: int;
12985
13122
  expireDate: int;
12986
13123
  constructor(params: {
12987
13124
  closeFriends?: boolean;
13125
+ live?: boolean;
12988
13126
  id: int;
12989
13127
  date: int;
12990
13128
  expireDate: int;
@@ -14109,6 +14247,9 @@ export declare namespace Raw {
14109
14247
  postsSearch?: boolean;
14110
14248
  stargiftPrepaidUpgrade?: boolean;
14111
14249
  stargiftDropOriginalDetails?: boolean;
14250
+ phonegroupMessage?: boolean;
14251
+ stargiftAuctionBid?: boolean;
14252
+ offer?: boolean;
14112
14253
  id: string;
14113
14254
  amount: Raw.TypeStarsAmount;
14114
14255
  date: int;
@@ -14144,6 +14285,9 @@ export declare namespace Raw {
14144
14285
  postsSearch?: boolean;
14145
14286
  stargiftPrepaidUpgrade?: boolean;
14146
14287
  stargiftDropOriginalDetails?: boolean;
14288
+ phonegroupMessage?: boolean;
14289
+ stargiftAuctionBid?: boolean;
14290
+ offer?: boolean;
14147
14291
  id: string;
14148
14292
  amount: Raw.TypeStarsAmount;
14149
14293
  date: int;
@@ -14344,6 +14488,7 @@ export declare namespace Raw {
14344
14488
  requirePremium?: boolean;
14345
14489
  limitedPerUser?: boolean;
14346
14490
  peerColorAvailable?: boolean;
14491
+ auction?: boolean;
14347
14492
  id: long;
14348
14493
  sticker: Raw.TypeDocument;
14349
14494
  stars: long;
@@ -14360,6 +14505,11 @@ export declare namespace Raw {
14360
14505
  perUserTotal?: int;
14361
14506
  perUserRemains?: int;
14362
14507
  lockedUntilDate?: int;
14508
+ auctionSlug?: string;
14509
+ giftsPerRound?: int;
14510
+ auctionStartDate?: int;
14511
+ upgradeVariants?: int;
14512
+ background?: Raw.TypeStarGiftBackground;
14363
14513
  constructor(params: {
14364
14514
  limited?: boolean;
14365
14515
  soldOut?: boolean;
@@ -14367,6 +14517,7 @@ export declare namespace Raw {
14367
14517
  requirePremium?: boolean;
14368
14518
  limitedPerUser?: boolean;
14369
14519
  peerColorAvailable?: boolean;
14520
+ auction?: boolean;
14370
14521
  id: long;
14371
14522
  sticker: Raw.TypeDocument;
14372
14523
  stars: long;
@@ -14383,6 +14534,11 @@ export declare namespace Raw {
14383
14534
  perUserTotal?: int;
14384
14535
  perUserRemains?: int;
14385
14536
  lockedUntilDate?: int;
14537
+ auctionSlug?: string;
14538
+ giftsPerRound?: int;
14539
+ auctionStartDate?: int;
14540
+ upgradeVariants?: int;
14541
+ background?: Raw.TypeStarGiftBackground;
14386
14542
  });
14387
14543
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.StarGift>;
14388
14544
  write(): Buffer;
@@ -14407,9 +14563,11 @@ export declare namespace Raw {
14407
14563
  releasedBy?: Raw.TypePeer;
14408
14564
  valueAmount?: long;
14409
14565
  valueCurrency?: string;
14566
+ valueUsdAmount?: long;
14410
14567
  themePeer?: Raw.TypePeer;
14411
14568
  peerColor?: Raw.TypePeerColor;
14412
14569
  hostId?: Raw.TypePeer;
14570
+ offerMinStars?: int;
14413
14571
  constructor(params: {
14414
14572
  requirePremium?: boolean;
14415
14573
  resaleTonOnly?: boolean;
@@ -14430,9 +14588,11 @@ export declare namespace Raw {
14430
14588
  releasedBy?: Raw.TypePeer;
14431
14589
  valueAmount?: long;
14432
14590
  valueCurrency?: string;
14591
+ valueUsdAmount?: long;
14433
14592
  themePeer?: Raw.TypePeer;
14434
14593
  peerColor?: Raw.TypePeerColor;
14435
14594
  hostId?: Raw.TypePeer;
14595
+ offerMinStars?: int;
14436
14596
  });
14437
14597
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.StarGiftUnique>;
14438
14598
  write(): Buffer;
@@ -14650,6 +14810,7 @@ export declare namespace Raw {
14650
14810
  collectionId?: Vector<int>;
14651
14811
  prepaidUpgradeHash?: string;
14652
14812
  dropOriginalDetailsStars?: long;
14813
+ giftNum?: int;
14653
14814
  constructor(params: {
14654
14815
  nameHidden?: boolean;
14655
14816
  unsaved?: boolean;
@@ -14672,6 +14833,7 @@ export declare namespace Raw {
14672
14833
  collectionId?: Vector<int>;
14673
14834
  prepaidUpgradeHash?: string;
14674
14835
  dropOriginalDetailsStars?: long;
14836
+ giftNum?: int;
14675
14837
  });
14676
14838
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.SavedStarGift>;
14677
14839
  write(): Buffer;
@@ -14777,11 +14939,13 @@ export declare namespace Raw {
14777
14939
  disallowLimitedStargifts?: boolean;
14778
14940
  disallowUniqueStargifts?: boolean;
14779
14941
  disallowPremiumGifts?: boolean;
14942
+ disallowStargiftsFromChannels?: boolean;
14780
14943
  constructor(params: {
14781
14944
  disallowUnlimitedStargifts?: boolean;
14782
14945
  disallowLimitedStargifts?: boolean;
14783
14946
  disallowUniqueStargifts?: boolean;
14784
14947
  disallowPremiumGifts?: boolean;
14948
+ disallowStargiftsFromChannels?: boolean;
14785
14949
  });
14786
14950
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.DisallowedGiftsSettings>;
14787
14951
  write(): Buffer;
@@ -14874,11 +15038,11 @@ export declare namespace Raw {
14874
15038
  }
14875
15039
  class TodoCompletion extends TLObject {
14876
15040
  id: int;
14877
- completedBy: long;
15041
+ completedBy: Raw.TypePeer;
14878
15042
  date: int;
14879
15043
  constructor(params: {
14880
15044
  id: int;
14881
- completedBy: long;
15045
+ completedBy: Raw.TypePeer;
14882
15046
  date: int;
14883
15047
  });
14884
15048
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.TodoCompletion>;
@@ -15029,6 +15193,269 @@ export declare namespace Raw {
15029
15193
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.StarGiftUpgradePrice>;
15030
15194
  write(): Buffer;
15031
15195
  }
15196
+ class GroupCallMessage extends TLObject {
15197
+ fromAdmin?: boolean;
15198
+ id: int;
15199
+ fromId: Raw.TypePeer;
15200
+ date: int;
15201
+ message: Raw.TypeTextWithEntities;
15202
+ paidMessageStars?: long;
15203
+ constructor(params: {
15204
+ fromAdmin?: boolean;
15205
+ id: int;
15206
+ fromId: Raw.TypePeer;
15207
+ date: int;
15208
+ message: Raw.TypeTextWithEntities;
15209
+ paidMessageStars?: long;
15210
+ });
15211
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.GroupCallMessage>;
15212
+ write(): Buffer;
15213
+ }
15214
+ class GroupCallDonor extends TLObject {
15215
+ top?: boolean;
15216
+ my?: boolean;
15217
+ peerId?: Raw.TypePeer;
15218
+ stars: long;
15219
+ constructor(params: {
15220
+ top?: boolean;
15221
+ my?: boolean;
15222
+ peerId?: Raw.TypePeer;
15223
+ stars: long;
15224
+ });
15225
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.GroupCallDonor>;
15226
+ write(): Buffer;
15227
+ }
15228
+ class RecentStory extends TLObject {
15229
+ live?: boolean;
15230
+ maxId?: int;
15231
+ constructor(params: {
15232
+ live?: boolean;
15233
+ maxId?: int;
15234
+ });
15235
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.RecentStory>;
15236
+ write(): Buffer;
15237
+ }
15238
+ class AuctionBidLevel extends TLObject {
15239
+ pos: int;
15240
+ amount: long;
15241
+ date: int;
15242
+ constructor(params: {
15243
+ pos: int;
15244
+ amount: long;
15245
+ date: int;
15246
+ });
15247
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.AuctionBidLevel>;
15248
+ write(): Buffer;
15249
+ }
15250
+ class StarGiftAuctionStateNotModified extends TLObject {
15251
+ constructor();
15252
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.StarGiftAuctionStateNotModified>;
15253
+ write(): Buffer;
15254
+ }
15255
+ class StarGiftAuctionState extends TLObject {
15256
+ version: int;
15257
+ startDate: int;
15258
+ endDate: int;
15259
+ minBidAmount: long;
15260
+ bidLevels: Vector<Raw.TypeAuctionBidLevel>;
15261
+ topBidders: Vector<long>;
15262
+ nextRoundAt: int;
15263
+ lastGiftNum: int;
15264
+ giftsLeft: int;
15265
+ currentRound: int;
15266
+ totalRounds: int;
15267
+ rounds: Vector<Raw.TypeStarGiftAuctionRound>;
15268
+ constructor(params: {
15269
+ version: int;
15270
+ startDate: int;
15271
+ endDate: int;
15272
+ minBidAmount: long;
15273
+ bidLevels: Vector<Raw.TypeAuctionBidLevel>;
15274
+ topBidders: Vector<long>;
15275
+ nextRoundAt: int;
15276
+ lastGiftNum: int;
15277
+ giftsLeft: int;
15278
+ currentRound: int;
15279
+ totalRounds: int;
15280
+ rounds: Vector<Raw.TypeStarGiftAuctionRound>;
15281
+ });
15282
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.StarGiftAuctionState>;
15283
+ write(): Buffer;
15284
+ }
15285
+ class StarGiftAuctionStateFinished extends TLObject {
15286
+ startDate: int;
15287
+ endDate: int;
15288
+ averagePrice: long;
15289
+ listedCount?: int;
15290
+ fragmentListedCount?: int;
15291
+ fragmentListedUrl?: string;
15292
+ constructor(params: {
15293
+ startDate: int;
15294
+ endDate: int;
15295
+ averagePrice: long;
15296
+ listedCount?: int;
15297
+ fragmentListedCount?: int;
15298
+ fragmentListedUrl?: string;
15299
+ });
15300
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.StarGiftAuctionStateFinished>;
15301
+ write(): Buffer;
15302
+ }
15303
+ class StarGiftAuctionUserState extends TLObject {
15304
+ returned?: boolean;
15305
+ bidAmount?: long;
15306
+ bidDate?: int;
15307
+ minBidAmount?: long;
15308
+ bidPeer?: Raw.TypePeer;
15309
+ acquiredCount: int;
15310
+ constructor(params: {
15311
+ returned?: boolean;
15312
+ bidAmount?: long;
15313
+ bidDate?: int;
15314
+ minBidAmount?: long;
15315
+ bidPeer?: Raw.TypePeer;
15316
+ acquiredCount: int;
15317
+ });
15318
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.StarGiftAuctionUserState>;
15319
+ write(): Buffer;
15320
+ }
15321
+ class StarGiftAuctionAcquiredGift extends TLObject {
15322
+ nameHidden?: boolean;
15323
+ peer: Raw.TypePeer;
15324
+ date: int;
15325
+ bidAmount: long;
15326
+ round: int;
15327
+ pos: int;
15328
+ message?: Raw.TypeTextWithEntities;
15329
+ giftNum?: int;
15330
+ constructor(params: {
15331
+ nameHidden?: boolean;
15332
+ peer: Raw.TypePeer;
15333
+ date: int;
15334
+ bidAmount: long;
15335
+ round: int;
15336
+ pos: int;
15337
+ message?: Raw.TypeTextWithEntities;
15338
+ giftNum?: int;
15339
+ });
15340
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.StarGiftAuctionAcquiredGift>;
15341
+ write(): Buffer;
15342
+ }
15343
+ class StarGiftActiveAuctionState extends TLObject {
15344
+ gift: Raw.TypeStarGift;
15345
+ state: Raw.TypeStarGiftAuctionState;
15346
+ userState: Raw.TypeStarGiftAuctionUserState;
15347
+ constructor(params: {
15348
+ gift: Raw.TypeStarGift;
15349
+ state: Raw.TypeStarGiftAuctionState;
15350
+ userState: Raw.TypeStarGiftAuctionUserState;
15351
+ });
15352
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.StarGiftActiveAuctionState>;
15353
+ write(): Buffer;
15354
+ }
15355
+ class InputStarGiftAuction extends TLObject {
15356
+ giftId: long;
15357
+ constructor(params: {
15358
+ giftId: long;
15359
+ });
15360
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.InputStarGiftAuction>;
15361
+ write(): Buffer;
15362
+ }
15363
+ class InputStarGiftAuctionSlug extends TLObject {
15364
+ slug: string;
15365
+ constructor(params: {
15366
+ slug: string;
15367
+ });
15368
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.InputStarGiftAuctionSlug>;
15369
+ write(): Buffer;
15370
+ }
15371
+ class Passkey extends TLObject {
15372
+ id: string;
15373
+ name: string;
15374
+ date: int;
15375
+ softwareEmojiId?: long;
15376
+ lastUsageDate?: int;
15377
+ constructor(params: {
15378
+ id: string;
15379
+ name: string;
15380
+ date: int;
15381
+ softwareEmojiId?: long;
15382
+ lastUsageDate?: int;
15383
+ });
15384
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.Passkey>;
15385
+ write(): Buffer;
15386
+ }
15387
+ class InputPasskeyResponseRegister extends TLObject {
15388
+ clientData: Raw.TypeDataJSON;
15389
+ attestationData: bytes;
15390
+ constructor(params: {
15391
+ clientData: Raw.TypeDataJSON;
15392
+ attestationData: bytes;
15393
+ });
15394
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.InputPasskeyResponseRegister>;
15395
+ write(): Buffer;
15396
+ }
15397
+ class InputPasskeyResponseLogin extends TLObject {
15398
+ clientData: Raw.TypeDataJSON;
15399
+ authenticatorData: bytes;
15400
+ signature: bytes;
15401
+ userHandle: string;
15402
+ constructor(params: {
15403
+ clientData: Raw.TypeDataJSON;
15404
+ authenticatorData: bytes;
15405
+ signature: bytes;
15406
+ userHandle: string;
15407
+ });
15408
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.InputPasskeyResponseLogin>;
15409
+ write(): Buffer;
15410
+ }
15411
+ class InputPasskeyCredentialPublicKey extends TLObject {
15412
+ id: string;
15413
+ rawId: string;
15414
+ response: Raw.TypeInputPasskeyResponse;
15415
+ constructor(params: {
15416
+ id: string;
15417
+ rawId: string;
15418
+ response: Raw.TypeInputPasskeyResponse;
15419
+ });
15420
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.InputPasskeyCredentialPublicKey>;
15421
+ write(): Buffer;
15422
+ }
15423
+ class StarGiftBackground extends TLObject {
15424
+ centerColor: int;
15425
+ edgeColor: int;
15426
+ textColor: int;
15427
+ constructor(params: {
15428
+ centerColor: int;
15429
+ edgeColor: int;
15430
+ textColor: int;
15431
+ });
15432
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.StarGiftBackground>;
15433
+ write(): Buffer;
15434
+ }
15435
+ class StarGiftAuctionRound extends TLObject {
15436
+ num: int;
15437
+ duration: int;
15438
+ constructor(params: {
15439
+ num: int;
15440
+ duration: int;
15441
+ });
15442
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.StarGiftAuctionRound>;
15443
+ write(): Buffer;
15444
+ }
15445
+ class StarGiftAuctionRoundExtendable extends TLObject {
15446
+ num: int;
15447
+ duration: int;
15448
+ extendTop: int;
15449
+ extendWindow: int;
15450
+ constructor(params: {
15451
+ num: int;
15452
+ duration: int;
15453
+ extendTop: int;
15454
+ extendWindow: int;
15455
+ });
15456
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.StarGiftAuctionRoundExtendable>;
15457
+ write(): Buffer;
15458
+ }
15032
15459
  class InvokeAfterMsg extends TLObject {
15033
15460
  __response__: X;
15034
15461
  msgId: long;
@@ -16467,6 +16894,7 @@ export declare namespace Raw {
16467
16894
  }
16468
16895
  }
16469
16896
  namespace auth {
16897
+ type TypePasskeyLoginOptions = Raw.auth.PasskeyLoginOptions;
16470
16898
  type TypeLoginToken = Raw.auth.LoginToken | Raw.auth.LoginTokenMigrateTo | Raw.auth.LoginTokenSuccess;
16471
16899
  type TypePasswordRecovery = Raw.auth.PasswordRecovery;
16472
16900
  type TypeExportedAuthorization = Raw.auth.ExportedAuthorization;
@@ -16732,6 +17160,14 @@ export declare namespace Raw {
16732
17160
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.auth.LoggedOut>;
16733
17161
  write(): Buffer;
16734
17162
  }
17163
+ class PasskeyLoginOptions extends TLObject {
17164
+ options: Raw.TypeDataJSON;
17165
+ constructor(params: {
17166
+ options: Raw.TypeDataJSON;
17167
+ });
17168
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.auth.PasskeyLoginOptions>;
17169
+ write(): Buffer;
17170
+ }
16735
17171
  class SendCode extends TLObject {
16736
17172
  __response__: Raw.auth.TypeSentCode;
16737
17173
  phoneNumber: string;
@@ -17007,6 +17443,30 @@ export declare namespace Raw {
17007
17443
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.auth.CheckPaidAuth>;
17008
17444
  write(): Buffer;
17009
17445
  }
17446
+ class InitPasskeyLogin extends TLObject {
17447
+ __response__: Raw.auth.TypePasskeyLoginOptions;
17448
+ apiId: int;
17449
+ apiHash: string;
17450
+ constructor(params: {
17451
+ apiId: int;
17452
+ apiHash: string;
17453
+ });
17454
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.auth.InitPasskeyLogin>;
17455
+ write(): Buffer;
17456
+ }
17457
+ class FinishPasskeyLogin extends TLObject {
17458
+ __response__: Raw.auth.TypeAuthorization;
17459
+ credential: Raw.TypeInputPasskeyCredential;
17460
+ fromDcId?: int;
17461
+ fromAuthKeyId?: long;
17462
+ constructor(params: {
17463
+ credential: Raw.TypeInputPasskeyCredential;
17464
+ fromDcId?: int;
17465
+ fromAuthKeyId?: long;
17466
+ });
17467
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.auth.FinishPasskeyLogin>;
17468
+ write(): Buffer;
17469
+ }
17010
17470
  }
17011
17471
  namespace contacts {
17012
17472
  type TypeSponsoredPeers = Raw.contacts.SponsoredPeersEmpty | Raw.contacts.SponsoredPeers;
@@ -18661,6 +19121,7 @@ export declare namespace Raw {
18661
19121
  replyMarkup?: Raw.TypeReplyMarkup;
18662
19122
  entities?: Vector<Raw.TypeMessageEntity>;
18663
19123
  scheduleDate?: int;
19124
+ scheduleRepeatPeriod?: int;
18664
19125
  sendAs?: Raw.TypeInputPeer;
18665
19126
  quickReplyShortcut?: Raw.TypeInputQuickReplyShortcut;
18666
19127
  effect?: long;
@@ -18682,6 +19143,7 @@ export declare namespace Raw {
18682
19143
  replyMarkup?: Raw.TypeReplyMarkup;
18683
19144
  entities?: Vector<Raw.TypeMessageEntity>;
18684
19145
  scheduleDate?: int;
19146
+ scheduleRepeatPeriod?: int;
18685
19147
  sendAs?: Raw.TypeInputPeer;
18686
19148
  quickReplyShortcut?: Raw.TypeInputQuickReplyShortcut;
18687
19149
  effect?: long;
@@ -18708,6 +19170,7 @@ export declare namespace Raw {
18708
19170
  replyMarkup?: Raw.TypeReplyMarkup;
18709
19171
  entities?: Vector<Raw.TypeMessageEntity>;
18710
19172
  scheduleDate?: int;
19173
+ scheduleRepeatPeriod?: int;
18711
19174
  sendAs?: Raw.TypeInputPeer;
18712
19175
  quickReplyShortcut?: Raw.TypeInputQuickReplyShortcut;
18713
19176
  effect?: long;
@@ -18729,6 +19192,7 @@ export declare namespace Raw {
18729
19192
  replyMarkup?: Raw.TypeReplyMarkup;
18730
19193
  entities?: Vector<Raw.TypeMessageEntity>;
18731
19194
  scheduleDate?: int;
19195
+ scheduleRepeatPeriod?: int;
18732
19196
  sendAs?: Raw.TypeInputPeer;
18733
19197
  quickReplyShortcut?: Raw.TypeInputQuickReplyShortcut;
18734
19198
  effect?: long;
@@ -18754,8 +19218,10 @@ export declare namespace Raw {
18754
19218
  topMsgId?: int;
18755
19219
  replyTo?: Raw.TypeInputReplyTo;
18756
19220
  scheduleDate?: int;
19221
+ scheduleRepeatPeriod?: int;
18757
19222
  sendAs?: Raw.TypeInputPeer;
18758
19223
  quickReplyShortcut?: Raw.TypeInputQuickReplyShortcut;
19224
+ effect?: long;
18759
19225
  videoTimestamp?: int;
18760
19226
  allowPaidStars?: long;
18761
19227
  suggestedPost?: Raw.TypeSuggestedPost;
@@ -18774,8 +19240,10 @@ export declare namespace Raw {
18774
19240
  topMsgId?: int;
18775
19241
  replyTo?: Raw.TypeInputReplyTo;
18776
19242
  scheduleDate?: int;
19243
+ scheduleRepeatPeriod?: int;
18777
19244
  sendAs?: Raw.TypeInputPeer;
18778
19245
  quickReplyShortcut?: Raw.TypeInputQuickReplyShortcut;
19246
+ effect?: long;
18779
19247
  videoTimestamp?: int;
18780
19248
  allowPaidStars?: long;
18781
19249
  suggestedPost?: Raw.TypeSuggestedPost;
@@ -19360,6 +19828,7 @@ export declare namespace Raw {
19360
19828
  replyMarkup?: Raw.TypeReplyMarkup;
19361
19829
  entities?: Vector<Raw.TypeMessageEntity>;
19362
19830
  scheduleDate?: int;
19831
+ scheduleRepeatPeriod?: int;
19363
19832
  quickReplyShortcutId?: int;
19364
19833
  constructor(params: {
19365
19834
  noWebpage?: boolean;
@@ -19371,6 +19840,7 @@ export declare namespace Raw {
19371
19840
  replyMarkup?: Raw.TypeReplyMarkup;
19372
19841
  entities?: Vector<Raw.TypeMessageEntity>;
19373
19842
  scheduleDate?: int;
19843
+ scheduleRepeatPeriod?: int;
19374
19844
  quickReplyShortcutId?: int;
19375
19845
  });
19376
19846
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.messages.EditMessage>;
@@ -22130,6 +22600,8 @@ export declare namespace Raw {
22130
22600
  }
22131
22601
  }
22132
22602
  namespace account {
22603
+ type TypePasskeys = Raw.account.Passkeys;
22604
+ type TypePasskeyRegistrationOptions = Raw.account.PasskeyRegistrationOptions;
22133
22605
  type TypeChatThemes = Raw.account.ChatThemesNotModified | Raw.account.ChatThemes;
22134
22606
  type TypeSavedMusicIds = Raw.account.SavedMusicIdsNotModified | Raw.account.SavedMusicIds;
22135
22607
  type TypePaidMessagesRevenue = Raw.account.PaidMessagesRevenue;
@@ -22522,6 +22994,22 @@ export declare namespace Raw {
22522
22994
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.account.SavedMusicIds>;
22523
22995
  write(): Buffer;
22524
22996
  }
22997
+ class Passkeys extends TLObject {
22998
+ passkeys: Vector<Raw.TypePasskey>;
22999
+ constructor(params: {
23000
+ passkeys: Vector<Raw.TypePasskey>;
23001
+ });
23002
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.account.Passkeys>;
23003
+ write(): Buffer;
23004
+ }
23005
+ class PasskeyRegistrationOptions extends TLObject {
23006
+ options: Raw.TypeDataJSON;
23007
+ constructor(params: {
23008
+ options: Raw.TypeDataJSON;
23009
+ });
23010
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.account.PasskeyRegistrationOptions>;
23011
+ write(): Buffer;
23012
+ }
22525
23013
  class RegisterDevice extends TLObject {
22526
23014
  __response__: Bool;
22527
23015
  noMuted?: boolean;
@@ -23717,6 +24205,36 @@ export declare namespace Raw {
23717
24205
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.account.GetUniqueGiftChatThemes>;
23718
24206
  write(): Buffer;
23719
24207
  }
24208
+ class InitPasskeyRegistration extends TLObject {
24209
+ __response__: Raw.account.TypePasskeyRegistrationOptions;
24210
+ constructor();
24211
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.account.InitPasskeyRegistration>;
24212
+ write(): Buffer;
24213
+ }
24214
+ class RegisterPasskey extends TLObject {
24215
+ __response__: Raw.TypePasskey;
24216
+ credential: Raw.TypeInputPasskeyCredential;
24217
+ constructor(params: {
24218
+ credential: Raw.TypeInputPasskeyCredential;
24219
+ });
24220
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.account.RegisterPasskey>;
24221
+ write(): Buffer;
24222
+ }
24223
+ class GetPasskeys extends TLObject {
24224
+ __response__: Raw.account.TypePasskeys;
24225
+ constructor();
24226
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.account.GetPasskeys>;
24227
+ write(): Buffer;
24228
+ }
24229
+ class DeletePasskey extends TLObject {
24230
+ __response__: Bool;
24231
+ id: string;
24232
+ constructor(params: {
24233
+ id: string;
24234
+ });
24235
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.account.DeletePasskey>;
24236
+ write(): Buffer;
24237
+ }
23720
24238
  }
23721
24239
  namespace channels {
23722
24240
  type TypeSendAsPeers = Raw.channels.SendAsPeers;
@@ -24215,9 +24733,11 @@ export declare namespace Raw {
24215
24733
  class GetSendAs extends TLObject {
24216
24734
  __response__: Raw.channels.TypeSendAsPeers;
24217
24735
  forPaidReactions?: boolean;
24736
+ forLiveStories?: boolean;
24218
24737
  peer: Raw.TypeInputPeer;
24219
24738
  constructor(params: {
24220
24739
  forPaidReactions?: boolean;
24740
+ forLiveStories?: boolean;
24221
24741
  peer: Raw.TypeInputPeer;
24222
24742
  });
24223
24743
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.channels.GetSendAs>;
@@ -24492,6 +25012,10 @@ export declare namespace Raw {
24492
25012
  }
24493
25013
  }
24494
25014
  namespace payments {
25015
+ type TypeStarGiftUpgradeAttributes = Raw.payments.StarGiftUpgradeAttributes;
25016
+ type TypeStarGiftActiveAuctions = Raw.payments.StarGiftActiveAuctionsNotModified | Raw.payments.StarGiftActiveAuctions;
25017
+ type TypeStarGiftAuctionAcquiredGifts = Raw.payments.StarGiftAuctionAcquiredGifts;
25018
+ type TypeStarGiftAuctionState = Raw.payments.StarGiftAuctionState;
24495
25019
  type TypeCheckCanSendGiftResult = Raw.payments.CheckCanSendGiftResultOk | Raw.payments.CheckCanSendGiftResultFail;
24496
25020
  type TypeUniqueStarGiftValueInfo = Raw.payments.UniqueStarGiftValueInfo;
24497
25021
  type TypeStarGiftCollections = Raw.payments.StarGiftCollectionsNotModified | Raw.payments.StarGiftCollections;
@@ -24704,7 +25228,7 @@ export declare namespace Raw {
24704
25228
  giveawayMsgId?: int;
24705
25229
  toId?: long;
24706
25230
  date: int;
24707
- months: int;
25231
+ days: int;
24708
25232
  usedDate?: int;
24709
25233
  chats: Vector<Raw.TypeChat>;
24710
25234
  users: Vector<Raw.TypeUser>;
@@ -24714,7 +25238,7 @@ export declare namespace Raw {
24714
25238
  giveawayMsgId?: int;
24715
25239
  toId?: long;
24716
25240
  date: int;
24717
- months: int;
25241
+ days: int;
24718
25242
  usedDate?: int;
24719
25243
  chats: Vector<Raw.TypeChat>;
24720
25244
  users: Vector<Raw.TypeUser>;
@@ -24991,6 +25515,61 @@ export declare namespace Raw {
24991
25515
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.payments.CheckCanSendGiftResultFail>;
24992
25516
  write(): Buffer;
24993
25517
  }
25518
+ class StarGiftAuctionState extends TLObject {
25519
+ gift: Raw.TypeStarGift;
25520
+ state: Raw.TypeStarGiftAuctionState;
25521
+ userState: Raw.TypeStarGiftAuctionUserState;
25522
+ timeout: int;
25523
+ users: Vector<Raw.TypeUser>;
25524
+ chats: Vector<Raw.TypeChat>;
25525
+ constructor(params: {
25526
+ gift: Raw.TypeStarGift;
25527
+ state: Raw.TypeStarGiftAuctionState;
25528
+ userState: Raw.TypeStarGiftAuctionUserState;
25529
+ timeout: int;
25530
+ users: Vector<Raw.TypeUser>;
25531
+ chats: Vector<Raw.TypeChat>;
25532
+ });
25533
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.payments.StarGiftAuctionState>;
25534
+ write(): Buffer;
25535
+ }
25536
+ class StarGiftAuctionAcquiredGifts extends TLObject {
25537
+ gifts: Vector<Raw.TypeStarGiftAuctionAcquiredGift>;
25538
+ users: Vector<Raw.TypeUser>;
25539
+ chats: Vector<Raw.TypeChat>;
25540
+ constructor(params: {
25541
+ gifts: Vector<Raw.TypeStarGiftAuctionAcquiredGift>;
25542
+ users: Vector<Raw.TypeUser>;
25543
+ chats: Vector<Raw.TypeChat>;
25544
+ });
25545
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.payments.StarGiftAuctionAcquiredGifts>;
25546
+ write(): Buffer;
25547
+ }
25548
+ class StarGiftActiveAuctionsNotModified extends TLObject {
25549
+ constructor();
25550
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.payments.StarGiftActiveAuctionsNotModified>;
25551
+ write(): Buffer;
25552
+ }
25553
+ class StarGiftActiveAuctions extends TLObject {
25554
+ auctions: Vector<Raw.TypeStarGiftActiveAuctionState>;
25555
+ users: Vector<Raw.TypeUser>;
25556
+ chats: Vector<Raw.TypeChat>;
25557
+ constructor(params: {
25558
+ auctions: Vector<Raw.TypeStarGiftActiveAuctionState>;
25559
+ users: Vector<Raw.TypeUser>;
25560
+ chats: Vector<Raw.TypeChat>;
25561
+ });
25562
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.payments.StarGiftActiveAuctions>;
25563
+ write(): Buffer;
25564
+ }
25565
+ class StarGiftUpgradeAttributes extends TLObject {
25566
+ attributes: Vector<Raw.TypeStarGiftAttribute>;
25567
+ constructor(params: {
25568
+ attributes: Vector<Raw.TypeStarGiftAttribute>;
25569
+ });
25570
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.payments.StarGiftUpgradeAttributes>;
25571
+ write(): Buffer;
25572
+ }
24994
25573
  class GetPaymentForm extends TLObject {
24995
25574
  __response__: Raw.payments.TypePaymentForm;
24996
25575
  invoice: Raw.TypeInputInvoice;
@@ -25665,8 +26244,77 @@ export declare namespace Raw {
25665
26244
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.payments.CheckCanSendGift>;
25666
26245
  write(): Buffer;
25667
26246
  }
26247
+ class GetStarGiftAuctionState extends TLObject {
26248
+ __response__: Raw.payments.TypeStarGiftAuctionState;
26249
+ auction: Raw.TypeInputStarGiftAuction;
26250
+ version: int;
26251
+ constructor(params: {
26252
+ auction: Raw.TypeInputStarGiftAuction;
26253
+ version: int;
26254
+ });
26255
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.payments.GetStarGiftAuctionState>;
26256
+ write(): Buffer;
26257
+ }
26258
+ class GetStarGiftAuctionAcquiredGifts extends TLObject {
26259
+ __response__: Raw.payments.TypeStarGiftAuctionAcquiredGifts;
26260
+ giftId: long;
26261
+ constructor(params: {
26262
+ giftId: long;
26263
+ });
26264
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.payments.GetStarGiftAuctionAcquiredGifts>;
26265
+ write(): Buffer;
26266
+ }
26267
+ class GetStarGiftActiveAuctions extends TLObject {
26268
+ __response__: Raw.payments.TypeStarGiftActiveAuctions;
26269
+ hash: long;
26270
+ constructor(params: {
26271
+ hash: long;
26272
+ });
26273
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.payments.GetStarGiftActiveAuctions>;
26274
+ write(): Buffer;
26275
+ }
26276
+ class ResolveStarGiftOffer extends TLObject {
26277
+ __response__: Raw.TypeUpdates;
26278
+ decline?: boolean;
26279
+ offerMsgId: int;
26280
+ constructor(params: {
26281
+ decline?: boolean;
26282
+ offerMsgId: int;
26283
+ });
26284
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.payments.ResolveStarGiftOffer>;
26285
+ write(): Buffer;
26286
+ }
26287
+ class SendStarGiftOffer extends TLObject {
26288
+ __response__: Raw.TypeUpdates;
26289
+ peer: Raw.TypeInputPeer;
26290
+ slug: string;
26291
+ price: Raw.TypeStarsAmount;
26292
+ duration: int;
26293
+ randomId: long;
26294
+ allowPaidStars?: long;
26295
+ constructor(params: {
26296
+ peer: Raw.TypeInputPeer;
26297
+ slug: string;
26298
+ price: Raw.TypeStarsAmount;
26299
+ duration: int;
26300
+ randomId: long;
26301
+ allowPaidStars?: long;
26302
+ });
26303
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.payments.SendStarGiftOffer>;
26304
+ write(): Buffer;
26305
+ }
26306
+ class GetStarGiftUpgradeAttributes extends TLObject {
26307
+ __response__: Raw.payments.TypeStarGiftUpgradeAttributes;
26308
+ giftId: long;
26309
+ constructor(params: {
26310
+ giftId: long;
26311
+ });
26312
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.payments.GetStarGiftUpgradeAttributes>;
26313
+ write(): Buffer;
26314
+ }
25668
26315
  }
25669
26316
  namespace phone {
26317
+ type TypeGroupCallStars = Raw.phone.GroupCallStars;
25670
26318
  type TypeGroupCallStreamRtmpUrl = Raw.phone.GroupCallStreamRtmpUrl;
25671
26319
  type TypeGroupCallStreamChannels = Raw.phone.GroupCallStreamChannels;
25672
26320
  type TypeExportedGroupCallInvite = Raw.phone.ExportedGroupCallInvite;
@@ -25756,6 +26404,20 @@ export declare namespace Raw {
25756
26404
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.phone.GroupCallStreamRtmpUrl>;
25757
26405
  write(): Buffer;
25758
26406
  }
26407
+ class GroupCallStars extends TLObject {
26408
+ totalStars: long;
26409
+ topDonors: Vector<Raw.TypeGroupCallDonor>;
26410
+ chats: Vector<Raw.TypeChat>;
26411
+ users: Vector<Raw.TypeUser>;
26412
+ constructor(params: {
26413
+ totalStars: long;
26414
+ topDonors: Vector<Raw.TypeGroupCallDonor>;
26415
+ chats: Vector<Raw.TypeChat>;
26416
+ users: Vector<Raw.TypeUser>;
26417
+ });
26418
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.phone.GroupCallStars>;
26419
+ write(): Buffer;
26420
+ }
25759
26421
  class GetCallConfig extends TLObject {
25760
26422
  __response__: Raw.TypeDataJSON;
25761
26423
  constructor();
@@ -25947,11 +26609,13 @@ export declare namespace Raw {
25947
26609
  call: Raw.TypeInputGroupCall;
25948
26610
  joinMuted?: Bool;
25949
26611
  messagesEnabled?: Bool;
26612
+ sendPaidMessagesStars?: long;
25950
26613
  constructor(params: {
25951
26614
  resetInviteHash?: boolean;
25952
26615
  call: Raw.TypeInputGroupCall;
25953
26616
  joinMuted?: Bool;
25954
26617
  messagesEnabled?: Bool;
26618
+ sendPaidMessagesStars?: long;
25955
26619
  });
25956
26620
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.phone.ToggleGroupCallSettings>;
25957
26621
  write(): Buffer;
@@ -26128,9 +26792,11 @@ export declare namespace Raw {
26128
26792
  }
26129
26793
  class GetGroupCallStreamRtmpUrl extends TLObject {
26130
26794
  __response__: Raw.phone.TypeGroupCallStreamRtmpUrl;
26795
+ liveStory?: boolean;
26131
26796
  peer: Raw.TypeInputPeer;
26132
26797
  revoke: Bool;
26133
26798
  constructor(params: {
26799
+ liveStory?: boolean;
26134
26800
  peer: Raw.TypeInputPeer;
26135
26801
  revoke: Bool;
26136
26802
  });
@@ -26235,14 +26901,18 @@ export declare namespace Raw {
26235
26901
  write(): Buffer;
26236
26902
  }
26237
26903
  class SendGroupCallMessage extends TLObject {
26238
- __response__: Bool;
26904
+ __response__: Raw.TypeUpdates;
26239
26905
  call: Raw.TypeInputGroupCall;
26240
26906
  randomId: long;
26241
26907
  message: Raw.TypeTextWithEntities;
26908
+ allowPaidStars?: long;
26909
+ sendAs?: Raw.TypeInputPeer;
26242
26910
  constructor(params: {
26243
26911
  call: Raw.TypeInputGroupCall;
26244
26912
  randomId: long;
26245
26913
  message: Raw.TypeTextWithEntities;
26914
+ allowPaidStars?: long;
26915
+ sendAs?: Raw.TypeInputPeer;
26246
26916
  });
26247
26917
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.phone.SendGroupCallMessage>;
26248
26918
  write(): Buffer;
@@ -26258,6 +26928,52 @@ export declare namespace Raw {
26258
26928
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.phone.SendGroupCallEncryptedMessage>;
26259
26929
  write(): Buffer;
26260
26930
  }
26931
+ class DeleteGroupCallMessages extends TLObject {
26932
+ __response__: Raw.TypeUpdates;
26933
+ reportSpam?: boolean;
26934
+ call: Raw.TypeInputGroupCall;
26935
+ messages: Vector<int>;
26936
+ constructor(params: {
26937
+ reportSpam?: boolean;
26938
+ call: Raw.TypeInputGroupCall;
26939
+ messages: Vector<int>;
26940
+ });
26941
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.phone.DeleteGroupCallMessages>;
26942
+ write(): Buffer;
26943
+ }
26944
+ class DeleteGroupCallParticipantMessages extends TLObject {
26945
+ __response__: Raw.TypeUpdates;
26946
+ reportSpam?: boolean;
26947
+ call: Raw.TypeInputGroupCall;
26948
+ participant: Raw.TypeInputPeer;
26949
+ constructor(params: {
26950
+ reportSpam?: boolean;
26951
+ call: Raw.TypeInputGroupCall;
26952
+ participant: Raw.TypeInputPeer;
26953
+ });
26954
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.phone.DeleteGroupCallParticipantMessages>;
26955
+ write(): Buffer;
26956
+ }
26957
+ class GetGroupCallStars extends TLObject {
26958
+ __response__: Raw.phone.TypeGroupCallStars;
26959
+ call: Raw.TypeInputGroupCall;
26960
+ constructor(params: {
26961
+ call: Raw.TypeInputGroupCall;
26962
+ });
26963
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.phone.GetGroupCallStars>;
26964
+ write(): Buffer;
26965
+ }
26966
+ class SaveDefaultSendAs extends TLObject {
26967
+ __response__: Bool;
26968
+ call: Raw.TypeInputGroupCall;
26969
+ sendAs: Raw.TypeInputPeer;
26970
+ constructor(params: {
26971
+ call: Raw.TypeInputGroupCall;
26972
+ sendAs: Raw.TypeInputPeer;
26973
+ });
26974
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.phone.SaveDefaultSendAs>;
26975
+ write(): Buffer;
26976
+ }
26261
26977
  }
26262
26978
  namespace stats {
26263
26979
  type TypeStoryStats = Raw.stats.StoryStats;
@@ -27749,7 +28465,7 @@ export declare namespace Raw {
27749
28465
  write(): Buffer;
27750
28466
  }
27751
28467
  class GetPeerMaxIDs extends TLObject {
27752
- __response__: Vector<int>;
28468
+ __response__: Vector<Raw.TypeRecentStory>;
27753
28469
  id: Vector<Raw.TypeInputPeer>;
27754
28470
  constructor(params: {
27755
28471
  id: Vector<Raw.TypeInputPeer>;
@@ -27901,6 +28617,33 @@ export declare namespace Raw {
27901
28617
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.stories.GetAlbumStories>;
27902
28618
  write(): Buffer;
27903
28619
  }
28620
+ class StartLive extends TLObject {
28621
+ __response__: Raw.TypeUpdates;
28622
+ pinned?: boolean;
28623
+ noforwards?: boolean;
28624
+ rtmpStream?: boolean;
28625
+ peer: Raw.TypeInputPeer;
28626
+ caption?: string;
28627
+ entities?: Vector<Raw.TypeMessageEntity>;
28628
+ privacyRules: Vector<Raw.TypeInputPrivacyRule>;
28629
+ randomId: long;
28630
+ messagesEnabled?: Bool;
28631
+ sendPaidMessagesStars?: long;
28632
+ constructor(params: {
28633
+ pinned?: boolean;
28634
+ noforwards?: boolean;
28635
+ rtmpStream?: boolean;
28636
+ peer: Raw.TypeInputPeer;
28637
+ caption?: string;
28638
+ entities?: Vector<Raw.TypeMessageEntity>;
28639
+ privacyRules: Vector<Raw.TypeInputPrivacyRule>;
28640
+ randomId: long;
28641
+ messagesEnabled?: Bool;
28642
+ sendPaidMessagesStars?: long;
28643
+ });
28644
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.stories.StartLive>;
28645
+ write(): Buffer;
28646
+ }
27904
28647
  }
27905
28648
  namespace premium {
27906
28649
  type TypeBoostsStatus = Raw.premium.BoostsStatus;