@tgsnake/skema 2.4.0 → 2.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -39,11 +39,13 @@ export declare namespace Raw {
39
39
  * The highest telegram secret chat schema layer.
40
40
  */
41
41
  const HighestSCLayer: number;
42
- 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.auth.InitFirebasePnvLogin | Raw.auth.FinishFirebasePnvLogin | Raw.auth.FirebasePnvSignUp | 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.account.ConfirmBotConnection | Raw.account.GetWebBrowserSettings | Raw.account.UpdateWebBrowserSettings | Raw.account.ToggleWebBrowserSettingsException | Raw.account.DeleteWebBrowserSettingsExceptions | 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.messages.GetEmojiGameInfo | Raw.messages.SummarizeText | Raw.messages.EditChatCreator | Raw.messages.GetFutureChatCreatorAfterLeave | Raw.messages.EditChatParticipantRank | Raw.messages.DeclineUrlAuth | Raw.messages.CheckUrlAuthMatchCode | Raw.messages.ComposeMessageWithAI | Raw.messages.ReportReadMetrics | Raw.messages.ReportMusicListen | Raw.messages.AddPollAnswer | Raw.messages.DeletePollAnswer | Raw.messages.GetUnreadPollVotes | Raw.messages.ReadPollVotes | Raw.messages.SetBotGuestChatResult | Raw.messages.DeleteParticipantReactions | Raw.messages.DeleteParticipantReaction | Raw.messages.GetPersonalChannelHistory | Raw.messages.GetRichMessage | Raw.messages.TranslateRichMessage | Raw.messages.ComposeRichMessageWithAI | Raw.messages.RequestChatJoinWebView | 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.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.bots.CheckUsername | Raw.bots.CreateBot | Raw.bots.ExportBotToken | Raw.bots.RequestWebViewButton | Raw.bots.GetRequestedWebViewButton | Raw.bots.GetAccessSettings | Raw.bots.EditAccessSettings | Raw.bots.SetJoinChatResults | 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.payments.GetCraftStarGifts | Raw.payments.CraftStarGift | 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.stats.GetPollStats | 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 | Raw.aicompose.CreateTone | Raw.aicompose.UpdateTone | Raw.aicompose.SaveTone | Raw.aicompose.DeleteTone | Raw.aicompose.GetTone | Raw.aicompose.GetTones | Raw.aicompose.GetToneExample | Raw.communities.Create | Raw.communities.TogglePeerLink | Raw.communities.GetJoinedCommunities | Raw.communities.ToggleCommunityCollapsedInDialogs | Raw.communities.GetPeerLinkRequests | Raw.communities.TogglePeerLinkRequestApproval | Raw.communities.ToggleAllPeerLinkRequestApproval | Raw.communities.ToggleParticipantBanned | Raw.communities.GetParticipantJoinedChats | Raw.ephemeral.SendMessage | Raw.ephemeral.DeleteMessage | Raw.ephemeral.ReportMessage | Raw.ephemeral.GetCallbackAnswer | Raw.ephemeral.EditMessage | Raw.ephemeral.DeleteWelcomeMessage | Raw.ephemeral.DeleteAllWelcomeMessages | Raw.ephemeral.GetWelcomeMessages;
42
+ 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.auth.CancelWebTokenAuthorization | Raw.auth.InitFirebasePnvLogin | Raw.auth.FinishFirebasePnvLogin | Raw.auth.FirebasePnvSignUp | 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.account.ConfirmBotConnection | Raw.account.GetWebBrowserSettings | Raw.account.UpdateWebBrowserSettings | Raw.account.ToggleWebBrowserSettingsException | Raw.account.DeleteWebBrowserSettingsExceptions | 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.messages.GetEmojiGameInfo | Raw.messages.SummarizeText | Raw.messages.EditChatCreator | Raw.messages.GetFutureChatCreatorAfterLeave | Raw.messages.EditChatParticipantRank | Raw.messages.DeclineUrlAuth | Raw.messages.CheckUrlAuthMatchCode | Raw.messages.ComposeMessageWithAI | Raw.messages.ReportReadMetrics | Raw.messages.ReportMusicListen | Raw.messages.AddPollAnswer | Raw.messages.DeletePollAnswer | Raw.messages.GetUnreadPollVotes | Raw.messages.ReadPollVotes | Raw.messages.SetBotGuestChatResult | Raw.messages.DeleteParticipantReactions | Raw.messages.DeleteParticipantReaction | Raw.messages.GetPersonalChannelHistory | Raw.messages.GetRichMessage | Raw.messages.TranslateRichMessage | Raw.messages.ComposeRichMessageWithAI | Raw.messages.RequestChatJoinWebView | 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.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.bots.CheckUsername | Raw.bots.CreateBot | Raw.bots.ExportBotToken | Raw.bots.RequestWebViewButton | Raw.bots.GetRequestedWebViewButton | Raw.bots.GetAccessSettings | Raw.bots.EditAccessSettings | Raw.bots.SetJoinChatResults | Raw.bots.AddUsername | Raw.bots.RemoveUsername | 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.payments.GetCraftStarGifts | Raw.payments.CraftStarGift | Raw.payments.GetCurrencyRates | Raw.payments.GetOnrampProviders | Raw.payments.GetOnrampBaseCurrencies | Raw.payments.GetOnrampAvailability | Raw.payments.GetOnrampLimits | Raw.payments.GetOnrampQuote | Raw.payments.CreateOnrampSession | 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.stats.GetPollStats | 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 | Raw.aicompose.CreateTone | Raw.aicompose.UpdateTone | Raw.aicompose.SaveTone | Raw.aicompose.DeleteTone | Raw.aicompose.GetTone | Raw.aicompose.GetTones | Raw.aicompose.GetToneExample | Raw.communities.Create | Raw.communities.TogglePeerLink | Raw.communities.GetJoinedCommunities | Raw.communities.ToggleCommunityCollapsedInDialogs | Raw.communities.GetPeerLinkRequests | Raw.communities.TogglePeerLinkRequestApproval | Raw.communities.ToggleAllPeerLinkRequestApproval | Raw.communities.ToggleParticipantBanned | Raw.communities.GetParticipantJoinedChats | Raw.ephemeral.SendMessage | Raw.ephemeral.DeleteMessage | Raw.ephemeral.ReportMessage | Raw.ephemeral.GetCallbackAnswer | Raw.ephemeral.EditMessage | Raw.ephemeral.DeleteWelcomeMessage | Raw.ephemeral.DeleteAllWelcomeMessages | Raw.ephemeral.GetWelcomeMessages | Raw.toncenter.PerformApiRequest | Raw.toncenter.GetStreamingUrl | Raw.wallet.GetState | Raw.wallet.GetUserAddresses | Raw.wallet.GetTransactions | Raw.wallet.GetTransactionsByIDs | Raw.wallet.GetTransactionsByMsgHash | Raw.wallet.ExportSecretPhrase | Raw.wallet.FetchEncryptedSecretPhrasePart | Raw.wallet.ReplaceWallet | Raw.wallet.DisableBackup | Raw.wallet.GetBackupHolderDcs | Raw.wallet.EnableBackup | Raw.wallet.GetProofChallenge | Raw.wallet.SendTransfer | Raw.wallet.GetGaslessInfo | Raw.wallet.GetExistingWaltBalance | Raw.wallet.GetNfts | Raw.wallet.TonConnectCreateSession | Raw.wallet.TonConnectRegisterKey | Raw.wallet.TonConnectSubmitConnectResult | Raw.wallet.TonConnectGetPending | Raw.wallet.TonConnectClaimRequest | Raw.wallet.TonConnectSubmitResponse | Raw.wallet.TonConnectNextEventId | Raw.wallet.TonConnectCloseSession | Raw.wallet.TonConnectGetSessions;
43
43
  type TypeFileLocation = Raw.FileLocationUnavailable23 | Raw.FileLocation23;
44
44
  type TypeDecryptedMessage = Raw.DecryptedMessage8 | Raw.DecryptedMessageService8 | Raw.DecryptedMessage17 | Raw.DecryptedMessageService17 | Raw.DecryptedMessage45 | Raw.DecryptedMessage73;
45
45
  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;
46
46
  type TypeDecryptedMessageMedia = Raw.DecryptedMessageMediaEmpty8 | Raw.DecryptedMessageMediaPhoto8 | Raw.DecryptedMessageMediaVideo8 | Raw.DecryptedMessageMediaGeoPoint8 | Raw.DecryptedMessageMediaContact8 | Raw.DecryptedMessageMediaDocument8 | Raw.DecryptedMessageMediaAudio8 | Raw.DecryptedMessageMediaVideo17 | Raw.DecryptedMessageMediaAudio17 | Raw.DecryptedMessageMediaExternalDocument23 | Raw.DecryptedMessageMediaPhoto45 | Raw.DecryptedMessageMediaVideo45 | Raw.DecryptedMessageMediaDocument45 | Raw.DecryptedMessageMediaVenue45 | Raw.DecryptedMessageMediaWebPage45 | Raw.DecryptedMessageMediaDocument143;
47
+ type TypeTonConnectNextEventId = Raw.TonConnectNextEventId;
48
+ type TypeInputWalletReplacement = Raw.InputWalletNew | Raw.InputWalletImported;
47
49
  type TypeInputCollectible = Raw.InputCollectibleUsername | Raw.InputCollectiblePhone;
48
50
  type TypeSmsJob = Raw.SmsJob;
49
51
  type TypeExportedStoryLink = Raw.ExportedStoryLink;
@@ -52,6 +54,11 @@ export declare namespace Raw {
52
54
  type TypeLangPackLanguage = Raw.LangPackLanguage;
53
55
  type TypeInputPhoneCall = Raw.InputPhoneCall;
54
56
  type TypeInputStickerSetItem = Raw.InputStickerSetItem;
57
+ type TypeOnrampSession = Raw.OnrampSession;
58
+ type TypeOnrampQuote = Raw.OnrampQuote;
59
+ type TypeOnrampLimits = Raw.OnrampLimits;
60
+ type TypeOnrampAvailability = Raw.OnrampAvailability;
61
+ type TypeOnrampProviderInfo = Raw.OnrampProviderInfo;
55
62
  type TypeInputStarGiftAuction = Raw.InputStarGiftAuction | Raw.InputStarGiftAuctionSlug;
56
63
  type TypeStarsGiveawayOption = Raw.StarsGiveawayOption;
57
64
  type TypeStarsGiftOption = Raw.StarsGiftOption;
@@ -122,11 +129,18 @@ export declare namespace Raw {
122
129
  type TypeReportReason = Raw.InputReportReasonSpam | Raw.InputReportReasonViolence | Raw.InputReportReasonPornography | Raw.InputReportReasonChildAbuse | Raw.InputReportReasonOther | Raw.InputReportReasonCopyright | Raw.InputReportReasonGeoIrrelevant | Raw.InputReportReasonFake | Raw.InputReportReasonIllegalDrugs | Raw.InputReportReasonPersonalDetails;
123
130
  type TypeInputPeerNotifySettings = Raw.InputPeerNotifySettings;
124
131
  type TypeInputNotifyPeer = Raw.InputNotifyPeer | Raw.InputNotifyUsers | Raw.InputNotifyChats | Raw.InputNotifyBroadcasts | Raw.InputNotifyForumTopic | Raw.InputNotifyCommunity;
125
- type TypeInputPasskeyCredential = Raw.InputPasskeyCredentialPublicKey | Raw.InputPasskeyCredentialFirebasePNV;
132
+ type TypeInputPasskeyCredential = Raw.InputPasskeyCredentialPublicKey;
126
133
  type TypeInputCheckPasswordSRP = Raw.InputCheckPasswordEmpty | Raw.InputCheckPasswordSRP;
127
134
  type TypeEmailVerification = Raw.EmailVerificationCode | Raw.EmailVerificationGoogle | Raw.EmailVerificationApple;
128
135
  type TypeCodeSettings = Raw.CodeSettings;
129
136
  type TypeInputClientProxy = Raw.InputClientProxy;
137
+ type TypeTonConnectRequest = Raw.TonConnectRequest;
138
+ type TypeTonConnectManifest = Raw.TonConnectManifest;
139
+ type TypeWalletOwnershipProof = Raw.WalletOwnershipProof;
140
+ type TypeWalletTransactionPeer = Raw.WalletTransactionPeerUser | Raw.WalletTransactionPeerAddress | Raw.WalletTransactionPeerOnramp | Raw.WalletTransactionPeerUnsupported;
141
+ type TypeWalletUserAddress = Raw.WalletUserAddress;
142
+ type TypeOnrampMethodAvailability = Raw.OnrampMethodAvailability;
143
+ type TypeCurrencyRate = Raw.CurrencyRate;
130
144
  type TypeKeyboardInlineButton = Raw.KeyboardInlineButton;
131
145
  type TypeRequestPeerType = Raw.RequestPeerTypeUser | Raw.RequestPeerTypeChat | Raw.RequestPeerTypeBroadcast | Raw.RequestPeerTypeCreateBot;
132
146
  type TypeCommunityPeerRequest = Raw.CommunityPeerRequest;
@@ -260,7 +274,7 @@ export declare namespace Raw {
260
274
  type TypePageListItem = Raw.PageListItemText | Raw.PageListItemBlocks;
261
275
  type TypeRichButtonStyle = Raw.RichButtonStyle;
262
276
  type TypeInlineButtonType = Raw.InlineButtonTypeUrl | Raw.InlineButtonTypeUrlAuth | Raw.InputInlineButtonTypeUrlAuth | Raw.InlineButtonTypeWebView | Raw.InlineButtonTypeCallback | Raw.InlineButtonTypeGame | Raw.InlineButtonTypeBuy | Raw.InlineButtonTypeSwitchInline | Raw.InlineButtonTypeUserProfile | Raw.InputInlineButtonTypeUserProfile | Raw.InlineButtonTypeCopy | Raw.InlineButtonTypeDisabled;
263
- type TypeRichText = Raw.TextEmpty | Raw.TextPlain | Raw.TextBold | Raw.TextItalic | Raw.TextUnderline | Raw.TextStrike | Raw.TextFixed | Raw.TextUrl | Raw.TextEmail | Raw.TextConcat | Raw.TextSubscript | Raw.TextSuperscript | Raw.TextMarked | Raw.TextPhone | Raw.TextImage | Raw.TextAnchor | Raw.TextMath | Raw.TextCustomEmoji | Raw.TextSpoiler | Raw.TextMention | Raw.TextHashtag | Raw.TextBotCommand | Raw.TextCashtag | Raw.TextAutoUrl | Raw.TextAutoEmail | Raw.TextAutoPhone | Raw.TextBankCard | Raw.TextMentionName | Raw.TextDate | Raw.TextDiff | Raw.TextButton;
277
+ type TypeRichText = Raw.TextEmpty | Raw.TextPlain | Raw.TextBold | Raw.TextItalic | Raw.TextUnderline | Raw.TextStrike | Raw.TextFixed | Raw.TextUrl | Raw.TextEmail | Raw.TextConcat | Raw.TextSubscript | Raw.TextSuperscript | Raw.TextMarked | Raw.TextPhone | Raw.TextImage | Raw.TextAnchor | Raw.TextMath | Raw.TextCustomEmoji | Raw.TextSpoiler | Raw.TextMention | Raw.TextHashtag | Raw.TextBotCommand | Raw.TextCashtag | Raw.TextAutoUrl | Raw.TextAutoEmail | Raw.TextAutoPhone | Raw.TextBankCard | Raw.TextMentionName | Raw.TextDate | Raw.TextDiff | Raw.TextButton | Raw.TextTonAddress;
264
278
  type TypeHighScore = Raw.HighScore;
265
279
  type TypeStickerSetCovered = Raw.StickerSetCovered | Raw.StickerSetMultiCovered | Raw.StickerSetFullCovered | Raw.StickerSetNoCovered;
266
280
  type TypeInputReplyTo = Raw.InputReplyToMessage | Raw.InputReplyToStory | Raw.InputReplyToMonoForum | Raw.InputReplyToEphemeralMessage;
@@ -294,7 +308,10 @@ export declare namespace Raw {
294
308
  type TypeInputRichMessage = Raw.InputRichMessage | Raw.InputRichMessageHTML | Raw.InputRichMessageMarkdown;
295
309
  type TypeEncryptedFile = Raw.EncryptedFileEmpty | Raw.EncryptedFile;
296
310
  type TypeFileHash = Raw.FileHash;
297
- 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 | Raw.UpdateEmojiGameInfo | Raw.UpdateStarGiftCraftFail | Raw.UpdateChatParticipantRank | Raw.UpdateManagedBot | Raw.UpdateBotGuestChatQuery | Raw.UpdateAiComposeTones | Raw.UpdateJoinChatWebViewDecision | Raw.UpdateNewBotConnection | Raw.UpdateWebBrowserSettings | Raw.UpdateWebBrowserException | Raw.UpdateNewEphemeralMessage | Raw.UpdateDeleteEphemeralMessages | Raw.UpdateEditEphemeralMessage | Raw.UpdateEphemeralBotCallbackQuery | Raw.UpdateBotStarsSubscription | UpdateSecretChatMessage;
311
+ 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 | Raw.UpdateEmojiGameInfo | Raw.UpdateStarGiftCraftFail | Raw.UpdateChatParticipantRank | Raw.UpdateManagedBot | Raw.UpdateBotGuestChatQuery | Raw.UpdateAiComposeTones | Raw.UpdateJoinChatWebViewDecision | Raw.UpdateNewBotConnection | Raw.UpdateWebBrowserSettings | Raw.UpdateWebBrowserException | Raw.UpdateNewEphemeralMessage | Raw.UpdateDeleteEphemeralMessages | Raw.UpdateEditEphemeralMessage | Raw.UpdateEphemeralBotCallbackQuery | Raw.UpdateBotStarsSubscription | Raw.UpdateWalletState | Raw.UpdateSentWalletTransaction | Raw.UpdateWalletGaslessInfo | Raw.UpdateWalletTonConnectSession | Raw.UpdateWalletTonConnectPendingDisconnect | UpdateSecretChatMessage;
312
+ type TypeTonConnectSession = Raw.TonConnectSession;
313
+ type TypeWalletTransaction = Raw.WalletTransaction;
314
+ type TypeWalletState = Raw.WalletStateEmpty | Raw.WalletState;
298
315
  type TypeEphemeralMessage = Raw.EphemeralMessage;
299
316
  type TypeWebDomainException = Raw.WebDomainException;
300
317
  type TypeJoinChatBotResult = Raw.JoinChatBotResultApproved | Raw.JoinChatBotResultDeclined | Raw.JoinChatBotResultQueued | Raw.JoinChatBotResultWebView;
@@ -379,7 +396,7 @@ export declare namespace Raw {
379
396
  type TypeWebPage = Raw.WebPageEmpty | Raw.WebPagePending | Raw.WebPage | Raw.WebPageNotModified;
380
397
  type TypeGeoPoint = Raw.GeoPointEmpty | Raw.GeoPoint;
381
398
  type TypeDocument = Raw.DocumentEmpty | Raw.Document;
382
- 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 | Raw.MessageActionNewCreatorPending | Raw.MessageActionChangeCreator | Raw.MessageActionNoForwardsToggle | Raw.MessageActionNoForwardsRequest | Raw.MessageActionPollAppendAnswer | Raw.MessageActionPollDeleteAnswer | Raw.MessageActionManagedBotCreated | Raw.MessageActionChangeCommunity;
399
+ 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 | Raw.MessageActionNewCreatorPending | Raw.MessageActionChangeCreator | Raw.MessageActionNoForwardsToggle | Raw.MessageActionNoForwardsRequest | Raw.MessageActionPollAppendAnswer | Raw.MessageActionPollDeleteAnswer | Raw.MessageActionManagedBotCreated | Raw.MessageActionChangeCommunity | Raw.MessageActionChatJoinedViaCommunity | Raw.MessageActionGramTransfer | Raw.MessageActionWalletTonConnectRequest;
383
400
  type TypeRichMessage = Raw.RichMessage;
384
401
  type TypeSuggestedPost = Raw.SuggestedPost;
385
402
  type TypeFactCheck = Raw.FactCheck;
@@ -419,7 +436,7 @@ export declare namespace Raw {
419
436
  type TypeInputStickerSet = Raw.InputStickerSetEmpty | Raw.InputStickerSetID | Raw.InputStickerSetShortName | Raw.InputStickerSetAnimatedEmoji | Raw.InputStickerSetDice | Raw.InputStickerSetAnimatedEmojiAnimations | Raw.InputStickerSetPremiumGifts | Raw.InputStickerSetEmojiGenericAnimations | Raw.InputStickerSetEmojiDefaultStatuses | Raw.InputStickerSetEmojiDefaultTopicIcons | Raw.InputStickerSetEmojiChannelDefaultStatuses | Raw.InputStickerSetTonGifts;
420
437
  type TypeVideoSize = Raw.VideoSize | Raw.VideoSizeEmojiMarkup | Raw.VideoSizeStickerMarkup;
421
438
  type TypeTodoList = Raw.TodoList;
422
- type TypeMessageEntity = Raw.MessageEntityUnknown | Raw.MessageEntityMention | Raw.MessageEntityHashtag | Raw.MessageEntityBotCommand | Raw.MessageEntityUrl | Raw.MessageEntityEmail | Raw.MessageEntityBold | Raw.MessageEntityItalic | Raw.MessageEntityCode | Raw.MessageEntityPre | Raw.MessageEntityTextUrl | Raw.MessageEntityMentionName | Raw.InputMessageEntityMentionName | Raw.MessageEntityPhone | Raw.MessageEntityCashtag | Raw.MessageEntityUnderline | Raw.MessageEntityStrike | Raw.MessageEntityBankCard | Raw.MessageEntitySpoiler | Raw.MessageEntityCustomEmoji | Raw.MessageEntityBlockquote | Raw.MessageEntityFormattedDate | Raw.MessageEntityDiffInsert | Raw.MessageEntityDiffReplace | Raw.MessageEntityDiffDelete | Raw.MessageEntityBlockquote101;
439
+ type TypeMessageEntity = Raw.MessageEntityUnknown | Raw.MessageEntityMention | Raw.MessageEntityHashtag | Raw.MessageEntityBotCommand | Raw.MessageEntityUrl | Raw.MessageEntityEmail | Raw.MessageEntityBold | Raw.MessageEntityItalic | Raw.MessageEntityCode | Raw.MessageEntityPre | Raw.MessageEntityTextUrl | Raw.MessageEntityMentionName | Raw.InputMessageEntityMentionName | Raw.MessageEntityPhone | Raw.MessageEntityCashtag | Raw.MessageEntityUnderline | Raw.MessageEntityStrike | Raw.MessageEntityBankCard | Raw.MessageEntitySpoiler | Raw.MessageEntityCustomEmoji | Raw.MessageEntityBlockquote | Raw.MessageEntityFormattedDate | Raw.MessageEntityDiffInsert | Raw.MessageEntityDiffReplace | Raw.MessageEntityDiffDelete | Raw.MessageEntityTonAddress | Raw.MessageEntityBlockquote101;
423
440
  type TypePoll = Raw.Poll;
424
441
  type TypeInputMedia = Raw.InputMediaEmpty | Raw.InputMediaUploadedPhoto | Raw.InputMediaPhoto | Raw.InputMediaGeoPoint | Raw.InputMediaContact | Raw.InputMediaUploadedDocument | Raw.InputMediaDocument | Raw.InputMediaVenue | Raw.InputMediaPhotoExternal | Raw.InputMediaDocumentExternal | Raw.InputMediaGame | Raw.InputMediaInvoice | Raw.InputMediaGeoLive | Raw.InputMediaPoll | Raw.InputMediaDice | Raw.InputMediaStory | Raw.InputMediaWebPage | Raw.InputMediaPaidMedia | Raw.InputMediaTodo | Raw.InputMediaStakeDice;
425
442
  type TypeDataJSON = Raw.DataJSON;
@@ -5113,6 +5130,71 @@ export declare namespace Raw {
5113
5130
  */
5114
5131
  write(): Buffer;
5115
5132
  }
5133
+ class MessageActionChatJoinedViaCommunity extends TLObject {
5134
+ communityId: long;
5135
+ constructor(params: {
5136
+ communityId: long;
5137
+ });
5138
+ /**
5139
+ * Generate the TLObject from buffer.
5140
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
5141
+ */
5142
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.MessageActionChatJoinedViaCommunity>;
5143
+ /**
5144
+ * Generate buffer from TLObject.
5145
+ */
5146
+ write(): Buffer;
5147
+ }
5148
+ class MessageActionGramTransfer extends TLObject {
5149
+ commentEncrypted?: boolean;
5150
+ amount: long;
5151
+ peerAddress: string;
5152
+ transactionId: string;
5153
+ comment?: string;
5154
+ constructor(params: {
5155
+ commentEncrypted?: boolean;
5156
+ amount: long;
5157
+ peerAddress: string;
5158
+ transactionId: string;
5159
+ comment?: string;
5160
+ });
5161
+ /**
5162
+ * Generate the TLObject from buffer.
5163
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
5164
+ */
5165
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.MessageActionGramTransfer>;
5166
+ /**
5167
+ * Generate buffer from TLObject.
5168
+ */
5169
+ write(): Buffer;
5170
+ }
5171
+ class MessageActionWalletTonConnectRequest extends TLObject {
5172
+ accepted?: boolean;
5173
+ declined?: boolean;
5174
+ sessionId: long;
5175
+ expires: int;
5176
+ topic?: string;
5177
+ traceId?: string;
5178
+ dappName?: string;
5179
+ constructor(params: {
5180
+ accepted?: boolean;
5181
+ declined?: boolean;
5182
+ sessionId: long;
5183
+ expires: int;
5184
+ topic?: string;
5185
+ traceId?: string;
5186
+ dappName?: string;
5187
+ });
5188
+ /**
5189
+ * Generate the TLObject from buffer.
5190
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
5191
+ */
5192
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.MessageActionWalletTonConnectRequest>;
5193
+ /**
5194
+ * Generate buffer from TLObject.
5195
+ */
5196
+ write(): Buffer;
5197
+ }
5116
5198
  class Dialog extends TLObject {
5117
5199
  pinned?: boolean;
5118
5200
  unreadMark?: boolean;
@@ -9181,6 +9263,93 @@ export declare namespace Raw {
9181
9263
  */
9182
9264
  write(): Buffer;
9183
9265
  }
9266
+ class UpdateWalletState extends TLObject {
9267
+ state: Raw.TypeWalletState;
9268
+ constructor(params: {
9269
+ state: Raw.TypeWalletState;
9270
+ });
9271
+ /**
9272
+ * Generate the TLObject from buffer.
9273
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
9274
+ */
9275
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.UpdateWalletState>;
9276
+ /**
9277
+ * Generate buffer from TLObject.
9278
+ */
9279
+ write(): Buffer;
9280
+ }
9281
+ class UpdateSentWalletTransaction extends TLObject {
9282
+ gasless?: boolean;
9283
+ msgHash: string;
9284
+ transaction?: Raw.TypeWalletTransaction;
9285
+ constructor(params: {
9286
+ gasless?: boolean;
9287
+ msgHash: string;
9288
+ transaction?: Raw.TypeWalletTransaction;
9289
+ });
9290
+ /**
9291
+ * Generate the TLObject from buffer.
9292
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
9293
+ */
9294
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.UpdateSentWalletTransaction>;
9295
+ /**
9296
+ * Generate buffer from TLObject.
9297
+ */
9298
+ write(): Buffer;
9299
+ }
9300
+ class UpdateWalletGaslessInfo extends TLObject {
9301
+ available?: boolean;
9302
+ left: int;
9303
+ resetAt: int;
9304
+ minAmount: long;
9305
+ relayerAddress: string;
9306
+ constructor(params: {
9307
+ available?: boolean;
9308
+ left: int;
9309
+ resetAt: int;
9310
+ minAmount: long;
9311
+ relayerAddress: string;
9312
+ });
9313
+ /**
9314
+ * Generate the TLObject from buffer.
9315
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
9316
+ */
9317
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.UpdateWalletGaslessInfo>;
9318
+ /**
9319
+ * Generate buffer from TLObject.
9320
+ */
9321
+ write(): Buffer;
9322
+ }
9323
+ class UpdateWalletTonConnectSession extends TLObject {
9324
+ session: Raw.TypeTonConnectSession;
9325
+ constructor(params: {
9326
+ session: Raw.TypeTonConnectSession;
9327
+ });
9328
+ /**
9329
+ * Generate the TLObject from buffer.
9330
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
9331
+ */
9332
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.UpdateWalletTonConnectSession>;
9333
+ /**
9334
+ * Generate buffer from TLObject.
9335
+ */
9336
+ write(): Buffer;
9337
+ }
9338
+ class UpdateWalletTonConnectPendingDisconnect extends TLObject {
9339
+ sessionIds: Vector<long>;
9340
+ constructor(params: {
9341
+ sessionIds: Vector<long>;
9342
+ });
9343
+ /**
9344
+ * Generate the TLObject from buffer.
9345
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
9346
+ */
9347
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.UpdateWalletTonConnectPendingDisconnect>;
9348
+ /**
9349
+ * Generate buffer from TLObject.
9350
+ */
9351
+ write(): Buffer;
9352
+ }
9184
9353
  class UpdatesTooLong extends TLObject {
9185
9354
  constructor();
9186
9355
  /**
@@ -12249,6 +12418,23 @@ export declare namespace Raw {
12249
12418
  */
12250
12419
  write(): Buffer;
12251
12420
  }
12421
+ class MessageEntityTonAddress extends TLObject {
12422
+ offset: int;
12423
+ length: int;
12424
+ constructor(params: {
12425
+ offset: int;
12426
+ length: int;
12427
+ });
12428
+ /**
12429
+ * Generate the TLObject from buffer.
12430
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
12431
+ */
12432
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.MessageEntityTonAddress>;
12433
+ /**
12434
+ * Generate buffer from TLObject.
12435
+ */
12436
+ write(): Buffer;
12437
+ }
12252
12438
  class InputChannelEmpty extends TLObject {
12253
12439
  constructor();
12254
12440
  /**
@@ -14159,6 +14345,21 @@ export declare namespace Raw {
14159
14345
  */
14160
14346
  write(): Buffer;
14161
14347
  }
14348
+ class TextTonAddress extends TLObject {
14349
+ text: Raw.TypeRichText;
14350
+ constructor(params: {
14351
+ text: Raw.TypeRichText;
14352
+ });
14353
+ /**
14354
+ * Generate the TLObject from buffer.
14355
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
14356
+ */
14357
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.TextTonAddress>;
14358
+ /**
14359
+ * Generate buffer from TLObject.
14360
+ */
14361
+ write(): Buffer;
14362
+ }
14162
14363
  class PageBlockUnsupported extends TLObject {
14163
14364
  constructor();
14164
14365
  /**
@@ -21362,10 +21563,14 @@ export declare namespace Raw {
21362
21563
  class Username extends TLObject {
21363
21564
  editable?: boolean;
21364
21565
  active?: boolean;
21566
+ deletable?: boolean;
21567
+ expired?: boolean;
21365
21568
  username: string;
21366
21569
  constructor(params: {
21367
21570
  editable?: boolean;
21368
21571
  active?: boolean;
21572
+ deletable?: boolean;
21573
+ expired?: boolean;
21369
21574
  username: string;
21370
21575
  });
21371
21576
  /**
@@ -24350,12 +24555,12 @@ export declare namespace Raw {
24350
24555
  canModifyCustomDescription?: boolean;
24351
24556
  icon: long;
24352
24557
  company: string;
24353
- customDescription?: string;
24558
+ customDescription?: Raw.TypeTextWithEntities;
24354
24559
  constructor(params: {
24355
24560
  canModifyCustomDescription?: boolean;
24356
24561
  icon: long;
24357
24562
  company: string;
24358
- customDescription?: string;
24563
+ customDescription?: Raw.TypeTextWithEntities;
24359
24564
  });
24360
24565
  /**
24361
24566
  * Generate the TLObject from buffer.
@@ -24370,11 +24575,11 @@ export declare namespace Raw {
24370
24575
  class BotVerification extends TLObject {
24371
24576
  botId: long;
24372
24577
  icon: long;
24373
- description: string;
24578
+ description: Raw.TypeTextWithEntities;
24374
24579
  constructor(params: {
24375
24580
  botId: long;
24376
24581
  icon: long;
24377
- description: string;
24582
+ description: Raw.TypeTextWithEntities;
24378
24583
  });
24379
24584
  /**
24380
24585
  * Generate the TLObject from buffer.
@@ -25486,21 +25691,6 @@ export declare namespace Raw {
25486
25691
  */
25487
25692
  write(): Buffer;
25488
25693
  }
25489
- class InputPasskeyCredentialFirebasePNV extends TLObject {
25490
- pnvToken: string;
25491
- constructor(params: {
25492
- pnvToken: string;
25493
- });
25494
- /**
25495
- * Generate the TLObject from buffer.
25496
- * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
25497
- */
25498
- static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.InputPasskeyCredentialFirebasePNV>;
25499
- /**
25500
- * Generate buffer from TLObject.
25501
- */
25502
- write(): Buffer;
25503
- }
25504
25694
  class StarGiftBackground extends TLObject {
25505
25695
  centerColor: int;
25506
25696
  edgeColor: int;
@@ -26454,6 +26644,474 @@ export declare namespace Raw {
26454
26644
  */
26455
26645
  write(): Buffer;
26456
26646
  }
26647
+ class CurrencyRate extends TLObject {
26648
+ currency: string;
26649
+ rate: double;
26650
+ constructor(params: {
26651
+ currency: string;
26652
+ rate: double;
26653
+ });
26654
+ /**
26655
+ * Generate the TLObject from buffer.
26656
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
26657
+ */
26658
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.CurrencyRate>;
26659
+ /**
26660
+ * Generate buffer from TLObject.
26661
+ */
26662
+ write(): Buffer;
26663
+ }
26664
+ class OnrampMethodAvailability extends TLObject {
26665
+ available?: boolean;
26666
+ paymentMethod: string;
26667
+ constructor(params: {
26668
+ available?: boolean;
26669
+ paymentMethod: string;
26670
+ });
26671
+ /**
26672
+ * Generate the TLObject from buffer.
26673
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
26674
+ */
26675
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.OnrampMethodAvailability>;
26676
+ /**
26677
+ * Generate buffer from TLObject.
26678
+ */
26679
+ write(): Buffer;
26680
+ }
26681
+ class OnrampProviderInfo extends TLObject {
26682
+ supportsBaseCurrencies?: boolean;
26683
+ supportsLimits?: boolean;
26684
+ supportsQuote?: boolean;
26685
+ id: string;
26686
+ name: string;
26687
+ cryptoCurrencies: Vector<string>;
26688
+ constructor(params: {
26689
+ supportsBaseCurrencies?: boolean;
26690
+ supportsLimits?: boolean;
26691
+ supportsQuote?: boolean;
26692
+ id: string;
26693
+ name: string;
26694
+ cryptoCurrencies: Vector<string>;
26695
+ });
26696
+ /**
26697
+ * Generate the TLObject from buffer.
26698
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
26699
+ */
26700
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.OnrampProviderInfo>;
26701
+ /**
26702
+ * Generate buffer from TLObject.
26703
+ */
26704
+ write(): Buffer;
26705
+ }
26706
+ class OnrampAvailability extends TLObject {
26707
+ allowed?: boolean;
26708
+ buyAllowed?: boolean;
26709
+ countryCode: string;
26710
+ state?: string;
26711
+ methods: Vector<Raw.TypeOnrampMethodAvailability>;
26712
+ constructor(params: {
26713
+ allowed?: boolean;
26714
+ buyAllowed?: boolean;
26715
+ countryCode: string;
26716
+ state?: string;
26717
+ methods: Vector<Raw.TypeOnrampMethodAvailability>;
26718
+ });
26719
+ /**
26720
+ * Generate the TLObject from buffer.
26721
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
26722
+ */
26723
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.OnrampAvailability>;
26724
+ /**
26725
+ * Generate buffer from TLObject.
26726
+ */
26727
+ write(): Buffer;
26728
+ }
26729
+ class OnrampLimits extends TLObject {
26730
+ baseCurrency: string;
26731
+ baseMinAmount: string;
26732
+ baseMaxAmount: string;
26733
+ cryptoMinAmount: string;
26734
+ cryptoMaxAmount: string;
26735
+ paymentMethod: string;
26736
+ constructor(params: {
26737
+ baseCurrency: string;
26738
+ baseMinAmount: string;
26739
+ baseMaxAmount: string;
26740
+ cryptoMinAmount: string;
26741
+ cryptoMaxAmount: string;
26742
+ paymentMethod: string;
26743
+ });
26744
+ /**
26745
+ * Generate the TLObject from buffer.
26746
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
26747
+ */
26748
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.OnrampLimits>;
26749
+ /**
26750
+ * Generate buffer from TLObject.
26751
+ */
26752
+ write(): Buffer;
26753
+ }
26754
+ class OnrampQuote extends TLObject {
26755
+ baseCurrency: string;
26756
+ baseAmount: string;
26757
+ cryptoCurrency: string;
26758
+ cryptoAmount: string;
26759
+ cryptoPrice: string;
26760
+ feeAmount: string;
26761
+ extraFeeAmount: string;
26762
+ networkFeeAmount: string;
26763
+ totalAmount: string;
26764
+ paymentMethod: string;
26765
+ expiresDate: int;
26766
+ constructor(params: {
26767
+ baseCurrency: string;
26768
+ baseAmount: string;
26769
+ cryptoCurrency: string;
26770
+ cryptoAmount: string;
26771
+ cryptoPrice: string;
26772
+ feeAmount: string;
26773
+ extraFeeAmount: string;
26774
+ networkFeeAmount: string;
26775
+ totalAmount: string;
26776
+ paymentMethod: string;
26777
+ expiresDate: int;
26778
+ });
26779
+ /**
26780
+ * Generate the TLObject from buffer.
26781
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
26782
+ */
26783
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.OnrampQuote>;
26784
+ /**
26785
+ * Generate buffer from TLObject.
26786
+ */
26787
+ write(): Buffer;
26788
+ }
26789
+ class OnrampSession extends TLObject {
26790
+ provider: string;
26791
+ sessionId: string;
26792
+ url: string;
26793
+ expiresDate: int;
26794
+ constructor(params: {
26795
+ provider: string;
26796
+ sessionId: string;
26797
+ url: string;
26798
+ expiresDate: int;
26799
+ });
26800
+ /**
26801
+ * Generate the TLObject from buffer.
26802
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
26803
+ */
26804
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.OnrampSession>;
26805
+ /**
26806
+ * Generate buffer from TLObject.
26807
+ */
26808
+ write(): Buffer;
26809
+ }
26810
+ class WalletStateEmpty extends TLObject {
26811
+ creating?: boolean;
26812
+ constructor(params: {
26813
+ creating?: boolean;
26814
+ });
26815
+ /**
26816
+ * Generate the TLObject from buffer.
26817
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
26818
+ */
26819
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.WalletStateEmpty>;
26820
+ /**
26821
+ * Generate buffer from TLObject.
26822
+ */
26823
+ write(): Buffer;
26824
+ }
26825
+ class WalletState extends TLObject {
26826
+ backupEnabled?: boolean;
26827
+ canExportPhrase?: boolean;
26828
+ canEnableBackup?: boolean;
26829
+ address: string;
26830
+ publicKey: bytes;
26831
+ balance: long;
26832
+ constructor(params: {
26833
+ backupEnabled?: boolean;
26834
+ canExportPhrase?: boolean;
26835
+ canEnableBackup?: boolean;
26836
+ address: string;
26837
+ publicKey: bytes;
26838
+ balance: long;
26839
+ });
26840
+ /**
26841
+ * Generate the TLObject from buffer.
26842
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
26843
+ */
26844
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.WalletState>;
26845
+ /**
26846
+ * Generate buffer from TLObject.
26847
+ */
26848
+ write(): Buffer;
26849
+ }
26850
+ class WalletUserAddress extends TLObject {
26851
+ userId?: long;
26852
+ address: string;
26853
+ publicKey: bytes;
26854
+ constructor(params: {
26855
+ userId?: long;
26856
+ address: string;
26857
+ publicKey: bytes;
26858
+ });
26859
+ /**
26860
+ * Generate the TLObject from buffer.
26861
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
26862
+ */
26863
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.WalletUserAddress>;
26864
+ /**
26865
+ * Generate buffer from TLObject.
26866
+ */
26867
+ write(): Buffer;
26868
+ }
26869
+ class WalletTransactionPeerUser extends TLObject {
26870
+ userId: long;
26871
+ address: string;
26872
+ domain?: string;
26873
+ constructor(params: {
26874
+ userId: long;
26875
+ address: string;
26876
+ domain?: string;
26877
+ });
26878
+ /**
26879
+ * Generate the TLObject from buffer.
26880
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
26881
+ */
26882
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.WalletTransactionPeerUser>;
26883
+ /**
26884
+ * Generate buffer from TLObject.
26885
+ */
26886
+ write(): Buffer;
26887
+ }
26888
+ class WalletTransactionPeerAddress extends TLObject {
26889
+ address: string;
26890
+ domain?: string;
26891
+ constructor(params: {
26892
+ address: string;
26893
+ domain?: string;
26894
+ });
26895
+ /**
26896
+ * Generate the TLObject from buffer.
26897
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
26898
+ */
26899
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.WalletTransactionPeerAddress>;
26900
+ /**
26901
+ * Generate buffer from TLObject.
26902
+ */
26903
+ write(): Buffer;
26904
+ }
26905
+ class WalletTransactionPeerOnramp extends TLObject {
26906
+ address: string;
26907
+ domain?: string;
26908
+ providerName: string;
26909
+ constructor(params: {
26910
+ address: string;
26911
+ domain?: string;
26912
+ providerName: string;
26913
+ });
26914
+ /**
26915
+ * Generate the TLObject from buffer.
26916
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
26917
+ */
26918
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.WalletTransactionPeerOnramp>;
26919
+ /**
26920
+ * Generate buffer from TLObject.
26921
+ */
26922
+ write(): Buffer;
26923
+ }
26924
+ class WalletTransactionPeerUnsupported extends TLObject {
26925
+ constructor();
26926
+ /**
26927
+ * Generate the TLObject from buffer.
26928
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
26929
+ */
26930
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.WalletTransactionPeerUnsupported>;
26931
+ /**
26932
+ * Generate buffer from TLObject.
26933
+ */
26934
+ write(): Buffer;
26935
+ }
26936
+ class WalletTransaction extends TLObject {
26937
+ incoming?: boolean;
26938
+ gasless?: boolean;
26939
+ failed?: boolean;
26940
+ keyChange?: boolean;
26941
+ commentEncrypted?: boolean;
26942
+ id: string;
26943
+ amount: long;
26944
+ fee: long;
26945
+ date: int;
26946
+ peer: Raw.TypeWalletTransactionPeer;
26947
+ comment?: string;
26948
+ txHash?: string;
26949
+ nft?: Raw.wallet.TypeNftItem;
26950
+ constructor(params: {
26951
+ incoming?: boolean;
26952
+ gasless?: boolean;
26953
+ failed?: boolean;
26954
+ keyChange?: boolean;
26955
+ commentEncrypted?: boolean;
26956
+ id: string;
26957
+ amount: long;
26958
+ fee: long;
26959
+ date: int;
26960
+ peer: Raw.TypeWalletTransactionPeer;
26961
+ comment?: string;
26962
+ txHash?: string;
26963
+ nft?: Raw.wallet.TypeNftItem;
26964
+ });
26965
+ /**
26966
+ * Generate the TLObject from buffer.
26967
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
26968
+ */
26969
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.WalletTransaction>;
26970
+ /**
26971
+ * Generate buffer from TLObject.
26972
+ */
26973
+ write(): Buffer;
26974
+ }
26975
+ class WalletOwnershipProof extends TLObject {
26976
+ timestamp: int;
26977
+ signature: bytes;
26978
+ constructor(params: {
26979
+ timestamp: int;
26980
+ signature: bytes;
26981
+ });
26982
+ /**
26983
+ * Generate the TLObject from buffer.
26984
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
26985
+ */
26986
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.WalletOwnershipProof>;
26987
+ /**
26988
+ * Generate buffer from TLObject.
26989
+ */
26990
+ write(): Buffer;
26991
+ }
26992
+ class InputWalletNew extends TLObject {
26993
+ constructor();
26994
+ /**
26995
+ * Generate the TLObject from buffer.
26996
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
26997
+ */
26998
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.InputWalletNew>;
26999
+ /**
27000
+ * Generate buffer from TLObject.
27001
+ */
27002
+ write(): Buffer;
27003
+ }
27004
+ class InputWalletImported extends TLObject {
27005
+ publicKey: bytes;
27006
+ anchorPublicKey?: bytes;
27007
+ proof: Raw.TypeWalletOwnershipProof;
27008
+ constructor(params: {
27009
+ publicKey: bytes;
27010
+ anchorPublicKey?: bytes;
27011
+ proof: Raw.TypeWalletOwnershipProof;
27012
+ });
27013
+ /**
27014
+ * Generate the TLObject from buffer.
27015
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
27016
+ */
27017
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.InputWalletImported>;
27018
+ /**
27019
+ * Generate buffer from TLObject.
27020
+ */
27021
+ write(): Buffer;
27022
+ }
27023
+ class TonConnectManifest extends TLObject {
27024
+ url: string;
27025
+ name: string;
27026
+ icon?: Raw.TypeWebDocument;
27027
+ constructor(params: {
27028
+ url: string;
27029
+ name: string;
27030
+ icon?: Raw.TypeWebDocument;
27031
+ });
27032
+ /**
27033
+ * Generate the TLObject from buffer.
27034
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
27035
+ */
27036
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.TonConnectManifest>;
27037
+ /**
27038
+ * Generate buffer from TLObject.
27039
+ */
27040
+ write(): Buffer;
27041
+ }
27042
+ class TonConnectSession extends TLObject {
27043
+ pending?: boolean;
27044
+ closing?: boolean;
27045
+ closed?: boolean;
27046
+ id: long;
27047
+ dappClientId: string;
27048
+ clientId?: string;
27049
+ nonce: bytes;
27050
+ manifest?: Raw.TypeTonConnectManifest;
27051
+ manifestError?: int;
27052
+ date: int;
27053
+ constructor(params: {
27054
+ pending?: boolean;
27055
+ closing?: boolean;
27056
+ closed?: boolean;
27057
+ id: long;
27058
+ dappClientId: string;
27059
+ clientId?: string;
27060
+ nonce: bytes;
27061
+ manifest?: Raw.TypeTonConnectManifest;
27062
+ manifestError?: int;
27063
+ date: int;
27064
+ });
27065
+ /**
27066
+ * Generate the TLObject from buffer.
27067
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
27068
+ */
27069
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.TonConnectSession>;
27070
+ /**
27071
+ * Generate buffer from TLObject.
27072
+ */
27073
+ write(): Buffer;
27074
+ }
27075
+ class TonConnectNextEventId extends TLObject {
27076
+ eventId: long;
27077
+ constructor(params: {
27078
+ eventId: long;
27079
+ });
27080
+ /**
27081
+ * Generate the TLObject from buffer.
27082
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
27083
+ */
27084
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.TonConnectNextEventId>;
27085
+ /**
27086
+ * Generate buffer from TLObject.
27087
+ */
27088
+ write(): Buffer;
27089
+ }
27090
+ class TonConnectRequest extends TLObject {
27091
+ sessionId: long;
27092
+ msgId: int;
27093
+ body: bytes;
27094
+ expires: int;
27095
+ topic?: string;
27096
+ traceId?: string;
27097
+ constructor(params: {
27098
+ sessionId: long;
27099
+ msgId: int;
27100
+ body: bytes;
27101
+ expires: int;
27102
+ topic?: string;
27103
+ traceId?: string;
27104
+ });
27105
+ /**
27106
+ * Generate the TLObject from buffer.
27107
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
27108
+ */
27109
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.TonConnectRequest>;
27110
+ /**
27111
+ * Generate buffer from TLObject.
27112
+ */
27113
+ write(): Buffer;
27114
+ }
26457
27115
  class InvokeAfterMsg extends TLObject {
26458
27116
  __response__: X;
26459
27117
  msgId: long;
@@ -29773,11 +30431,29 @@ export declare namespace Raw {
29773
30431
  */
29774
30432
  write(): Buffer;
29775
30433
  }
30434
+ class CancelWebTokenAuthorization extends TLObject {
30435
+ __response__: Bool;
30436
+ webAuthToken: string;
30437
+ constructor(params: {
30438
+ webAuthToken: string;
30439
+ });
30440
+ /**
30441
+ * Generate the TLObject from buffer.
30442
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
30443
+ */
30444
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.auth.CancelWebTokenAuthorization>;
30445
+ /**
30446
+ * Generate buffer from TLObject.
30447
+ */
30448
+ write(): Buffer;
30449
+ }
29776
30450
  class InitFirebasePnvLogin extends TLObject {
29777
30451
  __response__: Raw.auth.TypeFirebasePnvIntent;
30452
+ exceptIds?: Vector<long>;
29778
30453
  apiId: int;
29779
30454
  apiHash: string;
29780
30455
  constructor(params: {
30456
+ exceptIds?: Vector<long>;
29781
30457
  apiId: int;
29782
30458
  apiHash: string;
29783
30459
  });
@@ -42469,6 +43145,7 @@ export declare namespace Raw {
42469
43145
  }
42470
43146
  }
42471
43147
  namespace payments {
43148
+ type TypeCurrencyRates = Raw.payments.CurrencyRates;
42472
43149
  type TypeStarGiftUpgradeAttributes = Raw.payments.StarGiftUpgradeAttributes;
42473
43150
  type TypeStarGiftActiveAuctions = Raw.payments.StarGiftActiveAuctionsNotModified | Raw.payments.StarGiftActiveAuctions;
42474
43151
  type TypeStarGiftAuctionAcquiredGifts = Raw.payments.StarGiftAuctionAcquiredGifts;
@@ -43286,6 +43963,21 @@ export declare namespace Raw {
43286
43963
  */
43287
43964
  write(): Buffer;
43288
43965
  }
43966
+ class CurrencyRates extends TLObject {
43967
+ rates: Vector<Raw.TypeCurrencyRate>;
43968
+ constructor(params: {
43969
+ rates: Vector<Raw.TypeCurrencyRate>;
43970
+ });
43971
+ /**
43972
+ * Generate the TLObject from buffer.
43973
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
43974
+ */
43975
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.payments.CurrencyRates>;
43976
+ /**
43977
+ * Generate buffer from TLObject.
43978
+ */
43979
+ write(): Buffer;
43980
+ }
43289
43981
  class GetPaymentForm extends TLObject {
43290
43982
  __response__: Raw.payments.TypePaymentForm;
43291
43983
  invoice: Raw.TypeInputInvoice;
@@ -44509,6 +45201,157 @@ export declare namespace Raw {
44509
45201
  */
44510
45202
  write(): Buffer;
44511
45203
  }
45204
+ class GetCurrencyRates extends TLObject {
45205
+ __response__: Raw.payments.TypeCurrencyRates;
45206
+ constructor();
45207
+ /**
45208
+ * Generate the TLObject from buffer.
45209
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
45210
+ */
45211
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.payments.GetCurrencyRates>;
45212
+ /**
45213
+ * Generate buffer from TLObject.
45214
+ */
45215
+ write(): Buffer;
45216
+ }
45217
+ class GetOnrampProviders extends TLObject {
45218
+ __response__: Vector<Raw.TypeOnrampProviderInfo>;
45219
+ cryptoCurrency?: string;
45220
+ constructor(params: {
45221
+ cryptoCurrency?: string;
45222
+ });
45223
+ /**
45224
+ * Generate the TLObject from buffer.
45225
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
45226
+ */
45227
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.payments.GetOnrampProviders>;
45228
+ /**
45229
+ * Generate buffer from TLObject.
45230
+ */
45231
+ write(): Buffer;
45232
+ }
45233
+ class GetOnrampBaseCurrencies extends TLObject {
45234
+ __response__: Vector<string>;
45235
+ provider: string;
45236
+ cryptoCurrency: string;
45237
+ constructor(params: {
45238
+ provider: string;
45239
+ cryptoCurrency: string;
45240
+ });
45241
+ /**
45242
+ * Generate the TLObject from buffer.
45243
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
45244
+ */
45245
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.payments.GetOnrampBaseCurrencies>;
45246
+ /**
45247
+ * Generate buffer from TLObject.
45248
+ */
45249
+ write(): Buffer;
45250
+ }
45251
+ class GetOnrampAvailability extends TLObject {
45252
+ __response__: Raw.TypeOnrampAvailability;
45253
+ provider: string;
45254
+ cryptoCurrency: string;
45255
+ baseCurrency?: string;
45256
+ constructor(params: {
45257
+ provider: string;
45258
+ cryptoCurrency: string;
45259
+ baseCurrency?: string;
45260
+ });
45261
+ /**
45262
+ * Generate the TLObject from buffer.
45263
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
45264
+ */
45265
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.payments.GetOnrampAvailability>;
45266
+ /**
45267
+ * Generate buffer from TLObject.
45268
+ */
45269
+ write(): Buffer;
45270
+ }
45271
+ class GetOnrampLimits extends TLObject {
45272
+ __response__: Raw.TypeOnrampLimits;
45273
+ provider: string;
45274
+ cryptoCurrency: string;
45275
+ baseCurrency: string;
45276
+ paymentMethod?: string;
45277
+ constructor(params: {
45278
+ provider: string;
45279
+ cryptoCurrency: string;
45280
+ baseCurrency: string;
45281
+ paymentMethod?: string;
45282
+ });
45283
+ /**
45284
+ * Generate the TLObject from buffer.
45285
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
45286
+ */
45287
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.payments.GetOnrampLimits>;
45288
+ /**
45289
+ * Generate buffer from TLObject.
45290
+ */
45291
+ write(): Buffer;
45292
+ }
45293
+ class GetOnrampQuote extends TLObject {
45294
+ __response__: Raw.TypeOnrampQuote;
45295
+ provider: string;
45296
+ cryptoCurrency: string;
45297
+ baseCurrency: string;
45298
+ baseAmount?: string;
45299
+ cryptoAmount?: string;
45300
+ paymentMethod?: string;
45301
+ constructor(params: {
45302
+ provider: string;
45303
+ cryptoCurrency: string;
45304
+ baseCurrency: string;
45305
+ baseAmount?: string;
45306
+ cryptoAmount?: string;
45307
+ paymentMethod?: string;
45308
+ });
45309
+ /**
45310
+ * Generate the TLObject from buffer.
45311
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
45312
+ */
45313
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.payments.GetOnrampQuote>;
45314
+ /**
45315
+ * Generate buffer from TLObject.
45316
+ */
45317
+ write(): Buffer;
45318
+ }
45319
+ class CreateOnrampSession extends TLObject {
45320
+ __response__: Raw.TypeOnrampSession;
45321
+ provider: string;
45322
+ cryptoCurrency: string;
45323
+ address: string;
45324
+ paymentMethod?: string;
45325
+ baseCurrency?: string;
45326
+ baseAmount?: string;
45327
+ memo?: string;
45328
+ theme?: string;
45329
+ successReturnUrl?: string;
45330
+ failReturnUrl?: string;
45331
+ cryptoAmount?: string;
45332
+ constructor(params: {
45333
+ provider: string;
45334
+ cryptoCurrency: string;
45335
+ address: string;
45336
+ paymentMethod?: string;
45337
+ baseCurrency?: string;
45338
+ baseAmount?: string;
45339
+ memo?: string;
45340
+ theme?: string;
45341
+ successReturnUrl?: string;
45342
+ failReturnUrl?: string;
45343
+ cryptoAmount?: string;
45344
+ });
45345
+ /**
45346
+ * Generate the TLObject from buffer.
45347
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
45348
+ */
45349
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.payments.CreateOnrampSession>;
45350
+ /**
45351
+ * Generate buffer from TLObject.
45352
+ */
45353
+ write(): Buffer;
45354
+ }
44512
45355
  }
44513
45356
  namespace phone {
44514
45357
  type TypeGroupCallStars = Raw.phone.GroupCallStars;
@@ -47239,12 +48082,12 @@ export declare namespace Raw {
47239
48082
  enabled?: boolean;
47240
48083
  bot?: Raw.TypeInputUser;
47241
48084
  peer: Raw.TypeInputPeer;
47242
- customDescription?: string;
48085
+ customDescription?: Raw.TypeTextWithEntities;
47243
48086
  constructor(params: {
47244
48087
  enabled?: boolean;
47245
48088
  bot?: Raw.TypeInputUser;
47246
48089
  peer: Raw.TypeInputPeer;
47247
- customDescription?: string;
48090
+ customDescription?: Raw.TypeTextWithEntities;
47248
48091
  });
47249
48092
  /**
47250
48093
  * Generate the TLObject from buffer.
@@ -47274,8 +48117,10 @@ export declare namespace Raw {
47274
48117
  }
47275
48118
  class CheckUsername extends TLObject {
47276
48119
  __response__: Bool;
48120
+ additional?: boolean;
47277
48121
  username: string;
47278
48122
  constructor(params: {
48123
+ additional?: boolean;
47279
48124
  username: string;
47280
48125
  });
47281
48126
  /**
@@ -47418,6 +48263,42 @@ export declare namespace Raw {
47418
48263
  */
47419
48264
  write(): Buffer;
47420
48265
  }
48266
+ class AddUsername extends TLObject {
48267
+ __response__: Bool;
48268
+ bot: Raw.TypeInputUser;
48269
+ username: string;
48270
+ constructor(params: {
48271
+ bot: Raw.TypeInputUser;
48272
+ username: string;
48273
+ });
48274
+ /**
48275
+ * Generate the TLObject from buffer.
48276
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
48277
+ */
48278
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.bots.AddUsername>;
48279
+ /**
48280
+ * Generate buffer from TLObject.
48281
+ */
48282
+ write(): Buffer;
48283
+ }
48284
+ class RemoveUsername extends TLObject {
48285
+ __response__: Bool;
48286
+ bot: Raw.TypeInputUser;
48287
+ username: string;
48288
+ constructor(params: {
48289
+ bot: Raw.TypeInputUser;
48290
+ username: string;
48291
+ });
48292
+ /**
48293
+ * Generate the TLObject from buffer.
48294
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
48295
+ */
48296
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.bots.RemoveUsername>;
48297
+ /**
48298
+ * Generate buffer from TLObject.
48299
+ */
48300
+ write(): Buffer;
48301
+ }
47421
48302
  }
47422
48303
  namespace stories {
47423
48304
  type TypeAlbums = Raw.stories.AlbumsNotModified | Raw.stories.Albums;
@@ -49306,6 +50187,779 @@ export declare namespace Raw {
49306
50187
  write(): Buffer;
49307
50188
  }
49308
50189
  }
50190
+ namespace toncenter {
50191
+ type TypeStreamingUrl = Raw.toncenter.StreamingUrl;
50192
+ type TypeApiResponse = Raw.toncenter.ApiResponse;
50193
+ class ApiResponse extends TLObject {
50194
+ response: Raw.TypeDataJSON;
50195
+ constructor(params: {
50196
+ response: Raw.TypeDataJSON;
50197
+ });
50198
+ /**
50199
+ * Generate the TLObject from buffer.
50200
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
50201
+ */
50202
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.toncenter.ApiResponse>;
50203
+ /**
50204
+ * Generate buffer from TLObject.
50205
+ */
50206
+ write(): Buffer;
50207
+ }
50208
+ class StreamingUrl extends TLObject {
50209
+ url: string;
50210
+ expires: int;
50211
+ constructor(params: {
50212
+ url: string;
50213
+ expires: int;
50214
+ });
50215
+ /**
50216
+ * Generate the TLObject from buffer.
50217
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
50218
+ */
50219
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.toncenter.StreamingUrl>;
50220
+ /**
50221
+ * Generate buffer from TLObject.
50222
+ */
50223
+ write(): Buffer;
50224
+ }
50225
+ class PerformApiRequest extends TLObject {
50226
+ __response__: Raw.toncenter.TypeApiResponse;
50227
+ post?: boolean;
50228
+ endpoint: string;
50229
+ query?: string;
50230
+ payload?: string;
50231
+ constructor(params: {
50232
+ post?: boolean;
50233
+ endpoint: string;
50234
+ query?: string;
50235
+ payload?: string;
50236
+ });
50237
+ /**
50238
+ * Generate the TLObject from buffer.
50239
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
50240
+ */
50241
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.toncenter.PerformApiRequest>;
50242
+ /**
50243
+ * Generate buffer from TLObject.
50244
+ */
50245
+ write(): Buffer;
50246
+ }
50247
+ class GetStreamingUrl extends TLObject {
50248
+ __response__: Raw.toncenter.TypeStreamingUrl;
50249
+ constructor();
50250
+ /**
50251
+ * Generate the TLObject from buffer.
50252
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
50253
+ */
50254
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.toncenter.GetStreamingUrl>;
50255
+ /**
50256
+ * Generate buffer from TLObject.
50257
+ */
50258
+ write(): Buffer;
50259
+ }
50260
+ }
50261
+ namespace wallet {
50262
+ type TypeTonConnectSessions = Raw.wallet.TonConnectSessions;
50263
+ type TypeTonConnectPending = Raw.wallet.TonConnectPending;
50264
+ type TypeTonConnectChallenge = Raw.wallet.TonConnectChallenge;
50265
+ type TypeNftItems = Raw.wallet.NftItems;
50266
+ type TypeExistingBalance = Raw.wallet.ExistingBalance;
50267
+ type TypeProofChallenge = Raw.wallet.ProofChallenge;
50268
+ type TypeHolderDc = Raw.wallet.HolderDc;
50269
+ type TypeEncryptedSecretPhrasePart = Raw.wallet.EncryptedSecretPhrasePart;
50270
+ type TypeSecretPhraseParts = Raw.wallet.SecretPhraseParts;
50271
+ type TypeTransactions = Raw.wallet.Transactions;
50272
+ type TypeUserAddresses = Raw.wallet.UserAddresses;
50273
+ type TypeNftAttribute = Raw.wallet.NftAttribute;
50274
+ type TypeNftItem = Raw.wallet.NftItem;
50275
+ class UserAddresses extends TLObject {
50276
+ addresses: Vector<Raw.TypeWalletUserAddress>;
50277
+ users: Vector<Raw.TypeUser>;
50278
+ constructor(params: {
50279
+ addresses: Vector<Raw.TypeWalletUserAddress>;
50280
+ users: Vector<Raw.TypeUser>;
50281
+ });
50282
+ /**
50283
+ * Generate the TLObject from buffer.
50284
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
50285
+ */
50286
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.wallet.UserAddresses>;
50287
+ /**
50288
+ * Generate buffer from TLObject.
50289
+ */
50290
+ write(): Buffer;
50291
+ }
50292
+ class Transactions extends TLObject {
50293
+ balance: long;
50294
+ transactions: Vector<Raw.TypeWalletTransaction>;
50295
+ nextOffset?: string;
50296
+ chats: Vector<Raw.TypeChat>;
50297
+ users: Vector<Raw.TypeUser>;
50298
+ constructor(params: {
50299
+ balance: long;
50300
+ transactions: Vector<Raw.TypeWalletTransaction>;
50301
+ nextOffset?: string;
50302
+ chats: Vector<Raw.TypeChat>;
50303
+ users: Vector<Raw.TypeUser>;
50304
+ });
50305
+ /**
50306
+ * Generate the TLObject from buffer.
50307
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
50308
+ */
50309
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.wallet.Transactions>;
50310
+ /**
50311
+ * Generate buffer from TLObject.
50312
+ */
50313
+ write(): Buffer;
50314
+ }
50315
+ class SecretPhraseParts extends TLObject {
50316
+ token: string;
50317
+ dcs: Vector<int>;
50318
+ constructor(params: {
50319
+ token: string;
50320
+ dcs: Vector<int>;
50321
+ });
50322
+ /**
50323
+ * Generate the TLObject from buffer.
50324
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
50325
+ */
50326
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.wallet.SecretPhraseParts>;
50327
+ /**
50328
+ * Generate buffer from TLObject.
50329
+ */
50330
+ write(): Buffer;
50331
+ }
50332
+ class EncryptedSecretPhrasePart extends TLObject {
50333
+ data: bytes;
50334
+ constructor(params: {
50335
+ data: bytes;
50336
+ });
50337
+ /**
50338
+ * Generate the TLObject from buffer.
50339
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
50340
+ */
50341
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.wallet.EncryptedSecretPhrasePart>;
50342
+ /**
50343
+ * Generate buffer from TLObject.
50344
+ */
50345
+ write(): Buffer;
50346
+ }
50347
+ class HolderDc extends TLObject {
50348
+ dc: int;
50349
+ publicKey: bytes;
50350
+ constructor(params: {
50351
+ dc: int;
50352
+ publicKey: bytes;
50353
+ });
50354
+ /**
50355
+ * Generate the TLObject from buffer.
50356
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
50357
+ */
50358
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.wallet.HolderDc>;
50359
+ /**
50360
+ * Generate buffer from TLObject.
50361
+ */
50362
+ write(): Buffer;
50363
+ }
50364
+ class ProofChallenge extends TLObject {
50365
+ payload: string;
50366
+ expires: int;
50367
+ domain: string;
50368
+ constructor(params: {
50369
+ payload: string;
50370
+ expires: int;
50371
+ domain: string;
50372
+ });
50373
+ /**
50374
+ * Generate the TLObject from buffer.
50375
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
50376
+ */
50377
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.wallet.ProofChallenge>;
50378
+ /**
50379
+ * Generate buffer from TLObject.
50380
+ */
50381
+ write(): Buffer;
50382
+ }
50383
+ class TonConnectChallenge extends TLObject {
50384
+ challenge: bytes;
50385
+ eventId: long;
50386
+ constructor(params: {
50387
+ challenge: bytes;
50388
+ eventId: long;
50389
+ });
50390
+ /**
50391
+ * Generate the TLObject from buffer.
50392
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
50393
+ */
50394
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.wallet.TonConnectChallenge>;
50395
+ /**
50396
+ * Generate buffer from TLObject.
50397
+ */
50398
+ write(): Buffer;
50399
+ }
50400
+ class TonConnectPending extends TLObject {
50401
+ session: Raw.TypeTonConnectSession;
50402
+ requests: Vector<Raw.TypeTonConnectRequest>;
50403
+ constructor(params: {
50404
+ session: Raw.TypeTonConnectSession;
50405
+ requests: Vector<Raw.TypeTonConnectRequest>;
50406
+ });
50407
+ /**
50408
+ * Generate the TLObject from buffer.
50409
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
50410
+ */
50411
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.wallet.TonConnectPending>;
50412
+ /**
50413
+ * Generate buffer from TLObject.
50414
+ */
50415
+ write(): Buffer;
50416
+ }
50417
+ class TonConnectSessions extends TLObject {
50418
+ sessions: Vector<Raw.TypeTonConnectSession>;
50419
+ constructor(params: {
50420
+ sessions: Vector<Raw.TypeTonConnectSession>;
50421
+ });
50422
+ /**
50423
+ * Generate the TLObject from buffer.
50424
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
50425
+ */
50426
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.wallet.TonConnectSessions>;
50427
+ /**
50428
+ * Generate buffer from TLObject.
50429
+ */
50430
+ write(): Buffer;
50431
+ }
50432
+ class ExistingBalance extends TLObject {
50433
+ hasBalance?: boolean;
50434
+ url: string;
50435
+ constructor(params: {
50436
+ hasBalance?: boolean;
50437
+ url: string;
50438
+ });
50439
+ /**
50440
+ * Generate the TLObject from buffer.
50441
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
50442
+ */
50443
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.wallet.ExistingBalance>;
50444
+ /**
50445
+ * Generate buffer from TLObject.
50446
+ */
50447
+ write(): Buffer;
50448
+ }
50449
+ class NftAttribute extends TLObject {
50450
+ traitType: string;
50451
+ value: string;
50452
+ constructor(params: {
50453
+ traitType: string;
50454
+ value: string;
50455
+ });
50456
+ /**
50457
+ * Generate the TLObject from buffer.
50458
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
50459
+ */
50460
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.wallet.NftAttribute>;
50461
+ /**
50462
+ * Generate buffer from TLObject.
50463
+ */
50464
+ write(): Buffer;
50465
+ }
50466
+ class NftItem extends TLObject {
50467
+ collectionAddress?: string;
50468
+ address: string;
50469
+ ownerAddress: string;
50470
+ index: string;
50471
+ name?: string;
50472
+ description?: string;
50473
+ image?: Raw.TypeWebDocument;
50474
+ imageSmall?: Raw.TypeWebDocument;
50475
+ contentUrl?: Raw.TypeWebDocument;
50476
+ lottie?: Raw.TypeWebDocument;
50477
+ attributes?: Vector<Raw.wallet.TypeNftAttribute>;
50478
+ extra?: Raw.TypeDataJSON;
50479
+ constructor(params: {
50480
+ collectionAddress?: string;
50481
+ address: string;
50482
+ ownerAddress: string;
50483
+ index: string;
50484
+ name?: string;
50485
+ description?: string;
50486
+ image?: Raw.TypeWebDocument;
50487
+ imageSmall?: Raw.TypeWebDocument;
50488
+ contentUrl?: Raw.TypeWebDocument;
50489
+ lottie?: Raw.TypeWebDocument;
50490
+ attributes?: Vector<Raw.wallet.TypeNftAttribute>;
50491
+ extra?: Raw.TypeDataJSON;
50492
+ });
50493
+ /**
50494
+ * Generate the TLObject from buffer.
50495
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
50496
+ */
50497
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.wallet.NftItem>;
50498
+ /**
50499
+ * Generate buffer from TLObject.
50500
+ */
50501
+ write(): Buffer;
50502
+ }
50503
+ class NftItems extends TLObject {
50504
+ items: Vector<Raw.wallet.TypeNftItem>;
50505
+ nextOffset?: string;
50506
+ constructor(params: {
50507
+ items: Vector<Raw.wallet.TypeNftItem>;
50508
+ nextOffset?: string;
50509
+ });
50510
+ /**
50511
+ * Generate the TLObject from buffer.
50512
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
50513
+ */
50514
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.wallet.NftItems>;
50515
+ /**
50516
+ * Generate buffer from TLObject.
50517
+ */
50518
+ write(): Buffer;
50519
+ }
50520
+ class GetState extends TLObject {
50521
+ __response__: Raw.TypeWalletState;
50522
+ constructor();
50523
+ /**
50524
+ * Generate the TLObject from buffer.
50525
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
50526
+ */
50527
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.wallet.GetState>;
50528
+ /**
50529
+ * Generate buffer from TLObject.
50530
+ */
50531
+ write(): Buffer;
50532
+ }
50533
+ class GetUserAddresses extends TLObject {
50534
+ __response__: Raw.wallet.TypeUserAddresses;
50535
+ force?: boolean;
50536
+ id: Vector<Raw.TypeInputUser>;
50537
+ addresses: Vector<string>;
50538
+ constructor(params: {
50539
+ force?: boolean;
50540
+ id: Vector<Raw.TypeInputUser>;
50541
+ addresses: Vector<string>;
50542
+ });
50543
+ /**
50544
+ * Generate the TLObject from buffer.
50545
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
50546
+ */
50547
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.wallet.GetUserAddresses>;
50548
+ /**
50549
+ * Generate buffer from TLObject.
50550
+ */
50551
+ write(): Buffer;
50552
+ }
50553
+ class GetTransactions extends TLObject {
50554
+ __response__: Raw.wallet.TypeTransactions;
50555
+ inbound?: boolean;
50556
+ outbound?: boolean;
50557
+ offset: string;
50558
+ limit: int;
50559
+ constructor(params: {
50560
+ inbound?: boolean;
50561
+ outbound?: boolean;
50562
+ offset: string;
50563
+ limit: int;
50564
+ });
50565
+ /**
50566
+ * Generate the TLObject from buffer.
50567
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
50568
+ */
50569
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.wallet.GetTransactions>;
50570
+ /**
50571
+ * Generate buffer from TLObject.
50572
+ */
50573
+ write(): Buffer;
50574
+ }
50575
+ class GetTransactionsByIDs extends TLObject {
50576
+ __response__: Raw.wallet.TypeTransactions;
50577
+ id: Vector<string>;
50578
+ constructor(params: {
50579
+ id: Vector<string>;
50580
+ });
50581
+ /**
50582
+ * Generate the TLObject from buffer.
50583
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
50584
+ */
50585
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.wallet.GetTransactionsByIDs>;
50586
+ /**
50587
+ * Generate buffer from TLObject.
50588
+ */
50589
+ write(): Buffer;
50590
+ }
50591
+ class GetTransactionsByMsgHash extends TLObject {
50592
+ __response__: Raw.wallet.TypeTransactions;
50593
+ msgHash: Vector<string>;
50594
+ constructor(params: {
50595
+ msgHash: Vector<string>;
50596
+ });
50597
+ /**
50598
+ * Generate the TLObject from buffer.
50599
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
50600
+ */
50601
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.wallet.GetTransactionsByMsgHash>;
50602
+ /**
50603
+ * Generate buffer from TLObject.
50604
+ */
50605
+ write(): Buffer;
50606
+ }
50607
+ class ExportSecretPhrase extends TLObject {
50608
+ __response__: Raw.wallet.TypeSecretPhraseParts;
50609
+ password?: Raw.TypeInputCheckPasswordSRP;
50610
+ constructor(params: {
50611
+ password?: Raw.TypeInputCheckPasswordSRP;
50612
+ });
50613
+ /**
50614
+ * Generate the TLObject from buffer.
50615
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
50616
+ */
50617
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.wallet.ExportSecretPhrase>;
50618
+ /**
50619
+ * Generate buffer from TLObject.
50620
+ */
50621
+ write(): Buffer;
50622
+ }
50623
+ class FetchEncryptedSecretPhrasePart extends TLObject {
50624
+ __response__: Raw.wallet.TypeEncryptedSecretPhrasePart;
50625
+ token: string;
50626
+ publicKey: bytes;
50627
+ constructor(params: {
50628
+ token: string;
50629
+ publicKey: bytes;
50630
+ });
50631
+ /**
50632
+ * Generate the TLObject from buffer.
50633
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
50634
+ */
50635
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.wallet.FetchEncryptedSecretPhrasePart>;
50636
+ /**
50637
+ * Generate buffer from TLObject.
50638
+ */
50639
+ write(): Buffer;
50640
+ }
50641
+ class ReplaceWallet extends TLObject {
50642
+ __response__: Raw.TypeWalletState;
50643
+ wallet: Raw.TypeInputWalletReplacement;
50644
+ password?: Raw.TypeInputCheckPasswordSRP;
50645
+ constructor(params: {
50646
+ wallet: Raw.TypeInputWalletReplacement;
50647
+ password?: Raw.TypeInputCheckPasswordSRP;
50648
+ });
50649
+ /**
50650
+ * Generate the TLObject from buffer.
50651
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
50652
+ */
50653
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.wallet.ReplaceWallet>;
50654
+ /**
50655
+ * Generate buffer from TLObject.
50656
+ */
50657
+ write(): Buffer;
50658
+ }
50659
+ class DisableBackup extends TLObject {
50660
+ __response__: Raw.TypeWalletState;
50661
+ password?: Raw.TypeInputCheckPasswordSRP;
50662
+ newPublicKey?: bytes;
50663
+ proof?: Raw.TypeWalletOwnershipProof;
50664
+ constructor(params: {
50665
+ password?: Raw.TypeInputCheckPasswordSRP;
50666
+ newPublicKey?: bytes;
50667
+ proof?: Raw.TypeWalletOwnershipProof;
50668
+ });
50669
+ /**
50670
+ * Generate the TLObject from buffer.
50671
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
50672
+ */
50673
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.wallet.DisableBackup>;
50674
+ /**
50675
+ * Generate buffer from TLObject.
50676
+ */
50677
+ write(): Buffer;
50678
+ }
50679
+ class GetBackupHolderDcs extends TLObject {
50680
+ __response__: Vector<Raw.wallet.TypeHolderDc>;
50681
+ constructor();
50682
+ /**
50683
+ * Generate the TLObject from buffer.
50684
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
50685
+ */
50686
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.wallet.GetBackupHolderDcs>;
50687
+ /**
50688
+ * Generate buffer from TLObject.
50689
+ */
50690
+ write(): Buffer;
50691
+ }
50692
+ class EnableBackup extends TLObject {
50693
+ __response__: Raw.TypeWalletState;
50694
+ parts: Vector<bytes>;
50695
+ newPublicKey?: bytes;
50696
+ proof?: Raw.TypeWalletOwnershipProof;
50697
+ constructor(params: {
50698
+ parts: Vector<bytes>;
50699
+ newPublicKey?: bytes;
50700
+ proof?: Raw.TypeWalletOwnershipProof;
50701
+ });
50702
+ /**
50703
+ * Generate the TLObject from buffer.
50704
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
50705
+ */
50706
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.wallet.EnableBackup>;
50707
+ /**
50708
+ * Generate buffer from TLObject.
50709
+ */
50710
+ write(): Buffer;
50711
+ }
50712
+ class GetProofChallenge extends TLObject {
50713
+ __response__: Raw.wallet.TypeProofChallenge;
50714
+ constructor();
50715
+ /**
50716
+ * Generate the TLObject from buffer.
50717
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
50718
+ */
50719
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.wallet.GetProofChallenge>;
50720
+ /**
50721
+ * Generate buffer from TLObject.
50722
+ */
50723
+ write(): Buffer;
50724
+ }
50725
+ class SendTransfer extends TLObject {
50726
+ __response__: Raw.TypeUpdates;
50727
+ dataNormal: bytes;
50728
+ dataGasless?: bytes;
50729
+ userId: Raw.TypeInputUser;
50730
+ randomId: long;
50731
+ constructor(params: {
50732
+ dataNormal: bytes;
50733
+ dataGasless?: bytes;
50734
+ userId: Raw.TypeInputUser;
50735
+ randomId: long;
50736
+ });
50737
+ /**
50738
+ * Generate the TLObject from buffer.
50739
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
50740
+ */
50741
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.wallet.SendTransfer>;
50742
+ /**
50743
+ * Generate buffer from TLObject.
50744
+ */
50745
+ write(): Buffer;
50746
+ }
50747
+ class GetGaslessInfo extends TLObject {
50748
+ __response__: Raw.TypeUpdates;
50749
+ constructor();
50750
+ /**
50751
+ * Generate the TLObject from buffer.
50752
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
50753
+ */
50754
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.wallet.GetGaslessInfo>;
50755
+ /**
50756
+ * Generate buffer from TLObject.
50757
+ */
50758
+ write(): Buffer;
50759
+ }
50760
+ class GetExistingWaltBalance extends TLObject {
50761
+ __response__: Raw.wallet.TypeExistingBalance;
50762
+ constructor();
50763
+ /**
50764
+ * Generate the TLObject from buffer.
50765
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
50766
+ */
50767
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.wallet.GetExistingWaltBalance>;
50768
+ /**
50769
+ * Generate buffer from TLObject.
50770
+ */
50771
+ write(): Buffer;
50772
+ }
50773
+ class GetNfts extends TLObject {
50774
+ __response__: Raw.wallet.TypeNftItems;
50775
+ offset: string;
50776
+ limit: int;
50777
+ constructor(params: {
50778
+ offset: string;
50779
+ limit: int;
50780
+ });
50781
+ /**
50782
+ * Generate the TLObject from buffer.
50783
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
50784
+ */
50785
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.wallet.GetNfts>;
50786
+ /**
50787
+ * Generate buffer from TLObject.
50788
+ */
50789
+ write(): Buffer;
50790
+ }
50791
+ class TonConnectCreateSession extends TLObject {
50792
+ __response__: Raw.TypeTonConnectSession;
50793
+ dappClientId: string;
50794
+ manifestUrl: string;
50795
+ constructor(params: {
50796
+ dappClientId: string;
50797
+ manifestUrl: string;
50798
+ });
50799
+ /**
50800
+ * Generate the TLObject from buffer.
50801
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
50802
+ */
50803
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.wallet.TonConnectCreateSession>;
50804
+ /**
50805
+ * Generate buffer from TLObject.
50806
+ */
50807
+ write(): Buffer;
50808
+ }
50809
+ class TonConnectRegisterKey extends TLObject {
50810
+ __response__: Raw.wallet.TypeTonConnectChallenge;
50811
+ sessionId: long;
50812
+ clientId: string;
50813
+ constructor(params: {
50814
+ sessionId: long;
50815
+ clientId: string;
50816
+ });
50817
+ /**
50818
+ * Generate the TLObject from buffer.
50819
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
50820
+ */
50821
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.wallet.TonConnectRegisterKey>;
50822
+ /**
50823
+ * Generate buffer from TLObject.
50824
+ */
50825
+ write(): Buffer;
50826
+ }
50827
+ class TonConnectSubmitConnectResult extends TLObject {
50828
+ __response__: Bool;
50829
+ error?: boolean;
50830
+ sessionId: long;
50831
+ challengeAnswer: bytes;
50832
+ body: bytes;
50833
+ traceId?: string;
50834
+ constructor(params: {
50835
+ error?: boolean;
50836
+ sessionId: long;
50837
+ challengeAnswer: bytes;
50838
+ body: bytes;
50839
+ traceId?: string;
50840
+ });
50841
+ /**
50842
+ * Generate the TLObject from buffer.
50843
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
50844
+ */
50845
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.wallet.TonConnectSubmitConnectResult>;
50846
+ /**
50847
+ * Generate buffer from TLObject.
50848
+ */
50849
+ write(): Buffer;
50850
+ }
50851
+ class TonConnectGetPending extends TLObject {
50852
+ __response__: Raw.wallet.TypeTonConnectPending;
50853
+ dappClientId?: string;
50854
+ sessionId?: long;
50855
+ constructor(params: {
50856
+ dappClientId?: string;
50857
+ sessionId?: long;
50858
+ });
50859
+ /**
50860
+ * Generate the TLObject from buffer.
50861
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
50862
+ */
50863
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.wallet.TonConnectGetPending>;
50864
+ /**
50865
+ * Generate buffer from TLObject.
50866
+ */
50867
+ write(): Buffer;
50868
+ }
50869
+ class TonConnectClaimRequest extends TLObject {
50870
+ __response__: Bool;
50871
+ declined?: boolean;
50872
+ sessionId: long;
50873
+ msgId: int;
50874
+ appRequestId: string;
50875
+ challengeAnswer?: bytes;
50876
+ constructor(params: {
50877
+ declined?: boolean;
50878
+ sessionId: long;
50879
+ msgId: int;
50880
+ appRequestId: string;
50881
+ challengeAnswer?: bytes;
50882
+ });
50883
+ /**
50884
+ * Generate the TLObject from buffer.
50885
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
50886
+ */
50887
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.wallet.TonConnectClaimRequest>;
50888
+ /**
50889
+ * Generate buffer from TLObject.
50890
+ */
50891
+ write(): Buffer;
50892
+ }
50893
+ class TonConnectSubmitResponse extends TLObject {
50894
+ __response__: Bool;
50895
+ sessionId: long;
50896
+ msgId: int;
50897
+ body: bytes;
50898
+ traceId?: string;
50899
+ constructor(params: {
50900
+ sessionId: long;
50901
+ msgId: int;
50902
+ body: bytes;
50903
+ traceId?: string;
50904
+ });
50905
+ /**
50906
+ * Generate the TLObject from buffer.
50907
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
50908
+ */
50909
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.wallet.TonConnectSubmitResponse>;
50910
+ /**
50911
+ * Generate buffer from TLObject.
50912
+ */
50913
+ write(): Buffer;
50914
+ }
50915
+ class TonConnectNextEventId extends TLObject {
50916
+ __response__: Raw.TypeTonConnectNextEventId;
50917
+ sessionId: long;
50918
+ constructor(params: {
50919
+ sessionId: long;
50920
+ });
50921
+ /**
50922
+ * Generate the TLObject from buffer.
50923
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
50924
+ */
50925
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.wallet.TonConnectNextEventId>;
50926
+ /**
50927
+ * Generate buffer from TLObject.
50928
+ */
50929
+ write(): Buffer;
50930
+ }
50931
+ class TonConnectCloseSession extends TLObject {
50932
+ __response__: Bool;
50933
+ sessionId: long;
50934
+ body?: bytes;
50935
+ constructor(params: {
50936
+ sessionId: long;
50937
+ body?: bytes;
50938
+ });
50939
+ /**
50940
+ * Generate the TLObject from buffer.
50941
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
50942
+ */
50943
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.wallet.TonConnectCloseSession>;
50944
+ /**
50945
+ * Generate buffer from TLObject.
50946
+ */
50947
+ write(): Buffer;
50948
+ }
50949
+ class TonConnectGetSessions extends TLObject {
50950
+ __response__: Raw.wallet.TypeTonConnectSessions;
50951
+ constructor();
50952
+ /**
50953
+ * Generate the TLObject from buffer.
50954
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
50955
+ */
50956
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.wallet.TonConnectGetSessions>;
50957
+ /**
50958
+ * Generate buffer from TLObject.
50959
+ */
50960
+ write(): Buffer;
50961
+ }
50962
+ }
49309
50963
  namespace langpack {
49310
50964
  class GetLangPack extends TLObject {
49311
50965
  __response__: Raw.TypeLangPackDifference;