@tgsnake/skema 2.0.0 → 2.1.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.account.RegisterDevice | Raw.account.UnregisterDevice | Raw.account.UpdateNotifySettings | Raw.account.GetNotifySettings | Raw.account.ResetNotifySettings | Raw.account.UpdateProfile | Raw.account.UpdateStatus | Raw.account.GetWallPapers | Raw.account.ReportPeer | Raw.account.CheckUsername | Raw.account.UpdateUsername | Raw.account.GetPrivacy | Raw.account.SetPrivacy | Raw.account.DeleteAccount | Raw.account.GetAccountTTL | Raw.account.SetAccountTTL | Raw.account.SendChangePhoneCode | Raw.account.ChangePhone | Raw.account.UpdateDeviceLocked | Raw.account.GetAuthorizations | Raw.account.ResetAuthorization | Raw.account.GetPassword | Raw.account.GetPasswordSettings | Raw.account.UpdatePasswordSettings | Raw.account.SendConfirmPhoneCode | Raw.account.ConfirmPhone | Raw.account.GetTmpPassword | Raw.account.GetWebAuthorizations | Raw.account.ResetWebAuthorization | Raw.account.ResetWebAuthorizations | Raw.account.GetAllSecureValues | Raw.account.GetSecureValue | Raw.account.SaveSecureValue | Raw.account.DeleteSecureValue | Raw.account.GetAuthorizationForm | Raw.account.AcceptAuthorization | Raw.account.SendVerifyPhoneCode | Raw.account.VerifyPhone | Raw.account.SendVerifyEmailCode | Raw.account.VerifyEmail | Raw.account.InitTakeoutSession | Raw.account.FinishTakeoutSession | Raw.account.ConfirmPasswordEmail | Raw.account.ResendPasswordEmail | Raw.account.CancelPasswordEmail | Raw.account.GetContactSignUpNotification | Raw.account.SetContactSignUpNotification | Raw.account.GetNotifyExceptions | Raw.account.GetWallPaper | Raw.account.UploadWallPaper | Raw.account.SaveWallPaper | Raw.account.InstallWallPaper | Raw.account.ResetWallPapers | Raw.account.GetAutoDownloadSettings | Raw.account.SaveAutoDownloadSettings | Raw.account.UploadTheme | Raw.account.CreateTheme | Raw.account.UpdateTheme | Raw.account.SaveTheme | Raw.account.InstallTheme | Raw.account.GetTheme | Raw.account.GetThemes | Raw.account.SetContentSettings | Raw.account.GetContentSettings | Raw.account.GetMultiWallPapers | Raw.account.GetGlobalPrivacySettings | Raw.account.SetGlobalPrivacySettings | Raw.account.ReportProfilePhoto | Raw.account.ResetPassword | Raw.account.DeclinePasswordReset | Raw.account.GetChatThemes | Raw.account.SetAuthorizationTTL | Raw.account.ChangeAuthorizationSettings | Raw.account.GetSavedRingtones | Raw.account.SaveRingtone | Raw.account.UploadRingtone | Raw.account.UpdateEmojiStatus | Raw.account.GetDefaultEmojiStatuses | Raw.account.GetRecentEmojiStatuses | Raw.account.ClearRecentEmojiStatuses | Raw.account.ReorderUsernames | Raw.account.ToggleUsername | Raw.account.GetDefaultProfilePhotoEmojis | Raw.account.GetDefaultGroupPhotoEmojis | Raw.account.GetAutoSaveSettings | Raw.account.SaveAutoSaveSettings | Raw.account.DeleteAutoSaveExceptions | Raw.account.InvalidateSignInCodes | Raw.account.UpdateColor | Raw.account.GetDefaultBackgroundEmojis | Raw.account.GetChannelDefaultEmojiStatuses | Raw.account.GetChannelRestrictedStatusEmojis | Raw.account.UpdateBusinessWorkHours | Raw.account.UpdateBusinessLocation | Raw.account.UpdateBusinessGreetingMessage | Raw.account.UpdateBusinessAwayMessage | Raw.account.UpdateConnectedBot | Raw.account.GetConnectedBots | Raw.account.GetBotBusinessConnection | Raw.account.UpdateBusinessIntro | Raw.account.ToggleConnectedBotPaused | Raw.account.DisablePeerConnectedBot | Raw.account.UpdateBirthday | Raw.account.CreateBusinessChatLink | Raw.account.EditBusinessChatLink | Raw.account.DeleteBusinessChatLink | Raw.account.GetBusinessChatLinks | Raw.account.ResolveBusinessChatLink | Raw.account.UpdatePersonalChannel | Raw.account.ToggleSponsoredMessages | Raw.account.GetReactionsNotifySettings | Raw.account.SetReactionsNotifySettings | Raw.account.GetCollectibleEmojiStatuses | Raw.account.GetPaidMessagesRevenue | Raw.account.ToggleNoPaidMessagesException | Raw.account.SetMainProfileTab | Raw.account.SaveMusic | Raw.account.GetSavedMusicIds | Raw.account.GetUniqueGiftChatThemes | Raw.account.InitPasskeyRegistration | Raw.account.RegisterPasskey | Raw.account.GetPasskeys | Raw.account.DeletePasskey | Raw.users.GetUsers | Raw.users.GetFullUser | Raw.users.SetSecureValueErrors | Raw.users.GetRequirementsToContact | Raw.users.GetSavedMusic | Raw.users.GetSavedMusicByID | Raw.users.SuggestBirthday | Raw.contacts.GetContactIDs | Raw.contacts.GetStatuses | Raw.contacts.GetContacts | Raw.contacts.ImportContacts | Raw.contacts.DeleteContacts | Raw.contacts.DeleteByPhones | Raw.contacts.Block | Raw.contacts.Unblock | Raw.contacts.GetBlocked | Raw.contacts.Search | Raw.contacts.ResolveUsername | Raw.contacts.GetTopPeers | Raw.contacts.ResetTopPeerRating | Raw.contacts.ResetSaved | Raw.contacts.GetSaved | Raw.contacts.ToggleTopPeers | Raw.contacts.AddContact | Raw.contacts.AcceptContact | Raw.contacts.GetLocated | Raw.contacts.BlockFromReplies | Raw.contacts.ResolvePhone | Raw.contacts.ExportContactToken | Raw.contacts.ImportContactToken | Raw.contacts.EditCloseFriends | Raw.contacts.SetBlocked | Raw.contacts.GetBirthdays | Raw.contacts.GetSponsoredPeers | Raw.contacts.UpdateContactNote | Raw.messages.GetMessages | Raw.messages.GetDialogs | Raw.messages.GetHistory | Raw.messages.Search | Raw.messages.ReadHistory | Raw.messages.DeleteHistory | Raw.messages.DeleteMessages | Raw.messages.ReceivedMessages | Raw.messages.SetTyping | Raw.messages.SendMessage | Raw.messages.SendMedia | Raw.messages.ForwardMessages | Raw.messages.ReportSpam | Raw.messages.GetPeerSettings | Raw.messages.Report | Raw.messages.GetChats | Raw.messages.GetFullChat | Raw.messages.EditChatTitle | Raw.messages.EditChatPhoto | Raw.messages.AddChatUser | Raw.messages.DeleteChatUser | Raw.messages.CreateChat | Raw.messages.GetDhConfig | Raw.messages.RequestEncryption | Raw.messages.AcceptEncryption | Raw.messages.DiscardEncryption | Raw.messages.SetEncryptedTyping | Raw.messages.ReadEncryptedHistory | Raw.messages.SendEncrypted | Raw.messages.SendEncryptedFile | Raw.messages.SendEncryptedService | Raw.messages.ReceivedQueue | Raw.messages.ReportEncryptedSpam | Raw.messages.ReadMessageContents | Raw.messages.GetStickers | Raw.messages.GetAllStickers | Raw.messages.GetWebPagePreview | Raw.messages.ExportChatInvite | Raw.messages.CheckChatInvite | Raw.messages.ImportChatInvite | Raw.messages.GetStickerSet | Raw.messages.InstallStickerSet | Raw.messages.UninstallStickerSet | Raw.messages.StartBot | Raw.messages.GetMessagesViews | Raw.messages.EditChatAdmin | Raw.messages.MigrateChat | Raw.messages.SearchGlobal | Raw.messages.ReorderStickerSets | Raw.messages.GetDocumentByHash | Raw.messages.GetSavedGifs | Raw.messages.SaveGif | Raw.messages.GetInlineBotResults | Raw.messages.SetInlineBotResults | Raw.messages.SendInlineBotResult | Raw.messages.GetMessageEditData | Raw.messages.EditMessage | Raw.messages.EditInlineBotMessage | Raw.messages.GetBotCallbackAnswer | Raw.messages.SetBotCallbackAnswer | Raw.messages.GetPeerDialogs | Raw.messages.SaveDraft | Raw.messages.GetAllDrafts | Raw.messages.GetFeaturedStickers | Raw.messages.ReadFeaturedStickers | Raw.messages.GetRecentStickers | Raw.messages.SaveRecentSticker | Raw.messages.ClearRecentStickers | Raw.messages.GetArchivedStickers | Raw.messages.GetMaskStickers | Raw.messages.GetAttachedStickers | Raw.messages.SetGameScore | Raw.messages.SetInlineGameScore | Raw.messages.GetGameHighScores | Raw.messages.GetInlineGameHighScores | Raw.messages.GetCommonChats | Raw.messages.GetWebPage | Raw.messages.ToggleDialogPin | Raw.messages.ReorderPinnedDialogs | Raw.messages.GetPinnedDialogs | Raw.messages.SetBotShippingResults | Raw.messages.SetBotPrecheckoutResults | Raw.messages.UploadMedia | Raw.messages.SendScreenshotNotification | Raw.messages.GetFavedStickers | Raw.messages.FaveSticker | Raw.messages.GetUnreadMentions | Raw.messages.ReadMentions | Raw.messages.GetRecentLocations | Raw.messages.SendMultiMedia | Raw.messages.UploadEncryptedFile | Raw.messages.SearchStickerSets | Raw.messages.GetSplitRanges | Raw.messages.MarkDialogUnread | Raw.messages.GetDialogUnreadMarks | Raw.messages.ClearAllDrafts | Raw.messages.UpdatePinnedMessage | Raw.messages.SendVote | Raw.messages.GetPollResults | Raw.messages.GetOnlines | Raw.messages.EditChatAbout | Raw.messages.EditChatDefaultBannedRights | Raw.messages.GetEmojiKeywords | Raw.messages.GetEmojiKeywordsDifference | Raw.messages.GetEmojiKeywordsLanguages | Raw.messages.GetEmojiURL | Raw.messages.GetSearchCounters | Raw.messages.RequestUrlAuth | Raw.messages.AcceptUrlAuth | Raw.messages.HidePeerSettingsBar | Raw.messages.GetScheduledHistory | Raw.messages.GetScheduledMessages | Raw.messages.SendScheduledMessages | Raw.messages.DeleteScheduledMessages | Raw.messages.GetPollVotes | Raw.messages.ToggleStickerSets | Raw.messages.GetDialogFilters | Raw.messages.GetSuggestedDialogFilters | Raw.messages.UpdateDialogFilter | Raw.messages.UpdateDialogFiltersOrder | Raw.messages.GetOldFeaturedStickers | Raw.messages.GetReplies | Raw.messages.GetDiscussionMessage | Raw.messages.ReadDiscussion | Raw.messages.UnpinAllMessages | Raw.messages.DeleteChat | Raw.messages.DeletePhoneCallHistory | Raw.messages.CheckHistoryImport | Raw.messages.InitHistoryImport | Raw.messages.UploadImportedMedia | Raw.messages.StartHistoryImport | Raw.messages.GetExportedChatInvites | Raw.messages.GetExportedChatInvite | Raw.messages.EditExportedChatInvite | Raw.messages.DeleteRevokedExportedChatInvites | Raw.messages.DeleteExportedChatInvite | Raw.messages.GetAdminsWithInvites | Raw.messages.GetChatInviteImporters | Raw.messages.SetHistoryTTL | Raw.messages.CheckHistoryImportPeer | Raw.messages.SetChatTheme | Raw.messages.GetMessageReadParticipants | Raw.messages.GetSearchResultsCalendar | Raw.messages.GetSearchResultsPositions | Raw.messages.HideChatJoinRequest | Raw.messages.HideAllChatJoinRequests | Raw.messages.ToggleNoForwards | Raw.messages.SaveDefaultSendAs | Raw.messages.SendReaction | Raw.messages.GetMessagesReactions | Raw.messages.GetMessageReactionsList | Raw.messages.SetChatAvailableReactions | Raw.messages.GetAvailableReactions | Raw.messages.SetDefaultReaction | Raw.messages.TranslateText | Raw.messages.GetUnreadReactions | Raw.messages.ReadReactions | Raw.messages.SearchSentMedia | Raw.messages.GetAttachMenuBots | Raw.messages.GetAttachMenuBot | Raw.messages.ToggleBotInAttachMenu | Raw.messages.RequestWebView | Raw.messages.ProlongWebView | Raw.messages.RequestSimpleWebView | Raw.messages.SendWebViewResultMessage | Raw.messages.SendWebViewData | Raw.messages.TranscribeAudio | Raw.messages.RateTranscribedAudio | Raw.messages.GetCustomEmojiDocuments | Raw.messages.GetEmojiStickers | Raw.messages.GetFeaturedEmojiStickers | Raw.messages.ReportReaction | Raw.messages.GetTopReactions | Raw.messages.GetRecentReactions | Raw.messages.ClearRecentReactions | Raw.messages.GetExtendedMedia | Raw.messages.SetDefaultHistoryTTL | Raw.messages.GetDefaultHistoryTTL | Raw.messages.SendBotRequestedPeer | Raw.messages.GetEmojiGroups | Raw.messages.GetEmojiStatusGroups | Raw.messages.GetEmojiProfilePhotoGroups | Raw.messages.SearchCustomEmoji | Raw.messages.TogglePeerTranslations | Raw.messages.GetBotApp | Raw.messages.RequestAppWebView | Raw.messages.SetChatWallPaper | Raw.messages.SearchEmojiStickerSets | Raw.messages.GetSavedDialogs | Raw.messages.GetSavedHistory | Raw.messages.DeleteSavedHistory | Raw.messages.GetPinnedSavedDialogs | Raw.messages.ToggleSavedDialogPin | Raw.messages.ReorderPinnedSavedDialogs | Raw.messages.GetSavedReactionTags | Raw.messages.UpdateSavedReactionTag | Raw.messages.GetDefaultTagReactions | Raw.messages.GetOutboxReadDate | Raw.messages.GetQuickReplies | Raw.messages.ReorderQuickReplies | Raw.messages.CheckQuickReplyShortcut | Raw.messages.EditQuickReplyShortcut | Raw.messages.DeleteQuickReplyShortcut | Raw.messages.GetQuickReplyMessages | Raw.messages.SendQuickReplyMessages | Raw.messages.DeleteQuickReplyMessages | Raw.messages.ToggleDialogFilterTags | Raw.messages.GetMyStickers | Raw.messages.GetEmojiStickerGroups | Raw.messages.GetAvailableEffects | Raw.messages.EditFactCheck | Raw.messages.DeleteFactCheck | Raw.messages.GetFactCheck | Raw.messages.RequestMainWebView | Raw.messages.SendPaidReaction | Raw.messages.TogglePaidReactionPrivacy | Raw.messages.GetPaidReactionPrivacy | Raw.messages.ViewSponsoredMessage | Raw.messages.ClickSponsoredMessage | Raw.messages.ReportSponsoredMessage | Raw.messages.GetSponsoredMessages | Raw.messages.SavePreparedInlineMessage | Raw.messages.GetPreparedInlineMessage | Raw.messages.SearchStickers | Raw.messages.ReportMessagesDelivery | Raw.messages.GetSavedDialogsByID | Raw.messages.ReadSavedHistory | Raw.messages.ToggleTodoCompleted | Raw.messages.AppendTodoList | Raw.messages.ToggleSuggestedPostApproval | Raw.messages.GetForumTopics | Raw.messages.GetForumTopicsByID | Raw.messages.EditForumTopic | Raw.messages.UpdatePinnedForumTopic | Raw.messages.ReorderPinnedForumTopics | Raw.messages.CreateForumTopic | Raw.messages.DeleteTopicHistory | Raw.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.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.payments.GetPaymentForm | Raw.payments.GetPaymentReceipt | Raw.payments.ValidateRequestedInfo | Raw.payments.SendPaymentForm | Raw.payments.GetSavedInfo | Raw.payments.ClearSavedInfo | Raw.payments.GetBankCardData | Raw.payments.ExportInvoice | Raw.payments.AssignAppStoreTransaction | Raw.payments.AssignPlayMarketTransaction | Raw.payments.GetPremiumGiftCodeOptions | Raw.payments.CheckGiftCode | Raw.payments.ApplyGiftCode | Raw.payments.GetGiveawayInfo | Raw.payments.LaunchPrepaidGiveaway | Raw.payments.GetStarsTopupOptions | Raw.payments.GetStarsStatus | Raw.payments.GetStarsTransactions | Raw.payments.SendStarsForm | Raw.payments.RefundStarsCharge | Raw.payments.GetStarsRevenueStats | Raw.payments.GetStarsRevenueWithdrawalUrl | Raw.payments.GetStarsRevenueAdsAccountUrl | Raw.payments.GetStarsTransactionsByID | Raw.payments.GetStarsGiftOptions | Raw.payments.GetStarsSubscriptions | Raw.payments.ChangeStarsSubscription | Raw.payments.FulfillStarsSubscription | Raw.payments.GetStarsGiveawayOptions | Raw.payments.GetStarGifts | Raw.payments.SaveStarGift | Raw.payments.ConvertStarGift | Raw.payments.BotCancelStarsSubscription | Raw.payments.GetConnectedStarRefBots | Raw.payments.GetConnectedStarRefBot | Raw.payments.GetSuggestedStarRefBots | Raw.payments.ConnectStarRefBot | Raw.payments.EditConnectedStarRefBot | Raw.payments.GetStarGiftUpgradePreview | Raw.payments.UpgradeStarGift | Raw.payments.TransferStarGift | Raw.payments.GetUniqueStarGift | Raw.payments.GetSavedStarGifts | Raw.payments.GetSavedStarGift | Raw.payments.GetStarGiftWithdrawalUrl | Raw.payments.ToggleChatStarGiftNotifications | Raw.payments.ToggleStarGiftsPinnedToTop | Raw.payments.CanPurchaseStore | Raw.payments.GetResaleStarGifts | Raw.payments.UpdateStarGiftPrice | Raw.payments.CreateStarGiftCollection | Raw.payments.UpdateStarGiftCollection | Raw.payments.ReorderStarGiftCollections | Raw.payments.DeleteStarGiftCollection | Raw.payments.GetStarGiftCollections | Raw.payments.GetUniqueStarGiftValueInfo | Raw.payments.CheckCanSendGift | Raw.payments.GetStarGiftAuctionState | Raw.payments.GetStarGiftAuctionAcquiredGifts | Raw.payments.GetStarGiftActiveAuctions | Raw.payments.ResolveStarGiftOffer | Raw.payments.SendStarGiftOffer | Raw.payments.GetStarGiftUpgradeAttributes | Raw.payments.GetCraftStarGifts | Raw.payments.CraftStarGift | Raw.stickers.CreateStickerSet | Raw.stickers.RemoveStickerFromSet | Raw.stickers.ChangeStickerPosition | Raw.stickers.AddStickerToSet | Raw.stickers.SetStickerSetThumb | Raw.stickers.CheckShortName | Raw.stickers.SuggestShortName | Raw.stickers.ChangeSticker | Raw.stickers.RenameStickerSet | Raw.stickers.DeleteStickerSet | Raw.stickers.ReplaceSticker | Raw.phone.GetCallConfig | Raw.phone.RequestCall | Raw.phone.AcceptCall | Raw.phone.ConfirmCall | Raw.phone.ReceivedCall | Raw.phone.DiscardCall | Raw.phone.SetCallRating | Raw.phone.SaveCallDebug | Raw.phone.SendSignalingData | Raw.phone.CreateGroupCall | Raw.phone.JoinGroupCall | Raw.phone.LeaveGroupCall | Raw.phone.InviteToGroupCall | Raw.phone.DiscardGroupCall | Raw.phone.ToggleGroupCallSettings | Raw.phone.GetGroupCall | Raw.phone.GetGroupParticipants | Raw.phone.CheckGroupCall | Raw.phone.ToggleGroupCallRecord | Raw.phone.EditGroupCallParticipant | Raw.phone.EditGroupCallTitle | Raw.phone.GetGroupCallJoinAs | Raw.phone.ExportGroupCallInvite | Raw.phone.ToggleGroupCallStartSubscription | Raw.phone.StartScheduledGroupCall | Raw.phone.SaveDefaultGroupCallJoinAs | Raw.phone.JoinGroupCallPresentation | Raw.phone.LeaveGroupCallPresentation | Raw.phone.GetGroupCallStreamChannels | Raw.phone.GetGroupCallStreamRtmpUrl | Raw.phone.SaveCallLog | Raw.phone.CreateConferenceCall | Raw.phone.DeleteConferenceCallParticipants | Raw.phone.SendConferenceCallBroadcast | Raw.phone.InviteConferenceCallParticipant | Raw.phone.DeclineConferenceCallInvite | Raw.phone.GetGroupCallChainBlocks | Raw.phone.SendGroupCallMessage | Raw.phone.SendGroupCallEncryptedMessage | Raw.phone.DeleteGroupCallMessages | Raw.phone.DeleteGroupCallParticipantMessages | Raw.phone.GetGroupCallStars | Raw.phone.SaveDefaultSendAs | Raw.langpack.GetLangPack | Raw.langpack.GetStrings | Raw.langpack.GetDifference | Raw.langpack.GetLanguages | Raw.langpack.GetLanguage | Raw.folders.EditPeerFolders | Raw.stats.GetBroadcastStats | Raw.stats.LoadAsyncGraph | Raw.stats.GetMegagroupStats | Raw.stats.GetMessagePublicForwards | Raw.stats.GetMessageStats | Raw.stats.GetStoryStats | Raw.stats.GetStoryPublicForwards | Raw.stats.GetPollStats | Raw.chatlists.ExportChatlistInvite | Raw.chatlists.DeleteExportedInvite | Raw.chatlists.EditExportedInvite | Raw.chatlists.GetExportedInvites | Raw.chatlists.CheckChatlistInvite | Raw.chatlists.JoinChatlistInvite | Raw.chatlists.GetChatlistUpdates | Raw.chatlists.JoinChatlistUpdates | Raw.chatlists.HideChatlistUpdates | Raw.chatlists.GetLeaveChatlistSuggestions | Raw.chatlists.LeaveChatlist | Raw.stories.CanSendStory | Raw.stories.SendStory | Raw.stories.EditStory | Raw.stories.DeleteStories | Raw.stories.TogglePinned | Raw.stories.GetAllStories | Raw.stories.GetPinnedStories | Raw.stories.GetStoriesArchive | Raw.stories.GetStoriesByID | Raw.stories.ToggleAllStoriesHidden | Raw.stories.ReadStories | Raw.stories.IncrementStoryViews | Raw.stories.GetStoryViewsList | Raw.stories.GetStoriesViews | Raw.stories.ExportStoryLink | Raw.stories.Report | Raw.stories.ActivateStealthMode | Raw.stories.SendReaction | Raw.stories.GetPeerStories | Raw.stories.GetAllReadPeerStories | Raw.stories.GetPeerMaxIDs | Raw.stories.GetChatsToSend | Raw.stories.TogglePeerStoriesHidden | Raw.stories.GetStoryReactionsList | Raw.stories.TogglePinnedToTop | Raw.stories.SearchPosts | Raw.stories.CreateAlbum | Raw.stories.UpdateAlbum | Raw.stories.ReorderAlbums | Raw.stories.DeleteAlbum | Raw.stories.GetAlbums | Raw.stories.GetAlbumStories | Raw.stories.StartLive | Raw.premium.GetBoostsList | Raw.premium.GetMyBoosts | Raw.premium.ApplyBoost | Raw.premium.GetBoostsStatus | Raw.premium.GetUserBoosts | Raw.smsjobs.IsEligibleToJoin | Raw.smsjobs.Join | Raw.smsjobs.Leave | Raw.smsjobs.UpdateSettings | Raw.smsjobs.GetStatus | Raw.smsjobs.GetSmsJob | Raw.smsjobs.FinishJob | Raw.fragment.GetCollectibleInfo | Raw.aicompose.CreateTone | Raw.aicompose.UpdateTone | Raw.aicompose.SaveTone | Raw.aicompose.DeleteTone | Raw.aicompose.GetTone | Raw.aicompose.GetTones | Raw.aicompose.GetToneExample;
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.account.RegisterDevice | Raw.account.UnregisterDevice | Raw.account.UpdateNotifySettings | Raw.account.GetNotifySettings | Raw.account.ResetNotifySettings | Raw.account.UpdateProfile | Raw.account.UpdateStatus | Raw.account.GetWallPapers | Raw.account.ReportPeer | Raw.account.CheckUsername | Raw.account.UpdateUsername | Raw.account.GetPrivacy | Raw.account.SetPrivacy | Raw.account.DeleteAccount | Raw.account.GetAccountTTL | Raw.account.SetAccountTTL | Raw.account.SendChangePhoneCode | Raw.account.ChangePhone | Raw.account.UpdateDeviceLocked | Raw.account.GetAuthorizations | Raw.account.ResetAuthorization | Raw.account.GetPassword | Raw.account.GetPasswordSettings | Raw.account.UpdatePasswordSettings | Raw.account.SendConfirmPhoneCode | Raw.account.ConfirmPhone | Raw.account.GetTmpPassword | Raw.account.GetWebAuthorizations | Raw.account.ResetWebAuthorization | Raw.account.ResetWebAuthorizations | Raw.account.GetAllSecureValues | Raw.account.GetSecureValue | Raw.account.SaveSecureValue | Raw.account.DeleteSecureValue | Raw.account.GetAuthorizationForm | Raw.account.AcceptAuthorization | Raw.account.SendVerifyPhoneCode | Raw.account.VerifyPhone | Raw.account.SendVerifyEmailCode | Raw.account.VerifyEmail | Raw.account.InitTakeoutSession | Raw.account.FinishTakeoutSession | Raw.account.ConfirmPasswordEmail | Raw.account.ResendPasswordEmail | Raw.account.CancelPasswordEmail | Raw.account.GetContactSignUpNotification | Raw.account.SetContactSignUpNotification | Raw.account.GetNotifyExceptions | Raw.account.GetWallPaper | Raw.account.UploadWallPaper | Raw.account.SaveWallPaper | Raw.account.InstallWallPaper | Raw.account.ResetWallPapers | Raw.account.GetAutoDownloadSettings | Raw.account.SaveAutoDownloadSettings | Raw.account.UploadTheme | Raw.account.CreateTheme | Raw.account.UpdateTheme | Raw.account.SaveTheme | Raw.account.InstallTheme | Raw.account.GetTheme | Raw.account.GetThemes | Raw.account.SetContentSettings | Raw.account.GetContentSettings | Raw.account.GetMultiWallPapers | Raw.account.GetGlobalPrivacySettings | Raw.account.SetGlobalPrivacySettings | Raw.account.ReportProfilePhoto | Raw.account.ResetPassword | Raw.account.DeclinePasswordReset | Raw.account.GetChatThemes | Raw.account.SetAuthorizationTTL | Raw.account.ChangeAuthorizationSettings | Raw.account.GetSavedRingtones | Raw.account.SaveRingtone | Raw.account.UploadRingtone | Raw.account.UpdateEmojiStatus | Raw.account.GetDefaultEmojiStatuses | Raw.account.GetRecentEmojiStatuses | Raw.account.ClearRecentEmojiStatuses | Raw.account.ReorderUsernames | Raw.account.ToggleUsername | Raw.account.GetDefaultProfilePhotoEmojis | Raw.account.GetDefaultGroupPhotoEmojis | Raw.account.GetAutoSaveSettings | Raw.account.SaveAutoSaveSettings | Raw.account.DeleteAutoSaveExceptions | Raw.account.InvalidateSignInCodes | Raw.account.UpdateColor | Raw.account.GetDefaultBackgroundEmojis | Raw.account.GetChannelDefaultEmojiStatuses | Raw.account.GetChannelRestrictedStatusEmojis | Raw.account.UpdateBusinessWorkHours | Raw.account.UpdateBusinessLocation | Raw.account.UpdateBusinessGreetingMessage | Raw.account.UpdateBusinessAwayMessage | Raw.account.UpdateConnectedBot | Raw.account.GetConnectedBots | Raw.account.GetBotBusinessConnection | Raw.account.UpdateBusinessIntro | Raw.account.ToggleConnectedBotPaused | Raw.account.DisablePeerConnectedBot | Raw.account.UpdateBirthday | Raw.account.CreateBusinessChatLink | Raw.account.EditBusinessChatLink | Raw.account.DeleteBusinessChatLink | Raw.account.GetBusinessChatLinks | Raw.account.ResolveBusinessChatLink | Raw.account.UpdatePersonalChannel | Raw.account.ToggleSponsoredMessages | Raw.account.GetReactionsNotifySettings | Raw.account.SetReactionsNotifySettings | Raw.account.GetCollectibleEmojiStatuses | Raw.account.GetPaidMessagesRevenue | Raw.account.ToggleNoPaidMessagesException | Raw.account.SetMainProfileTab | Raw.account.SaveMusic | Raw.account.GetSavedMusicIds | Raw.account.GetUniqueGiftChatThemes | Raw.account.InitPasskeyRegistration | Raw.account.RegisterPasskey | Raw.account.GetPasskeys | Raw.account.DeletePasskey | Raw.account.ConfirmBotConnection | Raw.account.GetWebBrowserSettings | Raw.account.UpdateWebBrowserSettings | Raw.account.ToggleWebBrowserSettingsException | Raw.account.DeleteWebBrowserSettingsExceptions | Raw.users.GetUsers | Raw.users.GetFullUser | Raw.users.SetSecureValueErrors | Raw.users.GetRequirementsToContact | Raw.users.GetSavedMusic | Raw.users.GetSavedMusicByID | Raw.users.SuggestBirthday | Raw.contacts.GetContactIDs | Raw.contacts.GetStatuses | Raw.contacts.GetContacts | Raw.contacts.ImportContacts | Raw.contacts.DeleteContacts | Raw.contacts.DeleteByPhones | Raw.contacts.Block | Raw.contacts.Unblock | Raw.contacts.GetBlocked | Raw.contacts.Search | Raw.contacts.ResolveUsername | Raw.contacts.GetTopPeers | Raw.contacts.ResetTopPeerRating | Raw.contacts.ResetSaved | Raw.contacts.GetSaved | Raw.contacts.ToggleTopPeers | Raw.contacts.AddContact | Raw.contacts.AcceptContact | Raw.contacts.GetLocated | Raw.contacts.BlockFromReplies | Raw.contacts.ResolvePhone | Raw.contacts.ExportContactToken | Raw.contacts.ImportContactToken | Raw.contacts.EditCloseFriends | Raw.contacts.SetBlocked | Raw.contacts.GetBirthdays | Raw.contacts.GetSponsoredPeers | Raw.contacts.UpdateContactNote | Raw.messages.GetMessages | Raw.messages.GetDialogs | Raw.messages.GetHistory | Raw.messages.Search | Raw.messages.ReadHistory | Raw.messages.DeleteHistory | Raw.messages.DeleteMessages | Raw.messages.ReceivedMessages | Raw.messages.SetTyping | Raw.messages.SendMessage | Raw.messages.SendMedia | Raw.messages.ForwardMessages | Raw.messages.ReportSpam | Raw.messages.GetPeerSettings | Raw.messages.Report | Raw.messages.GetChats | Raw.messages.GetFullChat | Raw.messages.EditChatTitle | Raw.messages.EditChatPhoto | Raw.messages.AddChatUser | Raw.messages.DeleteChatUser | Raw.messages.CreateChat | Raw.messages.GetDhConfig | Raw.messages.RequestEncryption | Raw.messages.AcceptEncryption | Raw.messages.DiscardEncryption | Raw.messages.SetEncryptedTyping | Raw.messages.ReadEncryptedHistory | Raw.messages.SendEncrypted | Raw.messages.SendEncryptedFile | Raw.messages.SendEncryptedService | Raw.messages.ReceivedQueue | Raw.messages.ReportEncryptedSpam | Raw.messages.ReadMessageContents | Raw.messages.GetStickers | Raw.messages.GetAllStickers | Raw.messages.GetWebPagePreview | Raw.messages.ExportChatInvite | Raw.messages.CheckChatInvite | Raw.messages.ImportChatInvite | Raw.messages.GetStickerSet | Raw.messages.InstallStickerSet | Raw.messages.UninstallStickerSet | Raw.messages.StartBot | Raw.messages.GetMessagesViews | Raw.messages.EditChatAdmin | Raw.messages.MigrateChat | Raw.messages.SearchGlobal | Raw.messages.ReorderStickerSets | Raw.messages.GetDocumentByHash | Raw.messages.GetSavedGifs | Raw.messages.SaveGif | Raw.messages.GetInlineBotResults | Raw.messages.SetInlineBotResults | Raw.messages.SendInlineBotResult | Raw.messages.GetMessageEditData | Raw.messages.EditMessage | Raw.messages.EditInlineBotMessage | Raw.messages.GetBotCallbackAnswer | Raw.messages.SetBotCallbackAnswer | Raw.messages.GetPeerDialogs | Raw.messages.SaveDraft | Raw.messages.GetAllDrafts | Raw.messages.GetFeaturedStickers | Raw.messages.ReadFeaturedStickers | Raw.messages.GetRecentStickers | Raw.messages.SaveRecentSticker | Raw.messages.ClearRecentStickers | Raw.messages.GetArchivedStickers | Raw.messages.GetMaskStickers | Raw.messages.GetAttachedStickers | Raw.messages.SetGameScore | Raw.messages.SetInlineGameScore | Raw.messages.GetGameHighScores | Raw.messages.GetInlineGameHighScores | Raw.messages.GetCommonChats | Raw.messages.GetWebPage | Raw.messages.ToggleDialogPin | Raw.messages.ReorderPinnedDialogs | Raw.messages.GetPinnedDialogs | Raw.messages.SetBotShippingResults | Raw.messages.SetBotPrecheckoutResults | Raw.messages.UploadMedia | Raw.messages.SendScreenshotNotification | Raw.messages.GetFavedStickers | Raw.messages.FaveSticker | Raw.messages.GetUnreadMentions | Raw.messages.ReadMentions | Raw.messages.GetRecentLocations | Raw.messages.SendMultiMedia | Raw.messages.UploadEncryptedFile | Raw.messages.SearchStickerSets | Raw.messages.GetSplitRanges | Raw.messages.MarkDialogUnread | Raw.messages.GetDialogUnreadMarks | Raw.messages.ClearAllDrafts | Raw.messages.UpdatePinnedMessage | Raw.messages.SendVote | Raw.messages.GetPollResults | Raw.messages.GetOnlines | Raw.messages.EditChatAbout | Raw.messages.EditChatDefaultBannedRights | Raw.messages.GetEmojiKeywords | Raw.messages.GetEmojiKeywordsDifference | Raw.messages.GetEmojiKeywordsLanguages | Raw.messages.GetEmojiURL | Raw.messages.GetSearchCounters | Raw.messages.RequestUrlAuth | Raw.messages.AcceptUrlAuth | Raw.messages.HidePeerSettingsBar | Raw.messages.GetScheduledHistory | Raw.messages.GetScheduledMessages | Raw.messages.SendScheduledMessages | Raw.messages.DeleteScheduledMessages | Raw.messages.GetPollVotes | Raw.messages.ToggleStickerSets | Raw.messages.GetDialogFilters | Raw.messages.GetSuggestedDialogFilters | Raw.messages.UpdateDialogFilter | Raw.messages.UpdateDialogFiltersOrder | Raw.messages.GetOldFeaturedStickers | Raw.messages.GetReplies | Raw.messages.GetDiscussionMessage | Raw.messages.ReadDiscussion | Raw.messages.UnpinAllMessages | Raw.messages.DeleteChat | Raw.messages.DeletePhoneCallHistory | Raw.messages.CheckHistoryImport | Raw.messages.InitHistoryImport | Raw.messages.UploadImportedMedia | Raw.messages.StartHistoryImport | Raw.messages.GetExportedChatInvites | Raw.messages.GetExportedChatInvite | Raw.messages.EditExportedChatInvite | Raw.messages.DeleteRevokedExportedChatInvites | Raw.messages.DeleteExportedChatInvite | Raw.messages.GetAdminsWithInvites | Raw.messages.GetChatInviteImporters | Raw.messages.SetHistoryTTL | Raw.messages.CheckHistoryImportPeer | Raw.messages.SetChatTheme | Raw.messages.GetMessageReadParticipants | Raw.messages.GetSearchResultsCalendar | Raw.messages.GetSearchResultsPositions | Raw.messages.HideChatJoinRequest | Raw.messages.HideAllChatJoinRequests | Raw.messages.ToggleNoForwards | Raw.messages.SaveDefaultSendAs | Raw.messages.SendReaction | Raw.messages.GetMessagesReactions | Raw.messages.GetMessageReactionsList | Raw.messages.SetChatAvailableReactions | Raw.messages.GetAvailableReactions | Raw.messages.SetDefaultReaction | Raw.messages.TranslateText | Raw.messages.GetUnreadReactions | Raw.messages.ReadReactions | Raw.messages.SearchSentMedia | Raw.messages.GetAttachMenuBots | Raw.messages.GetAttachMenuBot | Raw.messages.ToggleBotInAttachMenu | Raw.messages.RequestWebView | Raw.messages.ProlongWebView | Raw.messages.RequestSimpleWebView | Raw.messages.SendWebViewResultMessage | Raw.messages.SendWebViewData | Raw.messages.TranscribeAudio | Raw.messages.RateTranscribedAudio | Raw.messages.GetCustomEmojiDocuments | Raw.messages.GetEmojiStickers | Raw.messages.GetFeaturedEmojiStickers | Raw.messages.ReportReaction | Raw.messages.GetTopReactions | Raw.messages.GetRecentReactions | Raw.messages.ClearRecentReactions | Raw.messages.GetExtendedMedia | Raw.messages.SetDefaultHistoryTTL | Raw.messages.GetDefaultHistoryTTL | Raw.messages.SendBotRequestedPeer | Raw.messages.GetEmojiGroups | Raw.messages.GetEmojiStatusGroups | Raw.messages.GetEmojiProfilePhotoGroups | Raw.messages.SearchCustomEmoji | Raw.messages.TogglePeerTranslations | Raw.messages.GetBotApp | Raw.messages.RequestAppWebView | Raw.messages.SetChatWallPaper | Raw.messages.SearchEmojiStickerSets | Raw.messages.GetSavedDialogs | Raw.messages.GetSavedHistory | Raw.messages.DeleteSavedHistory | Raw.messages.GetPinnedSavedDialogs | Raw.messages.ToggleSavedDialogPin | Raw.messages.ReorderPinnedSavedDialogs | Raw.messages.GetSavedReactionTags | Raw.messages.UpdateSavedReactionTag | Raw.messages.GetDefaultTagReactions | Raw.messages.GetOutboxReadDate | Raw.messages.GetQuickReplies | Raw.messages.ReorderQuickReplies | Raw.messages.CheckQuickReplyShortcut | Raw.messages.EditQuickReplyShortcut | Raw.messages.DeleteQuickReplyShortcut | Raw.messages.GetQuickReplyMessages | Raw.messages.SendQuickReplyMessages | Raw.messages.DeleteQuickReplyMessages | Raw.messages.ToggleDialogFilterTags | Raw.messages.GetMyStickers | Raw.messages.GetEmojiStickerGroups | Raw.messages.GetAvailableEffects | Raw.messages.EditFactCheck | Raw.messages.DeleteFactCheck | Raw.messages.GetFactCheck | Raw.messages.RequestMainWebView | Raw.messages.SendPaidReaction | Raw.messages.TogglePaidReactionPrivacy | Raw.messages.GetPaidReactionPrivacy | Raw.messages.ViewSponsoredMessage | Raw.messages.ClickSponsoredMessage | Raw.messages.ReportSponsoredMessage | Raw.messages.GetSponsoredMessages | Raw.messages.SavePreparedInlineMessage | Raw.messages.GetPreparedInlineMessage | Raw.messages.SearchStickers | Raw.messages.ReportMessagesDelivery | Raw.messages.GetSavedDialogsByID | Raw.messages.ReadSavedHistory | Raw.messages.ToggleTodoCompleted | Raw.messages.AppendTodoList | Raw.messages.ToggleSuggestedPostApproval | Raw.messages.GetForumTopics | Raw.messages.GetForumTopicsByID | Raw.messages.EditForumTopic | Raw.messages.UpdatePinnedForumTopic | Raw.messages.ReorderPinnedForumTopics | Raw.messages.CreateForumTopic | Raw.messages.DeleteTopicHistory | Raw.messages.GetEmojiGameInfo | Raw.messages.SummarizeText | Raw.messages.EditChatCreator | Raw.messages.GetFutureChatCreatorAfterLeave | Raw.messages.EditChatParticipantRank | Raw.messages.DeclineUrlAuth | Raw.messages.CheckUrlAuthMatchCode | Raw.messages.ComposeMessageWithAI | Raw.messages.ReportReadMetrics | Raw.messages.ReportMusicListen | Raw.messages.AddPollAnswer | Raw.messages.DeletePollAnswer | Raw.messages.GetUnreadPollVotes | Raw.messages.ReadPollVotes | Raw.messages.SetBotGuestChatResult | Raw.messages.DeleteParticipantReactions | Raw.messages.DeleteParticipantReaction | Raw.messages.GetPersonalChannelHistory | Raw.messages.GetRichMessage | Raw.updates.GetState | Raw.updates.GetDifference | Raw.updates.GetChannelDifference | Raw.photos.UpdateProfilePhoto | Raw.photos.UploadProfilePhoto | Raw.photos.DeletePhotos | Raw.photos.GetUserPhotos | Raw.photos.UploadContactProfilePhoto | Raw.upload.SaveFilePart | Raw.upload.GetFile | Raw.upload.SaveBigFilePart | Raw.upload.GetWebFile | Raw.upload.GetCdnFile | Raw.upload.ReuploadCdnFile | Raw.upload.GetCdnFileHashes | Raw.upload.GetFileHashes | Raw.help.GetConfig | Raw.help.GetNearestDc | Raw.help.GetAppUpdate | Raw.help.GetInviteText | Raw.help.GetSupport | Raw.help.SetBotUpdatesStatus | Raw.help.GetCdnConfig | Raw.help.GetRecentMeUrls | Raw.help.GetTermsOfServiceUpdate | Raw.help.AcceptTermsOfService | Raw.help.GetDeepLinkInfo | Raw.help.GetAppConfig | Raw.help.SaveAppLog | Raw.help.GetPassportConfig | Raw.help.GetSupportName | Raw.help.GetUserInfo | Raw.help.EditUserInfo | Raw.help.GetPromoData | Raw.help.HidePromoData | Raw.help.DismissSuggestion | Raw.help.GetCountriesList | Raw.help.GetPremiumPromo | Raw.help.GetPeerColors | Raw.help.GetPeerProfileColors | Raw.help.GetTimezonesList | Raw.channels.ReadHistory | Raw.channels.DeleteMessages | Raw.channels.ReportSpam | Raw.channels.GetMessages | Raw.channels.GetParticipants | Raw.channels.GetParticipant | Raw.channels.GetChannels | Raw.channels.GetFullChannel | Raw.channels.CreateChannel | Raw.channels.EditAdmin | Raw.channels.EditTitle | Raw.channels.EditPhoto | Raw.channels.CheckUsername | Raw.channels.UpdateUsername | Raw.channels.JoinChannel | Raw.channels.LeaveChannel | Raw.channels.InviteToChannel | Raw.channels.DeleteChannel | Raw.channels.ExportMessageLink | Raw.channels.ToggleSignatures | Raw.channels.GetAdminedPublicChannels | Raw.channels.EditBanned | Raw.channels.GetAdminLog | Raw.channels.SetStickers | Raw.channels.ReadMessageContents | Raw.channels.DeleteHistory | Raw.channels.TogglePreHistoryHidden | Raw.channels.GetLeftChannels | Raw.channels.GetGroupsForDiscussion | Raw.channels.SetDiscussionGroup | Raw.channels.EditLocation | Raw.channels.ToggleSlowMode | Raw.channels.GetInactiveChannels | Raw.channels.ConvertToGigagroup | Raw.channels.GetSendAs | Raw.channels.DeleteParticipantHistory | Raw.channels.ToggleJoinToSend | Raw.channels.ToggleJoinRequest | Raw.channels.ReorderUsernames | Raw.channels.ToggleUsername | Raw.channels.DeactivateAllUsernames | Raw.channels.ToggleForum | Raw.channels.ToggleAntiSpam | Raw.channels.ReportAntiSpamFalsePositive | Raw.channels.ToggleParticipantsHidden | Raw.channels.UpdateColor | Raw.channels.ToggleViewForumAsMessages | Raw.channels.GetChannelRecommendations | Raw.channels.UpdateEmojiStatus | Raw.channels.SetBoostsToUnblockRestrictions | Raw.channels.SetEmojiStickers | Raw.channels.RestrictSponsoredMessages | Raw.channels.SearchPosts | Raw.channels.UpdatePaidMessagesPrice | Raw.channels.ToggleAutotranslation | Raw.channels.GetMessageAuthor | Raw.channels.CheckSearchPostsFlood | Raw.channels.SetMainProfileTab | Raw.bots.SendCustomRequest | Raw.bots.AnswerWebhookJSONQuery | Raw.bots.SetBotCommands | Raw.bots.ResetBotCommands | Raw.bots.GetBotCommands | Raw.bots.SetBotMenuButton | Raw.bots.GetBotMenuButton | Raw.bots.SetBotBroadcastDefaultAdminRights | Raw.bots.SetBotGroupDefaultAdminRights | Raw.bots.SetBotInfo | Raw.bots.GetBotInfo | Raw.bots.ReorderUsernames | Raw.bots.ToggleUsername | Raw.bots.CanSendMessage | Raw.bots.AllowSendMessage | Raw.bots.InvokeWebViewCustomMethod | Raw.bots.GetPopularAppBots | Raw.bots.AddPreviewMedia | Raw.bots.EditPreviewMedia | Raw.bots.DeletePreviewMedia | Raw.bots.ReorderPreviewMedias | Raw.bots.GetPreviewInfo | Raw.bots.GetPreviewMedias | Raw.bots.UpdateUserEmojiStatus | Raw.bots.ToggleUserEmojiStatusPermission | Raw.bots.CheckDownloadFileParams | Raw.bots.GetAdminedBots | Raw.bots.UpdateStarRefProgram | Raw.bots.SetCustomVerification | Raw.bots.GetBotRecommendations | Raw.bots.CheckUsername | Raw.bots.CreateBot | Raw.bots.ExportBotToken | Raw.bots.RequestWebViewButton | Raw.bots.GetRequestedWebViewButton | Raw.bots.GetAccessSettings | Raw.bots.EditAccessSettings | Raw.bots.SetJoinChatResults | Raw.payments.GetPaymentForm | Raw.payments.GetPaymentReceipt | Raw.payments.ValidateRequestedInfo | Raw.payments.SendPaymentForm | Raw.payments.GetSavedInfo | Raw.payments.ClearSavedInfo | Raw.payments.GetBankCardData | Raw.payments.ExportInvoice | Raw.payments.AssignAppStoreTransaction | Raw.payments.AssignPlayMarketTransaction | Raw.payments.GetPremiumGiftCodeOptions | Raw.payments.CheckGiftCode | Raw.payments.ApplyGiftCode | Raw.payments.GetGiveawayInfo | Raw.payments.LaunchPrepaidGiveaway | Raw.payments.GetStarsTopupOptions | Raw.payments.GetStarsStatus | Raw.payments.GetStarsTransactions | Raw.payments.SendStarsForm | Raw.payments.RefundStarsCharge | Raw.payments.GetStarsRevenueStats | Raw.payments.GetStarsRevenueWithdrawalUrl | Raw.payments.GetStarsRevenueAdsAccountUrl | Raw.payments.GetStarsTransactionsByID | Raw.payments.GetStarsGiftOptions | Raw.payments.GetStarsSubscriptions | Raw.payments.ChangeStarsSubscription | Raw.payments.FulfillStarsSubscription | Raw.payments.GetStarsGiveawayOptions | Raw.payments.GetStarGifts | Raw.payments.SaveStarGift | Raw.payments.ConvertStarGift | Raw.payments.BotCancelStarsSubscription | Raw.payments.GetConnectedStarRefBots | Raw.payments.GetConnectedStarRefBot | Raw.payments.GetSuggestedStarRefBots | Raw.payments.ConnectStarRefBot | Raw.payments.EditConnectedStarRefBot | Raw.payments.GetStarGiftUpgradePreview | Raw.payments.UpgradeStarGift | Raw.payments.TransferStarGift | Raw.payments.GetUniqueStarGift | Raw.payments.GetSavedStarGifts | Raw.payments.GetSavedStarGift | Raw.payments.GetStarGiftWithdrawalUrl | Raw.payments.ToggleChatStarGiftNotifications | Raw.payments.ToggleStarGiftsPinnedToTop | Raw.payments.CanPurchaseStore | Raw.payments.GetResaleStarGifts | Raw.payments.UpdateStarGiftPrice | Raw.payments.CreateStarGiftCollection | Raw.payments.UpdateStarGiftCollection | Raw.payments.ReorderStarGiftCollections | Raw.payments.DeleteStarGiftCollection | Raw.payments.GetStarGiftCollections | Raw.payments.GetUniqueStarGiftValueInfo | Raw.payments.CheckCanSendGift | Raw.payments.GetStarGiftAuctionState | Raw.payments.GetStarGiftAuctionAcquiredGifts | Raw.payments.GetStarGiftActiveAuctions | Raw.payments.ResolveStarGiftOffer | Raw.payments.SendStarGiftOffer | Raw.payments.GetStarGiftUpgradeAttributes | Raw.payments.GetCraftStarGifts | Raw.payments.CraftStarGift | Raw.stickers.CreateStickerSet | Raw.stickers.RemoveStickerFromSet | Raw.stickers.ChangeStickerPosition | Raw.stickers.AddStickerToSet | Raw.stickers.SetStickerSetThumb | Raw.stickers.CheckShortName | Raw.stickers.SuggestShortName | Raw.stickers.ChangeSticker | Raw.stickers.RenameStickerSet | Raw.stickers.DeleteStickerSet | Raw.stickers.ReplaceSticker | Raw.phone.GetCallConfig | Raw.phone.RequestCall | Raw.phone.AcceptCall | Raw.phone.ConfirmCall | Raw.phone.ReceivedCall | Raw.phone.DiscardCall | Raw.phone.SetCallRating | Raw.phone.SaveCallDebug | Raw.phone.SendSignalingData | Raw.phone.CreateGroupCall | Raw.phone.JoinGroupCall | Raw.phone.LeaveGroupCall | Raw.phone.InviteToGroupCall | Raw.phone.DiscardGroupCall | Raw.phone.ToggleGroupCallSettings | Raw.phone.GetGroupCall | Raw.phone.GetGroupParticipants | Raw.phone.CheckGroupCall | Raw.phone.ToggleGroupCallRecord | Raw.phone.EditGroupCallParticipant | Raw.phone.EditGroupCallTitle | Raw.phone.GetGroupCallJoinAs | Raw.phone.ExportGroupCallInvite | Raw.phone.ToggleGroupCallStartSubscription | Raw.phone.StartScheduledGroupCall | Raw.phone.SaveDefaultGroupCallJoinAs | Raw.phone.JoinGroupCallPresentation | Raw.phone.LeaveGroupCallPresentation | Raw.phone.GetGroupCallStreamChannels | Raw.phone.GetGroupCallStreamRtmpUrl | Raw.phone.SaveCallLog | Raw.phone.CreateConferenceCall | Raw.phone.DeleteConferenceCallParticipants | Raw.phone.SendConferenceCallBroadcast | Raw.phone.InviteConferenceCallParticipant | Raw.phone.DeclineConferenceCallInvite | Raw.phone.GetGroupCallChainBlocks | Raw.phone.SendGroupCallMessage | Raw.phone.SendGroupCallEncryptedMessage | Raw.phone.DeleteGroupCallMessages | Raw.phone.DeleteGroupCallParticipantMessages | Raw.phone.GetGroupCallStars | Raw.phone.SaveDefaultSendAs | Raw.langpack.GetLangPack | Raw.langpack.GetStrings | Raw.langpack.GetDifference | Raw.langpack.GetLanguages | Raw.langpack.GetLanguage | Raw.folders.EditPeerFolders | Raw.stats.GetBroadcastStats | Raw.stats.LoadAsyncGraph | Raw.stats.GetMegagroupStats | Raw.stats.GetMessagePublicForwards | Raw.stats.GetMessageStats | Raw.stats.GetStoryStats | Raw.stats.GetStoryPublicForwards | Raw.stats.GetPollStats | Raw.chatlists.ExportChatlistInvite | Raw.chatlists.DeleteExportedInvite | Raw.chatlists.EditExportedInvite | Raw.chatlists.GetExportedInvites | Raw.chatlists.CheckChatlistInvite | Raw.chatlists.JoinChatlistInvite | Raw.chatlists.GetChatlistUpdates | Raw.chatlists.JoinChatlistUpdates | Raw.chatlists.HideChatlistUpdates | Raw.chatlists.GetLeaveChatlistSuggestions | Raw.chatlists.LeaveChatlist | Raw.stories.CanSendStory | Raw.stories.SendStory | Raw.stories.EditStory | Raw.stories.DeleteStories | Raw.stories.TogglePinned | Raw.stories.GetAllStories | Raw.stories.GetPinnedStories | Raw.stories.GetStoriesArchive | Raw.stories.GetStoriesByID | Raw.stories.ToggleAllStoriesHidden | Raw.stories.ReadStories | Raw.stories.IncrementStoryViews | Raw.stories.GetStoryViewsList | Raw.stories.GetStoriesViews | Raw.stories.ExportStoryLink | Raw.stories.Report | Raw.stories.ActivateStealthMode | Raw.stories.SendReaction | Raw.stories.GetPeerStories | Raw.stories.GetAllReadPeerStories | Raw.stories.GetPeerMaxIDs | Raw.stories.GetChatsToSend | Raw.stories.TogglePeerStoriesHidden | Raw.stories.GetStoryReactionsList | Raw.stories.TogglePinnedToTop | Raw.stories.SearchPosts | Raw.stories.CreateAlbum | Raw.stories.UpdateAlbum | Raw.stories.ReorderAlbums | Raw.stories.DeleteAlbum | Raw.stories.GetAlbums | Raw.stories.GetAlbumStories | Raw.stories.StartLive | Raw.premium.GetBoostsList | Raw.premium.GetMyBoosts | Raw.premium.ApplyBoost | Raw.premium.GetBoostsStatus | Raw.premium.GetUserBoosts | Raw.smsjobs.IsEligibleToJoin | Raw.smsjobs.Join | Raw.smsjobs.Leave | Raw.smsjobs.UpdateSettings | Raw.smsjobs.GetStatus | Raw.smsjobs.GetSmsJob | Raw.smsjobs.FinishJob | Raw.fragment.GetCollectibleInfo | Raw.aicompose.CreateTone | Raw.aicompose.UpdateTone | Raw.aicompose.SaveTone | Raw.aicompose.DeleteTone | Raw.aicompose.GetTone | Raw.aicompose.GetTones | Raw.aicompose.GetToneExample;
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;
@@ -76,7 +76,6 @@ export declare namespace Raw {
76
76
  type TypeInputBotApp = Raw.InputBotAppID | Raw.InputBotAppShortName;
77
77
  type TypeDefaultHistoryTTL = Raw.DefaultHistoryTTL;
78
78
  type TypeWebViewMessageSent = Raw.WebViewMessageSent;
79
- type TypeWebViewResult = Raw.WebViewResultUrl;
80
79
  type TypeAttachMenuBotsBot = Raw.AttachMenuBotsBot;
81
80
  type TypeAttachMenuBots = Raw.AttachMenuBotsNotModified | Raw.AttachMenuBots;
82
81
  type TypeReadParticipantDate = Raw.ReadParticipantDate;
@@ -127,6 +126,8 @@ export declare namespace Raw {
127
126
  type TypeEmailVerification = Raw.EmailVerificationCode | Raw.EmailVerificationGoogle | Raw.EmailVerificationApple;
128
127
  type TypeCodeSettings = Raw.CodeSettings;
129
128
  type TypeInputClientProxy = Raw.InputClientProxy;
129
+ type TypeInputRichFile = Raw.InputRichFilePhoto | Raw.InputRichFileDocument;
130
+ type TypeWebViewResult = Raw.WebViewResultUrl;
130
131
  type TypeAiComposeTone = Raw.AiComposeTone | Raw.AiComposeToneDefault;
131
132
  type TypeAiComposeToneExample = Raw.AiComposeToneExample;
132
133
  type TypeInputPasskeyResponse = Raw.InputPasskeyResponseRegister | Raw.InputPasskeyResponseLogin;
@@ -250,10 +251,10 @@ export declare namespace Raw {
250
251
  type TypePageRelatedArticle = Raw.PageRelatedArticle;
251
252
  type TypePageListOrderedItem = Raw.PageListOrderedItemText | Raw.PageListOrderedItemBlocks;
252
253
  type TypePageTableRow = Raw.PageTableRow;
253
- type TypePageBlock = Raw.PageBlockUnsupported | Raw.PageBlockTitle | Raw.PageBlockSubtitle | Raw.PageBlockAuthorDate | Raw.PageBlockHeader | Raw.PageBlockSubheader | Raw.PageBlockParagraph | Raw.PageBlockPreformatted | Raw.PageBlockFooter | Raw.PageBlockDivider | Raw.PageBlockAnchor | Raw.PageBlockList | Raw.PageBlockBlockquote | Raw.PageBlockPullquote | Raw.PageBlockPhoto | Raw.PageBlockVideo | Raw.PageBlockCover | Raw.PageBlockEmbed | Raw.PageBlockEmbedPost | Raw.PageBlockCollage | Raw.PageBlockSlideshow | Raw.PageBlockChannel | Raw.PageBlockAudio | Raw.PageBlockKicker | Raw.PageBlockTable | Raw.PageBlockOrderedList | Raw.PageBlockDetails | Raw.PageBlockRelatedArticles | Raw.PageBlockMap;
254
+ type TypePageBlock = Raw.PageBlockUnsupported | Raw.PageBlockTitle | Raw.PageBlockSubtitle | Raw.PageBlockAuthorDate | Raw.PageBlockHeader | Raw.PageBlockSubheader | Raw.PageBlockParagraph | Raw.PageBlockPreformatted | Raw.PageBlockFooter | Raw.PageBlockDivider | Raw.PageBlockAnchor | Raw.PageBlockList | Raw.PageBlockBlockquote | Raw.PageBlockPullquote | Raw.PageBlockPhoto | Raw.PageBlockVideo | Raw.PageBlockCover | Raw.PageBlockEmbed | Raw.PageBlockEmbedPost | Raw.PageBlockCollage | Raw.PageBlockSlideshow | Raw.PageBlockChannel | Raw.PageBlockAudio | Raw.PageBlockKicker | Raw.PageBlockTable | Raw.PageBlockOrderedList | Raw.PageBlockDetails | Raw.PageBlockRelatedArticles | Raw.PageBlockMap | Raw.PageBlockHeading1 | Raw.PageBlockHeading2 | Raw.PageBlockHeading3 | Raw.PageBlockHeading4 | Raw.PageBlockHeading5 | Raw.PageBlockHeading6 | Raw.PageBlockMath | Raw.PageBlockThinking | Raw.InputPageBlockMap | Raw.PageBlockBlockquoteBlocks;
254
255
  type TypePageCaption = Raw.PageCaption;
255
256
  type TypePageListItem = Raw.PageListItemText | Raw.PageListItemBlocks;
256
- type TypeRichText = Raw.TextEmpty | Raw.TextPlain | Raw.TextBold | Raw.TextItalic | Raw.TextUnderline | Raw.TextStrike | Raw.TextFixed | Raw.TextUrl | Raw.TextEmail | Raw.TextConcat | Raw.TextSubscript | Raw.TextSuperscript | Raw.TextMarked | Raw.TextPhone | Raw.TextImage | Raw.TextAnchor;
257
+ type TypeRichText = Raw.TextEmpty | Raw.TextPlain | Raw.TextBold | Raw.TextItalic | Raw.TextUnderline | Raw.TextStrike | Raw.TextFixed | Raw.TextUrl | Raw.TextEmail | Raw.TextConcat | Raw.TextSubscript | Raw.TextSuperscript | Raw.TextMarked | Raw.TextPhone | Raw.TextImage | Raw.TextAnchor | Raw.TextMath | Raw.TextCustomEmoji | Raw.TextSpoiler | Raw.TextMention | Raw.TextHashtag | Raw.TextBotCommand | Raw.TextCashtag | Raw.TextAutoUrl | Raw.TextAutoEmail | Raw.TextAutoPhone | Raw.TextBankCard | Raw.TextMentionName | Raw.TextDate;
257
258
  type TypeHighScore = Raw.HighScore;
258
259
  type TypeStickerSetCovered = Raw.StickerSetCovered | Raw.StickerSetMultiCovered | Raw.StickerSetFullCovered | Raw.StickerSetNoCovered;
259
260
  type TypeInputReplyTo = Raw.InputReplyToMessage | Raw.InputReplyToStory | Raw.InputReplyToMonoForum;
@@ -263,8 +264,8 @@ export declare namespace Raw {
263
264
  type TypeBotInlineResult = Raw.BotInlineResult | Raw.BotInlineMediaResult;
264
265
  type TypeInlineBotWebView = Raw.InlineBotWebView;
265
266
  type TypeInlineBotSwitchPM = Raw.InlineBotSwitchPM;
266
- type TypeBotInlineMessage = Raw.BotInlineMessageMediaAuto | Raw.BotInlineMessageText | Raw.BotInlineMessageMediaGeo | Raw.BotInlineMessageMediaVenue | Raw.BotInlineMessageMediaContact | Raw.BotInlineMessageMediaInvoice | Raw.BotInlineMessageMediaWebPage;
267
- type TypeInputBotInlineMessage = Raw.InputBotInlineMessageMediaAuto | Raw.InputBotInlineMessageText | Raw.InputBotInlineMessageMediaGeo | Raw.InputBotInlineMessageMediaVenue | Raw.InputBotInlineMessageMediaContact | Raw.InputBotInlineMessageGame | Raw.InputBotInlineMessageMediaInvoice | Raw.InputBotInlineMessageMediaWebPage;
267
+ type TypeBotInlineMessage = Raw.BotInlineMessageMediaAuto | Raw.BotInlineMessageText | Raw.BotInlineMessageMediaGeo | Raw.BotInlineMessageMediaVenue | Raw.BotInlineMessageMediaContact | Raw.BotInlineMessageMediaInvoice | Raw.BotInlineMessageMediaWebPage | Raw.BotInlineMessageRichMessage;
268
+ type TypeInputBotInlineMessage = Raw.InputBotInlineMessageMediaAuto | Raw.InputBotInlineMessageText | Raw.InputBotInlineMessageMediaGeo | Raw.InputBotInlineMessageMediaVenue | Raw.InputBotInlineMessageMediaContact | Raw.InputBotInlineMessageGame | Raw.InputBotInlineMessageMediaInvoice | Raw.InputBotInlineMessageMediaWebPage | Raw.InputBotInlineMessageRichMessage;
268
269
  type TypeMessageRange = Raw.MessageRange;
269
270
  type TypeKeyboardButtonRow = Raw.KeyboardButtonRow;
270
271
  type TypeKeyboardButton = Raw.KeyboardButton | Raw.KeyboardButtonUrl | Raw.KeyboardButtonCallback | Raw.KeyboardButtonRequestPhone | Raw.KeyboardButtonRequestGeoLocation | Raw.KeyboardButtonSwitchInline | Raw.KeyboardButtonGame | Raw.KeyboardButtonBuy | Raw.KeyboardButtonUrlAuth | Raw.InputKeyboardButtonUrlAuth | Raw.KeyboardButtonRequestPoll | Raw.InputKeyboardButtonUserProfile | Raw.KeyboardButtonUserProfile | Raw.KeyboardButtonWebView | Raw.KeyboardButtonSimpleWebView | Raw.KeyboardButtonRequestPeer | Raw.InputKeyboardButtonRequestPeer | Raw.KeyboardButtonCopy;
@@ -283,9 +284,12 @@ export declare namespace Raw {
283
284
  type TypePage = Raw.Page;
284
285
  type TypeMaskCoords = Raw.MaskCoords;
285
286
  type TypeInputUser = Raw.InputUserEmpty | Raw.InputUserSelf | Raw.InputUser | Raw.InputUserFromMessage;
287
+ type TypeInputRichMessage = Raw.InputRichMessage | Raw.InputRichMessageHTML | Raw.InputRichMessageMarkdown;
286
288
  type TypeEncryptedFile = Raw.EncryptedFileEmpty | Raw.EncryptedFile;
287
289
  type TypeFileHash = Raw.FileHash;
288
- 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 | UpdateSecretChatMessage;
290
+ 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 | UpdateSecretChatMessage;
291
+ type TypeWebDomainException = Raw.WebDomainException;
292
+ type TypeJoinChatBotResult = Raw.JoinChatBotResultApproved | Raw.JoinChatBotResultDeclined | Raw.JoinChatBotResultQueued | Raw.JoinChatBotResultWebView;
289
293
  type TypeStarGiftAuctionUserState = Raw.StarGiftAuctionUserState;
290
294
  type TypeStarGiftAuctionState = Raw.StarGiftAuctionStateNotModified | Raw.StarGiftAuctionState | Raw.StarGiftAuctionStateFinished;
291
295
  type TypeGroupCallMessage = Raw.GroupCallMessage;
@@ -318,7 +322,7 @@ export declare namespace Raw {
318
322
  type TypeDcOption = Raw.DcOption;
319
323
  type TypeEncryptedChat = Raw.EncryptedChatEmpty | Raw.EncryptedChatWaiting | Raw.EncryptedChatRequested | Raw.EncryptedChat | Raw.EncryptedChatDiscarded;
320
324
  type TypeEncryptedMessage = Raw.EncryptedMessage | Raw.EncryptedMessageService;
321
- type TypeSendMessageAction = Raw.SendMessageTypingAction | Raw.SendMessageCancelAction | Raw.SendMessageRecordVideoAction | Raw.SendMessageUploadVideoAction | Raw.SendMessageRecordAudioAction | Raw.SendMessageUploadAudioAction | Raw.SendMessageUploadPhotoAction | Raw.SendMessageUploadDocumentAction | Raw.SendMessageGeoLocationAction | Raw.SendMessageChooseContactAction | Raw.SendMessageGamePlayAction | Raw.SendMessageRecordRoundAction | Raw.SendMessageUploadRoundAction | Raw.SpeakingInGroupCallAction | Raw.SendMessageHistoryImportAction | Raw.SendMessageChooseStickerAction | Raw.SendMessageEmojiInteraction | Raw.SendMessageEmojiInteractionSeen | Raw.SendMessageTextDraftAction | Raw.SendMessageUploadVideoAction17 | Raw.SendMessageUploadAudioAction17 | Raw.SendMessageUploadPhotoAction17 | Raw.SendMessageUploadDocumentAction17 | Raw.SendMessageUploadRoundAction66;
325
+ type TypeSendMessageAction = Raw.SendMessageTypingAction | Raw.SendMessageCancelAction | Raw.SendMessageRecordVideoAction | Raw.SendMessageUploadVideoAction | Raw.SendMessageRecordAudioAction | Raw.SendMessageUploadAudioAction | Raw.SendMessageUploadPhotoAction | Raw.SendMessageUploadDocumentAction | Raw.SendMessageGeoLocationAction | Raw.SendMessageChooseContactAction | Raw.SendMessageGamePlayAction | Raw.SendMessageRecordRoundAction | Raw.SendMessageUploadRoundAction | Raw.SpeakingInGroupCallAction | Raw.SendMessageHistoryImportAction | Raw.SendMessageChooseStickerAction | Raw.SendMessageEmojiInteraction | Raw.SendMessageEmojiInteractionSeen | Raw.SendMessageTextDraftAction | Raw.InputSendMessageRichMessageDraftAction | Raw.SendMessageRichMessageDraftAction | Raw.SendMessageUploadVideoAction17 | Raw.SendMessageUploadAudioAction17 | Raw.SendMessageUploadPhotoAction17 | Raw.SendMessageUploadDocumentAction17 | Raw.SendMessageUploadRoundAction66;
322
326
  type TypeChatFull = Raw.ChatFull | Raw.ChannelFull;
323
327
  type TypeSearchPostsFlood = Raw.SearchPostsFlood;
324
328
  type TypeForumTopic = Raw.ForumTopicDeleted | Raw.ForumTopic;
@@ -368,6 +372,7 @@ export declare namespace Raw {
368
372
  type TypeGeoPoint = Raw.GeoPointEmpty | Raw.GeoPoint;
369
373
  type TypeDocument = Raw.DocumentEmpty | Raw.Document;
370
374
  type TypeMessageAction = Raw.MessageActionEmpty | Raw.MessageActionChatCreate | Raw.MessageActionChatEditTitle | Raw.MessageActionChatEditPhoto | Raw.MessageActionChatDeletePhoto | Raw.MessageActionChatAddUser | Raw.MessageActionChatDeleteUser | Raw.MessageActionChatJoinedByLink | Raw.MessageActionChannelCreate | Raw.MessageActionChatMigrateTo | Raw.MessageActionChannelMigrateFrom | Raw.MessageActionPinMessage | Raw.MessageActionHistoryClear | Raw.MessageActionGameScore | Raw.MessageActionPaymentSentMe | Raw.MessageActionPaymentSent | Raw.MessageActionPhoneCall | Raw.MessageActionScreenshotTaken | Raw.MessageActionCustomAction | Raw.MessageActionBotAllowed | Raw.MessageActionSecureValuesSentMe | Raw.MessageActionSecureValuesSent | Raw.MessageActionContactSignUp | Raw.MessageActionGeoProximityReached | Raw.MessageActionGroupCall | Raw.MessageActionInviteToGroupCall | Raw.MessageActionSetMessagesTTL | Raw.MessageActionGroupCallScheduled | Raw.MessageActionSetChatTheme | Raw.MessageActionChatJoinedByRequest | Raw.MessageActionWebViewDataSentMe | Raw.MessageActionWebViewDataSent | Raw.MessageActionGiftPremium | Raw.MessageActionTopicCreate | Raw.MessageActionTopicEdit | Raw.MessageActionSuggestProfilePhoto | Raw.MessageActionRequestedPeer | Raw.MessageActionSetChatWallPaper | Raw.MessageActionGiftCode | Raw.MessageActionGiveawayLaunch | Raw.MessageActionGiveawayResults | Raw.MessageActionBoostApply | Raw.MessageActionRequestedPeerSentMe | Raw.MessageActionPaymentRefunded | Raw.MessageActionGiftStars | Raw.MessageActionPrizeStars | Raw.MessageActionStarGift | Raw.MessageActionStarGiftUnique | Raw.MessageActionPaidMessagesRefunded | Raw.MessageActionPaidMessagesPrice | Raw.MessageActionConferenceCall | Raw.MessageActionTodoCompletions | Raw.MessageActionTodoAppendTasks | Raw.MessageActionSuggestedPostApproval | Raw.MessageActionSuggestedPostSuccess | Raw.MessageActionSuggestedPostRefund | Raw.MessageActionGiftTon | Raw.MessageActionSuggestBirthday | Raw.MessageActionStarGiftPurchaseOffer | Raw.MessageActionStarGiftPurchaseOfferDeclined | Raw.MessageActionNewCreatorPending | Raw.MessageActionChangeCreator | Raw.MessageActionNoForwardsToggle | Raw.MessageActionNoForwardsRequest | Raw.MessageActionPollAppendAnswer | Raw.MessageActionPollDeleteAnswer | Raw.MessageActionManagedBotCreated;
375
+ type TypeRichMessage = Raw.RichMessage;
371
376
  type TypeSuggestedPost = Raw.SuggestedPost;
372
377
  type TypeFactCheck = Raw.FactCheck;
373
378
  type TypeMessageReactions = Raw.MessageReactions;
@@ -2411,6 +2416,7 @@ export declare namespace Raw {
2411
2416
  botForumCanManageTopics?: boolean;
2412
2417
  botCanManageBots?: boolean;
2413
2418
  botGuestchat?: boolean;
2419
+ botGuard?: boolean;
2414
2420
  id: long;
2415
2421
  accessHash?: long;
2416
2422
  firstName?: string;
@@ -2461,6 +2467,7 @@ export declare namespace Raw {
2461
2467
  botForumCanManageTopics?: boolean;
2462
2468
  botCanManageBots?: boolean;
2463
2469
  botGuestchat?: boolean;
2470
+ botGuard?: boolean;
2464
2471
  id: long;
2465
2472
  accessHash?: long;
2466
2473
  firstName?: string;
@@ -2947,6 +2954,7 @@ export declare namespace Raw {
2947
2954
  stargiftsCount?: int;
2948
2955
  sendPaidMessagesStars?: long;
2949
2956
  mainTab?: Raw.TypeProfileTab;
2957
+ guardBotId?: long;
2950
2958
  constructor(params: {
2951
2959
  canViewParticipants?: boolean;
2952
2960
  canSetUsername?: boolean;
@@ -3014,6 +3022,7 @@ export declare namespace Raw {
3014
3022
  stargiftsCount?: int;
3015
3023
  sendPaidMessagesStars?: long;
3016
3024
  mainTab?: Raw.TypeProfileTab;
3025
+ guardBotId?: long;
3017
3026
  });
3018
3027
  /**
3019
3028
  * Generate the TLObject from buffer.
@@ -3219,6 +3228,7 @@ export declare namespace Raw {
3219
3228
  suggestedPost?: Raw.TypeSuggestedPost;
3220
3229
  scheduleRepeatPeriod?: int;
3221
3230
  summaryFromLanguage?: string;
3231
+ richMessage?: Raw.TypeRichMessage;
3222
3232
  constructor(params: {
3223
3233
  out?: boolean;
3224
3234
  mentioned?: boolean;
@@ -3268,6 +3278,7 @@ export declare namespace Raw {
3268
3278
  suggestedPost?: Raw.TypeSuggestedPost;
3269
3279
  scheduleRepeatPeriod?: int;
3270
3280
  summaryFromLanguage?: string;
3281
+ richMessage?: Raw.TypeRichMessage;
3271
3282
  });
3272
3283
  /**
3273
3284
  * Generate the TLObject from buffer.
@@ -7768,6 +7779,7 @@ export declare namespace Raw {
7768
7779
  about: string;
7769
7780
  invite: Raw.TypeExportedChatInvite;
7770
7781
  qts: int;
7782
+ queryId?: long;
7771
7783
  constructor(params: {
7772
7784
  peer: Raw.TypePeer;
7773
7785
  date: int;
@@ -7775,6 +7787,7 @@ export declare namespace Raw {
7775
7787
  about: string;
7776
7788
  invite: Raw.TypeExportedChatInvite;
7777
7789
  qts: int;
7790
+ queryId?: long;
7778
7791
  });
7779
7792
  /**
7780
7793
  * Generate the TLObject from buffer.
@@ -8840,6 +8853,84 @@ export declare namespace Raw {
8840
8853
  */
8841
8854
  write(): Buffer;
8842
8855
  }
8856
+ class UpdateJoinChatWebViewDecision extends TLObject {
8857
+ peer: Raw.TypePeer;
8858
+ queryId: long;
8859
+ result: Raw.TypeJoinChatBotResult;
8860
+ constructor(params: {
8861
+ peer: Raw.TypePeer;
8862
+ queryId: long;
8863
+ result: Raw.TypeJoinChatBotResult;
8864
+ });
8865
+ /**
8866
+ * Generate the TLObject from buffer.
8867
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
8868
+ */
8869
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.UpdateJoinChatWebViewDecision>;
8870
+ /**
8871
+ * Generate buffer from TLObject.
8872
+ */
8873
+ write(): Buffer;
8874
+ }
8875
+ class UpdateNewBotConnection extends TLObject {
8876
+ confirmed?: boolean;
8877
+ botId: long;
8878
+ date?: int;
8879
+ device?: string;
8880
+ location?: string;
8881
+ constructor(params: {
8882
+ confirmed?: boolean;
8883
+ botId: long;
8884
+ date?: int;
8885
+ device?: string;
8886
+ location?: string;
8887
+ });
8888
+ /**
8889
+ * Generate the TLObject from buffer.
8890
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
8891
+ */
8892
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.UpdateNewBotConnection>;
8893
+ /**
8894
+ * Generate buffer from TLObject.
8895
+ */
8896
+ write(): Buffer;
8897
+ }
8898
+ class UpdateWebBrowserSettings extends TLObject {
8899
+ openExternalBrowser?: boolean;
8900
+ displayCloseButton?: boolean;
8901
+ constructor(params: {
8902
+ openExternalBrowser?: boolean;
8903
+ displayCloseButton?: boolean;
8904
+ });
8905
+ /**
8906
+ * Generate the TLObject from buffer.
8907
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
8908
+ */
8909
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.UpdateWebBrowserSettings>;
8910
+ /**
8911
+ * Generate buffer from TLObject.
8912
+ */
8913
+ write(): Buffer;
8914
+ }
8915
+ class UpdateWebBrowserException extends TLObject {
8916
+ delete?: boolean;
8917
+ openExternalBrowser?: Bool;
8918
+ exception: Raw.TypeWebDomainException;
8919
+ constructor(params: {
8920
+ delete?: boolean;
8921
+ openExternalBrowser?: Bool;
8922
+ exception: Raw.TypeWebDomainException;
8923
+ });
8924
+ /**
8925
+ * Generate the TLObject from buffer.
8926
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
8927
+ */
8928
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.UpdateWebBrowserException>;
8929
+ /**
8930
+ * Generate buffer from TLObject.
8931
+ */
8932
+ write(): Buffer;
8933
+ }
8843
8934
  class UpdatesTooLong extends TLObject {
8844
8935
  constructor();
8845
8936
  /**
@@ -9875,6 +9966,40 @@ export declare namespace Raw {
9875
9966
  */
9876
9967
  write(): Buffer;
9877
9968
  }
9969
+ class InputSendMessageRichMessageDraftAction extends TLObject {
9970
+ randomId: long;
9971
+ richMessage: Raw.TypeInputRichMessage;
9972
+ constructor(params: {
9973
+ randomId: long;
9974
+ richMessage: Raw.TypeInputRichMessage;
9975
+ });
9976
+ /**
9977
+ * Generate the TLObject from buffer.
9978
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
9979
+ */
9980
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.InputSendMessageRichMessageDraftAction>;
9981
+ /**
9982
+ * Generate buffer from TLObject.
9983
+ */
9984
+ write(): Buffer;
9985
+ }
9986
+ class SendMessageRichMessageDraftAction extends TLObject {
9987
+ randomId: long;
9988
+ richMessage: Raw.TypeRichMessage;
9989
+ constructor(params: {
9990
+ randomId: long;
9991
+ richMessage: Raw.TypeRichMessage;
9992
+ });
9993
+ /**
9994
+ * Generate the TLObject from buffer.
9995
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
9996
+ */
9997
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.SendMessageRichMessageDraftAction>;
9998
+ /**
9999
+ * Generate buffer from TLObject.
10000
+ */
10001
+ write(): Buffer;
10002
+ }
9878
10003
  class InputPrivacyKeyStatusTimestamp extends TLObject {
9879
10004
  constructor();
9880
10005
  /**
@@ -12700,6 +12825,23 @@ export declare namespace Raw {
12700
12825
  */
12701
12826
  write(): Buffer;
12702
12827
  }
12828
+ class InputBotInlineMessageRichMessage extends TLObject {
12829
+ replyMarkup?: Raw.TypeReplyMarkup;
12830
+ richMessage: Raw.TypeInputRichMessage;
12831
+ constructor(params: {
12832
+ replyMarkup?: Raw.TypeReplyMarkup;
12833
+ richMessage: Raw.TypeInputRichMessage;
12834
+ });
12835
+ /**
12836
+ * Generate the TLObject from buffer.
12837
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
12838
+ */
12839
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.InputBotInlineMessageRichMessage>;
12840
+ /**
12841
+ * Generate buffer from TLObject.
12842
+ */
12843
+ write(): Buffer;
12844
+ }
12703
12845
  class InputBotInlineResult extends TLObject {
12704
12846
  id: string;
12705
12847
  type: string;
@@ -12971,6 +13113,23 @@ export declare namespace Raw {
12971
13113
  */
12972
13114
  write(): Buffer;
12973
13115
  }
13116
+ class BotInlineMessageRichMessage extends TLObject {
13117
+ replyMarkup?: Raw.TypeReplyMarkup;
13118
+ richMessage: Raw.TypeRichMessage;
13119
+ constructor(params: {
13120
+ replyMarkup?: Raw.TypeReplyMarkup;
13121
+ richMessage: Raw.TypeRichMessage;
13122
+ });
13123
+ /**
13124
+ * Generate the TLObject from buffer.
13125
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
13126
+ */
13127
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.BotInlineMessageRichMessage>;
13128
+ /**
13129
+ * Generate buffer from TLObject.
13130
+ */
13131
+ write(): Buffer;
13132
+ }
12974
13133
  class BotInlineResult extends TLObject {
12975
13134
  id: string;
12976
13135
  type: string;
@@ -13321,6 +13480,7 @@ export declare namespace Raw {
13321
13480
  date: int;
13322
13481
  effect?: long;
13323
13482
  suggestedPost?: Raw.TypeSuggestedPost;
13483
+ richMessage?: Raw.TypeRichMessage;
13324
13484
  constructor(params: {
13325
13485
  noWebpage?: boolean;
13326
13486
  invertMedia?: boolean;
@@ -13331,6 +13491,7 @@ export declare namespace Raw {
13331
13491
  date: int;
13332
13492
  effect?: long;
13333
13493
  suggestedPost?: Raw.TypeSuggestedPost;
13494
+ richMessage?: Raw.TypeRichMessage;
13334
13495
  });
13335
13496
  /**
13336
13497
  * Generate the TLObject from buffer.
@@ -13794,6 +13955,219 @@ export declare namespace Raw {
13794
13955
  */
13795
13956
  write(): Buffer;
13796
13957
  }
13958
+ class TextMath extends TLObject {
13959
+ source: string;
13960
+ constructor(params: {
13961
+ source: string;
13962
+ });
13963
+ /**
13964
+ * Generate the TLObject from buffer.
13965
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
13966
+ */
13967
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.TextMath>;
13968
+ /**
13969
+ * Generate buffer from TLObject.
13970
+ */
13971
+ write(): Buffer;
13972
+ }
13973
+ class TextCustomEmoji extends TLObject {
13974
+ documentId: long;
13975
+ alt: string;
13976
+ constructor(params: {
13977
+ documentId: long;
13978
+ alt: string;
13979
+ });
13980
+ /**
13981
+ * Generate the TLObject from buffer.
13982
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
13983
+ */
13984
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.TextCustomEmoji>;
13985
+ /**
13986
+ * Generate buffer from TLObject.
13987
+ */
13988
+ write(): Buffer;
13989
+ }
13990
+ class TextSpoiler extends TLObject {
13991
+ text: Raw.TypeRichText;
13992
+ constructor(params: {
13993
+ text: Raw.TypeRichText;
13994
+ });
13995
+ /**
13996
+ * Generate the TLObject from buffer.
13997
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
13998
+ */
13999
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.TextSpoiler>;
14000
+ /**
14001
+ * Generate buffer from TLObject.
14002
+ */
14003
+ write(): Buffer;
14004
+ }
14005
+ class TextMention extends TLObject {
14006
+ text: Raw.TypeRichText;
14007
+ constructor(params: {
14008
+ text: Raw.TypeRichText;
14009
+ });
14010
+ /**
14011
+ * Generate the TLObject from buffer.
14012
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
14013
+ */
14014
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.TextMention>;
14015
+ /**
14016
+ * Generate buffer from TLObject.
14017
+ */
14018
+ write(): Buffer;
14019
+ }
14020
+ class TextHashtag extends TLObject {
14021
+ text: Raw.TypeRichText;
14022
+ constructor(params: {
14023
+ text: Raw.TypeRichText;
14024
+ });
14025
+ /**
14026
+ * Generate the TLObject from buffer.
14027
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
14028
+ */
14029
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.TextHashtag>;
14030
+ /**
14031
+ * Generate buffer from TLObject.
14032
+ */
14033
+ write(): Buffer;
14034
+ }
14035
+ class TextBotCommand extends TLObject {
14036
+ text: Raw.TypeRichText;
14037
+ constructor(params: {
14038
+ text: Raw.TypeRichText;
14039
+ });
14040
+ /**
14041
+ * Generate the TLObject from buffer.
14042
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
14043
+ */
14044
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.TextBotCommand>;
14045
+ /**
14046
+ * Generate buffer from TLObject.
14047
+ */
14048
+ write(): Buffer;
14049
+ }
14050
+ class TextCashtag extends TLObject {
14051
+ text: Raw.TypeRichText;
14052
+ constructor(params: {
14053
+ text: Raw.TypeRichText;
14054
+ });
14055
+ /**
14056
+ * Generate the TLObject from buffer.
14057
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
14058
+ */
14059
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.TextCashtag>;
14060
+ /**
14061
+ * Generate buffer from TLObject.
14062
+ */
14063
+ write(): Buffer;
14064
+ }
14065
+ class TextAutoUrl extends TLObject {
14066
+ text: Raw.TypeRichText;
14067
+ constructor(params: {
14068
+ text: Raw.TypeRichText;
14069
+ });
14070
+ /**
14071
+ * Generate the TLObject from buffer.
14072
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
14073
+ */
14074
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.TextAutoUrl>;
14075
+ /**
14076
+ * Generate buffer from TLObject.
14077
+ */
14078
+ write(): Buffer;
14079
+ }
14080
+ class TextAutoEmail extends TLObject {
14081
+ text: Raw.TypeRichText;
14082
+ constructor(params: {
14083
+ text: Raw.TypeRichText;
14084
+ });
14085
+ /**
14086
+ * Generate the TLObject from buffer.
14087
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
14088
+ */
14089
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.TextAutoEmail>;
14090
+ /**
14091
+ * Generate buffer from TLObject.
14092
+ */
14093
+ write(): Buffer;
14094
+ }
14095
+ class TextAutoPhone extends TLObject {
14096
+ text: Raw.TypeRichText;
14097
+ constructor(params: {
14098
+ text: Raw.TypeRichText;
14099
+ });
14100
+ /**
14101
+ * Generate the TLObject from buffer.
14102
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
14103
+ */
14104
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.TextAutoPhone>;
14105
+ /**
14106
+ * Generate buffer from TLObject.
14107
+ */
14108
+ write(): Buffer;
14109
+ }
14110
+ class TextBankCard extends TLObject {
14111
+ text: Raw.TypeRichText;
14112
+ constructor(params: {
14113
+ text: Raw.TypeRichText;
14114
+ });
14115
+ /**
14116
+ * Generate the TLObject from buffer.
14117
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
14118
+ */
14119
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.TextBankCard>;
14120
+ /**
14121
+ * Generate buffer from TLObject.
14122
+ */
14123
+ write(): Buffer;
14124
+ }
14125
+ class TextMentionName extends TLObject {
14126
+ text: Raw.TypeRichText;
14127
+ userId: long;
14128
+ constructor(params: {
14129
+ text: Raw.TypeRichText;
14130
+ userId: long;
14131
+ });
14132
+ /**
14133
+ * Generate the TLObject from buffer.
14134
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
14135
+ */
14136
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.TextMentionName>;
14137
+ /**
14138
+ * Generate buffer from TLObject.
14139
+ */
14140
+ write(): Buffer;
14141
+ }
14142
+ class TextDate extends TLObject {
14143
+ relative?: boolean;
14144
+ shortTime?: boolean;
14145
+ longTime?: boolean;
14146
+ shortDate?: boolean;
14147
+ longDate?: boolean;
14148
+ dayOfWeek?: boolean;
14149
+ text: Raw.TypeRichText;
14150
+ date: int;
14151
+ constructor(params: {
14152
+ relative?: boolean;
14153
+ shortTime?: boolean;
14154
+ longTime?: boolean;
14155
+ shortDate?: boolean;
14156
+ longDate?: boolean;
14157
+ dayOfWeek?: boolean;
14158
+ text: Raw.TypeRichText;
14159
+ date: int;
14160
+ });
14161
+ /**
14162
+ * Generate the TLObject from buffer.
14163
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
14164
+ */
14165
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.TextDate>;
14166
+ /**
14167
+ * Generate buffer from TLObject.
14168
+ */
14169
+ write(): Buffer;
14170
+ }
13797
14171
  class PageBlockUnsupported extends TLObject {
13798
14172
  constructor();
13799
14173
  /**
@@ -14007,11 +14381,13 @@ export declare namespace Raw {
14007
14381
  write(): Buffer;
14008
14382
  }
14009
14383
  class PageBlockPhoto extends TLObject {
14384
+ spoiler?: boolean;
14010
14385
  photoId: long;
14011
14386
  caption: Raw.TypePageCaption;
14012
14387
  url?: string;
14013
14388
  webpageId?: long;
14014
14389
  constructor(params: {
14390
+ spoiler?: boolean;
14015
14391
  photoId: long;
14016
14392
  caption: Raw.TypePageCaption;
14017
14393
  url?: string;
@@ -14030,11 +14406,13 @@ export declare namespace Raw {
14030
14406
  class PageBlockVideo extends TLObject {
14031
14407
  autoplay?: boolean;
14032
14408
  loop?: boolean;
14409
+ spoiler?: boolean;
14033
14410
  videoId: long;
14034
14411
  caption: Raw.TypePageCaption;
14035
14412
  constructor(params: {
14036
14413
  autoplay?: boolean;
14037
14414
  loop?: boolean;
14415
+ spoiler?: boolean;
14038
14416
  videoId: long;
14039
14417
  caption: Raw.TypePageCaption;
14040
14418
  });
@@ -14222,9 +14600,15 @@ export declare namespace Raw {
14222
14600
  write(): Buffer;
14223
14601
  }
14224
14602
  class PageBlockOrderedList extends TLObject {
14603
+ reversed?: boolean;
14225
14604
  items: Vector<Raw.TypePageListOrderedItem>;
14605
+ start?: int;
14606
+ type?: string;
14226
14607
  constructor(params: {
14608
+ reversed?: boolean;
14227
14609
  items: Vector<Raw.TypePageListOrderedItem>;
14610
+ start?: int;
14611
+ type?: string;
14228
14612
  });
14229
14613
  /**
14230
14614
  * Generate the TLObject from buffer.
@@ -14295,6 +14679,166 @@ export declare namespace Raw {
14295
14679
  */
14296
14680
  write(): Buffer;
14297
14681
  }
14682
+ class PageBlockHeading1 extends TLObject {
14683
+ text: Raw.TypeRichText;
14684
+ constructor(params: {
14685
+ text: Raw.TypeRichText;
14686
+ });
14687
+ /**
14688
+ * Generate the TLObject from buffer.
14689
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
14690
+ */
14691
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.PageBlockHeading1>;
14692
+ /**
14693
+ * Generate buffer from TLObject.
14694
+ */
14695
+ write(): Buffer;
14696
+ }
14697
+ class PageBlockHeading2 extends TLObject {
14698
+ text: Raw.TypeRichText;
14699
+ constructor(params: {
14700
+ text: Raw.TypeRichText;
14701
+ });
14702
+ /**
14703
+ * Generate the TLObject from buffer.
14704
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
14705
+ */
14706
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.PageBlockHeading2>;
14707
+ /**
14708
+ * Generate buffer from TLObject.
14709
+ */
14710
+ write(): Buffer;
14711
+ }
14712
+ class PageBlockHeading3 extends TLObject {
14713
+ text: Raw.TypeRichText;
14714
+ constructor(params: {
14715
+ text: Raw.TypeRichText;
14716
+ });
14717
+ /**
14718
+ * Generate the TLObject from buffer.
14719
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
14720
+ */
14721
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.PageBlockHeading3>;
14722
+ /**
14723
+ * Generate buffer from TLObject.
14724
+ */
14725
+ write(): Buffer;
14726
+ }
14727
+ class PageBlockHeading4 extends TLObject {
14728
+ text: Raw.TypeRichText;
14729
+ constructor(params: {
14730
+ text: Raw.TypeRichText;
14731
+ });
14732
+ /**
14733
+ * Generate the TLObject from buffer.
14734
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
14735
+ */
14736
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.PageBlockHeading4>;
14737
+ /**
14738
+ * Generate buffer from TLObject.
14739
+ */
14740
+ write(): Buffer;
14741
+ }
14742
+ class PageBlockHeading5 extends TLObject {
14743
+ text: Raw.TypeRichText;
14744
+ constructor(params: {
14745
+ text: Raw.TypeRichText;
14746
+ });
14747
+ /**
14748
+ * Generate the TLObject from buffer.
14749
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
14750
+ */
14751
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.PageBlockHeading5>;
14752
+ /**
14753
+ * Generate buffer from TLObject.
14754
+ */
14755
+ write(): Buffer;
14756
+ }
14757
+ class PageBlockHeading6 extends TLObject {
14758
+ text: Raw.TypeRichText;
14759
+ constructor(params: {
14760
+ text: Raw.TypeRichText;
14761
+ });
14762
+ /**
14763
+ * Generate the TLObject from buffer.
14764
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
14765
+ */
14766
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.PageBlockHeading6>;
14767
+ /**
14768
+ * Generate buffer from TLObject.
14769
+ */
14770
+ write(): Buffer;
14771
+ }
14772
+ class PageBlockMath extends TLObject {
14773
+ source: string;
14774
+ constructor(params: {
14775
+ source: string;
14776
+ });
14777
+ /**
14778
+ * Generate the TLObject from buffer.
14779
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
14780
+ */
14781
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.PageBlockMath>;
14782
+ /**
14783
+ * Generate buffer from TLObject.
14784
+ */
14785
+ write(): Buffer;
14786
+ }
14787
+ class PageBlockThinking extends TLObject {
14788
+ text: Raw.TypeRichText;
14789
+ constructor(params: {
14790
+ text: Raw.TypeRichText;
14791
+ });
14792
+ /**
14793
+ * Generate the TLObject from buffer.
14794
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
14795
+ */
14796
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.PageBlockThinking>;
14797
+ /**
14798
+ * Generate buffer from TLObject.
14799
+ */
14800
+ write(): Buffer;
14801
+ }
14802
+ class InputPageBlockMap extends TLObject {
14803
+ geo: Raw.TypeInputGeoPoint;
14804
+ zoom: int;
14805
+ w: int;
14806
+ h: int;
14807
+ caption: Raw.TypePageCaption;
14808
+ constructor(params: {
14809
+ geo: Raw.TypeInputGeoPoint;
14810
+ zoom: int;
14811
+ w: int;
14812
+ h: int;
14813
+ caption: Raw.TypePageCaption;
14814
+ });
14815
+ /**
14816
+ * Generate the TLObject from buffer.
14817
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
14818
+ */
14819
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.InputPageBlockMap>;
14820
+ /**
14821
+ * Generate buffer from TLObject.
14822
+ */
14823
+ write(): Buffer;
14824
+ }
14825
+ class PageBlockBlockquoteBlocks extends TLObject {
14826
+ blocks: Vector<Raw.TypePageBlock>;
14827
+ caption: Raw.TypeRichText;
14828
+ constructor(params: {
14829
+ blocks: Vector<Raw.TypePageBlock>;
14830
+ caption: Raw.TypeRichText;
14831
+ });
14832
+ /**
14833
+ * Generate the TLObject from buffer.
14834
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
14835
+ */
14836
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.PageBlockBlockquoteBlocks>;
14837
+ /**
14838
+ * Generate buffer from TLObject.
14839
+ */
14840
+ write(): Buffer;
14841
+ }
14298
14842
  class PhoneCallDiscardReasonMissed extends TLObject {
14299
14843
  constructor();
14300
14844
  /**
@@ -17287,8 +17831,12 @@ export declare namespace Raw {
17287
17831
  write(): Buffer;
17288
17832
  }
17289
17833
  class PageListItemText extends TLObject {
17834
+ checkbox?: boolean;
17835
+ checked?: boolean;
17290
17836
  text: Raw.TypeRichText;
17291
17837
  constructor(params: {
17838
+ checkbox?: boolean;
17839
+ checked?: boolean;
17292
17840
  text: Raw.TypeRichText;
17293
17841
  });
17294
17842
  /**
@@ -17302,8 +17850,12 @@ export declare namespace Raw {
17302
17850
  write(): Buffer;
17303
17851
  }
17304
17852
  class PageListItemBlocks extends TLObject {
17853
+ checkbox?: boolean;
17854
+ checked?: boolean;
17305
17855
  blocks: Vector<Raw.TypePageBlock>;
17306
17856
  constructor(params: {
17857
+ checkbox?: boolean;
17858
+ checked?: boolean;
17307
17859
  blocks: Vector<Raw.TypePageBlock>;
17308
17860
  });
17309
17861
  /**
@@ -17317,11 +17869,19 @@ export declare namespace Raw {
17317
17869
  write(): Buffer;
17318
17870
  }
17319
17871
  class PageListOrderedItemText extends TLObject {
17320
- num: string;
17872
+ checkbox?: boolean;
17873
+ checked?: boolean;
17874
+ num?: string;
17321
17875
  text: Raw.TypeRichText;
17876
+ value?: int;
17877
+ type?: string;
17322
17878
  constructor(params: {
17323
- num: string;
17879
+ checkbox?: boolean;
17880
+ checked?: boolean;
17881
+ num?: string;
17324
17882
  text: Raw.TypeRichText;
17883
+ value?: int;
17884
+ type?: string;
17325
17885
  });
17326
17886
  /**
17327
17887
  * Generate the TLObject from buffer.
@@ -17334,11 +17894,19 @@ export declare namespace Raw {
17334
17894
  write(): Buffer;
17335
17895
  }
17336
17896
  class PageListOrderedItemBlocks extends TLObject {
17337
- num: string;
17897
+ checkbox?: boolean;
17898
+ checked?: boolean;
17899
+ num?: string;
17338
17900
  blocks: Vector<Raw.TypePageBlock>;
17901
+ value?: int;
17902
+ type?: string;
17339
17903
  constructor(params: {
17340
- num: string;
17904
+ checkbox?: boolean;
17905
+ checked?: boolean;
17906
+ num?: string;
17341
17907
  blocks: Vector<Raw.TypePageBlock>;
17908
+ value?: int;
17909
+ type?: string;
17342
17910
  });
17343
17911
  /**
17344
17912
  * Generate the TLObject from buffer.
@@ -18801,6 +19369,7 @@ export declare namespace Raw {
18801
19369
  replyToScheduled?: boolean;
18802
19370
  forumTopic?: boolean;
18803
19371
  quote?: boolean;
19372
+ replyToEphemeral?: boolean;
18804
19373
  replyToMsgId?: int;
18805
19374
  replyToPeerId?: Raw.TypePeer;
18806
19375
  replyFrom?: Raw.TypeMessageFwdHeader;
@@ -18815,6 +19384,7 @@ export declare namespace Raw {
18815
19384
  replyToScheduled?: boolean;
18816
19385
  forumTopic?: boolean;
18817
19386
  quote?: boolean;
19387
+ replyToEphemeral?: boolean;
18818
19388
  replyToMsgId?: int;
18819
19389
  replyToPeerId?: Raw.TypePeer;
18820
19390
  replyFrom?: Raw.TypeMessageFwdHeader;
@@ -19688,11 +20258,13 @@ export declare namespace Raw {
19688
20258
  class WebViewResultUrl extends TLObject {
19689
20259
  fullsize?: boolean;
19690
20260
  fullscreen?: boolean;
20261
+ sameOrigin?: boolean;
19691
20262
  queryId?: long;
19692
20263
  url: string;
19693
20264
  constructor(params: {
19694
20265
  fullsize?: boolean;
19695
20266
  fullscreen?: boolean;
20267
+ sameOrigin?: boolean;
19696
20268
  queryId?: long;
19697
20269
  url: string;
19698
20270
  });
@@ -22490,10 +23062,16 @@ export declare namespace Raw {
22490
23062
  botId: long;
22491
23063
  recipients: Raw.TypeBusinessBotRecipients;
22492
23064
  rights: Raw.TypeBusinessBotRights;
23065
+ device?: string;
23066
+ date?: int;
23067
+ location?: string;
22493
23068
  constructor(params: {
22494
23069
  botId: long;
22495
23070
  recipients: Raw.TypeBusinessBotRecipients;
22496
23071
  rights: Raw.TypeBusinessBotRights;
23072
+ device?: string;
23073
+ date?: int;
23074
+ location?: string;
22497
23075
  });
22498
23076
  /**
22499
23077
  * Generate the TLObject from buffer.
@@ -25117,6 +25695,202 @@ export declare namespace Raw {
25117
25695
  */
25118
25696
  write(): Buffer;
25119
25697
  }
25698
+ class JoinChatBotResultApproved extends TLObject {
25699
+ constructor();
25700
+ /**
25701
+ * Generate the TLObject from buffer.
25702
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
25703
+ */
25704
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.JoinChatBotResultApproved>;
25705
+ /**
25706
+ * Generate buffer from TLObject.
25707
+ */
25708
+ write(): Buffer;
25709
+ }
25710
+ class JoinChatBotResultDeclined extends TLObject {
25711
+ constructor();
25712
+ /**
25713
+ * Generate the TLObject from buffer.
25714
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
25715
+ */
25716
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.JoinChatBotResultDeclined>;
25717
+ /**
25718
+ * Generate buffer from TLObject.
25719
+ */
25720
+ write(): Buffer;
25721
+ }
25722
+ class JoinChatBotResultQueued extends TLObject {
25723
+ constructor();
25724
+ /**
25725
+ * Generate the TLObject from buffer.
25726
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
25727
+ */
25728
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.JoinChatBotResultQueued>;
25729
+ /**
25730
+ * Generate buffer from TLObject.
25731
+ */
25732
+ write(): Buffer;
25733
+ }
25734
+ class JoinChatBotResultWebView extends TLObject {
25735
+ url: string;
25736
+ constructor(params: {
25737
+ url: string;
25738
+ });
25739
+ /**
25740
+ * Generate the TLObject from buffer.
25741
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
25742
+ */
25743
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.JoinChatBotResultWebView>;
25744
+ /**
25745
+ * Generate buffer from TLObject.
25746
+ */
25747
+ write(): Buffer;
25748
+ }
25749
+ class WebDomainException extends TLObject {
25750
+ domain: string;
25751
+ url: string;
25752
+ title: string;
25753
+ favicon?: long;
25754
+ constructor(params: {
25755
+ domain: string;
25756
+ url: string;
25757
+ title: string;
25758
+ favicon?: long;
25759
+ });
25760
+ /**
25761
+ * Generate the TLObject from buffer.
25762
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
25763
+ */
25764
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.WebDomainException>;
25765
+ /**
25766
+ * Generate buffer from TLObject.
25767
+ */
25768
+ write(): Buffer;
25769
+ }
25770
+ class InputRichFilePhoto extends TLObject {
25771
+ id: string;
25772
+ photo: Raw.TypeInputPhoto;
25773
+ constructor(params: {
25774
+ id: string;
25775
+ photo: Raw.TypeInputPhoto;
25776
+ });
25777
+ /**
25778
+ * Generate the TLObject from buffer.
25779
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
25780
+ */
25781
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.InputRichFilePhoto>;
25782
+ /**
25783
+ * Generate buffer from TLObject.
25784
+ */
25785
+ write(): Buffer;
25786
+ }
25787
+ class InputRichFileDocument extends TLObject {
25788
+ id: string;
25789
+ document: Raw.TypeInputDocument;
25790
+ constructor(params: {
25791
+ id: string;
25792
+ document: Raw.TypeInputDocument;
25793
+ });
25794
+ /**
25795
+ * Generate the TLObject from buffer.
25796
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
25797
+ */
25798
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.InputRichFileDocument>;
25799
+ /**
25800
+ * Generate buffer from TLObject.
25801
+ */
25802
+ write(): Buffer;
25803
+ }
25804
+ class InputRichMessage extends TLObject {
25805
+ rtl?: boolean;
25806
+ noautolink?: boolean;
25807
+ blocks: Vector<Raw.TypePageBlock>;
25808
+ photos?: Vector<Raw.TypeInputPhoto>;
25809
+ documents?: Vector<Raw.TypeInputDocument>;
25810
+ users?: Vector<Raw.TypeInputUser>;
25811
+ constructor(params: {
25812
+ rtl?: boolean;
25813
+ noautolink?: boolean;
25814
+ blocks: Vector<Raw.TypePageBlock>;
25815
+ photos?: Vector<Raw.TypeInputPhoto>;
25816
+ documents?: Vector<Raw.TypeInputDocument>;
25817
+ users?: Vector<Raw.TypeInputUser>;
25818
+ });
25819
+ /**
25820
+ * Generate the TLObject from buffer.
25821
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
25822
+ */
25823
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.InputRichMessage>;
25824
+ /**
25825
+ * Generate buffer from TLObject.
25826
+ */
25827
+ write(): Buffer;
25828
+ }
25829
+ class InputRichMessageHTML extends TLObject {
25830
+ rtl?: boolean;
25831
+ noautolink?: boolean;
25832
+ html: string;
25833
+ files?: Vector<Raw.TypeInputRichFile>;
25834
+ constructor(params: {
25835
+ rtl?: boolean;
25836
+ noautolink?: boolean;
25837
+ html: string;
25838
+ files?: Vector<Raw.TypeInputRichFile>;
25839
+ });
25840
+ /**
25841
+ * Generate the TLObject from buffer.
25842
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
25843
+ */
25844
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.InputRichMessageHTML>;
25845
+ /**
25846
+ * Generate buffer from TLObject.
25847
+ */
25848
+ write(): Buffer;
25849
+ }
25850
+ class InputRichMessageMarkdown extends TLObject {
25851
+ rtl?: boolean;
25852
+ noautolink?: boolean;
25853
+ markdown: string;
25854
+ files?: Vector<Raw.TypeInputRichFile>;
25855
+ constructor(params: {
25856
+ rtl?: boolean;
25857
+ noautolink?: boolean;
25858
+ markdown: string;
25859
+ files?: Vector<Raw.TypeInputRichFile>;
25860
+ });
25861
+ /**
25862
+ * Generate the TLObject from buffer.
25863
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
25864
+ */
25865
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.InputRichMessageMarkdown>;
25866
+ /**
25867
+ * Generate buffer from TLObject.
25868
+ */
25869
+ write(): Buffer;
25870
+ }
25871
+ class RichMessage extends TLObject {
25872
+ rtl?: boolean;
25873
+ part?: boolean;
25874
+ blocks: Vector<Raw.TypePageBlock>;
25875
+ photos: Vector<Raw.TypePhoto>;
25876
+ documents: Vector<Raw.TypeDocument>;
25877
+ constructor(params: {
25878
+ rtl?: boolean;
25879
+ part?: boolean;
25880
+ blocks: Vector<Raw.TypePageBlock>;
25881
+ photos: Vector<Raw.TypePhoto>;
25882
+ documents: Vector<Raw.TypeDocument>;
25883
+ });
25884
+ /**
25885
+ * Generate the TLObject from buffer.
25886
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
25887
+ */
25888
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.RichMessage>;
25889
+ /**
25890
+ * Generate buffer from TLObject.
25891
+ */
25892
+ write(): Buffer;
25893
+ }
25120
25894
  class InvokeAfterMsg extends TLObject {
25121
25895
  __response__: X;
25122
25896
  msgId: long;
@@ -28802,9 +29576,13 @@ export declare namespace Raw {
28802
29576
  }
28803
29577
  class Search extends TLObject {
28804
29578
  __response__: Raw.contacts.TypeFound;
29579
+ broadcasts?: boolean;
29580
+ bots?: boolean;
28805
29581
  q: string;
28806
29582
  limit: int;
28807
29583
  constructor(params: {
29584
+ broadcasts?: boolean;
29585
+ bots?: boolean;
28808
29586
  q: string;
28809
29587
  limit: int;
28810
29588
  });
@@ -29197,6 +29975,7 @@ export declare namespace Raw {
29197
29975
  type TypeSavedGifs = Raw.messages.SavedGifsNotModified | Raw.messages.SavedGifs;
29198
29976
  type TypeMessageViews = Raw.messages.MessageViews;
29199
29977
  type TypeStickerSetInstallResult = Raw.messages.StickerSetInstallResultSuccess | Raw.messages.StickerSetInstallResultArchive;
29978
+ type TypeChatInviteJoinResult = Raw.messages.ChatInviteJoinResultOk | Raw.messages.ChatInviteJoinResultWebView;
29200
29979
  type TypeWebPagePreview = Raw.messages.WebPagePreview;
29201
29980
  type TypeAllStickers = Raw.messages.AllStickersNotModified | Raw.messages.AllStickers;
29202
29981
  type TypeStickers = Raw.messages.StickersNotModified | Raw.messages.Stickers;
@@ -30881,6 +31660,40 @@ export declare namespace Raw {
30881
31660
  */
30882
31661
  write(): Buffer;
30883
31662
  }
31663
+ class ChatInviteJoinResultOk extends TLObject {
31664
+ updates: Raw.TypeUpdates;
31665
+ constructor(params: {
31666
+ updates: Raw.TypeUpdates;
31667
+ });
31668
+ /**
31669
+ * Generate the TLObject from buffer.
31670
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
31671
+ */
31672
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.messages.ChatInviteJoinResultOk>;
31673
+ /**
31674
+ * Generate buffer from TLObject.
31675
+ */
31676
+ write(): Buffer;
31677
+ }
31678
+ class ChatInviteJoinResultWebView extends TLObject {
31679
+ botId: long;
31680
+ webview: Raw.TypeWebViewResult;
31681
+ users: Vector<Raw.TypeUser>;
31682
+ constructor(params: {
31683
+ botId: long;
31684
+ webview: Raw.TypeWebViewResult;
31685
+ users: Vector<Raw.TypeUser>;
31686
+ });
31687
+ /**
31688
+ * Generate the TLObject from buffer.
31689
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
31690
+ */
31691
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.messages.ChatInviteJoinResultWebView>;
31692
+ /**
31693
+ * Generate buffer from TLObject.
31694
+ */
31695
+ write(): Buffer;
31696
+ }
30884
31697
  class GetMessages extends TLObject {
30885
31698
  __response__: Raw.messages.TypeMessages;
30886
31699
  id: Vector<Raw.TypeInputMessage>;
@@ -31120,6 +31933,7 @@ export declare namespace Raw {
31120
31933
  effect?: long;
31121
31934
  allowPaidStars?: long;
31122
31935
  suggestedPost?: Raw.TypeSuggestedPost;
31936
+ richMessage?: Raw.TypeInputRichMessage;
31123
31937
  constructor(params: {
31124
31938
  noWebpage?: boolean;
31125
31939
  silent?: boolean;
@@ -31142,6 +31956,7 @@ export declare namespace Raw {
31142
31956
  effect?: long;
31143
31957
  allowPaidStars?: long;
31144
31958
  suggestedPost?: Raw.TypeSuggestedPost;
31959
+ richMessage?: Raw.TypeInputRichMessage;
31145
31960
  });
31146
31961
  /**
31147
31962
  * Generate the TLObject from buffer.
@@ -31770,7 +32585,7 @@ export declare namespace Raw {
31770
32585
  write(): Buffer;
31771
32586
  }
31772
32587
  class ImportChatInvite extends TLObject {
31773
- __response__: Raw.TypeUpdates;
32588
+ __response__: Raw.messages.TypeChatInviteJoinResult;
31774
32589
  hash: string;
31775
32590
  constructor(params: {
31776
32591
  hash: string;
@@ -32152,6 +32967,7 @@ export declare namespace Raw {
32152
32967
  scheduleDate?: int;
32153
32968
  scheduleRepeatPeriod?: int;
32154
32969
  quickReplyShortcutId?: int;
32970
+ richMessage?: Raw.TypeInputRichMessage;
32155
32971
  constructor(params: {
32156
32972
  noWebpage?: boolean;
32157
32973
  invertMedia?: boolean;
@@ -32164,6 +32980,7 @@ export declare namespace Raw {
32164
32980
  scheduleDate?: int;
32165
32981
  scheduleRepeatPeriod?: int;
32166
32982
  quickReplyShortcutId?: int;
32983
+ richMessage?: Raw.TypeInputRichMessage;
32167
32984
  });
32168
32985
  /**
32169
32986
  * Generate the TLObject from buffer.
@@ -32184,6 +33001,7 @@ export declare namespace Raw {
32184
33001
  media?: Raw.TypeInputMedia;
32185
33002
  replyMarkup?: Raw.TypeReplyMarkup;
32186
33003
  entities?: Vector<Raw.TypeMessageEntity>;
33004
+ richMessage?: Raw.TypeInputRichMessage;
32187
33005
  constructor(params: {
32188
33006
  noWebpage?: boolean;
32189
33007
  invertMedia?: boolean;
@@ -32192,6 +33010,7 @@ export declare namespace Raw {
32192
33010
  media?: Raw.TypeInputMedia;
32193
33011
  replyMarkup?: Raw.TypeReplyMarkup;
32194
33012
  entities?: Vector<Raw.TypeMessageEntity>;
33013
+ richMessage?: Raw.TypeInputRichMessage;
32195
33014
  });
32196
33015
  /**
32197
33016
  * Generate the TLObject from buffer.
@@ -32278,6 +33097,7 @@ export declare namespace Raw {
32278
33097
  media?: Raw.TypeInputMedia;
32279
33098
  effect?: long;
32280
33099
  suggestedPost?: Raw.TypeSuggestedPost;
33100
+ richMessage?: Raw.TypeInputRichMessage;
32281
33101
  constructor(params: {
32282
33102
  noWebpage?: boolean;
32283
33103
  invertMedia?: boolean;
@@ -32288,6 +33108,7 @@ export declare namespace Raw {
32288
33108
  media?: Raw.TypeInputMedia;
32289
33109
  effect?: long;
32290
33110
  suggestedPost?: Raw.TypeSuggestedPost;
33111
+ richMessage?: Raw.TypeInputRichMessage;
32291
33112
  });
32292
33113
  /**
32293
33114
  * Generate the TLObject from buffer.
@@ -36024,7 +36845,7 @@ export declare namespace Raw {
36024
36845
  write(): Buffer;
36025
36846
  }
36026
36847
  class SetBotGuestChatResult extends TLObject {
36027
- __response__: Bool;
36848
+ __response__: Raw.TypeInputBotInlineMessageID;
36028
36849
  queryId: long;
36029
36850
  result: Raw.TypeInputBotInlineResult;
36030
36851
  constructor(params: {
@@ -36103,6 +36924,24 @@ export declare namespace Raw {
36103
36924
  */
36104
36925
  write(): Buffer;
36105
36926
  }
36927
+ class GetRichMessage extends TLObject {
36928
+ __response__: Raw.messages.TypeMessages;
36929
+ peer: Raw.TypeInputPeer;
36930
+ id: int;
36931
+ constructor(params: {
36932
+ peer: Raw.TypeInputPeer;
36933
+ id: int;
36934
+ });
36935
+ /**
36936
+ * Generate the TLObject from buffer.
36937
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
36938
+ */
36939
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.messages.GetRichMessage>;
36940
+ /**
36941
+ * Generate buffer from TLObject.
36942
+ */
36943
+ write(): Buffer;
36944
+ }
36106
36945
  }
36107
36946
  namespace updates {
36108
36947
  type TypeChannelDifference = Raw.updates.ChannelDifferenceEmpty | Raw.updates.ChannelDifferenceTooLong | Raw.updates.ChannelDifference;
@@ -36778,6 +37617,7 @@ export declare namespace Raw {
36778
37617
  }
36779
37618
  }
36780
37619
  namespace account {
37620
+ type TypeWebBrowserSettings = Raw.account.WebBrowserSettingsNotModified | Raw.account.WebBrowserSettings;
36781
37621
  type TypePasskeys = Raw.account.Passkeys;
36782
37622
  type TypePasskeyRegistrationOptions = Raw.account.PasskeyRegistrationOptions;
36783
37623
  type TypeChatThemes = Raw.account.ChatThemesNotModified | Raw.account.ChatThemes;
@@ -37454,6 +38294,41 @@ export declare namespace Raw {
37454
38294
  */
37455
38295
  write(): Buffer;
37456
38296
  }
38297
+ class WebBrowserSettingsNotModified extends TLObject {
38298
+ constructor();
38299
+ /**
38300
+ * Generate the TLObject from buffer.
38301
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
38302
+ */
38303
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.account.WebBrowserSettingsNotModified>;
38304
+ /**
38305
+ * Generate buffer from TLObject.
38306
+ */
38307
+ write(): Buffer;
38308
+ }
38309
+ class WebBrowserSettings extends TLObject {
38310
+ openExternalBrowser?: boolean;
38311
+ displayCloseButton?: boolean;
38312
+ externalExceptions: Vector<Raw.TypeWebDomainException>;
38313
+ inappExceptions: Vector<Raw.TypeWebDomainException>;
38314
+ hash: long;
38315
+ constructor(params: {
38316
+ openExternalBrowser?: boolean;
38317
+ displayCloseButton?: boolean;
38318
+ externalExceptions: Vector<Raw.TypeWebDomainException>;
38319
+ inappExceptions: Vector<Raw.TypeWebDomainException>;
38320
+ hash: long;
38321
+ });
38322
+ /**
38323
+ * Generate the TLObject from buffer.
38324
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
38325
+ */
38326
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.account.WebBrowserSettings>;
38327
+ /**
38328
+ * Generate buffer from TLObject.
38329
+ */
38330
+ write(): Buffer;
38331
+ }
37457
38332
  class RegisterDevice extends TLObject {
37458
38333
  __response__: Bool;
37459
38334
  noMuted?: boolean;
@@ -39540,6 +40415,89 @@ export declare namespace Raw {
39540
40415
  */
39541
40416
  write(): Buffer;
39542
40417
  }
40418
+ class ConfirmBotConnection extends TLObject {
40419
+ __response__: Bool;
40420
+ botId: Raw.TypeInputUser;
40421
+ constructor(params: {
40422
+ botId: Raw.TypeInputUser;
40423
+ });
40424
+ /**
40425
+ * Generate the TLObject from buffer.
40426
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
40427
+ */
40428
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.account.ConfirmBotConnection>;
40429
+ /**
40430
+ * Generate buffer from TLObject.
40431
+ */
40432
+ write(): Buffer;
40433
+ }
40434
+ class GetWebBrowserSettings extends TLObject {
40435
+ __response__: Raw.account.TypeWebBrowserSettings;
40436
+ hash: long;
40437
+ constructor(params: {
40438
+ hash: long;
40439
+ });
40440
+ /**
40441
+ * Generate the TLObject from buffer.
40442
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
40443
+ */
40444
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.account.GetWebBrowserSettings>;
40445
+ /**
40446
+ * Generate buffer from TLObject.
40447
+ */
40448
+ write(): Buffer;
40449
+ }
40450
+ class UpdateWebBrowserSettings extends TLObject {
40451
+ __response__: Raw.account.TypeWebBrowserSettings;
40452
+ openExternalBrowser?: boolean;
40453
+ displayCloseButton?: boolean;
40454
+ constructor(params: {
40455
+ openExternalBrowser?: boolean;
40456
+ displayCloseButton?: boolean;
40457
+ });
40458
+ /**
40459
+ * Generate the TLObject from buffer.
40460
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
40461
+ */
40462
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.account.UpdateWebBrowserSettings>;
40463
+ /**
40464
+ * Generate buffer from TLObject.
40465
+ */
40466
+ write(): Buffer;
40467
+ }
40468
+ class ToggleWebBrowserSettingsException extends TLObject {
40469
+ __response__: Raw.TypeUpdates;
40470
+ delete?: boolean;
40471
+ openExternalBrowser?: Bool;
40472
+ url: string;
40473
+ constructor(params: {
40474
+ delete?: boolean;
40475
+ openExternalBrowser?: Bool;
40476
+ url: string;
40477
+ });
40478
+ /**
40479
+ * Generate the TLObject from buffer.
40480
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
40481
+ */
40482
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.account.ToggleWebBrowserSettingsException>;
40483
+ /**
40484
+ * Generate buffer from TLObject.
40485
+ */
40486
+ write(): Buffer;
40487
+ }
40488
+ class DeleteWebBrowserSettingsExceptions extends TLObject {
40489
+ __response__: Raw.account.TypeWebBrowserSettings;
40490
+ constructor();
40491
+ /**
40492
+ * Generate the TLObject from buffer.
40493
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
40494
+ */
40495
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.account.DeleteWebBrowserSettingsExceptions>;
40496
+ /**
40497
+ * Generate buffer from TLObject.
40498
+ */
40499
+ write(): Buffer;
40500
+ }
39543
40501
  }
39544
40502
  namespace channels {
39545
40503
  type TypeSendAsPeers = Raw.channels.SendAsPeers;
@@ -39953,7 +40911,7 @@ export declare namespace Raw {
39953
40911
  write(): Buffer;
39954
40912
  }
39955
40913
  class JoinChannel extends TLObject {
39956
- __response__: Raw.TypeUpdates;
40914
+ __response__: Raw.messages.TypeChatInviteJoinResult;
39957
40915
  channel: Raw.TypeInputChannel;
39958
40916
  constructor(params: {
39959
40917
  channel: Raw.TypeInputChannel;
@@ -40374,11 +41332,15 @@ export declare namespace Raw {
40374
41332
  }
40375
41333
  class ToggleJoinRequest extends TLObject {
40376
41334
  __response__: Raw.TypeUpdates;
41335
+ applyToInvites?: boolean;
40377
41336
  channel: Raw.TypeInputChannel;
40378
41337
  enabled: Bool;
41338
+ guardBot?: Raw.TypeInputUser;
40379
41339
  constructor(params: {
41340
+ applyToInvites?: boolean;
40380
41341
  channel: Raw.TypeInputChannel;
40381
41342
  enabled: Bool;
41343
+ guardBot?: Raw.TypeInputUser;
40382
41344
  });
40383
41345
  /**
40384
41346
  * Generate the TLObject from buffer.
@@ -45697,6 +46659,24 @@ export declare namespace Raw {
45697
46659
  */
45698
46660
  write(): Buffer;
45699
46661
  }
46662
+ class SetJoinChatResults extends TLObject {
46663
+ __response__: Bool;
46664
+ queryId: long;
46665
+ result: Raw.TypeJoinChatBotResult;
46666
+ constructor(params: {
46667
+ queryId: long;
46668
+ result: Raw.TypeJoinChatBotResult;
46669
+ });
46670
+ /**
46671
+ * Generate the TLObject from buffer.
46672
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
46673
+ */
46674
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.bots.SetJoinChatResults>;
46675
+ /**
46676
+ * Generate buffer from TLObject.
46677
+ */
46678
+ write(): Buffer;
46679
+ }
45700
46680
  }
45701
46681
  namespace stories {
45702
46682
  type TypeAlbums = Raw.stories.AlbumsNotModified | Raw.stories.Albums;