@tgsnake/skema 2.8.0 → 2.9.0-browser.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,7 +39,7 @@ 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.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.contacts.ExportNoPaidMessagesToken | Raw.contacts.ImportNoPaidMessagesToken | 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.messages.SetShareTheme | Raw.messages.GetShareThemeBackdrops | 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.payments.WithdrawStarGift | Raw.payments.DepositStarGift | Raw.payments.DisplayStarGift | Raw.payments.DeleteStarGift | 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 | Raw.wallet.SetCardStickers;
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.contacts.ExportNoPaidMessagesToken | Raw.contacts.ImportNoPaidMessagesToken | 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.messages.SetShareTheme | Raw.messages.GetShareThemeBackdrops | Raw.messages.GetBotWidgetQueryAnswer | Raw.messages.SetBotWidgetQueryAnswer | Raw.messages.EditMessageWidgetData | Raw.messages.EditInlineBotMessageWidgetData | Raw.messages.EditWidgetData | Raw.messages.GetWidgetPublicData | Raw.messages.TranscribeAudioFile | Raw.messages.GetTranscriptionLangs | 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.payments.WithdrawStarGift | Raw.payments.DepositStarGift | Raw.payments.DisplayStarGift | Raw.payments.DeleteStarGift | 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 | Raw.wallet.SetCardStickers;
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;
@@ -138,6 +138,7 @@ export declare namespace Raw {
138
138
  type TypeEmailVerification = Raw.EmailVerificationCode | Raw.EmailVerificationGoogle | Raw.EmailVerificationApple;
139
139
  type TypeCodeSettings = Raw.CodeSettings;
140
140
  type TypeInputClientProxy = Raw.InputClientProxy;
141
+ type TypeUserWallet = Raw.UserWallet;
141
142
  type TypeShareThemeBackdropOption = Raw.ShareThemeBackdropOption;
142
143
  type TypeTonConnectRequest = Raw.TonConnectRequest;
143
144
  type TypeTonConnectManifest = Raw.TonConnectManifest;
@@ -289,8 +290,8 @@ export declare namespace Raw {
289
290
  type TypeBotInlineResult = Raw.BotInlineResult | Raw.BotInlineMediaResult;
290
291
  type TypeInlineBotWebView = Raw.InlineBotWebView;
291
292
  type TypeInlineBotSwitchPM = Raw.InlineBotSwitchPM;
292
- type TypeBotInlineMessage = Raw.BotInlineMessageMediaAuto | Raw.BotInlineMessageText | Raw.BotInlineMessageMediaGeo | Raw.BotInlineMessageMediaVenue | Raw.BotInlineMessageMediaContact | Raw.BotInlineMessageMediaInvoice | Raw.BotInlineMessageMediaWebPage | Raw.BotInlineMessageRichMessage;
293
- type TypeInputBotInlineMessage = Raw.InputBotInlineMessageMediaAuto | Raw.InputBotInlineMessageText | Raw.InputBotInlineMessageMediaGeo | Raw.InputBotInlineMessageMediaVenue | Raw.InputBotInlineMessageMediaContact | Raw.InputBotInlineMessageGame | Raw.InputBotInlineMessageMediaInvoice | Raw.InputBotInlineMessageMediaWebPage | Raw.InputBotInlineMessageRichMessage;
293
+ type TypeBotInlineMessage = Raw.BotInlineMessageMediaAuto | Raw.BotInlineMessageText | Raw.BotInlineMessageMediaGeo | Raw.BotInlineMessageMediaVenue | Raw.BotInlineMessageMediaContact | Raw.BotInlineMessageMediaInvoice | Raw.BotInlineMessageMediaWebPage | Raw.BotInlineMessageRichMessage | Raw.BotInlineMessageWidget;
294
+ type TypeInputBotInlineMessage = Raw.InputBotInlineMessageMediaAuto | Raw.InputBotInlineMessageText | Raw.InputBotInlineMessageMediaGeo | Raw.InputBotInlineMessageMediaVenue | Raw.InputBotInlineMessageMediaContact | Raw.InputBotInlineMessageGame | Raw.InputBotInlineMessageMediaInvoice | Raw.InputBotInlineMessageMediaWebPage | Raw.InputBotInlineMessageRichMessage | Raw.InputBotInlineMessageWidget | Raw.InputBotInlineMessageWidgetId;
294
295
  type TypeMessageRange = Raw.MessageRange;
295
296
  type TypeKeyboardInlineButtonRow = Raw.KeyboardInlineButtonRow;
296
297
  type TypeKeyboardButtonRow = Raw.KeyboardButtonRow;
@@ -313,7 +314,8 @@ export declare namespace Raw {
313
314
  type TypeInputRichMessage = Raw.InputRichMessage | Raw.InputRichMessageHTML | Raw.InputRichMessageMarkdown;
314
315
  type TypeEncryptedFile = Raw.EncryptedFileEmpty | Raw.EncryptedFile;
315
316
  type TypeFileHash = Raw.FileHash;
316
- 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;
317
+ 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 | Raw.UpdateEditForumTopic | Raw.UpdateBotWidgetQuery | Raw.UpdateInlineBotWidgetQuery | Raw.UpdateBotWidgetCopyQuery | Raw.UpdateMessageWidgetData | Raw.UpdateTranscribedAudioFile | UpdateSecretChatMessage;
318
+ type TypeWidgetQueryType = Raw.WidgetQueryTypeData | Raw.WidgetQueryTypeSignData | Raw.WidgetQueryTypeSentTransaction;
317
319
  type TypeTonConnectSession = Raw.TonConnectSession;
318
320
  type TypeWalletTransaction = Raw.WalletTransaction;
319
321
  type TypeWalletState = Raw.WalletStateEmpty | Raw.WalletState;
@@ -408,7 +410,7 @@ export declare namespace Raw {
408
410
  type TypeMessageReactions = Raw.MessageReactions;
409
411
  type TypeMessageReplies = Raw.MessageReplies;
410
412
  type TypeReplyMarkup = Raw.ReplyKeyboardHide | Raw.ReplyKeyboardForceReply | Raw.ReplyKeyboardMarkup | Raw.ReplyInlineMarkup;
411
- type TypeMessageMedia = Raw.MessageMediaEmpty | Raw.MessageMediaPhoto | Raw.MessageMediaGeo | Raw.MessageMediaContact | Raw.MessageMediaUnsupported | Raw.MessageMediaDocument | Raw.MessageMediaWebPage | Raw.MessageMediaVenue | Raw.MessageMediaGame | Raw.MessageMediaInvoice | Raw.MessageMediaGeoLive | Raw.MessageMediaPoll | Raw.MessageMediaDice | Raw.MessageMediaStory | Raw.MessageMediaGiveaway | Raw.MessageMediaGiveawayResults | Raw.MessageMediaPaidMedia | Raw.MessageMediaToDo | Raw.MessageMediaVideoStream;
413
+ type TypeMessageMedia = Raw.MessageMediaEmpty | Raw.MessageMediaPhoto | Raw.MessageMediaGeo | Raw.MessageMediaContact | Raw.MessageMediaUnsupported | Raw.MessageMediaDocument | Raw.MessageMediaWebPage | Raw.MessageMediaVenue | Raw.MessageMediaGame | Raw.MessageMediaInvoice | Raw.MessageMediaGeoLive | Raw.MessageMediaPoll | Raw.MessageMediaDice | Raw.MessageMediaStory | Raw.MessageMediaGiveaway | Raw.MessageMediaGiveawayResults | Raw.MessageMediaPaidMedia | Raw.MessageMediaToDo | Raw.MessageMediaVideoStream | Raw.MessageMediaWidget;
412
414
  type TypeMessageReplyHeader = Raw.MessageReplyHeader | Raw.MessageReplyStoryHeader;
413
415
  type TypeMessageFwdHeader = Raw.MessageFwdHeader;
414
416
  type TypeChatParticipant = Raw.ChatParticipant | Raw.ChatParticipantCreator | Raw.ChatParticipantAdmin;
@@ -444,7 +446,7 @@ export declare namespace Raw {
444
446
  type TypeTodoList = Raw.TodoList;
445
447
  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;
446
448
  type TypePoll = Raw.Poll;
447
- 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;
449
+ 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 | Raw.InputMediaWidget | Raw.InputMediaWidgetId;
448
450
  type TypeDataJSON = Raw.DataJSON;
449
451
  type TypeInvoice = Raw.Invoice;
450
452
  type TypeInputWebDocument = Raw.InputWebDocument;
@@ -2055,6 +2057,50 @@ export declare namespace Raw {
2055
2057
  */
2056
2058
  write(): Buffer;
2057
2059
  }
2060
+ class InputMediaWidget extends TLObject {
2061
+ allowQueries?: boolean;
2062
+ sharedWidget?: boolean;
2063
+ width: int;
2064
+ height: int;
2065
+ html: string;
2066
+ publicData?: string;
2067
+ chatData?: string;
2068
+ constructor(params: {
2069
+ allowQueries?: boolean;
2070
+ sharedWidget?: boolean;
2071
+ width: int;
2072
+ height: int;
2073
+ html: string;
2074
+ publicData?: string;
2075
+ chatData?: string;
2076
+ });
2077
+ /**
2078
+ * Generate the TLObject from buffer.
2079
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
2080
+ */
2081
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.InputMediaWidget>;
2082
+ /**
2083
+ * Generate buffer from TLObject.
2084
+ */
2085
+ write(): Buffer;
2086
+ }
2087
+ class InputMediaWidgetId extends TLObject {
2088
+ widgetId: long;
2089
+ chatData?: string;
2090
+ constructor(params: {
2091
+ widgetId: long;
2092
+ chatData?: string;
2093
+ });
2094
+ /**
2095
+ * Generate the TLObject from buffer.
2096
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
2097
+ */
2098
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.InputMediaWidgetId>;
2099
+ /**
2100
+ * Generate buffer from TLObject.
2101
+ */
2102
+ write(): Buffer;
2103
+ }
2058
2104
  class InputChatPhotoEmpty extends TLObject {
2059
2105
  constructor();
2060
2106
  /**
@@ -2449,6 +2495,7 @@ export declare namespace Raw {
2449
2495
  botCanManageBots?: boolean;
2450
2496
  botGuestchat?: boolean;
2451
2497
  botGuard?: boolean;
2498
+ botForumSidebar?: boolean;
2452
2499
  id: long;
2453
2500
  accessHash?: long;
2454
2501
  firstName?: string;
@@ -2501,6 +2548,7 @@ export declare namespace Raw {
2501
2548
  botCanManageBots?: boolean;
2502
2549
  botGuestchat?: boolean;
2503
2550
  botGuard?: boolean;
2551
+ botForumSidebar?: boolean;
2504
2552
  id: long;
2505
2553
  accessHash?: long;
2506
2554
  firstName?: string;
@@ -2760,6 +2808,7 @@ export declare namespace Raw {
2760
2808
  monoforum?: boolean;
2761
2809
  forumTabs?: boolean;
2762
2810
  inNews?: boolean;
2811
+ forumSidebar?: boolean;
2763
2812
  id: long;
2764
2813
  accessHash?: long;
2765
2814
  title: string;
@@ -2813,6 +2862,7 @@ export declare namespace Raw {
2813
2862
  monoforum?: boolean;
2814
2863
  forumTabs?: boolean;
2815
2864
  inNews?: boolean;
2865
+ forumSidebar?: boolean;
2816
2866
  id: long;
2817
2867
  accessHash?: long;
2818
2868
  title: string;
@@ -3875,6 +3925,39 @@ export declare namespace Raw {
3875
3925
  */
3876
3926
  write(): Buffer;
3877
3927
  }
3928
+ class MessageMediaWidget extends TLObject {
3929
+ isCopy?: boolean;
3930
+ canQuery?: boolean;
3931
+ backgroundQuery?: boolean;
3932
+ width: int;
3933
+ height: int;
3934
+ payload: bytes;
3935
+ publicData?: string;
3936
+ publicDataHash?: long;
3937
+ chatData?: string;
3938
+ widgetId?: long;
3939
+ constructor(params: {
3940
+ isCopy?: boolean;
3941
+ canQuery?: boolean;
3942
+ backgroundQuery?: boolean;
3943
+ width: int;
3944
+ height: int;
3945
+ payload: bytes;
3946
+ publicData?: string;
3947
+ publicDataHash?: long;
3948
+ chatData?: string;
3949
+ widgetId?: long;
3950
+ });
3951
+ /**
3952
+ * Generate the TLObject from buffer.
3953
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
3954
+ */
3955
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.MessageMediaWidget>;
3956
+ /**
3957
+ * Generate buffer from TLObject.
3958
+ */
3959
+ write(): Buffer;
3960
+ }
3878
3961
  class MessageActionEmpty extends TLObject {
3879
3962
  constructor();
3880
3963
  /**
@@ -9378,6 +9461,166 @@ export declare namespace Raw {
9378
9461
  */
9379
9462
  write(): Buffer;
9380
9463
  }
9464
+ class UpdateEditForumTopic extends TLObject {
9465
+ peer: Raw.TypePeer;
9466
+ topicId: int;
9467
+ title?: string;
9468
+ iconEmojiId?: long;
9469
+ closed?: Bool;
9470
+ hidden?: Bool;
9471
+ constructor(params: {
9472
+ peer: Raw.TypePeer;
9473
+ topicId: int;
9474
+ title?: string;
9475
+ iconEmojiId?: long;
9476
+ closed?: Bool;
9477
+ hidden?: Bool;
9478
+ });
9479
+ /**
9480
+ * Generate the TLObject from buffer.
9481
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
9482
+ */
9483
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.UpdateEditForumTopic>;
9484
+ /**
9485
+ * Generate buffer from TLObject.
9486
+ */
9487
+ write(): Buffer;
9488
+ }
9489
+ class UpdateBotWidgetQuery extends TLObject {
9490
+ queryId: long;
9491
+ queryType: Raw.TypeWidgetQueryType;
9492
+ userId: long;
9493
+ peer: Raw.TypePeer;
9494
+ msgId: int;
9495
+ chatInstance: long;
9496
+ chatType: string;
9497
+ data: bytes;
9498
+ widgetId?: long;
9499
+ walletCard?: Raw.wallet.TypeCard;
9500
+ constructor(params: {
9501
+ queryId: long;
9502
+ queryType: Raw.TypeWidgetQueryType;
9503
+ userId: long;
9504
+ peer: Raw.TypePeer;
9505
+ msgId: int;
9506
+ chatInstance: long;
9507
+ chatType: string;
9508
+ data: bytes;
9509
+ widgetId?: long;
9510
+ walletCard?: Raw.wallet.TypeCard;
9511
+ });
9512
+ /**
9513
+ * Generate the TLObject from buffer.
9514
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
9515
+ */
9516
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.UpdateBotWidgetQuery>;
9517
+ /**
9518
+ * Generate buffer from TLObject.
9519
+ */
9520
+ write(): Buffer;
9521
+ }
9522
+ class UpdateInlineBotWidgetQuery extends TLObject {
9523
+ queryId: long;
9524
+ queryType: Raw.TypeWidgetQueryType;
9525
+ userId: long;
9526
+ inlineMessageId: Raw.TypeInputBotInlineMessageID;
9527
+ chatInstance: long;
9528
+ chatType: string;
9529
+ data: bytes;
9530
+ widgetId?: long;
9531
+ walletCard?: Raw.wallet.TypeCard;
9532
+ constructor(params: {
9533
+ queryId: long;
9534
+ queryType: Raw.TypeWidgetQueryType;
9535
+ userId: long;
9536
+ inlineMessageId: Raw.TypeInputBotInlineMessageID;
9537
+ chatInstance: long;
9538
+ chatType: string;
9539
+ data: bytes;
9540
+ widgetId?: long;
9541
+ walletCard?: Raw.wallet.TypeCard;
9542
+ });
9543
+ /**
9544
+ * Generate the TLObject from buffer.
9545
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
9546
+ */
9547
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.UpdateInlineBotWidgetQuery>;
9548
+ /**
9549
+ * Generate buffer from TLObject.
9550
+ */
9551
+ write(): Buffer;
9552
+ }
9553
+ class UpdateBotWidgetCopyQuery extends TLObject {
9554
+ queryId: long;
9555
+ queryType: Raw.TypeWidgetQueryType;
9556
+ userId: long;
9557
+ data: bytes;
9558
+ widgetId: long;
9559
+ walletCard?: Raw.wallet.TypeCard;
9560
+ constructor(params: {
9561
+ queryId: long;
9562
+ queryType: Raw.TypeWidgetQueryType;
9563
+ userId: long;
9564
+ data: bytes;
9565
+ widgetId: long;
9566
+ walletCard?: Raw.wallet.TypeCard;
9567
+ });
9568
+ /**
9569
+ * Generate the TLObject from buffer.
9570
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
9571
+ */
9572
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.UpdateBotWidgetCopyQuery>;
9573
+ /**
9574
+ * Generate buffer from TLObject.
9575
+ */
9576
+ write(): Buffer;
9577
+ }
9578
+ class UpdateMessageWidgetData extends TLObject {
9579
+ peer: Raw.TypePeer;
9580
+ msgId: int;
9581
+ publicData?: string;
9582
+ publicDataHash?: long;
9583
+ chatData?: string;
9584
+ pts: int;
9585
+ ptsCount: int;
9586
+ constructor(params: {
9587
+ peer: Raw.TypePeer;
9588
+ msgId: int;
9589
+ publicData?: string;
9590
+ publicDataHash?: long;
9591
+ chatData?: string;
9592
+ pts: int;
9593
+ ptsCount: int;
9594
+ });
9595
+ /**
9596
+ * Generate the TLObject from buffer.
9597
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
9598
+ */
9599
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.UpdateMessageWidgetData>;
9600
+ /**
9601
+ * Generate buffer from TLObject.
9602
+ */
9603
+ write(): Buffer;
9604
+ }
9605
+ class UpdateTranscribedAudioFile extends TLObject {
9606
+ pending?: boolean;
9607
+ transcriptionId: long;
9608
+ text: string;
9609
+ constructor(params: {
9610
+ pending?: boolean;
9611
+ transcriptionId: long;
9612
+ text: string;
9613
+ });
9614
+ /**
9615
+ * Generate the TLObject from buffer.
9616
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
9617
+ */
9618
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.UpdateTranscribedAudioFile>;
9619
+ /**
9620
+ * Generate buffer from TLObject.
9621
+ */
9622
+ write(): Buffer;
9623
+ }
9381
9624
  class UpdatesTooLong extends TLObject {
9382
9625
  constructor();
9383
9626
  /**
@@ -13011,6 +13254,66 @@ export declare namespace Raw {
13011
13254
  */
13012
13255
  write(): Buffer;
13013
13256
  }
13257
+ class InputBotInlineMessageWidget extends TLObject {
13258
+ allowQueries?: boolean;
13259
+ sharedWidget?: boolean;
13260
+ invertMedia?: boolean;
13261
+ width: int;
13262
+ height: int;
13263
+ html: string;
13264
+ publicData?: string;
13265
+ chatData?: string;
13266
+ replyMarkup?: Raw.TypeReplyMarkup;
13267
+ message: string;
13268
+ entities?: Vector<Raw.TypeMessageEntity>;
13269
+ constructor(params: {
13270
+ allowQueries?: boolean;
13271
+ sharedWidget?: boolean;
13272
+ invertMedia?: boolean;
13273
+ width: int;
13274
+ height: int;
13275
+ html: string;
13276
+ publicData?: string;
13277
+ chatData?: string;
13278
+ replyMarkup?: Raw.TypeReplyMarkup;
13279
+ message: string;
13280
+ entities?: Vector<Raw.TypeMessageEntity>;
13281
+ });
13282
+ /**
13283
+ * Generate the TLObject from buffer.
13284
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
13285
+ */
13286
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.InputBotInlineMessageWidget>;
13287
+ /**
13288
+ * Generate buffer from TLObject.
13289
+ */
13290
+ write(): Buffer;
13291
+ }
13292
+ class InputBotInlineMessageWidgetId extends TLObject {
13293
+ invertMedia?: boolean;
13294
+ widgetId: long;
13295
+ chatData?: string;
13296
+ replyMarkup?: Raw.TypeReplyMarkup;
13297
+ message: string;
13298
+ entities?: Vector<Raw.TypeMessageEntity>;
13299
+ constructor(params: {
13300
+ invertMedia?: boolean;
13301
+ widgetId: long;
13302
+ chatData?: string;
13303
+ replyMarkup?: Raw.TypeReplyMarkup;
13304
+ message: string;
13305
+ entities?: Vector<Raw.TypeMessageEntity>;
13306
+ });
13307
+ /**
13308
+ * Generate the TLObject from buffer.
13309
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
13310
+ */
13311
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.InputBotInlineMessageWidgetId>;
13312
+ /**
13313
+ * Generate buffer from TLObject.
13314
+ */
13315
+ write(): Buffer;
13316
+ }
13014
13317
  class InputBotInlineResult extends TLObject {
13015
13318
  id: string;
13016
13319
  type: string;
@@ -13299,6 +13602,41 @@ export declare namespace Raw {
13299
13602
  */
13300
13603
  write(): Buffer;
13301
13604
  }
13605
+ class BotInlineMessageWidget extends TLObject {
13606
+ invertMedia?: boolean;
13607
+ width: int;
13608
+ height: int;
13609
+ payload: bytes;
13610
+ publicData?: string;
13611
+ publicDataHash?: long;
13612
+ chatData?: string;
13613
+ replyMarkup?: Raw.TypeReplyMarkup;
13614
+ widgetId?: long;
13615
+ message: string;
13616
+ entities?: Vector<Raw.TypeMessageEntity>;
13617
+ constructor(params: {
13618
+ invertMedia?: boolean;
13619
+ width: int;
13620
+ height: int;
13621
+ payload: bytes;
13622
+ publicData?: string;
13623
+ publicDataHash?: long;
13624
+ chatData?: string;
13625
+ replyMarkup?: Raw.TypeReplyMarkup;
13626
+ widgetId?: long;
13627
+ message: string;
13628
+ entities?: Vector<Raw.TypeMessageEntity>;
13629
+ });
13630
+ /**
13631
+ * Generate the TLObject from buffer.
13632
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
13633
+ */
13634
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.BotInlineMessageWidget>;
13635
+ /**
13636
+ * Generate buffer from TLObject.
13637
+ */
13638
+ write(): Buffer;
13639
+ }
13302
13640
  class BotInlineResult extends TLObject {
13303
13641
  id: string;
13304
13642
  type: string;
@@ -27354,6 +27692,76 @@ export declare namespace Raw {
27354
27692
  */
27355
27693
  write(): Buffer;
27356
27694
  }
27695
+ class UserWallet extends TLObject {
27696
+ address: string;
27697
+ balance: long;
27698
+ publicKey?: bytes;
27699
+ stateInit?: bytes;
27700
+ constructor(params: {
27701
+ address: string;
27702
+ balance: long;
27703
+ publicKey?: bytes;
27704
+ stateInit?: bytes;
27705
+ });
27706
+ /**
27707
+ * Generate the TLObject from buffer.
27708
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
27709
+ */
27710
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.UserWallet>;
27711
+ /**
27712
+ * Generate buffer from TLObject.
27713
+ */
27714
+ write(): Buffer;
27715
+ }
27716
+ class WidgetQueryTypeData extends TLObject {
27717
+ withWallet?: boolean;
27718
+ constructor(params: {
27719
+ withWallet?: boolean;
27720
+ });
27721
+ /**
27722
+ * Generate the TLObject from buffer.
27723
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
27724
+ */
27725
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.WidgetQueryTypeData>;
27726
+ /**
27727
+ * Generate buffer from TLObject.
27728
+ */
27729
+ write(): Buffer;
27730
+ }
27731
+ class WidgetQueryTypeSignData extends TLObject {
27732
+ wallet: Raw.TypeUserWallet;
27733
+ signData: Raw.TypeDataJSON;
27734
+ constructor(params: {
27735
+ wallet: Raw.TypeUserWallet;
27736
+ signData: Raw.TypeDataJSON;
27737
+ });
27738
+ /**
27739
+ * Generate the TLObject from buffer.
27740
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
27741
+ */
27742
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.WidgetQueryTypeSignData>;
27743
+ /**
27744
+ * Generate buffer from TLObject.
27745
+ */
27746
+ write(): Buffer;
27747
+ }
27748
+ class WidgetQueryTypeSentTransaction extends TLObject {
27749
+ wallet: Raw.TypeUserWallet;
27750
+ msgHash: string;
27751
+ constructor(params: {
27752
+ wallet: Raw.TypeUserWallet;
27753
+ msgHash: string;
27754
+ });
27755
+ /**
27756
+ * Generate the TLObject from buffer.
27757
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
27758
+ */
27759
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.WidgetQueryTypeSentTransaction>;
27760
+ /**
27761
+ * Generate buffer from TLObject.
27762
+ */
27763
+ write(): Buffer;
27764
+ }
27357
27765
  class InvokeAfterMsg extends TLObject {
27358
27766
  __response__: X;
27359
27767
  msgId: long;
@@ -31518,6 +31926,8 @@ export declare namespace Raw {
31518
31926
  }
31519
31927
  namespace messages {
31520
31928
  type TypeInactiveChats = Raw.messages.InactiveChats;
31929
+ type TypeWidgetPublicData = Raw.messages.WidgetPublicDataNotModified | Raw.messages.WidgetPublicData;
31930
+ type TypeBotWidgetQueryAnswer = Raw.messages.BotWidgetQueryAnswer;
31521
31931
  type TypeComposedRichMessageWithAI = Raw.messages.ComposedRichMessageWithAI;
31522
31932
  type TypeTranslatedRichMessage = Raw.messages.TranslatedRichMessage;
31523
31933
  type TypeComposedMessageWithAI = Raw.messages.ComposedMessageWithAI;
@@ -33315,6 +33725,55 @@ export declare namespace Raw {
33315
33725
  */
33316
33726
  write(): Buffer;
33317
33727
  }
33728
+ class BotWidgetQueryAnswer extends TLObject {
33729
+ result?: string;
33730
+ constructor(params: {
33731
+ result?: string;
33732
+ });
33733
+ /**
33734
+ * Generate the TLObject from buffer.
33735
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
33736
+ */
33737
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.messages.BotWidgetQueryAnswer>;
33738
+ /**
33739
+ * Generate buffer from TLObject.
33740
+ */
33741
+ write(): Buffer;
33742
+ }
33743
+ class WidgetPublicDataNotModified extends TLObject {
33744
+ period: int;
33745
+ constructor(params: {
33746
+ period: int;
33747
+ });
33748
+ /**
33749
+ * Generate the TLObject from buffer.
33750
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
33751
+ */
33752
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.messages.WidgetPublicDataNotModified>;
33753
+ /**
33754
+ * Generate buffer from TLObject.
33755
+ */
33756
+ write(): Buffer;
33757
+ }
33758
+ class WidgetPublicData extends TLObject {
33759
+ hash: long;
33760
+ data: string;
33761
+ period: int;
33762
+ constructor(params: {
33763
+ hash: long;
33764
+ data: string;
33765
+ period: int;
33766
+ });
33767
+ /**
33768
+ * Generate the TLObject from buffer.
33769
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
33770
+ */
33771
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.messages.WidgetPublicData>;
33772
+ /**
33773
+ * Generate buffer from TLObject.
33774
+ */
33775
+ write(): Buffer;
33776
+ }
33318
33777
  class GetMessages extends TLObject {
33319
33778
  __response__: Raw.messages.TypeMessages;
33320
33779
  id: Vector<Raw.TypeInputMessage>;
@@ -38671,6 +39130,160 @@ export declare namespace Raw {
38671
39130
  */
38672
39131
  write(): Buffer;
38673
39132
  }
39133
+ class GetBotWidgetQueryAnswer extends TLObject {
39134
+ __response__: Raw.messages.TypeBotWidgetQueryAnswer;
39135
+ peer: Raw.TypeInputPeer;
39136
+ msgId: int;
39137
+ queryType: Raw.TypeWidgetQueryType;
39138
+ data: bytes;
39139
+ constructor(params: {
39140
+ peer: Raw.TypeInputPeer;
39141
+ msgId: int;
39142
+ queryType: Raw.TypeWidgetQueryType;
39143
+ data: bytes;
39144
+ });
39145
+ /**
39146
+ * Generate the TLObject from buffer.
39147
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
39148
+ */
39149
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.messages.GetBotWidgetQueryAnswer>;
39150
+ /**
39151
+ * Generate buffer from TLObject.
39152
+ */
39153
+ write(): Buffer;
39154
+ }
39155
+ class SetBotWidgetQueryAnswer extends TLObject {
39156
+ __response__: Bool;
39157
+ queryId: long;
39158
+ result?: string;
39159
+ constructor(params: {
39160
+ queryId: long;
39161
+ result?: string;
39162
+ });
39163
+ /**
39164
+ * Generate the TLObject from buffer.
39165
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
39166
+ */
39167
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.messages.SetBotWidgetQueryAnswer>;
39168
+ /**
39169
+ * Generate buffer from TLObject.
39170
+ */
39171
+ write(): Buffer;
39172
+ }
39173
+ class EditMessageWidgetData extends TLObject {
39174
+ __response__: Raw.TypeUpdates;
39175
+ peer: Raw.TypeInputPeer;
39176
+ id: int;
39177
+ publicData?: string;
39178
+ chatData?: string;
39179
+ constructor(params: {
39180
+ peer: Raw.TypeInputPeer;
39181
+ id: int;
39182
+ publicData?: string;
39183
+ chatData?: string;
39184
+ });
39185
+ /**
39186
+ * Generate the TLObject from buffer.
39187
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
39188
+ */
39189
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.messages.EditMessageWidgetData>;
39190
+ /**
39191
+ * Generate buffer from TLObject.
39192
+ */
39193
+ write(): Buffer;
39194
+ }
39195
+ class EditInlineBotMessageWidgetData extends TLObject {
39196
+ __response__: Bool;
39197
+ id: Raw.TypeInputBotInlineMessageID;
39198
+ publicData?: string;
39199
+ chatData?: string;
39200
+ constructor(params: {
39201
+ id: Raw.TypeInputBotInlineMessageID;
39202
+ publicData?: string;
39203
+ chatData?: string;
39204
+ });
39205
+ /**
39206
+ * Generate the TLObject from buffer.
39207
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
39208
+ */
39209
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.messages.EditInlineBotMessageWidgetData>;
39210
+ /**
39211
+ * Generate buffer from TLObject.
39212
+ */
39213
+ write(): Buffer;
39214
+ }
39215
+ class EditWidgetData extends TLObject {
39216
+ __response__: Bool;
39217
+ widgetId: long;
39218
+ publicData: string;
39219
+ cacheTime?: int;
39220
+ constructor(params: {
39221
+ widgetId: long;
39222
+ publicData: string;
39223
+ cacheTime?: int;
39224
+ });
39225
+ /**
39226
+ * Generate the TLObject from buffer.
39227
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
39228
+ */
39229
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.messages.EditWidgetData>;
39230
+ /**
39231
+ * Generate buffer from TLObject.
39232
+ */
39233
+ write(): Buffer;
39234
+ }
39235
+ class GetWidgetPublicData extends TLObject {
39236
+ __response__: Raw.messages.TypeWidgetPublicData;
39237
+ peer: Raw.TypeInputPeer;
39238
+ msgId: int;
39239
+ hash: long;
39240
+ constructor(params: {
39241
+ peer: Raw.TypeInputPeer;
39242
+ msgId: int;
39243
+ hash: long;
39244
+ });
39245
+ /**
39246
+ * Generate the TLObject from buffer.
39247
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
39248
+ */
39249
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.messages.GetWidgetPublicData>;
39250
+ /**
39251
+ * Generate buffer from TLObject.
39252
+ */
39253
+ write(): Buffer;
39254
+ }
39255
+ class TranscribeAudioFile extends TLObject {
39256
+ __response__: Raw.messages.TypeTranscribedAudio;
39257
+ file: Raw.TypeInputFile;
39258
+ constructor(params: {
39259
+ file: Raw.TypeInputFile;
39260
+ });
39261
+ /**
39262
+ * Generate the TLObject from buffer.
39263
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
39264
+ */
39265
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.messages.TranscribeAudioFile>;
39266
+ /**
39267
+ * Generate buffer from TLObject.
39268
+ */
39269
+ write(): Buffer;
39270
+ }
39271
+ class GetTranscriptionLangs extends TLObject {
39272
+ __response__: Vector<string>;
39273
+ peer?: Raw.TypeInputPeer;
39274
+ constructor(params: {
39275
+ peer?: Raw.TypeInputPeer;
39276
+ });
39277
+ /**
39278
+ * Generate the TLObject from buffer.
39279
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
39280
+ */
39281
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.messages.GetTranscriptionLangs>;
39282
+ /**
39283
+ * Generate buffer from TLObject.
39284
+ */
39285
+ write(): Buffer;
39286
+ }
38674
39287
  }
38675
39288
  namespace updates {
38676
39289
  type TypeChannelDifference = Raw.updates.ChannelDifferenceEmpty | Raw.updates.ChannelDifferenceTooLong | Raw.updates.ChannelDifference;
@@ -43142,10 +43755,12 @@ export declare namespace Raw {
43142
43755
  channel: Raw.TypeInputChannel;
43143
43756
  enabled: Bool;
43144
43757
  tabs: Bool;
43758
+ sidebar: Bool;
43145
43759
  constructor(params: {
43146
43760
  channel: Raw.TypeInputChannel;
43147
43761
  enabled: Bool;
43148
43762
  tabs: Bool;
43763
+ sidebar: Bool;
43149
43764
  });
43150
43765
  /**
43151
43766
  * Generate the TLObject from buffer.