@tgsnake/skema 1.6.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.payments.GetStarGiftAuctionState | Raw.payments.GetStarGiftAuctionAcquiredGifts | Raw.payments.GetStarGiftActiveAuctions | Raw.stickers.CreateStickerSet | Raw.stickers.RemoveStickerFromSet | Raw.stickers.ChangeStickerPosition | Raw.stickers.AddStickerToSet | Raw.stickers.SetStickerSetThumb | Raw.stickers.CheckShortName | Raw.stickers.SuggestShortName | Raw.stickers.ChangeSticker | Raw.stickers.RenameStickerSet | Raw.stickers.DeleteStickerSet | Raw.stickers.ReplaceSticker | Raw.phone.GetCallConfig | Raw.phone.RequestCall | Raw.phone.AcceptCall | Raw.phone.ConfirmCall | Raw.phone.ReceivedCall | Raw.phone.DiscardCall | Raw.phone.SetCallRating | Raw.phone.SaveCallDebug | Raw.phone.SendSignalingData | Raw.phone.CreateGroupCall | Raw.phone.JoinGroupCall | Raw.phone.LeaveGroupCall | Raw.phone.InviteToGroupCall | Raw.phone.DiscardGroupCall | Raw.phone.ToggleGroupCallSettings | Raw.phone.GetGroupCall | Raw.phone.GetGroupParticipants | Raw.phone.CheckGroupCall | Raw.phone.ToggleGroupCallRecord | Raw.phone.EditGroupCallParticipant | Raw.phone.EditGroupCallTitle | Raw.phone.GetGroupCallJoinAs | Raw.phone.ExportGroupCallInvite | Raw.phone.ToggleGroupCallStartSubscription | Raw.phone.StartScheduledGroupCall | Raw.phone.SaveDefaultGroupCallJoinAs | Raw.phone.JoinGroupCallPresentation | Raw.phone.LeaveGroupCallPresentation | Raw.phone.GetGroupCallStreamChannels | Raw.phone.GetGroupCallStreamRtmpUrl | Raw.phone.SaveCallLog | Raw.phone.CreateConferenceCall | Raw.phone.DeleteConferenceCallParticipants | Raw.phone.SendConferenceCallBroadcast | Raw.phone.InviteConferenceCallParticipant | Raw.phone.DeclineConferenceCallInvite | Raw.phone.GetGroupCallChainBlocks | Raw.phone.SendGroupCallMessage | Raw.phone.SendGroupCallEncryptedMessage | Raw.phone.DeleteGroupCallMessages | Raw.phone.DeleteGroupCallParticipantMessages | Raw.phone.GetGroupCallStars | Raw.phone.SaveDefaultSendAs | Raw.langpack.GetLangPack | Raw.langpack.GetStrings | Raw.langpack.GetDifference | Raw.langpack.GetLanguages | Raw.langpack.GetLanguage | Raw.folders.EditPeerFolders | Raw.stats.GetBroadcastStats | Raw.stats.LoadAsyncGraph | Raw.stats.GetMegagroupStats | Raw.stats.GetMessagePublicForwards | Raw.stats.GetMessageStats | Raw.stats.GetStoryStats | Raw.stats.GetStoryPublicForwards | Raw.chatlists.ExportChatlistInvite | Raw.chatlists.DeleteExportedInvite | Raw.chatlists.EditExportedInvite | Raw.chatlists.GetExportedInvites | Raw.chatlists.CheckChatlistInvite | Raw.chatlists.JoinChatlistInvite | Raw.chatlists.GetChatlistUpdates | Raw.chatlists.JoinChatlistUpdates | Raw.chatlists.HideChatlistUpdates | Raw.chatlists.GetLeaveChatlistSuggestions | Raw.chatlists.LeaveChatlist | Raw.stories.CanSendStory | Raw.stories.SendStory | Raw.stories.EditStory | Raw.stories.DeleteStories | Raw.stories.TogglePinned | Raw.stories.GetAllStories | Raw.stories.GetPinnedStories | Raw.stories.GetStoriesArchive | Raw.stories.GetStoriesByID | Raw.stories.ToggleAllStoriesHidden | Raw.stories.ReadStories | Raw.stories.IncrementStoryViews | Raw.stories.GetStoryViewsList | Raw.stories.GetStoriesViews | Raw.stories.ExportStoryLink | Raw.stories.Report | Raw.stories.ActivateStealthMode | Raw.stories.SendReaction | Raw.stories.GetPeerStories | Raw.stories.GetAllReadPeerStories | Raw.stories.GetPeerMaxIDs | Raw.stories.GetChatsToSend | Raw.stories.TogglePeerStoriesHidden | Raw.stories.GetStoryReactionsList | Raw.stories.TogglePinnedToTop | Raw.stories.SearchPosts | Raw.stories.CreateAlbum | Raw.stories.UpdateAlbum | Raw.stories.ReorderAlbums | Raw.stories.DeleteAlbum | Raw.stories.GetAlbums | Raw.stories.GetAlbumStories | Raw.stories.StartLive | Raw.premium.GetBoostsList | Raw.premium.GetMyBoosts | Raw.premium.ApplyBoost | Raw.premium.GetBoostsStatus | Raw.premium.GetUserBoosts | Raw.smsjobs.IsEligibleToJoin | Raw.smsjobs.Join | Raw.smsjobs.Leave | Raw.smsjobs.UpdateSettings | Raw.smsjobs.GetStatus | Raw.smsjobs.GetSmsJob | Raw.smsjobs.FinishJob | Raw.fragment.GetCollectibleInfo;
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;
@@ -96,12 +96,16 @@ export declare namespace Raw {
96
96
  type TypeReportReason = Raw.InputReportReasonSpam | Raw.InputReportReasonViolence | Raw.InputReportReasonPornography | Raw.InputReportReasonChildAbuse | Raw.InputReportReasonOther | Raw.InputReportReasonCopyright | Raw.InputReportReasonGeoIrrelevant | Raw.InputReportReasonFake | Raw.InputReportReasonIllegalDrugs | Raw.InputReportReasonPersonalDetails;
97
97
  type TypeInputPeerNotifySettings = Raw.InputPeerNotifySettings;
98
98
  type TypeInputNotifyPeer = Raw.InputNotifyPeer | Raw.InputNotifyUsers | Raw.InputNotifyChats | Raw.InputNotifyBroadcasts | Raw.InputNotifyForumTopic;
99
+ type TypeInputPasskeyCredential = Raw.InputPasskeyCredentialPublicKey;
99
100
  type TypeInputCheckPasswordSRP = Raw.InputCheckPasswordEmpty | Raw.InputCheckPasswordSRP;
100
101
  type TypeEmailVerification = Raw.EmailVerificationCode | Raw.EmailVerificationGoogle | Raw.EmailVerificationApple;
101
102
  type TypeCodeSettings = Raw.CodeSettings;
102
103
  type TypeInputClientProxy = Raw.InputClientProxy;
104
+ type TypeInputPasskeyResponse = Raw.InputPasskeyResponseRegister | Raw.InputPasskeyResponseLogin;
105
+ type TypePasskey = Raw.Passkey;
103
106
  type TypeStarGiftActiveAuctionState = Raw.StarGiftActiveAuctionState;
104
107
  type TypeStarGiftAuctionAcquiredGift = Raw.StarGiftAuctionAcquiredGift;
108
+ type TypeStarGiftAuctionRound = Raw.StarGiftAuctionRound | Raw.StarGiftAuctionRoundExtendable;
105
109
  type TypeAuctionBidLevel = Raw.AuctionBidLevel;
106
110
  type TypeGroupCallDonor = Raw.GroupCallDonor;
107
111
  type TypeStoryAlbum = Raw.StoryAlbum;
@@ -114,6 +118,7 @@ export declare namespace Raw {
114
118
  type TypeConnectedBotStarRef = Raw.ConnectedBotStarRef;
115
119
  type TypeMessageReportOption = Raw.MessageReportOption;
116
120
  type TypeStarGiftAttribute = Raw.StarGiftAttributeModel | Raw.StarGiftAttributePattern | Raw.StarGiftAttributeBackdrop | Raw.StarGiftAttributeOriginalDetails;
121
+ type TypeStarGiftBackground = Raw.StarGiftBackground;
117
122
  type TypeStarsGiveawayWinnersOption = Raw.StarsGiveawayWinnersOption;
118
123
  type TypeBotPreviewMedia = Raw.BotPreviewMedia;
119
124
  type TypeFoundStory = Raw.FoundStory;
@@ -332,7 +337,7 @@ export declare namespace Raw {
332
337
  type TypeWebPage = Raw.WebPageEmpty | Raw.WebPagePending | Raw.WebPage | Raw.WebPageNotModified;
333
338
  type TypeDocument = Raw.DocumentEmpty | Raw.Document;
334
339
  type TypeGeoPoint = Raw.GeoPointEmpty | Raw.GeoPoint;
335
- type TypeMessageAction = Raw.MessageActionEmpty | Raw.MessageActionChatCreate | Raw.MessageActionChatEditTitle | Raw.MessageActionChatEditPhoto | Raw.MessageActionChatDeletePhoto | Raw.MessageActionChatAddUser | Raw.MessageActionChatDeleteUser | Raw.MessageActionChatJoinedByLink | Raw.MessageActionChannelCreate | Raw.MessageActionChatMigrateTo | Raw.MessageActionChannelMigrateFrom | Raw.MessageActionPinMessage | Raw.MessageActionHistoryClear | Raw.MessageActionGameScore | Raw.MessageActionPaymentSentMe | Raw.MessageActionPaymentSent | Raw.MessageActionPhoneCall | Raw.MessageActionScreenshotTaken | Raw.MessageActionCustomAction | Raw.MessageActionBotAllowed | Raw.MessageActionSecureValuesSentMe | Raw.MessageActionSecureValuesSent | Raw.MessageActionContactSignUp | Raw.MessageActionGeoProximityReached | Raw.MessageActionGroupCall | Raw.MessageActionInviteToGroupCall | Raw.MessageActionSetMessagesTTL | Raw.MessageActionGroupCallScheduled | Raw.MessageActionSetChatTheme | Raw.MessageActionChatJoinedByRequest | Raw.MessageActionWebViewDataSentMe | Raw.MessageActionWebViewDataSent | Raw.MessageActionGiftPremium | Raw.MessageActionTopicCreate | Raw.MessageActionTopicEdit | Raw.MessageActionSuggestProfilePhoto | Raw.MessageActionRequestedPeer | Raw.MessageActionSetChatWallPaper | Raw.MessageActionGiftCode | Raw.MessageActionGiveawayLaunch | Raw.MessageActionGiveawayResults | Raw.MessageActionBoostApply | Raw.MessageActionRequestedPeerSentMe | Raw.MessageActionPaymentRefunded | Raw.MessageActionGiftStars | Raw.MessageActionPrizeStars | Raw.MessageActionStarGift | Raw.MessageActionStarGiftUnique | Raw.MessageActionPaidMessagesRefunded | Raw.MessageActionPaidMessagesPrice | Raw.MessageActionConferenceCall | Raw.MessageActionTodoCompletions | Raw.MessageActionTodoAppendTasks | Raw.MessageActionSuggestedPostApproval | Raw.MessageActionSuggestedPostSuccess | Raw.MessageActionSuggestedPostRefund | Raw.MessageActionGiftTon | Raw.MessageActionSuggestBirthday;
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;
336
341
  type TypeSuggestedPost = Raw.SuggestedPost;
337
342
  type TypeFactCheck = Raw.FactCheck;
338
343
  type TypeMessageReactions = Raw.MessageReactions;
@@ -3099,6 +3104,7 @@ export declare namespace Raw {
3099
3104
  prepaidUpgradeHash?: string;
3100
3105
  giftMsgId?: int;
3101
3106
  toId?: Raw.TypePeer;
3107
+ giftNum?: int;
3102
3108
  constructor(params: {
3103
3109
  nameHidden?: boolean;
3104
3110
  saved?: boolean;
@@ -3120,6 +3126,7 @@ export declare namespace Raw {
3120
3126
  prepaidUpgradeHash?: string;
3121
3127
  giftMsgId?: int;
3122
3128
  toId?: Raw.TypePeer;
3129
+ giftNum?: int;
3123
3130
  });
3124
3131
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.MessageActionStarGift>;
3125
3132
  write(): Buffer;
@@ -3131,6 +3138,7 @@ export declare namespace Raw {
3131
3138
  refunded?: boolean;
3132
3139
  prepaidUpgrade?: boolean;
3133
3140
  assigned?: boolean;
3141
+ fromOffer?: boolean;
3134
3142
  gift: Raw.TypeStarGift;
3135
3143
  canExportAt?: int;
3136
3144
  transferStars?: long;
@@ -3148,6 +3156,7 @@ export declare namespace Raw {
3148
3156
  refunded?: boolean;
3149
3157
  prepaidUpgrade?: boolean;
3150
3158
  assigned?: boolean;
3159
+ fromOffer?: boolean;
3151
3160
  gift: Raw.TypeStarGift;
3152
3161
  canExportAt?: int;
3153
3162
  transferStars?: long;
@@ -3274,6 +3283,34 @@ export declare namespace Raw {
3274
3283
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.MessageActionSuggestBirthday>;
3275
3284
  write(): Buffer;
3276
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
+ }
3277
3314
  class Dialog extends TLObject {
3278
3315
  pinned?: boolean;
3279
3316
  unreadMark?: boolean;
@@ -11273,15 +11310,9 @@ export declare namespace Raw {
11273
11310
  class WebPageAttributeStarGiftAuction extends TLObject {
11274
11311
  gift: Raw.TypeStarGift;
11275
11312
  endDate: int;
11276
- centerColor: int;
11277
- edgeColor: int;
11278
- textColor: int;
11279
11313
  constructor(params: {
11280
11314
  gift: Raw.TypeStarGift;
11281
11315
  endDate: int;
11282
- centerColor: int;
11283
- edgeColor: int;
11284
- textColor: int;
11285
11316
  });
11286
11317
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.WebPageAttributeStarGiftAuction>;
11287
11318
  write(): Buffer;
@@ -14218,6 +14249,7 @@ export declare namespace Raw {
14218
14249
  stargiftDropOriginalDetails?: boolean;
14219
14250
  phonegroupMessage?: boolean;
14220
14251
  stargiftAuctionBid?: boolean;
14252
+ offer?: boolean;
14221
14253
  id: string;
14222
14254
  amount: Raw.TypeStarsAmount;
14223
14255
  date: int;
@@ -14255,6 +14287,7 @@ export declare namespace Raw {
14255
14287
  stargiftDropOriginalDetails?: boolean;
14256
14288
  phonegroupMessage?: boolean;
14257
14289
  stargiftAuctionBid?: boolean;
14290
+ offer?: boolean;
14258
14291
  id: string;
14259
14292
  amount: Raw.TypeStarsAmount;
14260
14293
  date: int;
@@ -14474,6 +14507,9 @@ export declare namespace Raw {
14474
14507
  lockedUntilDate?: int;
14475
14508
  auctionSlug?: string;
14476
14509
  giftsPerRound?: int;
14510
+ auctionStartDate?: int;
14511
+ upgradeVariants?: int;
14512
+ background?: Raw.TypeStarGiftBackground;
14477
14513
  constructor(params: {
14478
14514
  limited?: boolean;
14479
14515
  soldOut?: boolean;
@@ -14500,6 +14536,9 @@ export declare namespace Raw {
14500
14536
  lockedUntilDate?: int;
14501
14537
  auctionSlug?: string;
14502
14538
  giftsPerRound?: int;
14539
+ auctionStartDate?: int;
14540
+ upgradeVariants?: int;
14541
+ background?: Raw.TypeStarGiftBackground;
14503
14542
  });
14504
14543
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.StarGift>;
14505
14544
  write(): Buffer;
@@ -14524,9 +14563,11 @@ export declare namespace Raw {
14524
14563
  releasedBy?: Raw.TypePeer;
14525
14564
  valueAmount?: long;
14526
14565
  valueCurrency?: string;
14566
+ valueUsdAmount?: long;
14527
14567
  themePeer?: Raw.TypePeer;
14528
14568
  peerColor?: Raw.TypePeerColor;
14529
14569
  hostId?: Raw.TypePeer;
14570
+ offerMinStars?: int;
14530
14571
  constructor(params: {
14531
14572
  requirePremium?: boolean;
14532
14573
  resaleTonOnly?: boolean;
@@ -14547,9 +14588,11 @@ export declare namespace Raw {
14547
14588
  releasedBy?: Raw.TypePeer;
14548
14589
  valueAmount?: long;
14549
14590
  valueCurrency?: string;
14591
+ valueUsdAmount?: long;
14550
14592
  themePeer?: Raw.TypePeer;
14551
14593
  peerColor?: Raw.TypePeerColor;
14552
14594
  hostId?: Raw.TypePeer;
14595
+ offerMinStars?: int;
14553
14596
  });
14554
14597
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.StarGiftUnique>;
14555
14598
  write(): Buffer;
@@ -14767,6 +14810,7 @@ export declare namespace Raw {
14767
14810
  collectionId?: Vector<int>;
14768
14811
  prepaidUpgradeHash?: string;
14769
14812
  dropOriginalDetailsStars?: long;
14813
+ giftNum?: int;
14770
14814
  constructor(params: {
14771
14815
  nameHidden?: boolean;
14772
14816
  unsaved?: boolean;
@@ -14789,6 +14833,7 @@ export declare namespace Raw {
14789
14833
  collectionId?: Vector<int>;
14790
14834
  prepaidUpgradeHash?: string;
14791
14835
  dropOriginalDetailsStars?: long;
14836
+ giftNum?: int;
14792
14837
  });
14793
14838
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.SavedStarGift>;
14794
14839
  write(): Buffer;
@@ -15169,13 +15214,11 @@ export declare namespace Raw {
15169
15214
  class GroupCallDonor extends TLObject {
15170
15215
  top?: boolean;
15171
15216
  my?: boolean;
15172
- anonymous?: boolean;
15173
15217
  peerId?: Raw.TypePeer;
15174
15218
  stars: long;
15175
15219
  constructor(params: {
15176
15220
  top?: boolean;
15177
15221
  my?: boolean;
15178
- anonymous?: boolean;
15179
15222
  peerId?: Raw.TypePeer;
15180
15223
  stars: long;
15181
15224
  });
@@ -15217,9 +15260,11 @@ export declare namespace Raw {
15217
15260
  bidLevels: Vector<Raw.TypeAuctionBidLevel>;
15218
15261
  topBidders: Vector<long>;
15219
15262
  nextRoundAt: int;
15263
+ lastGiftNum: int;
15220
15264
  giftsLeft: int;
15221
15265
  currentRound: int;
15222
15266
  totalRounds: int;
15267
+ rounds: Vector<Raw.TypeStarGiftAuctionRound>;
15223
15268
  constructor(params: {
15224
15269
  version: int;
15225
15270
  startDate: int;
@@ -15228,9 +15273,11 @@ export declare namespace Raw {
15228
15273
  bidLevels: Vector<Raw.TypeAuctionBidLevel>;
15229
15274
  topBidders: Vector<long>;
15230
15275
  nextRoundAt: int;
15276
+ lastGiftNum: int;
15231
15277
  giftsLeft: int;
15232
15278
  currentRound: int;
15233
15279
  totalRounds: int;
15280
+ rounds: Vector<Raw.TypeStarGiftAuctionRound>;
15234
15281
  });
15235
15282
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.StarGiftAuctionState>;
15236
15283
  write(): Buffer;
@@ -15239,10 +15286,16 @@ export declare namespace Raw {
15239
15286
  startDate: int;
15240
15287
  endDate: int;
15241
15288
  averagePrice: long;
15289
+ listedCount?: int;
15290
+ fragmentListedCount?: int;
15291
+ fragmentListedUrl?: string;
15242
15292
  constructor(params: {
15243
15293
  startDate: int;
15244
15294
  endDate: int;
15245
15295
  averagePrice: long;
15296
+ listedCount?: int;
15297
+ fragmentListedCount?: int;
15298
+ fragmentListedUrl?: string;
15246
15299
  });
15247
15300
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.StarGiftAuctionStateFinished>;
15248
15301
  write(): Buffer;
@@ -15273,6 +15326,7 @@ export declare namespace Raw {
15273
15326
  round: int;
15274
15327
  pos: int;
15275
15328
  message?: Raw.TypeTextWithEntities;
15329
+ giftNum?: int;
15276
15330
  constructor(params: {
15277
15331
  nameHidden?: boolean;
15278
15332
  peer: Raw.TypePeer;
@@ -15281,6 +15335,7 @@ export declare namespace Raw {
15281
15335
  round: int;
15282
15336
  pos: int;
15283
15337
  message?: Raw.TypeTextWithEntities;
15338
+ giftNum?: int;
15284
15339
  });
15285
15340
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.StarGiftAuctionAcquiredGift>;
15286
15341
  write(): Buffer;
@@ -15313,6 +15368,94 @@ export declare namespace Raw {
15313
15368
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.InputStarGiftAuctionSlug>;
15314
15369
  write(): Buffer;
15315
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
+ }
15316
15459
  class InvokeAfterMsg extends TLObject {
15317
15460
  __response__: X;
15318
15461
  msgId: long;
@@ -16751,6 +16894,7 @@ export declare namespace Raw {
16751
16894
  }
16752
16895
  }
16753
16896
  namespace auth {
16897
+ type TypePasskeyLoginOptions = Raw.auth.PasskeyLoginOptions;
16754
16898
  type TypeLoginToken = Raw.auth.LoginToken | Raw.auth.LoginTokenMigrateTo | Raw.auth.LoginTokenSuccess;
16755
16899
  type TypePasswordRecovery = Raw.auth.PasswordRecovery;
16756
16900
  type TypeExportedAuthorization = Raw.auth.ExportedAuthorization;
@@ -17016,6 +17160,14 @@ export declare namespace Raw {
17016
17160
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.auth.LoggedOut>;
17017
17161
  write(): Buffer;
17018
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
+ }
17019
17171
  class SendCode extends TLObject {
17020
17172
  __response__: Raw.auth.TypeSentCode;
17021
17173
  phoneNumber: string;
@@ -17291,6 +17443,30 @@ export declare namespace Raw {
17291
17443
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.auth.CheckPaidAuth>;
17292
17444
  write(): Buffer;
17293
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
+ }
17294
17470
  }
17295
17471
  namespace contacts {
17296
17472
  type TypeSponsoredPeers = Raw.contacts.SponsoredPeersEmpty | Raw.contacts.SponsoredPeers;
@@ -19045,6 +19221,7 @@ export declare namespace Raw {
19045
19221
  scheduleRepeatPeriod?: int;
19046
19222
  sendAs?: Raw.TypeInputPeer;
19047
19223
  quickReplyShortcut?: Raw.TypeInputQuickReplyShortcut;
19224
+ effect?: long;
19048
19225
  videoTimestamp?: int;
19049
19226
  allowPaidStars?: long;
19050
19227
  suggestedPost?: Raw.TypeSuggestedPost;
@@ -19066,6 +19243,7 @@ export declare namespace Raw {
19066
19243
  scheduleRepeatPeriod?: int;
19067
19244
  sendAs?: Raw.TypeInputPeer;
19068
19245
  quickReplyShortcut?: Raw.TypeInputQuickReplyShortcut;
19246
+ effect?: long;
19069
19247
  videoTimestamp?: int;
19070
19248
  allowPaidStars?: long;
19071
19249
  suggestedPost?: Raw.TypeSuggestedPost;
@@ -22422,6 +22600,8 @@ export declare namespace Raw {
22422
22600
  }
22423
22601
  }
22424
22602
  namespace account {
22603
+ type TypePasskeys = Raw.account.Passkeys;
22604
+ type TypePasskeyRegistrationOptions = Raw.account.PasskeyRegistrationOptions;
22425
22605
  type TypeChatThemes = Raw.account.ChatThemesNotModified | Raw.account.ChatThemes;
22426
22606
  type TypeSavedMusicIds = Raw.account.SavedMusicIdsNotModified | Raw.account.SavedMusicIds;
22427
22607
  type TypePaidMessagesRevenue = Raw.account.PaidMessagesRevenue;
@@ -22814,6 +22994,22 @@ export declare namespace Raw {
22814
22994
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.account.SavedMusicIds>;
22815
22995
  write(): Buffer;
22816
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
+ }
22817
23013
  class RegisterDevice extends TLObject {
22818
23014
  __response__: Bool;
22819
23015
  noMuted?: boolean;
@@ -24009,6 +24205,36 @@ export declare namespace Raw {
24009
24205
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.account.GetUniqueGiftChatThemes>;
24010
24206
  write(): Buffer;
24011
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
+ }
24012
24238
  }
24013
24239
  namespace channels {
24014
24240
  type TypeSendAsPeers = Raw.channels.SendAsPeers;
@@ -24786,6 +25012,7 @@ export declare namespace Raw {
24786
25012
  }
24787
25013
  }
24788
25014
  namespace payments {
25015
+ type TypeStarGiftUpgradeAttributes = Raw.payments.StarGiftUpgradeAttributes;
24789
25016
  type TypeStarGiftActiveAuctions = Raw.payments.StarGiftActiveAuctionsNotModified | Raw.payments.StarGiftActiveAuctions;
24790
25017
  type TypeStarGiftAuctionAcquiredGifts = Raw.payments.StarGiftAuctionAcquiredGifts;
24791
25018
  type TypeStarGiftAuctionState = Raw.payments.StarGiftAuctionState;
@@ -25294,12 +25521,14 @@ export declare namespace Raw {
25294
25521
  userState: Raw.TypeStarGiftAuctionUserState;
25295
25522
  timeout: int;
25296
25523
  users: Vector<Raw.TypeUser>;
25524
+ chats: Vector<Raw.TypeChat>;
25297
25525
  constructor(params: {
25298
25526
  gift: Raw.TypeStarGift;
25299
25527
  state: Raw.TypeStarGiftAuctionState;
25300
25528
  userState: Raw.TypeStarGiftAuctionUserState;
25301
25529
  timeout: int;
25302
25530
  users: Vector<Raw.TypeUser>;
25531
+ chats: Vector<Raw.TypeChat>;
25303
25532
  });
25304
25533
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.payments.StarGiftAuctionState>;
25305
25534
  write(): Buffer;
@@ -25324,13 +25553,23 @@ export declare namespace Raw {
25324
25553
  class StarGiftActiveAuctions extends TLObject {
25325
25554
  auctions: Vector<Raw.TypeStarGiftActiveAuctionState>;
25326
25555
  users: Vector<Raw.TypeUser>;
25556
+ chats: Vector<Raw.TypeChat>;
25327
25557
  constructor(params: {
25328
25558
  auctions: Vector<Raw.TypeStarGiftActiveAuctionState>;
25329
25559
  users: Vector<Raw.TypeUser>;
25560
+ chats: Vector<Raw.TypeChat>;
25330
25561
  });
25331
25562
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.payments.StarGiftActiveAuctions>;
25332
25563
  write(): Buffer;
25333
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
+ }
25334
25573
  class GetPaymentForm extends TLObject {
25335
25574
  __response__: Raw.payments.TypePaymentForm;
25336
25575
  invoice: Raw.TypeInputInvoice;
@@ -26034,6 +26273,45 @@ export declare namespace Raw {
26034
26273
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.payments.GetStarGiftActiveAuctions>;
26035
26274
  write(): Buffer;
26036
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
+ }
26037
26315
  }
26038
26316
  namespace phone {
26039
26317
  type TypeGroupCallStars = Raw.phone.GroupCallStars;