@tgsnake/skema 2.3.0 → 2.4.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.account.ConfirmBotConnection | Raw.account.GetWebBrowserSettings | Raw.account.UpdateWebBrowserSettings | Raw.account.ToggleWebBrowserSettingsException | Raw.account.DeleteWebBrowserSettingsExceptions | Raw.users.GetUsers | Raw.users.GetFullUser | Raw.users.SetSecureValueErrors | Raw.users.GetRequirementsToContact | Raw.users.GetSavedMusic | Raw.users.GetSavedMusicByID | Raw.users.SuggestBirthday | Raw.contacts.GetContactIDs | Raw.contacts.GetStatuses | Raw.contacts.GetContacts | Raw.contacts.ImportContacts | Raw.contacts.DeleteContacts | Raw.contacts.DeleteByPhones | Raw.contacts.Block | Raw.contacts.Unblock | Raw.contacts.GetBlocked | Raw.contacts.Search | Raw.contacts.ResolveUsername | Raw.contacts.GetTopPeers | Raw.contacts.ResetTopPeerRating | Raw.contacts.ResetSaved | Raw.contacts.GetSaved | Raw.contacts.ToggleTopPeers | Raw.contacts.AddContact | Raw.contacts.AcceptContact | Raw.contacts.GetLocated | Raw.contacts.BlockFromReplies | Raw.contacts.ResolvePhone | Raw.contacts.ExportContactToken | Raw.contacts.ImportContactToken | Raw.contacts.EditCloseFriends | Raw.contacts.SetBlocked | Raw.contacts.GetBirthdays | Raw.contacts.GetSponsoredPeers | Raw.contacts.UpdateContactNote | Raw.messages.GetMessages | Raw.messages.GetDialogs | Raw.messages.GetHistory | Raw.messages.Search | Raw.messages.ReadHistory | Raw.messages.DeleteHistory | Raw.messages.DeleteMessages | Raw.messages.ReceivedMessages | Raw.messages.SetTyping | Raw.messages.SendMessage | Raw.messages.SendMedia | Raw.messages.ForwardMessages | Raw.messages.ReportSpam | Raw.messages.GetPeerSettings | Raw.messages.Report | Raw.messages.GetChats | Raw.messages.GetFullChat | Raw.messages.EditChatTitle | Raw.messages.EditChatPhoto | Raw.messages.AddChatUser | Raw.messages.DeleteChatUser | Raw.messages.CreateChat | Raw.messages.GetDhConfig | Raw.messages.RequestEncryption | Raw.messages.AcceptEncryption | Raw.messages.DiscardEncryption | Raw.messages.SetEncryptedTyping | Raw.messages.ReadEncryptedHistory | Raw.messages.SendEncrypted | Raw.messages.SendEncryptedFile | Raw.messages.SendEncryptedService | Raw.messages.ReceivedQueue | Raw.messages.ReportEncryptedSpam | Raw.messages.ReadMessageContents | Raw.messages.GetStickers | Raw.messages.GetAllStickers | Raw.messages.GetWebPagePreview | Raw.messages.ExportChatInvite | Raw.messages.CheckChatInvite | Raw.messages.ImportChatInvite | Raw.messages.GetStickerSet | Raw.messages.InstallStickerSet | Raw.messages.UninstallStickerSet | Raw.messages.StartBot | Raw.messages.GetMessagesViews | Raw.messages.EditChatAdmin | Raw.messages.MigrateChat | Raw.messages.SearchGlobal | Raw.messages.ReorderStickerSets | Raw.messages.GetDocumentByHash | Raw.messages.GetSavedGifs | Raw.messages.SaveGif | Raw.messages.GetInlineBotResults | Raw.messages.SetInlineBotResults | Raw.messages.SendInlineBotResult | Raw.messages.GetMessageEditData | Raw.messages.EditMessage | Raw.messages.EditInlineBotMessage | Raw.messages.GetBotCallbackAnswer | Raw.messages.SetBotCallbackAnswer | Raw.messages.GetPeerDialogs | Raw.messages.SaveDraft | Raw.messages.GetAllDrafts | Raw.messages.GetFeaturedStickers | Raw.messages.ReadFeaturedStickers | Raw.messages.GetRecentStickers | Raw.messages.SaveRecentSticker | Raw.messages.ClearRecentStickers | Raw.messages.GetArchivedStickers | Raw.messages.GetMaskStickers | Raw.messages.GetAttachedStickers | Raw.messages.SetGameScore | Raw.messages.SetInlineGameScore | Raw.messages.GetGameHighScores | Raw.messages.GetInlineGameHighScores | Raw.messages.GetCommonChats | Raw.messages.GetWebPage | Raw.messages.ToggleDialogPin | Raw.messages.ReorderPinnedDialogs | Raw.messages.GetPinnedDialogs | Raw.messages.SetBotShippingResults | Raw.messages.SetBotPrecheckoutResults | Raw.messages.UploadMedia | Raw.messages.SendScreenshotNotification | Raw.messages.GetFavedStickers | Raw.messages.FaveSticker | Raw.messages.GetUnreadMentions | Raw.messages.ReadMentions | Raw.messages.GetRecentLocations | Raw.messages.SendMultiMedia | Raw.messages.UploadEncryptedFile | Raw.messages.SearchStickerSets | Raw.messages.GetSplitRanges | Raw.messages.MarkDialogUnread | Raw.messages.GetDialogUnreadMarks | Raw.messages.ClearAllDrafts | Raw.messages.UpdatePinnedMessage | Raw.messages.SendVote | Raw.messages.GetPollResults | Raw.messages.GetOnlines | Raw.messages.EditChatAbout | Raw.messages.EditChatDefaultBannedRights | Raw.messages.GetEmojiKeywords | Raw.messages.GetEmojiKeywordsDifference | Raw.messages.GetEmojiKeywordsLanguages | Raw.messages.GetEmojiURL | Raw.messages.GetSearchCounters | Raw.messages.RequestUrlAuth | Raw.messages.AcceptUrlAuth | Raw.messages.HidePeerSettingsBar | Raw.messages.GetScheduledHistory | Raw.messages.GetScheduledMessages | Raw.messages.SendScheduledMessages | Raw.messages.DeleteScheduledMessages | Raw.messages.GetPollVotes | Raw.messages.ToggleStickerSets | Raw.messages.GetDialogFilters | Raw.messages.GetSuggestedDialogFilters | Raw.messages.UpdateDialogFilter | Raw.messages.UpdateDialogFiltersOrder | Raw.messages.GetOldFeaturedStickers | Raw.messages.GetReplies | Raw.messages.GetDiscussionMessage | Raw.messages.ReadDiscussion | Raw.messages.UnpinAllMessages | Raw.messages.DeleteChat | Raw.messages.DeletePhoneCallHistory | Raw.messages.CheckHistoryImport | Raw.messages.InitHistoryImport | Raw.messages.UploadImportedMedia | Raw.messages.StartHistoryImport | Raw.messages.GetExportedChatInvites | Raw.messages.GetExportedChatInvite | Raw.messages.EditExportedChatInvite | Raw.messages.DeleteRevokedExportedChatInvites | Raw.messages.DeleteExportedChatInvite | Raw.messages.GetAdminsWithInvites | Raw.messages.GetChatInviteImporters | Raw.messages.SetHistoryTTL | Raw.messages.CheckHistoryImportPeer | Raw.messages.SetChatTheme | Raw.messages.GetMessageReadParticipants | Raw.messages.GetSearchResultsCalendar | Raw.messages.GetSearchResultsPositions | Raw.messages.HideChatJoinRequest | Raw.messages.HideAllChatJoinRequests | Raw.messages.ToggleNoForwards | Raw.messages.SaveDefaultSendAs | Raw.messages.SendReaction | Raw.messages.GetMessagesReactions | Raw.messages.GetMessageReactionsList | Raw.messages.SetChatAvailableReactions | Raw.messages.GetAvailableReactions | Raw.messages.SetDefaultReaction | Raw.messages.TranslateText | Raw.messages.GetUnreadReactions | Raw.messages.ReadReactions | Raw.messages.SearchSentMedia | Raw.messages.GetAttachMenuBots | Raw.messages.GetAttachMenuBot | Raw.messages.ToggleBotInAttachMenu | Raw.messages.RequestWebView | Raw.messages.ProlongWebView | Raw.messages.RequestSimpleWebView | Raw.messages.SendWebViewResultMessage | Raw.messages.SendWebViewData | Raw.messages.TranscribeAudio | Raw.messages.RateTranscribedAudio | Raw.messages.GetCustomEmojiDocuments | Raw.messages.GetEmojiStickers | Raw.messages.GetFeaturedEmojiStickers | Raw.messages.ReportReaction | Raw.messages.GetTopReactions | Raw.messages.GetRecentReactions | Raw.messages.ClearRecentReactions | Raw.messages.GetExtendedMedia | Raw.messages.SetDefaultHistoryTTL | Raw.messages.GetDefaultHistoryTTL | Raw.messages.SendBotRequestedPeer | Raw.messages.GetEmojiGroups | Raw.messages.GetEmojiStatusGroups | Raw.messages.GetEmojiProfilePhotoGroups | Raw.messages.SearchCustomEmoji | Raw.messages.TogglePeerTranslations | Raw.messages.GetBotApp | Raw.messages.RequestAppWebView | Raw.messages.SetChatWallPaper | Raw.messages.SearchEmojiStickerSets | Raw.messages.GetSavedDialogs | Raw.messages.GetSavedHistory | Raw.messages.DeleteSavedHistory | Raw.messages.GetPinnedSavedDialogs | Raw.messages.ToggleSavedDialogPin | Raw.messages.ReorderPinnedSavedDialogs | Raw.messages.GetSavedReactionTags | Raw.messages.UpdateSavedReactionTag | Raw.messages.GetDefaultTagReactions | Raw.messages.GetOutboxReadDate | Raw.messages.GetQuickReplies | Raw.messages.ReorderQuickReplies | Raw.messages.CheckQuickReplyShortcut | Raw.messages.EditQuickReplyShortcut | Raw.messages.DeleteQuickReplyShortcut | Raw.messages.GetQuickReplyMessages | Raw.messages.SendQuickReplyMessages | Raw.messages.DeleteQuickReplyMessages | Raw.messages.ToggleDialogFilterTags | Raw.messages.GetMyStickers | Raw.messages.GetEmojiStickerGroups | Raw.messages.GetAvailableEffects | Raw.messages.EditFactCheck | Raw.messages.DeleteFactCheck | Raw.messages.GetFactCheck | Raw.messages.RequestMainWebView | Raw.messages.SendPaidReaction | Raw.messages.TogglePaidReactionPrivacy | Raw.messages.GetPaidReactionPrivacy | Raw.messages.ViewSponsoredMessage | Raw.messages.ClickSponsoredMessage | Raw.messages.ReportSponsoredMessage | Raw.messages.GetSponsoredMessages | Raw.messages.SavePreparedInlineMessage | Raw.messages.GetPreparedInlineMessage | Raw.messages.SearchStickers | Raw.messages.ReportMessagesDelivery | Raw.messages.GetSavedDialogsByID | Raw.messages.ReadSavedHistory | Raw.messages.ToggleTodoCompleted | Raw.messages.AppendTodoList | Raw.messages.ToggleSuggestedPostApproval | Raw.messages.GetForumTopics | Raw.messages.GetForumTopicsByID | Raw.messages.EditForumTopic | Raw.messages.UpdatePinnedForumTopic | Raw.messages.ReorderPinnedForumTopics | Raw.messages.CreateForumTopic | Raw.messages.DeleteTopicHistory | Raw.messages.GetEmojiGameInfo | Raw.messages.SummarizeText | Raw.messages.EditChatCreator | Raw.messages.GetFutureChatCreatorAfterLeave | Raw.messages.EditChatParticipantRank | Raw.messages.DeclineUrlAuth | Raw.messages.CheckUrlAuthMatchCode | Raw.messages.ComposeMessageWithAI | Raw.messages.ReportReadMetrics | Raw.messages.ReportMusicListen | Raw.messages.AddPollAnswer | Raw.messages.DeletePollAnswer | Raw.messages.GetUnreadPollVotes | Raw.messages.ReadPollVotes | Raw.messages.SetBotGuestChatResult | Raw.messages.DeleteParticipantReactions | Raw.messages.DeleteParticipantReaction | Raw.messages.GetPersonalChannelHistory | Raw.messages.GetRichMessage | Raw.messages.TranslateRichMessage | Raw.messages.ComposeRichMessageWithAI | Raw.messages.RequestChatJoinWebView | Raw.updates.GetState | Raw.updates.GetDifference | Raw.updates.GetChannelDifference | Raw.photos.UpdateProfilePhoto | Raw.photos.UploadProfilePhoto | Raw.photos.DeletePhotos | Raw.photos.GetUserPhotos | Raw.photos.UploadContactProfilePhoto | Raw.upload.SaveFilePart | Raw.upload.GetFile | Raw.upload.SaveBigFilePart | Raw.upload.GetWebFile | Raw.upload.GetCdnFile | Raw.upload.ReuploadCdnFile | Raw.upload.GetCdnFileHashes | Raw.upload.GetFileHashes | Raw.help.GetConfig | Raw.help.GetNearestDc | Raw.help.GetAppUpdate | Raw.help.GetInviteText | Raw.help.GetSupport | Raw.help.SetBotUpdatesStatus | Raw.help.GetCdnConfig | Raw.help.GetRecentMeUrls | Raw.help.GetTermsOfServiceUpdate | Raw.help.AcceptTermsOfService | Raw.help.GetDeepLinkInfo | Raw.help.GetAppConfig | Raw.help.SaveAppLog | Raw.help.GetPassportConfig | Raw.help.GetSupportName | Raw.help.GetUserInfo | Raw.help.EditUserInfo | Raw.help.GetPromoData | Raw.help.HidePromoData | Raw.help.DismissSuggestion | Raw.help.GetCountriesList | Raw.help.GetPremiumPromo | Raw.help.GetPeerColors | Raw.help.GetPeerProfileColors | Raw.help.GetTimezonesList | Raw.channels.ReadHistory | Raw.channels.DeleteMessages | Raw.channels.ReportSpam | Raw.channels.GetMessages | Raw.channels.GetParticipants | Raw.channels.GetParticipant | Raw.channels.GetChannels | Raw.channels.GetFullChannel | Raw.channels.CreateChannel | Raw.channels.EditAdmin | Raw.channels.EditTitle | Raw.channels.EditPhoto | Raw.channels.CheckUsername | Raw.channels.UpdateUsername | Raw.channels.JoinChannel | Raw.channels.LeaveChannel | Raw.channels.InviteToChannel | Raw.channels.DeleteChannel | Raw.channels.ExportMessageLink | Raw.channels.ToggleSignatures | Raw.channels.GetAdminedPublicChannels | Raw.channels.EditBanned | Raw.channels.GetAdminLog | Raw.channels.SetStickers | Raw.channels.ReadMessageContents | Raw.channels.DeleteHistory | Raw.channels.TogglePreHistoryHidden | Raw.channels.GetLeftChannels | Raw.channels.GetGroupsForDiscussion | Raw.channels.SetDiscussionGroup | Raw.channels.EditLocation | Raw.channels.ToggleSlowMode | Raw.channels.GetInactiveChannels | Raw.channels.ConvertToGigagroup | Raw.channels.GetSendAs | Raw.channels.DeleteParticipantHistory | Raw.channels.ToggleJoinToSend | Raw.channels.ToggleJoinRequest | Raw.channels.ReorderUsernames | Raw.channels.ToggleUsername | Raw.channels.DeactivateAllUsernames | Raw.channels.ToggleForum | Raw.channels.ToggleAntiSpam | Raw.channels.ReportAntiSpamFalsePositive | Raw.channels.ToggleParticipantsHidden | Raw.channels.UpdateColor | Raw.channels.ToggleViewForumAsMessages | Raw.channels.GetChannelRecommendations | Raw.channels.UpdateEmojiStatus | Raw.channels.SetBoostsToUnblockRestrictions | Raw.channels.SetEmojiStickers | Raw.channels.RestrictSponsoredMessages | Raw.channels.SearchPosts | Raw.channels.UpdatePaidMessagesPrice | Raw.channels.ToggleAutotranslation | Raw.channels.GetMessageAuthor | Raw.channels.CheckSearchPostsFlood | Raw.channels.SetMainProfileTab | Raw.bots.SendCustomRequest | Raw.bots.AnswerWebhookJSONQuery | Raw.bots.SetBotCommands | Raw.bots.ResetBotCommands | Raw.bots.GetBotCommands | Raw.bots.SetBotMenuButton | Raw.bots.GetBotMenuButton | Raw.bots.SetBotBroadcastDefaultAdminRights | Raw.bots.SetBotGroupDefaultAdminRights | Raw.bots.SetBotInfo | Raw.bots.GetBotInfo | Raw.bots.ReorderUsernames | Raw.bots.ToggleUsername | Raw.bots.CanSendMessage | Raw.bots.AllowSendMessage | Raw.bots.InvokeWebViewCustomMethod | Raw.bots.GetPopularAppBots | Raw.bots.AddPreviewMedia | Raw.bots.EditPreviewMedia | Raw.bots.DeletePreviewMedia | Raw.bots.ReorderPreviewMedias | Raw.bots.GetPreviewInfo | Raw.bots.GetPreviewMedias | Raw.bots.UpdateUserEmojiStatus | Raw.bots.ToggleUserEmojiStatusPermission | Raw.bots.CheckDownloadFileParams | Raw.bots.GetAdminedBots | Raw.bots.UpdateStarRefProgram | Raw.bots.SetCustomVerification | Raw.bots.GetBotRecommendations | Raw.bots.CheckUsername | Raw.bots.CreateBot | Raw.bots.ExportBotToken | Raw.bots.RequestWebViewButton | Raw.bots.GetRequestedWebViewButton | Raw.bots.GetAccessSettings | Raw.bots.EditAccessSettings | Raw.bots.SetJoinChatResults | Raw.payments.GetPaymentForm | Raw.payments.GetPaymentReceipt | Raw.payments.ValidateRequestedInfo | Raw.payments.SendPaymentForm | Raw.payments.GetSavedInfo | Raw.payments.ClearSavedInfo | Raw.payments.GetBankCardData | Raw.payments.ExportInvoice | Raw.payments.AssignAppStoreTransaction | Raw.payments.AssignPlayMarketTransaction | Raw.payments.GetPremiumGiftCodeOptions | Raw.payments.CheckGiftCode | Raw.payments.ApplyGiftCode | Raw.payments.GetGiveawayInfo | Raw.payments.LaunchPrepaidGiveaway | Raw.payments.GetStarsTopupOptions | Raw.payments.GetStarsStatus | Raw.payments.GetStarsTransactions | Raw.payments.SendStarsForm | Raw.payments.RefundStarsCharge | Raw.payments.GetStarsRevenueStats | Raw.payments.GetStarsRevenueWithdrawalUrl | Raw.payments.GetStarsRevenueAdsAccountUrl | Raw.payments.GetStarsTransactionsByID | Raw.payments.GetStarsGiftOptions | Raw.payments.GetStarsSubscriptions | Raw.payments.ChangeStarsSubscription | Raw.payments.FulfillStarsSubscription | Raw.payments.GetStarsGiveawayOptions | Raw.payments.GetStarGifts | Raw.payments.SaveStarGift | Raw.payments.ConvertStarGift | Raw.payments.BotCancelStarsSubscription | Raw.payments.GetConnectedStarRefBots | Raw.payments.GetConnectedStarRefBot | Raw.payments.GetSuggestedStarRefBots | Raw.payments.ConnectStarRefBot | Raw.payments.EditConnectedStarRefBot | Raw.payments.GetStarGiftUpgradePreview | Raw.payments.UpgradeStarGift | Raw.payments.TransferStarGift | Raw.payments.GetUniqueStarGift | Raw.payments.GetSavedStarGifts | Raw.payments.GetSavedStarGift | Raw.payments.GetStarGiftWithdrawalUrl | Raw.payments.ToggleChatStarGiftNotifications | Raw.payments.ToggleStarGiftsPinnedToTop | Raw.payments.CanPurchaseStore | Raw.payments.GetResaleStarGifts | Raw.payments.UpdateStarGiftPrice | Raw.payments.CreateStarGiftCollection | Raw.payments.UpdateStarGiftCollection | Raw.payments.ReorderStarGiftCollections | Raw.payments.DeleteStarGiftCollection | Raw.payments.GetStarGiftCollections | Raw.payments.GetUniqueStarGiftValueInfo | Raw.payments.CheckCanSendGift | Raw.payments.GetStarGiftAuctionState | Raw.payments.GetStarGiftAuctionAcquiredGifts | Raw.payments.GetStarGiftActiveAuctions | Raw.payments.ResolveStarGiftOffer | Raw.payments.SendStarGiftOffer | Raw.payments.GetStarGiftUpgradeAttributes | Raw.payments.GetCraftStarGifts | Raw.payments.CraftStarGift | Raw.stickers.CreateStickerSet | Raw.stickers.RemoveStickerFromSet | Raw.stickers.ChangeStickerPosition | Raw.stickers.AddStickerToSet | Raw.stickers.SetStickerSetThumb | Raw.stickers.CheckShortName | Raw.stickers.SuggestShortName | Raw.stickers.ChangeSticker | Raw.stickers.RenameStickerSet | Raw.stickers.DeleteStickerSet | Raw.stickers.ReplaceSticker | Raw.phone.GetCallConfig | Raw.phone.RequestCall | Raw.phone.AcceptCall | Raw.phone.ConfirmCall | Raw.phone.ReceivedCall | Raw.phone.DiscardCall | Raw.phone.SetCallRating | Raw.phone.SaveCallDebug | Raw.phone.SendSignalingData | Raw.phone.CreateGroupCall | Raw.phone.JoinGroupCall | Raw.phone.LeaveGroupCall | Raw.phone.InviteToGroupCall | Raw.phone.DiscardGroupCall | Raw.phone.ToggleGroupCallSettings | Raw.phone.GetGroupCall | Raw.phone.GetGroupParticipants | Raw.phone.CheckGroupCall | Raw.phone.ToggleGroupCallRecord | Raw.phone.EditGroupCallParticipant | Raw.phone.EditGroupCallTitle | Raw.phone.GetGroupCallJoinAs | Raw.phone.ExportGroupCallInvite | Raw.phone.ToggleGroupCallStartSubscription | Raw.phone.StartScheduledGroupCall | Raw.phone.SaveDefaultGroupCallJoinAs | Raw.phone.JoinGroupCallPresentation | Raw.phone.LeaveGroupCallPresentation | Raw.phone.GetGroupCallStreamChannels | Raw.phone.GetGroupCallStreamRtmpUrl | Raw.phone.SaveCallLog | Raw.phone.CreateConferenceCall | Raw.phone.DeleteConferenceCallParticipants | Raw.phone.SendConferenceCallBroadcast | Raw.phone.InviteConferenceCallParticipant | Raw.phone.DeclineConferenceCallInvite | Raw.phone.GetGroupCallChainBlocks | Raw.phone.SendGroupCallMessage | Raw.phone.SendGroupCallEncryptedMessage | Raw.phone.DeleteGroupCallMessages | Raw.phone.DeleteGroupCallParticipantMessages | Raw.phone.GetGroupCallStars | Raw.phone.SaveDefaultSendAs | Raw.langpack.GetLangPack | Raw.langpack.GetStrings | Raw.langpack.GetDifference | Raw.langpack.GetLanguages | Raw.langpack.GetLanguage | Raw.folders.EditPeerFolders | Raw.stats.GetBroadcastStats | Raw.stats.LoadAsyncGraph | Raw.stats.GetMegagroupStats | Raw.stats.GetMessagePublicForwards | Raw.stats.GetMessageStats | Raw.stats.GetStoryStats | Raw.stats.GetStoryPublicForwards | Raw.stats.GetPollStats | Raw.chatlists.ExportChatlistInvite | Raw.chatlists.DeleteExportedInvite | Raw.chatlists.EditExportedInvite | Raw.chatlists.GetExportedInvites | Raw.chatlists.CheckChatlistInvite | Raw.chatlists.JoinChatlistInvite | Raw.chatlists.GetChatlistUpdates | Raw.chatlists.JoinChatlistUpdates | Raw.chatlists.HideChatlistUpdates | Raw.chatlists.GetLeaveChatlistSuggestions | Raw.chatlists.LeaveChatlist | Raw.stories.CanSendStory | Raw.stories.SendStory | Raw.stories.EditStory | Raw.stories.DeleteStories | Raw.stories.TogglePinned | Raw.stories.GetAllStories | Raw.stories.GetPinnedStories | Raw.stories.GetStoriesArchive | Raw.stories.GetStoriesByID | Raw.stories.ToggleAllStoriesHidden | Raw.stories.ReadStories | Raw.stories.IncrementStoryViews | Raw.stories.GetStoryViewsList | Raw.stories.GetStoriesViews | Raw.stories.ExportStoryLink | Raw.stories.Report | Raw.stories.ActivateStealthMode | Raw.stories.SendReaction | Raw.stories.GetPeerStories | Raw.stories.GetAllReadPeerStories | Raw.stories.GetPeerMaxIDs | Raw.stories.GetChatsToSend | Raw.stories.TogglePeerStoriesHidden | Raw.stories.GetStoryReactionsList | Raw.stories.TogglePinnedToTop | Raw.stories.SearchPosts | Raw.stories.CreateAlbum | Raw.stories.UpdateAlbum | Raw.stories.ReorderAlbums | Raw.stories.DeleteAlbum | Raw.stories.GetAlbums | Raw.stories.GetAlbumStories | Raw.stories.StartLive | Raw.premium.GetBoostsList | Raw.premium.GetMyBoosts | Raw.premium.ApplyBoost | Raw.premium.GetBoostsStatus | Raw.premium.GetUserBoosts | Raw.smsjobs.IsEligibleToJoin | Raw.smsjobs.Join | Raw.smsjobs.Leave | Raw.smsjobs.UpdateSettings | Raw.smsjobs.GetStatus | Raw.smsjobs.GetSmsJob | Raw.smsjobs.FinishJob | Raw.fragment.GetCollectibleInfo | Raw.aicompose.CreateTone | Raw.aicompose.UpdateTone | Raw.aicompose.SaveTone | Raw.aicompose.DeleteTone | Raw.aicompose.GetTone | Raw.aicompose.GetTones | Raw.aicompose.GetToneExample | Raw.communities.Create | Raw.communities.TogglePeerLink | Raw.communities.GetJoinedCommunities | Raw.communities.ToggleCommunityCollapsedInDialogs | Raw.communities.GetPeerLinkRequests | Raw.communities.TogglePeerLinkRequestApproval | Raw.communities.ToggleAllPeerLinkRequestApproval | Raw.communities.ToggleParticipantBanned | Raw.communities.GetParticipantJoinedChats | Raw.ephemeral.SendMessage | Raw.ephemeral.DeleteMessage | Raw.ephemeral.ReportMessage | Raw.ephemeral.GetCallbackAnswer;
42
+ type TypesTLRequest = Raw.ReqPq | Raw.ReqPqMulti | Raw.ReqDhParams | Raw.SetClientDhParams | Raw.DestroyAuthKey | Raw.RpcDropAnswer | Raw.GetFutureSalts | Raw.Ping | Raw.PingDelayDisconnect | Raw.DestroySession | Raw.InvokeAfterMsg | Raw.InvokeAfterMsgs | Raw.InitConnection | Raw.InvokeWithLayer | Raw.InvokeWithoutUpdates | Raw.InvokeWithMessagesRange | Raw.InvokeWithTakeout | Raw.InvokeWithBusinessConnection | Raw.InvokeWithGooglePlayIntegrity | Raw.InvokeWithApnsSecret | Raw.InvokeWithReCaptcha | Raw.auth.SendCode | Raw.auth.SignUp | Raw.auth.SignIn | Raw.auth.LogOut | Raw.auth.ResetAuthorizations | Raw.auth.ExportAuthorization | Raw.auth.ImportAuthorization | Raw.auth.BindTempAuthKey | Raw.auth.ImportBotAuthorization | Raw.auth.CheckPassword | Raw.auth.RequestPasswordRecovery | Raw.auth.RecoverPassword | Raw.auth.ResendCode | Raw.auth.CancelCode | Raw.auth.DropTempAuthKeys | Raw.auth.ExportLoginToken | Raw.auth.ImportLoginToken | Raw.auth.AcceptLoginToken | Raw.auth.CheckRecoveryPassword | Raw.auth.ImportWebTokenAuthorization | Raw.auth.RequestFirebaseSms | Raw.auth.ResetLoginEmail | Raw.auth.ReportMissingCode | Raw.auth.CheckPaidAuth | Raw.auth.InitPasskeyLogin | Raw.auth.FinishPasskeyLogin | Raw.auth.InitFirebasePnvLogin | Raw.auth.FinishFirebasePnvLogin | Raw.auth.FirebasePnvSignUp | Raw.account.RegisterDevice | Raw.account.UnregisterDevice | Raw.account.UpdateNotifySettings | Raw.account.GetNotifySettings | Raw.account.ResetNotifySettings | Raw.account.UpdateProfile | Raw.account.UpdateStatus | Raw.account.GetWallPapers | Raw.account.ReportPeer | Raw.account.CheckUsername | Raw.account.UpdateUsername | Raw.account.GetPrivacy | Raw.account.SetPrivacy | Raw.account.DeleteAccount | Raw.account.GetAccountTTL | Raw.account.SetAccountTTL | Raw.account.SendChangePhoneCode | Raw.account.ChangePhone | Raw.account.UpdateDeviceLocked | Raw.account.GetAuthorizations | Raw.account.ResetAuthorization | Raw.account.GetPassword | Raw.account.GetPasswordSettings | Raw.account.UpdatePasswordSettings | Raw.account.SendConfirmPhoneCode | Raw.account.ConfirmPhone | Raw.account.GetTmpPassword | Raw.account.GetWebAuthorizations | Raw.account.ResetWebAuthorization | Raw.account.ResetWebAuthorizations | Raw.account.GetAllSecureValues | Raw.account.GetSecureValue | Raw.account.SaveSecureValue | Raw.account.DeleteSecureValue | Raw.account.GetAuthorizationForm | Raw.account.AcceptAuthorization | Raw.account.SendVerifyPhoneCode | Raw.account.VerifyPhone | Raw.account.SendVerifyEmailCode | Raw.account.VerifyEmail | Raw.account.InitTakeoutSession | Raw.account.FinishTakeoutSession | Raw.account.ConfirmPasswordEmail | Raw.account.ResendPasswordEmail | Raw.account.CancelPasswordEmail | Raw.account.GetContactSignUpNotification | Raw.account.SetContactSignUpNotification | Raw.account.GetNotifyExceptions | Raw.account.GetWallPaper | Raw.account.UploadWallPaper | Raw.account.SaveWallPaper | Raw.account.InstallWallPaper | Raw.account.ResetWallPapers | Raw.account.GetAutoDownloadSettings | Raw.account.SaveAutoDownloadSettings | Raw.account.UploadTheme | Raw.account.CreateTheme | Raw.account.UpdateTheme | Raw.account.SaveTheme | Raw.account.InstallTheme | Raw.account.GetTheme | Raw.account.GetThemes | Raw.account.SetContentSettings | Raw.account.GetContentSettings | Raw.account.GetMultiWallPapers | Raw.account.GetGlobalPrivacySettings | Raw.account.SetGlobalPrivacySettings | Raw.account.ReportProfilePhoto | Raw.account.ResetPassword | Raw.account.DeclinePasswordReset | Raw.account.GetChatThemes | Raw.account.SetAuthorizationTTL | Raw.account.ChangeAuthorizationSettings | Raw.account.GetSavedRingtones | Raw.account.SaveRingtone | Raw.account.UploadRingtone | Raw.account.UpdateEmojiStatus | Raw.account.GetDefaultEmojiStatuses | Raw.account.GetRecentEmojiStatuses | Raw.account.ClearRecentEmojiStatuses | Raw.account.ReorderUsernames | Raw.account.ToggleUsername | Raw.account.GetDefaultProfilePhotoEmojis | Raw.account.GetDefaultGroupPhotoEmojis | Raw.account.GetAutoSaveSettings | Raw.account.SaveAutoSaveSettings | Raw.account.DeleteAutoSaveExceptions | Raw.account.InvalidateSignInCodes | Raw.account.UpdateColor | Raw.account.GetDefaultBackgroundEmojis | Raw.account.GetChannelDefaultEmojiStatuses | Raw.account.GetChannelRestrictedStatusEmojis | Raw.account.UpdateBusinessWorkHours | Raw.account.UpdateBusinessLocation | Raw.account.UpdateBusinessGreetingMessage | Raw.account.UpdateBusinessAwayMessage | Raw.account.UpdateConnectedBot | Raw.account.GetConnectedBots | Raw.account.GetBotBusinessConnection | Raw.account.UpdateBusinessIntro | Raw.account.ToggleConnectedBotPaused | Raw.account.DisablePeerConnectedBot | Raw.account.UpdateBirthday | Raw.account.CreateBusinessChatLink | Raw.account.EditBusinessChatLink | Raw.account.DeleteBusinessChatLink | Raw.account.GetBusinessChatLinks | Raw.account.ResolveBusinessChatLink | Raw.account.UpdatePersonalChannel | Raw.account.ToggleSponsoredMessages | Raw.account.GetReactionsNotifySettings | Raw.account.SetReactionsNotifySettings | Raw.account.GetCollectibleEmojiStatuses | Raw.account.GetPaidMessagesRevenue | Raw.account.ToggleNoPaidMessagesException | Raw.account.SetMainProfileTab | Raw.account.SaveMusic | Raw.account.GetSavedMusicIds | Raw.account.GetUniqueGiftChatThemes | Raw.account.InitPasskeyRegistration | Raw.account.RegisterPasskey | Raw.account.GetPasskeys | Raw.account.DeletePasskey | Raw.account.ConfirmBotConnection | Raw.account.GetWebBrowserSettings | Raw.account.UpdateWebBrowserSettings | Raw.account.ToggleWebBrowserSettingsException | Raw.account.DeleteWebBrowserSettingsExceptions | Raw.users.GetUsers | Raw.users.GetFullUser | Raw.users.SetSecureValueErrors | Raw.users.GetRequirementsToContact | Raw.users.GetSavedMusic | Raw.users.GetSavedMusicByID | Raw.users.SuggestBirthday | Raw.contacts.GetContactIDs | Raw.contacts.GetStatuses | Raw.contacts.GetContacts | Raw.contacts.ImportContacts | Raw.contacts.DeleteContacts | Raw.contacts.DeleteByPhones | Raw.contacts.Block | Raw.contacts.Unblock | Raw.contacts.GetBlocked | Raw.contacts.Search | Raw.contacts.ResolveUsername | Raw.contacts.GetTopPeers | Raw.contacts.ResetTopPeerRating | Raw.contacts.ResetSaved | Raw.contacts.GetSaved | Raw.contacts.ToggleTopPeers | Raw.contacts.AddContact | Raw.contacts.AcceptContact | Raw.contacts.GetLocated | Raw.contacts.BlockFromReplies | Raw.contacts.ResolvePhone | Raw.contacts.ExportContactToken | Raw.contacts.ImportContactToken | Raw.contacts.EditCloseFriends | Raw.contacts.SetBlocked | Raw.contacts.GetBirthdays | Raw.contacts.GetSponsoredPeers | Raw.contacts.UpdateContactNote | Raw.messages.GetMessages | Raw.messages.GetDialogs | Raw.messages.GetHistory | Raw.messages.Search | Raw.messages.ReadHistory | Raw.messages.DeleteHistory | Raw.messages.DeleteMessages | Raw.messages.ReceivedMessages | Raw.messages.SetTyping | Raw.messages.SendMessage | Raw.messages.SendMedia | Raw.messages.ForwardMessages | Raw.messages.ReportSpam | Raw.messages.GetPeerSettings | Raw.messages.Report | Raw.messages.GetChats | Raw.messages.GetFullChat | Raw.messages.EditChatTitle | Raw.messages.EditChatPhoto | Raw.messages.AddChatUser | Raw.messages.DeleteChatUser | Raw.messages.CreateChat | Raw.messages.GetDhConfig | Raw.messages.RequestEncryption | Raw.messages.AcceptEncryption | Raw.messages.DiscardEncryption | Raw.messages.SetEncryptedTyping | Raw.messages.ReadEncryptedHistory | Raw.messages.SendEncrypted | Raw.messages.SendEncryptedFile | Raw.messages.SendEncryptedService | Raw.messages.ReceivedQueue | Raw.messages.ReportEncryptedSpam | Raw.messages.ReadMessageContents | Raw.messages.GetStickers | Raw.messages.GetAllStickers | Raw.messages.GetWebPagePreview | Raw.messages.ExportChatInvite | Raw.messages.CheckChatInvite | Raw.messages.ImportChatInvite | Raw.messages.GetStickerSet | Raw.messages.InstallStickerSet | Raw.messages.UninstallStickerSet | Raw.messages.StartBot | Raw.messages.GetMessagesViews | Raw.messages.EditChatAdmin | Raw.messages.MigrateChat | Raw.messages.SearchGlobal | Raw.messages.ReorderStickerSets | Raw.messages.GetDocumentByHash | Raw.messages.GetSavedGifs | Raw.messages.SaveGif | Raw.messages.GetInlineBotResults | Raw.messages.SetInlineBotResults | Raw.messages.SendInlineBotResult | Raw.messages.GetMessageEditData | Raw.messages.EditMessage | Raw.messages.EditInlineBotMessage | Raw.messages.GetBotCallbackAnswer | Raw.messages.SetBotCallbackAnswer | Raw.messages.GetPeerDialogs | Raw.messages.SaveDraft | Raw.messages.GetAllDrafts | Raw.messages.GetFeaturedStickers | Raw.messages.ReadFeaturedStickers | Raw.messages.GetRecentStickers | Raw.messages.SaveRecentSticker | Raw.messages.ClearRecentStickers | Raw.messages.GetArchivedStickers | Raw.messages.GetMaskStickers | Raw.messages.GetAttachedStickers | Raw.messages.SetGameScore | Raw.messages.SetInlineGameScore | Raw.messages.GetGameHighScores | Raw.messages.GetInlineGameHighScores | Raw.messages.GetCommonChats | Raw.messages.GetWebPage | Raw.messages.ToggleDialogPin | Raw.messages.ReorderPinnedDialogs | Raw.messages.GetPinnedDialogs | Raw.messages.SetBotShippingResults | Raw.messages.SetBotPrecheckoutResults | Raw.messages.UploadMedia | Raw.messages.SendScreenshotNotification | Raw.messages.GetFavedStickers | Raw.messages.FaveSticker | Raw.messages.GetUnreadMentions | Raw.messages.ReadMentions | Raw.messages.GetRecentLocations | Raw.messages.SendMultiMedia | Raw.messages.UploadEncryptedFile | Raw.messages.SearchStickerSets | Raw.messages.GetSplitRanges | Raw.messages.MarkDialogUnread | Raw.messages.GetDialogUnreadMarks | Raw.messages.ClearAllDrafts | Raw.messages.UpdatePinnedMessage | Raw.messages.SendVote | Raw.messages.GetPollResults | Raw.messages.GetOnlines | Raw.messages.EditChatAbout | Raw.messages.EditChatDefaultBannedRights | Raw.messages.GetEmojiKeywords | Raw.messages.GetEmojiKeywordsDifference | Raw.messages.GetEmojiKeywordsLanguages | Raw.messages.GetEmojiURL | Raw.messages.GetSearchCounters | Raw.messages.RequestUrlAuth | Raw.messages.AcceptUrlAuth | Raw.messages.HidePeerSettingsBar | Raw.messages.GetScheduledHistory | Raw.messages.GetScheduledMessages | Raw.messages.SendScheduledMessages | Raw.messages.DeleteScheduledMessages | Raw.messages.GetPollVotes | Raw.messages.ToggleStickerSets | Raw.messages.GetDialogFilters | Raw.messages.GetSuggestedDialogFilters | Raw.messages.UpdateDialogFilter | Raw.messages.UpdateDialogFiltersOrder | Raw.messages.GetOldFeaturedStickers | Raw.messages.GetReplies | Raw.messages.GetDiscussionMessage | Raw.messages.ReadDiscussion | Raw.messages.UnpinAllMessages | Raw.messages.DeleteChat | Raw.messages.DeletePhoneCallHistory | Raw.messages.CheckHistoryImport | Raw.messages.InitHistoryImport | Raw.messages.UploadImportedMedia | Raw.messages.StartHistoryImport | Raw.messages.GetExportedChatInvites | Raw.messages.GetExportedChatInvite | Raw.messages.EditExportedChatInvite | Raw.messages.DeleteRevokedExportedChatInvites | Raw.messages.DeleteExportedChatInvite | Raw.messages.GetAdminsWithInvites | Raw.messages.GetChatInviteImporters | Raw.messages.SetHistoryTTL | Raw.messages.CheckHistoryImportPeer | Raw.messages.SetChatTheme | Raw.messages.GetMessageReadParticipants | Raw.messages.GetSearchResultsCalendar | Raw.messages.GetSearchResultsPositions | Raw.messages.HideChatJoinRequest | Raw.messages.HideAllChatJoinRequests | Raw.messages.ToggleNoForwards | Raw.messages.SaveDefaultSendAs | Raw.messages.SendReaction | Raw.messages.GetMessagesReactions | Raw.messages.GetMessageReactionsList | Raw.messages.SetChatAvailableReactions | Raw.messages.GetAvailableReactions | Raw.messages.SetDefaultReaction | Raw.messages.TranslateText | Raw.messages.GetUnreadReactions | Raw.messages.ReadReactions | Raw.messages.SearchSentMedia | Raw.messages.GetAttachMenuBots | Raw.messages.GetAttachMenuBot | Raw.messages.ToggleBotInAttachMenu | Raw.messages.RequestWebView | Raw.messages.ProlongWebView | Raw.messages.RequestSimpleWebView | Raw.messages.SendWebViewResultMessage | Raw.messages.SendWebViewData | Raw.messages.TranscribeAudio | Raw.messages.RateTranscribedAudio | Raw.messages.GetCustomEmojiDocuments | Raw.messages.GetEmojiStickers | Raw.messages.GetFeaturedEmojiStickers | Raw.messages.ReportReaction | Raw.messages.GetTopReactions | Raw.messages.GetRecentReactions | Raw.messages.ClearRecentReactions | Raw.messages.GetExtendedMedia | Raw.messages.SetDefaultHistoryTTL | Raw.messages.GetDefaultHistoryTTL | Raw.messages.SendBotRequestedPeer | Raw.messages.GetEmojiGroups | Raw.messages.GetEmojiStatusGroups | Raw.messages.GetEmojiProfilePhotoGroups | Raw.messages.SearchCustomEmoji | Raw.messages.TogglePeerTranslations | Raw.messages.GetBotApp | Raw.messages.RequestAppWebView | Raw.messages.SetChatWallPaper | Raw.messages.SearchEmojiStickerSets | Raw.messages.GetSavedDialogs | Raw.messages.GetSavedHistory | Raw.messages.DeleteSavedHistory | Raw.messages.GetPinnedSavedDialogs | Raw.messages.ToggleSavedDialogPin | Raw.messages.ReorderPinnedSavedDialogs | Raw.messages.GetSavedReactionTags | Raw.messages.UpdateSavedReactionTag | Raw.messages.GetDefaultTagReactions | Raw.messages.GetOutboxReadDate | Raw.messages.GetQuickReplies | Raw.messages.ReorderQuickReplies | Raw.messages.CheckQuickReplyShortcut | Raw.messages.EditQuickReplyShortcut | Raw.messages.DeleteQuickReplyShortcut | Raw.messages.GetQuickReplyMessages | Raw.messages.SendQuickReplyMessages | Raw.messages.DeleteQuickReplyMessages | Raw.messages.ToggleDialogFilterTags | Raw.messages.GetMyStickers | Raw.messages.GetEmojiStickerGroups | Raw.messages.GetAvailableEffects | Raw.messages.EditFactCheck | Raw.messages.DeleteFactCheck | Raw.messages.GetFactCheck | Raw.messages.RequestMainWebView | Raw.messages.SendPaidReaction | Raw.messages.TogglePaidReactionPrivacy | Raw.messages.GetPaidReactionPrivacy | Raw.messages.ViewSponsoredMessage | Raw.messages.ClickSponsoredMessage | Raw.messages.ReportSponsoredMessage | Raw.messages.GetSponsoredMessages | Raw.messages.SavePreparedInlineMessage | Raw.messages.GetPreparedInlineMessage | Raw.messages.SearchStickers | Raw.messages.ReportMessagesDelivery | Raw.messages.GetSavedDialogsByID | Raw.messages.ReadSavedHistory | Raw.messages.ToggleTodoCompleted | Raw.messages.AppendTodoList | Raw.messages.ToggleSuggestedPostApproval | Raw.messages.GetForumTopics | Raw.messages.GetForumTopicsByID | Raw.messages.EditForumTopic | Raw.messages.UpdatePinnedForumTopic | Raw.messages.ReorderPinnedForumTopics | Raw.messages.CreateForumTopic | Raw.messages.DeleteTopicHistory | Raw.messages.GetEmojiGameInfo | Raw.messages.SummarizeText | Raw.messages.EditChatCreator | Raw.messages.GetFutureChatCreatorAfterLeave | Raw.messages.EditChatParticipantRank | Raw.messages.DeclineUrlAuth | Raw.messages.CheckUrlAuthMatchCode | Raw.messages.ComposeMessageWithAI | Raw.messages.ReportReadMetrics | Raw.messages.ReportMusicListen | Raw.messages.AddPollAnswer | Raw.messages.DeletePollAnswer | Raw.messages.GetUnreadPollVotes | Raw.messages.ReadPollVotes | Raw.messages.SetBotGuestChatResult | Raw.messages.DeleteParticipantReactions | Raw.messages.DeleteParticipantReaction | Raw.messages.GetPersonalChannelHistory | Raw.messages.GetRichMessage | Raw.messages.TranslateRichMessage | Raw.messages.ComposeRichMessageWithAI | Raw.messages.RequestChatJoinWebView | Raw.updates.GetState | Raw.updates.GetDifference | Raw.updates.GetChannelDifference | Raw.photos.UpdateProfilePhoto | Raw.photos.UploadProfilePhoto | Raw.photos.DeletePhotos | Raw.photos.GetUserPhotos | Raw.photos.UploadContactProfilePhoto | Raw.upload.SaveFilePart | Raw.upload.GetFile | Raw.upload.SaveBigFilePart | Raw.upload.GetWebFile | Raw.upload.GetCdnFile | Raw.upload.ReuploadCdnFile | Raw.upload.GetCdnFileHashes | Raw.upload.GetFileHashes | Raw.help.GetConfig | Raw.help.GetNearestDc | Raw.help.GetAppUpdate | Raw.help.GetInviteText | Raw.help.GetSupport | Raw.help.SetBotUpdatesStatus | Raw.help.GetCdnConfig | Raw.help.GetRecentMeUrls | Raw.help.GetTermsOfServiceUpdate | Raw.help.AcceptTermsOfService | Raw.help.GetDeepLinkInfo | Raw.help.GetAppConfig | Raw.help.SaveAppLog | Raw.help.GetPassportConfig | Raw.help.GetSupportName | Raw.help.GetUserInfo | Raw.help.EditUserInfo | Raw.help.GetPromoData | Raw.help.HidePromoData | Raw.help.DismissSuggestion | Raw.help.GetCountriesList | Raw.help.GetPremiumPromo | Raw.help.GetPeerColors | Raw.help.GetPeerProfileColors | Raw.help.GetTimezonesList | Raw.channels.ReadHistory | Raw.channels.DeleteMessages | Raw.channels.ReportSpam | Raw.channels.GetMessages | Raw.channels.GetParticipants | Raw.channels.GetParticipant | Raw.channels.GetChannels | Raw.channels.GetFullChannel | Raw.channels.CreateChannel | Raw.channels.EditAdmin | Raw.channels.EditTitle | Raw.channels.EditPhoto | Raw.channels.CheckUsername | Raw.channels.UpdateUsername | Raw.channels.JoinChannel | Raw.channels.LeaveChannel | Raw.channels.InviteToChannel | Raw.channels.DeleteChannel | Raw.channels.ExportMessageLink | Raw.channels.ToggleSignatures | Raw.channels.GetAdminedPublicChannels | Raw.channels.EditBanned | Raw.channels.GetAdminLog | Raw.channels.SetStickers | Raw.channels.ReadMessageContents | Raw.channels.DeleteHistory | Raw.channels.TogglePreHistoryHidden | Raw.channels.GetLeftChannels | Raw.channels.GetGroupsForDiscussion | Raw.channels.SetDiscussionGroup | Raw.channels.EditLocation | Raw.channels.ToggleSlowMode | Raw.channels.GetInactiveChannels | Raw.channels.ConvertToGigagroup | Raw.channels.GetSendAs | Raw.channels.DeleteParticipantHistory | Raw.channels.ToggleJoinToSend | Raw.channels.ToggleJoinRequest | Raw.channels.ReorderUsernames | Raw.channels.ToggleUsername | Raw.channels.DeactivateAllUsernames | Raw.channels.ToggleForum | Raw.channels.ToggleAntiSpam | Raw.channels.ReportAntiSpamFalsePositive | Raw.channels.ToggleParticipantsHidden | Raw.channels.UpdateColor | Raw.channels.ToggleViewForumAsMessages | Raw.channels.GetChannelRecommendations | Raw.channels.UpdateEmojiStatus | Raw.channels.SetBoostsToUnblockRestrictions | Raw.channels.SetEmojiStickers | Raw.channels.RestrictSponsoredMessages | Raw.channels.SearchPosts | Raw.channels.UpdatePaidMessagesPrice | Raw.channels.ToggleAutotranslation | Raw.channels.GetMessageAuthor | Raw.channels.CheckSearchPostsFlood | Raw.channels.SetMainProfileTab | Raw.bots.SendCustomRequest | Raw.bots.AnswerWebhookJSONQuery | Raw.bots.SetBotCommands | Raw.bots.ResetBotCommands | Raw.bots.GetBotCommands | Raw.bots.SetBotMenuButton | Raw.bots.GetBotMenuButton | Raw.bots.SetBotBroadcastDefaultAdminRights | Raw.bots.SetBotGroupDefaultAdminRights | Raw.bots.SetBotInfo | Raw.bots.GetBotInfo | Raw.bots.ReorderUsernames | Raw.bots.ToggleUsername | Raw.bots.CanSendMessage | Raw.bots.AllowSendMessage | Raw.bots.InvokeWebViewCustomMethod | Raw.bots.GetPopularAppBots | Raw.bots.AddPreviewMedia | Raw.bots.EditPreviewMedia | Raw.bots.DeletePreviewMedia | Raw.bots.ReorderPreviewMedias | Raw.bots.GetPreviewInfo | Raw.bots.GetPreviewMedias | Raw.bots.UpdateUserEmojiStatus | Raw.bots.ToggleUserEmojiStatusPermission | Raw.bots.CheckDownloadFileParams | Raw.bots.GetAdminedBots | Raw.bots.UpdateStarRefProgram | Raw.bots.SetCustomVerification | Raw.bots.GetBotRecommendations | Raw.bots.CheckUsername | Raw.bots.CreateBot | Raw.bots.ExportBotToken | Raw.bots.RequestWebViewButton | Raw.bots.GetRequestedWebViewButton | Raw.bots.GetAccessSettings | Raw.bots.EditAccessSettings | Raw.bots.SetJoinChatResults | Raw.payments.GetPaymentForm | Raw.payments.GetPaymentReceipt | Raw.payments.ValidateRequestedInfo | Raw.payments.SendPaymentForm | Raw.payments.GetSavedInfo | Raw.payments.ClearSavedInfo | Raw.payments.GetBankCardData | Raw.payments.ExportInvoice | Raw.payments.AssignAppStoreTransaction | Raw.payments.AssignPlayMarketTransaction | Raw.payments.GetPremiumGiftCodeOptions | Raw.payments.CheckGiftCode | Raw.payments.ApplyGiftCode | Raw.payments.GetGiveawayInfo | Raw.payments.LaunchPrepaidGiveaway | Raw.payments.GetStarsTopupOptions | Raw.payments.GetStarsStatus | Raw.payments.GetStarsTransactions | Raw.payments.SendStarsForm | Raw.payments.RefundStarsCharge | Raw.payments.GetStarsRevenueStats | Raw.payments.GetStarsRevenueWithdrawalUrl | Raw.payments.GetStarsRevenueAdsAccountUrl | Raw.payments.GetStarsTransactionsByID | Raw.payments.GetStarsGiftOptions | Raw.payments.GetStarsSubscriptions | Raw.payments.ChangeStarsSubscription | Raw.payments.FulfillStarsSubscription | Raw.payments.GetStarsGiveawayOptions | Raw.payments.GetStarGifts | Raw.payments.SaveStarGift | Raw.payments.ConvertStarGift | Raw.payments.BotCancelStarsSubscription | Raw.payments.GetConnectedStarRefBots | Raw.payments.GetConnectedStarRefBot | Raw.payments.GetSuggestedStarRefBots | Raw.payments.ConnectStarRefBot | Raw.payments.EditConnectedStarRefBot | Raw.payments.GetStarGiftUpgradePreview | Raw.payments.UpgradeStarGift | Raw.payments.TransferStarGift | Raw.payments.GetUniqueStarGift | Raw.payments.GetSavedStarGifts | Raw.payments.GetSavedStarGift | Raw.payments.GetStarGiftWithdrawalUrl | Raw.payments.ToggleChatStarGiftNotifications | Raw.payments.ToggleStarGiftsPinnedToTop | Raw.payments.CanPurchaseStore | Raw.payments.GetResaleStarGifts | Raw.payments.UpdateStarGiftPrice | Raw.payments.CreateStarGiftCollection | Raw.payments.UpdateStarGiftCollection | Raw.payments.ReorderStarGiftCollections | Raw.payments.DeleteStarGiftCollection | Raw.payments.GetStarGiftCollections | Raw.payments.GetUniqueStarGiftValueInfo | Raw.payments.CheckCanSendGift | Raw.payments.GetStarGiftAuctionState | Raw.payments.GetStarGiftAuctionAcquiredGifts | Raw.payments.GetStarGiftActiveAuctions | Raw.payments.ResolveStarGiftOffer | Raw.payments.SendStarGiftOffer | Raw.payments.GetStarGiftUpgradeAttributes | Raw.payments.GetCraftStarGifts | Raw.payments.CraftStarGift | Raw.stickers.CreateStickerSet | Raw.stickers.RemoveStickerFromSet | Raw.stickers.ChangeStickerPosition | Raw.stickers.AddStickerToSet | Raw.stickers.SetStickerSetThumb | Raw.stickers.CheckShortName | Raw.stickers.SuggestShortName | Raw.stickers.ChangeSticker | Raw.stickers.RenameStickerSet | Raw.stickers.DeleteStickerSet | Raw.stickers.ReplaceSticker | Raw.phone.GetCallConfig | Raw.phone.RequestCall | Raw.phone.AcceptCall | Raw.phone.ConfirmCall | Raw.phone.ReceivedCall | Raw.phone.DiscardCall | Raw.phone.SetCallRating | Raw.phone.SaveCallDebug | Raw.phone.SendSignalingData | Raw.phone.CreateGroupCall | Raw.phone.JoinGroupCall | Raw.phone.LeaveGroupCall | Raw.phone.InviteToGroupCall | Raw.phone.DiscardGroupCall | Raw.phone.ToggleGroupCallSettings | Raw.phone.GetGroupCall | Raw.phone.GetGroupParticipants | Raw.phone.CheckGroupCall | Raw.phone.ToggleGroupCallRecord | Raw.phone.EditGroupCallParticipant | Raw.phone.EditGroupCallTitle | Raw.phone.GetGroupCallJoinAs | Raw.phone.ExportGroupCallInvite | Raw.phone.ToggleGroupCallStartSubscription | Raw.phone.StartScheduledGroupCall | Raw.phone.SaveDefaultGroupCallJoinAs | Raw.phone.JoinGroupCallPresentation | Raw.phone.LeaveGroupCallPresentation | Raw.phone.GetGroupCallStreamChannels | Raw.phone.GetGroupCallStreamRtmpUrl | Raw.phone.SaveCallLog | Raw.phone.CreateConferenceCall | Raw.phone.DeleteConferenceCallParticipants | Raw.phone.SendConferenceCallBroadcast | Raw.phone.InviteConferenceCallParticipant | Raw.phone.DeclineConferenceCallInvite | Raw.phone.GetGroupCallChainBlocks | Raw.phone.SendGroupCallMessage | Raw.phone.SendGroupCallEncryptedMessage | Raw.phone.DeleteGroupCallMessages | Raw.phone.DeleteGroupCallParticipantMessages | Raw.phone.GetGroupCallStars | Raw.phone.SaveDefaultSendAs | Raw.langpack.GetLangPack | Raw.langpack.GetStrings | Raw.langpack.GetDifference | Raw.langpack.GetLanguages | Raw.langpack.GetLanguage | Raw.folders.EditPeerFolders | Raw.stats.GetBroadcastStats | Raw.stats.LoadAsyncGraph | Raw.stats.GetMegagroupStats | Raw.stats.GetMessagePublicForwards | Raw.stats.GetMessageStats | Raw.stats.GetStoryStats | Raw.stats.GetStoryPublicForwards | Raw.stats.GetPollStats | Raw.chatlists.ExportChatlistInvite | Raw.chatlists.DeleteExportedInvite | Raw.chatlists.EditExportedInvite | Raw.chatlists.GetExportedInvites | Raw.chatlists.CheckChatlistInvite | Raw.chatlists.JoinChatlistInvite | Raw.chatlists.GetChatlistUpdates | Raw.chatlists.JoinChatlistUpdates | Raw.chatlists.HideChatlistUpdates | Raw.chatlists.GetLeaveChatlistSuggestions | Raw.chatlists.LeaveChatlist | Raw.stories.CanSendStory | Raw.stories.SendStory | Raw.stories.EditStory | Raw.stories.DeleteStories | Raw.stories.TogglePinned | Raw.stories.GetAllStories | Raw.stories.GetPinnedStories | Raw.stories.GetStoriesArchive | Raw.stories.GetStoriesByID | Raw.stories.ToggleAllStoriesHidden | Raw.stories.ReadStories | Raw.stories.IncrementStoryViews | Raw.stories.GetStoryViewsList | Raw.stories.GetStoriesViews | Raw.stories.ExportStoryLink | Raw.stories.Report | Raw.stories.ActivateStealthMode | Raw.stories.SendReaction | Raw.stories.GetPeerStories | Raw.stories.GetAllReadPeerStories | Raw.stories.GetPeerMaxIDs | Raw.stories.GetChatsToSend | Raw.stories.TogglePeerStoriesHidden | Raw.stories.GetStoryReactionsList | Raw.stories.TogglePinnedToTop | Raw.stories.SearchPosts | Raw.stories.CreateAlbum | Raw.stories.UpdateAlbum | Raw.stories.ReorderAlbums | Raw.stories.DeleteAlbum | Raw.stories.GetAlbums | Raw.stories.GetAlbumStories | Raw.stories.StartLive | Raw.premium.GetBoostsList | Raw.premium.GetMyBoosts | Raw.premium.ApplyBoost | Raw.premium.GetBoostsStatus | Raw.premium.GetUserBoosts | Raw.smsjobs.IsEligibleToJoin | Raw.smsjobs.Join | Raw.smsjobs.Leave | Raw.smsjobs.UpdateSettings | Raw.smsjobs.GetStatus | Raw.smsjobs.GetSmsJob | Raw.smsjobs.FinishJob | Raw.fragment.GetCollectibleInfo | Raw.aicompose.CreateTone | Raw.aicompose.UpdateTone | Raw.aicompose.SaveTone | Raw.aicompose.DeleteTone | Raw.aicompose.GetTone | Raw.aicompose.GetTones | Raw.aicompose.GetToneExample | Raw.communities.Create | Raw.communities.TogglePeerLink | Raw.communities.GetJoinedCommunities | Raw.communities.ToggleCommunityCollapsedInDialogs | Raw.communities.GetPeerLinkRequests | Raw.communities.TogglePeerLinkRequestApproval | Raw.communities.ToggleAllPeerLinkRequestApproval | Raw.communities.ToggleParticipantBanned | Raw.communities.GetParticipantJoinedChats | Raw.ephemeral.SendMessage | Raw.ephemeral.DeleteMessage | Raw.ephemeral.ReportMessage | Raw.ephemeral.GetCallbackAnswer | Raw.ephemeral.EditMessage | Raw.ephemeral.DeleteWelcomeMessage | Raw.ephemeral.DeleteAllWelcomeMessages | Raw.ephemeral.GetWelcomeMessages;
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;
@@ -127,6 +127,8 @@ export declare namespace Raw {
127
127
  type TypeEmailVerification = Raw.EmailVerificationCode | Raw.EmailVerificationGoogle | Raw.EmailVerificationApple;
128
128
  type TypeCodeSettings = Raw.CodeSettings;
129
129
  type TypeInputClientProxy = Raw.InputClientProxy;
130
+ type TypeKeyboardInlineButton = Raw.KeyboardInlineButton;
131
+ type TypeRequestPeerType = Raw.RequestPeerTypeUser | Raw.RequestPeerTypeChat | Raw.RequestPeerTypeBroadcast | Raw.RequestPeerTypeCreateBot;
130
132
  type TypeCommunityPeerRequest = Raw.CommunityPeerRequest;
131
133
  type TypeInputRichFile = Raw.InputRichFilePhoto | Raw.InputRichFileDocument;
132
134
  type TypeAiComposeTone = Raw.AiComposeTone | Raw.AiComposeToneDefault;
@@ -249,13 +251,16 @@ export declare namespace Raw {
249
251
  type TypePaymentSavedCredentials = Raw.PaymentSavedCredentialsCard;
250
252
  type TypePaymentFormMethod = Raw.PaymentFormMethod;
251
253
  type TypeLabeledPrice = Raw.LabeledPrice;
254
+ type TypePageButton = Raw.PageButton;
252
255
  type TypePageRelatedArticle = Raw.PageRelatedArticle;
253
256
  type TypePageListOrderedItem = Raw.PageListOrderedItemText | Raw.PageListOrderedItemBlocks;
254
257
  type TypePageTableRow = Raw.PageTableRow;
255
- 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;
258
+ 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 | Raw.PageBlockButtonRow | Raw.PageBlockDocument;
256
259
  type TypePageCaption = Raw.PageCaption;
257
260
  type TypePageListItem = Raw.PageListItemText | Raw.PageListItemBlocks;
258
- type TypeRichText = Raw.TextEmpty | Raw.TextPlain | Raw.TextBold | Raw.TextItalic | Raw.TextUnderline | Raw.TextStrike | Raw.TextFixed | Raw.TextUrl | Raw.TextEmail | Raw.TextConcat | Raw.TextSubscript | Raw.TextSuperscript | Raw.TextMarked | Raw.TextPhone | Raw.TextImage | Raw.TextAnchor | Raw.TextMath | Raw.TextCustomEmoji | Raw.TextSpoiler | Raw.TextMention | Raw.TextHashtag | Raw.TextBotCommand | Raw.TextCashtag | Raw.TextAutoUrl | Raw.TextAutoEmail | Raw.TextAutoPhone | Raw.TextBankCard | Raw.TextMentionName | Raw.TextDate | Raw.TextDiff;
261
+ type TypeRichButtonStyle = Raw.RichButtonStyle;
262
+ type TypeInlineButtonType = Raw.InlineButtonTypeUrl | Raw.InlineButtonTypeUrlAuth | Raw.InputInlineButtonTypeUrlAuth | Raw.InlineButtonTypeWebView | Raw.InlineButtonTypeCallback | Raw.InlineButtonTypeGame | Raw.InlineButtonTypeBuy | Raw.InlineButtonTypeSwitchInline | Raw.InlineButtonTypeUserProfile | Raw.InputInlineButtonTypeUserProfile | Raw.InlineButtonTypeCopy | Raw.InlineButtonTypeDisabled;
263
+ type TypeRichText = Raw.TextEmpty | Raw.TextPlain | Raw.TextBold | Raw.TextItalic | Raw.TextUnderline | Raw.TextStrike | Raw.TextFixed | Raw.TextUrl | Raw.TextEmail | Raw.TextConcat | Raw.TextSubscript | Raw.TextSuperscript | Raw.TextMarked | Raw.TextPhone | Raw.TextImage | Raw.TextAnchor | Raw.TextMath | Raw.TextCustomEmoji | Raw.TextSpoiler | Raw.TextMention | Raw.TextHashtag | Raw.TextBotCommand | Raw.TextCashtag | Raw.TextAutoUrl | Raw.TextAutoEmail | Raw.TextAutoPhone | Raw.TextBankCard | Raw.TextMentionName | Raw.TextDate | Raw.TextDiff | Raw.TextButton;
259
264
  type TypeHighScore = Raw.HighScore;
260
265
  type TypeStickerSetCovered = Raw.StickerSetCovered | Raw.StickerSetMultiCovered | Raw.StickerSetFullCovered | Raw.StickerSetNoCovered;
261
266
  type TypeInputReplyTo = Raw.InputReplyToMessage | Raw.InputReplyToStory | Raw.InputReplyToMonoForum | Raw.InputReplyToEphemeralMessage;
@@ -268,9 +273,10 @@ export declare namespace Raw {
268
273
  type TypeBotInlineMessage = Raw.BotInlineMessageMediaAuto | Raw.BotInlineMessageText | Raw.BotInlineMessageMediaGeo | Raw.BotInlineMessageMediaVenue | Raw.BotInlineMessageMediaContact | Raw.BotInlineMessageMediaInvoice | Raw.BotInlineMessageMediaWebPage | Raw.BotInlineMessageRichMessage;
269
274
  type TypeInputBotInlineMessage = Raw.InputBotInlineMessageMediaAuto | Raw.InputBotInlineMessageText | Raw.InputBotInlineMessageMediaGeo | Raw.InputBotInlineMessageMediaVenue | Raw.InputBotInlineMessageMediaContact | Raw.InputBotInlineMessageGame | Raw.InputBotInlineMessageMediaInvoice | Raw.InputBotInlineMessageMediaWebPage | Raw.InputBotInlineMessageRichMessage;
270
275
  type TypeMessageRange = Raw.MessageRange;
276
+ type TypeKeyboardInlineButtonRow = Raw.KeyboardInlineButtonRow;
271
277
  type TypeKeyboardButtonRow = Raw.KeyboardButtonRow;
272
- 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;
273
- type TypeRequestPeerType = Raw.RequestPeerTypeUser | Raw.RequestPeerTypeChat | Raw.RequestPeerTypeBroadcast | Raw.RequestPeerTypeCreateBot;
278
+ type TypeKeyboardButton = Raw.KeyboardButton;
279
+ type TypeButtonType = Raw.ButtonTypeDefault | Raw.ButtonTypeRequestPhone | Raw.ButtonTypeRequestGeoLocation | Raw.ButtonTypeRequestPoll | Raw.ButtonTypeRequestPeer | Raw.InputButtonTypeRequestPeer | Raw.ButtonTypeSimpleWebView;
274
280
  type TypeKeyboardButtonStyle = Raw.KeyboardButtonStyle;
275
281
  type TypeBotVerifierSettings = Raw.BotVerifierSettings;
276
282
  type TypeBotAppSettings = Raw.BotAppSettings;
@@ -288,7 +294,7 @@ export declare namespace Raw {
288
294
  type TypeInputRichMessage = Raw.InputRichMessage | Raw.InputRichMessageHTML | Raw.InputRichMessageMarkdown;
289
295
  type TypeEncryptedFile = Raw.EncryptedFileEmpty | Raw.EncryptedFile;
290
296
  type TypeFileHash = Raw.FileHash;
291
- type TypeUpdate = Raw.UpdateNewMessage | Raw.UpdateMessageID | Raw.UpdateDeleteMessages | Raw.UpdateUserTyping | Raw.UpdateChatUserTyping | Raw.UpdateChatParticipants | Raw.UpdateUserStatus | Raw.UpdateUserName | Raw.UpdateNewAuthorization | Raw.UpdateNewEncryptedMessage | Raw.UpdateEncryptedChatTyping | Raw.UpdateEncryption | Raw.UpdateEncryptedMessagesRead | Raw.UpdateChatParticipantAdd | Raw.UpdateChatParticipantDelete | Raw.UpdateDcOptions | Raw.UpdateNotifySettings | Raw.UpdateServiceNotification | Raw.UpdatePrivacy | Raw.UpdateUserPhone | Raw.UpdateReadHistoryInbox | Raw.UpdateReadHistoryOutbox | Raw.UpdateWebPage | Raw.UpdateReadMessagesContents | Raw.UpdateChannelTooLong | Raw.UpdateChannel | Raw.UpdateNewChannelMessage | Raw.UpdateReadChannelInbox | Raw.UpdateDeleteChannelMessages | Raw.UpdateChannelMessageViews | Raw.UpdateChatParticipantAdmin | Raw.UpdateNewStickerSet | Raw.UpdateStickerSetsOrder | Raw.UpdateStickerSets | Raw.UpdateSavedGifs | Raw.UpdateBotInlineQuery | Raw.UpdateBotInlineSend | Raw.UpdateEditChannelMessage | Raw.UpdateBotCallbackQuery | Raw.UpdateEditMessage | Raw.UpdateInlineBotCallbackQuery | Raw.UpdateReadChannelOutbox | Raw.UpdateDraftMessage | Raw.UpdateReadFeaturedStickers | Raw.UpdateRecentStickers | Raw.UpdateConfig | Raw.UpdatePtsChanged | Raw.UpdateChannelWebPage | Raw.UpdateDialogPinned | Raw.UpdatePinnedDialogs | Raw.UpdateBotWebhookJSON | Raw.UpdateBotWebhookJSONQuery | Raw.UpdateBotShippingQuery | Raw.UpdateBotPrecheckoutQuery | Raw.UpdatePhoneCall | Raw.UpdateLangPackTooLong | Raw.UpdateLangPack | Raw.UpdateFavedStickers | Raw.UpdateChannelReadMessagesContents | Raw.UpdateContactsReset | Raw.UpdateChannelAvailableMessages | Raw.UpdateDialogUnreadMark | Raw.UpdateMessagePoll | Raw.UpdateChatDefaultBannedRights | Raw.UpdateFolderPeers | Raw.UpdatePeerSettings | Raw.UpdatePeerLocated | Raw.UpdateNewScheduledMessage | Raw.UpdateDeleteScheduledMessages | Raw.UpdateTheme | Raw.UpdateGeoLiveViewed | Raw.UpdateLoginToken | Raw.UpdateMessagePollVote | Raw.UpdateDialogFilter | Raw.UpdateDialogFilterOrder | Raw.UpdateDialogFilters | Raw.UpdatePhoneCallSignalingData | Raw.UpdateChannelMessageForwards | Raw.UpdateReadChannelDiscussionInbox | Raw.UpdateReadChannelDiscussionOutbox | Raw.UpdatePeerBlocked | Raw.UpdateChannelUserTyping | Raw.UpdatePinnedMessages | Raw.UpdatePinnedChannelMessages | Raw.UpdateChat | Raw.UpdateGroupCallParticipants | Raw.UpdateGroupCall | Raw.UpdatePeerHistoryTTL | Raw.UpdateChatParticipant | Raw.UpdateChannelParticipant | Raw.UpdateBotStopped | Raw.UpdateGroupCallConnection | Raw.UpdateBotCommands | Raw.UpdatePendingJoinRequests | Raw.UpdateBotChatInviteRequester | Raw.UpdateMessageReactions | Raw.UpdateAttachMenuBots | Raw.UpdateWebViewResultSent | Raw.UpdateBotMenuButton | Raw.UpdateSavedRingtones | Raw.UpdateTranscribedAudio | Raw.UpdateReadFeaturedEmojiStickers | Raw.UpdateUserEmojiStatus | Raw.UpdateRecentEmojiStatuses | Raw.UpdateRecentReactions | Raw.UpdateMoveStickerSetToTop | Raw.UpdateMessageExtendedMedia | Raw.UpdateUser | Raw.UpdateAutoSaveSettings | Raw.UpdateStory | Raw.UpdateReadStories | Raw.UpdateStoryID | Raw.UpdateStoriesStealthMode | Raw.UpdateSentStoryReaction | Raw.UpdateBotChatBoost | Raw.UpdateChannelViewForumAsMessages | Raw.UpdatePeerWallpaper | Raw.UpdateBotMessageReaction | Raw.UpdateBotMessageReactions | Raw.UpdateSavedDialogPinned | Raw.UpdatePinnedSavedDialogs | Raw.UpdateSavedReactionTags | Raw.UpdateSmsJob | Raw.UpdateQuickReplies | Raw.UpdateNewQuickReply | Raw.UpdateDeleteQuickReply | Raw.UpdateQuickReplyMessage | Raw.UpdateDeleteQuickReplyMessages | Raw.UpdateBotBusinessConnect | Raw.UpdateBotNewBusinessMessage | Raw.UpdateBotEditBusinessMessage | Raw.UpdateBotDeleteBusinessMessage | Raw.UpdateNewStoryReaction | Raw.UpdateStarsBalance | Raw.UpdateBusinessBotCallbackQuery | Raw.UpdateStarsRevenueStatus | Raw.UpdateBotPurchasedPaidMedia | Raw.UpdatePaidReactionPrivacy | Raw.UpdateSentPhoneCode | Raw.UpdateGroupCallChainBlocks | Raw.UpdateReadMonoForumInbox | Raw.UpdateReadMonoForumOutbox | Raw.UpdateMonoForumNoPaidException | Raw.UpdateGroupCallMessage | Raw.UpdateGroupCallEncryptedMessage | Raw.UpdatePinnedForumTopic | Raw.UpdatePinnedForumTopics | Raw.UpdateDeleteGroupCallMessages | Raw.UpdateStarGiftAuctionState | Raw.UpdateStarGiftAuctionUserState | Raw.UpdateEmojiGameInfo | Raw.UpdateStarGiftCraftFail | Raw.UpdateChatParticipantRank | Raw.UpdateManagedBot | Raw.UpdateBotGuestChatQuery | Raw.UpdateAiComposeTones | Raw.UpdateJoinChatWebViewDecision | Raw.UpdateNewBotConnection | Raw.UpdateWebBrowserSettings | Raw.UpdateWebBrowserException | Raw.UpdateNewEphemeralMessage | Raw.UpdateDeleteEphemeralMessages | Raw.UpdateEditEphemeralMessage | Raw.UpdateBotStarsSubscription | UpdateSecretChatMessage;
297
+ type TypeUpdate = Raw.UpdateNewMessage | Raw.UpdateMessageID | Raw.UpdateDeleteMessages | Raw.UpdateUserTyping | Raw.UpdateChatUserTyping | Raw.UpdateChatParticipants | Raw.UpdateUserStatus | Raw.UpdateUserName | Raw.UpdateNewAuthorization | Raw.UpdateNewEncryptedMessage | Raw.UpdateEncryptedChatTyping | Raw.UpdateEncryption | Raw.UpdateEncryptedMessagesRead | Raw.UpdateChatParticipantAdd | Raw.UpdateChatParticipantDelete | Raw.UpdateDcOptions | Raw.UpdateNotifySettings | Raw.UpdateServiceNotification | Raw.UpdatePrivacy | Raw.UpdateUserPhone | Raw.UpdateReadHistoryInbox | Raw.UpdateReadHistoryOutbox | Raw.UpdateWebPage | Raw.UpdateReadMessagesContents | Raw.UpdateChannelTooLong | Raw.UpdateChannel | Raw.UpdateNewChannelMessage | Raw.UpdateReadChannelInbox | Raw.UpdateDeleteChannelMessages | Raw.UpdateChannelMessageViews | Raw.UpdateChatParticipantAdmin | Raw.UpdateNewStickerSet | Raw.UpdateStickerSetsOrder | Raw.UpdateStickerSets | Raw.UpdateSavedGifs | Raw.UpdateBotInlineQuery | Raw.UpdateBotInlineSend | Raw.UpdateEditChannelMessage | Raw.UpdateBotCallbackQuery | Raw.UpdateEditMessage | Raw.UpdateInlineBotCallbackQuery | Raw.UpdateReadChannelOutbox | Raw.UpdateDraftMessage | Raw.UpdateReadFeaturedStickers | Raw.UpdateRecentStickers | Raw.UpdateConfig | Raw.UpdatePtsChanged | Raw.UpdateChannelWebPage | Raw.UpdateDialogPinned | Raw.UpdatePinnedDialogs | Raw.UpdateBotWebhookJSON | Raw.UpdateBotWebhookJSONQuery | Raw.UpdateBotShippingQuery | Raw.UpdateBotPrecheckoutQuery | Raw.UpdatePhoneCall | Raw.UpdateLangPackTooLong | Raw.UpdateLangPack | Raw.UpdateFavedStickers | Raw.UpdateChannelReadMessagesContents | Raw.UpdateContactsReset | Raw.UpdateChannelAvailableMessages | Raw.UpdateDialogUnreadMark | Raw.UpdateMessagePoll | Raw.UpdateChatDefaultBannedRights | Raw.UpdateFolderPeers | Raw.UpdatePeerSettings | Raw.UpdatePeerLocated | Raw.UpdateNewScheduledMessage | Raw.UpdateDeleteScheduledMessages | Raw.UpdateTheme | Raw.UpdateGeoLiveViewed | Raw.UpdateLoginToken | Raw.UpdateMessagePollVote | Raw.UpdateDialogFilter | Raw.UpdateDialogFilterOrder | Raw.UpdateDialogFilters | Raw.UpdatePhoneCallSignalingData | Raw.UpdateChannelMessageForwards | Raw.UpdateReadChannelDiscussionInbox | Raw.UpdateReadChannelDiscussionOutbox | Raw.UpdatePeerBlocked | Raw.UpdateChannelUserTyping | Raw.UpdatePinnedMessages | Raw.UpdatePinnedChannelMessages | Raw.UpdateChat | Raw.UpdateGroupCallParticipants | Raw.UpdateGroupCall | Raw.UpdatePeerHistoryTTL | Raw.UpdateChatParticipant | Raw.UpdateChannelParticipant | Raw.UpdateBotStopped | Raw.UpdateGroupCallConnection | Raw.UpdateBotCommands | Raw.UpdatePendingJoinRequests | Raw.UpdateBotChatInviteRequester | Raw.UpdateMessageReactions | Raw.UpdateAttachMenuBots | Raw.UpdateWebViewResultSent | Raw.UpdateBotMenuButton | Raw.UpdateSavedRingtones | Raw.UpdateTranscribedAudio | Raw.UpdateReadFeaturedEmojiStickers | Raw.UpdateUserEmojiStatus | Raw.UpdateRecentEmojiStatuses | Raw.UpdateRecentReactions | Raw.UpdateMoveStickerSetToTop | Raw.UpdateMessageExtendedMedia | Raw.UpdateUser | Raw.UpdateAutoSaveSettings | Raw.UpdateStory | Raw.UpdateReadStories | Raw.UpdateStoryID | Raw.UpdateStoriesStealthMode | Raw.UpdateSentStoryReaction | Raw.UpdateBotChatBoost | Raw.UpdateChannelViewForumAsMessages | Raw.UpdatePeerWallpaper | Raw.UpdateBotMessageReaction | Raw.UpdateBotMessageReactions | Raw.UpdateSavedDialogPinned | Raw.UpdatePinnedSavedDialogs | Raw.UpdateSavedReactionTags | Raw.UpdateSmsJob | Raw.UpdateQuickReplies | Raw.UpdateNewQuickReply | Raw.UpdateDeleteQuickReply | Raw.UpdateQuickReplyMessage | Raw.UpdateDeleteQuickReplyMessages | Raw.UpdateBotBusinessConnect | Raw.UpdateBotNewBusinessMessage | Raw.UpdateBotEditBusinessMessage | Raw.UpdateBotDeleteBusinessMessage | Raw.UpdateNewStoryReaction | Raw.UpdateStarsBalance | Raw.UpdateBusinessBotCallbackQuery | Raw.UpdateStarsRevenueStatus | Raw.UpdateBotPurchasedPaidMedia | Raw.UpdatePaidReactionPrivacy | Raw.UpdateSentPhoneCode | Raw.UpdateGroupCallChainBlocks | Raw.UpdateReadMonoForumInbox | Raw.UpdateReadMonoForumOutbox | Raw.UpdateMonoForumNoPaidException | Raw.UpdateGroupCallMessage | Raw.UpdateGroupCallEncryptedMessage | Raw.UpdatePinnedForumTopic | Raw.UpdatePinnedForumTopics | Raw.UpdateDeleteGroupCallMessages | Raw.UpdateStarGiftAuctionState | Raw.UpdateStarGiftAuctionUserState | Raw.UpdateEmojiGameInfo | Raw.UpdateStarGiftCraftFail | Raw.UpdateChatParticipantRank | Raw.UpdateManagedBot | Raw.UpdateBotGuestChatQuery | Raw.UpdateAiComposeTones | Raw.UpdateJoinChatWebViewDecision | Raw.UpdateNewBotConnection | Raw.UpdateWebBrowserSettings | Raw.UpdateWebBrowserException | Raw.UpdateNewEphemeralMessage | Raw.UpdateDeleteEphemeralMessages | Raw.UpdateEditEphemeralMessage | Raw.UpdateEphemeralBotCallbackQuery | Raw.UpdateBotStarsSubscription | UpdateSecretChatMessage;
292
298
  type TypeEphemeralMessage = Raw.EphemeralMessage;
293
299
  type TypeWebDomainException = Raw.WebDomainException;
294
300
  type TypeJoinChatBotResult = Raw.JoinChatBotResultApproved | Raw.JoinChatBotResultDeclined | Raw.JoinChatBotResultQueued | Raw.JoinChatBotResultWebView;
@@ -324,7 +330,7 @@ export declare namespace Raw {
324
330
  type TypeDcOption = Raw.DcOption;
325
331
  type TypeEncryptedChat = Raw.EncryptedChatEmpty | Raw.EncryptedChatWaiting | Raw.EncryptedChatRequested | Raw.EncryptedChat | Raw.EncryptedChatDiscarded;
326
332
  type TypeEncryptedMessage = Raw.EncryptedMessage | Raw.EncryptedMessageService;
327
- 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;
333
+ 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.SendMessageStopDraftAction | Raw.SendMessageUploadVideoAction17 | Raw.SendMessageUploadAudioAction17 | Raw.SendMessageUploadPhotoAction17 | Raw.SendMessageUploadDocumentAction17 | Raw.SendMessageUploadRoundAction66;
328
334
  type TypeChatFull = Raw.ChatFull | Raw.ChannelFull | Raw.CommunityFull;
329
335
  type TypeSearchPostsFlood = Raw.SearchPostsFlood;
330
336
  type TypeForumTopic = Raw.ForumTopicDeleted | Raw.ForumTopic;
@@ -2899,6 +2905,7 @@ export declare namespace Raw {
2899
2905
  canSetUsername?: boolean;
2900
2906
  hasScheduled?: boolean;
2901
2907
  translationsDisabled?: boolean;
2908
+ hasWelcomeMessages?: boolean;
2902
2909
  id: long;
2903
2910
  about: string;
2904
2911
  participants: Raw.TypeChatParticipants;
@@ -2920,6 +2927,7 @@ export declare namespace Raw {
2920
2927
  canSetUsername?: boolean;
2921
2928
  hasScheduled?: boolean;
2922
2929
  translationsDisabled?: boolean;
2930
+ hasWelcomeMessages?: boolean;
2923
2931
  id: long;
2924
2932
  about: string;
2925
2933
  participants: Raw.TypeChatParticipants;
@@ -2970,6 +2978,7 @@ export declare namespace Raw {
2970
2978
  paidReactionsAvailable?: boolean;
2971
2979
  stargiftsAvailable?: boolean;
2972
2980
  paidMessagesAvailable?: boolean;
2981
+ hasWelcomeMessages?: boolean;
2973
2982
  id: long;
2974
2983
  about: string;
2975
2984
  participantsCount?: int;
@@ -3038,6 +3047,7 @@ export declare namespace Raw {
3038
3047
  paidReactionsAvailable?: boolean;
3039
3048
  stargiftsAvailable?: boolean;
3040
3049
  paidMessagesAvailable?: boolean;
3050
+ hasWelcomeMessages?: boolean;
3041
3051
  id: long;
3042
3052
  about: string;
3043
3053
  participantsCount?: int;
@@ -4707,6 +4717,7 @@ export declare namespace Raw {
4707
4717
  assigned?: boolean;
4708
4718
  fromOffer?: boolean;
4709
4719
  craft?: boolean;
4720
+ nameHidden?: boolean;
4710
4721
  gift: Raw.TypeStarGift;
4711
4722
  canExportAt?: int;
4712
4723
  transferStars?: long;
@@ -4718,6 +4729,7 @@ export declare namespace Raw {
4718
4729
  canResellAt?: int;
4719
4730
  dropOriginalDetailsStars?: long;
4720
4731
  canCraftAt?: int;
4732
+ message?: Raw.TypeTextWithEntities;
4721
4733
  constructor(params: {
4722
4734
  upgrade?: boolean;
4723
4735
  transferred?: boolean;
@@ -4727,6 +4739,7 @@ export declare namespace Raw {
4727
4739
  assigned?: boolean;
4728
4740
  fromOffer?: boolean;
4729
4741
  craft?: boolean;
4742
+ nameHidden?: boolean;
4730
4743
  gift: Raw.TypeStarGift;
4731
4744
  canExportAt?: int;
4732
4745
  transferStars?: long;
@@ -4738,6 +4751,7 @@ export declare namespace Raw {
4738
4751
  canResellAt?: int;
4739
4752
  dropOriginalDetailsStars?: long;
4740
4753
  canCraftAt?: int;
4754
+ message?: Raw.TypeTextWithEntities;
4741
4755
  });
4742
4756
  /**
4743
4757
  * Generate the TLObject from buffer.
@@ -9115,6 +9129,33 @@ export declare namespace Raw {
9115
9129
  */
9116
9130
  write(): Buffer;
9117
9131
  }
9132
+ class UpdateEphemeralBotCallbackQuery extends TLObject {
9133
+ queryId: long;
9134
+ userId: long;
9135
+ peer?: Raw.TypePeer;
9136
+ msgId: int;
9137
+ data: bytes;
9138
+ chatInstance?: long;
9139
+ message: Raw.TypeEphemeralMessage;
9140
+ constructor(params: {
9141
+ queryId: long;
9142
+ userId: long;
9143
+ peer?: Raw.TypePeer;
9144
+ msgId: int;
9145
+ data: bytes;
9146
+ chatInstance?: long;
9147
+ message: Raw.TypeEphemeralMessage;
9148
+ });
9149
+ /**
9150
+ * Generate the TLObject from buffer.
9151
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
9152
+ */
9153
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.UpdateEphemeralBotCallbackQuery>;
9154
+ /**
9155
+ * Generate buffer from TLObject.
9156
+ */
9157
+ write(): Buffer;
9158
+ }
9118
9159
  class UpdateBotStarsSubscription extends TLObject {
9119
9160
  canceled?: boolean;
9120
9161
  paymentFailed?: boolean;
@@ -10174,9 +10215,13 @@ export declare namespace Raw {
10174
10215
  write(): Buffer;
10175
10216
  }
10176
10217
  class SendMessageTextDraftAction extends TLObject {
10218
+ canStop?: boolean;
10219
+ keepOnStop?: boolean;
10177
10220
  randomId: long;
10178
10221
  text: Raw.TypeTextWithEntities;
10179
10222
  constructor(params: {
10223
+ canStop?: boolean;
10224
+ keepOnStop?: boolean;
10180
10225
  randomId: long;
10181
10226
  text: Raw.TypeTextWithEntities;
10182
10227
  });
@@ -10191,9 +10236,13 @@ export declare namespace Raw {
10191
10236
  write(): Buffer;
10192
10237
  }
10193
10238
  class InputSendMessageRichMessageDraftAction extends TLObject {
10239
+ canStop?: boolean;
10240
+ keepOnStop?: boolean;
10194
10241
  randomId: long;
10195
10242
  richMessage: Raw.TypeInputRichMessage;
10196
10243
  constructor(params: {
10244
+ canStop?: boolean;
10245
+ keepOnStop?: boolean;
10197
10246
  randomId: long;
10198
10247
  richMessage: Raw.TypeInputRichMessage;
10199
10248
  });
@@ -10208,9 +10257,13 @@ export declare namespace Raw {
10208
10257
  write(): Buffer;
10209
10258
  }
10210
10259
  class SendMessageRichMessageDraftAction extends TLObject {
10260
+ canStop?: boolean;
10261
+ keepOnStop?: boolean;
10211
10262
  randomId: long;
10212
10263
  richMessage: Raw.TypeRichMessage;
10213
10264
  constructor(params: {
10265
+ canStop?: boolean;
10266
+ keepOnStop?: boolean;
10214
10267
  randomId: long;
10215
10268
  richMessage: Raw.TypeRichMessage;
10216
10269
  });
@@ -10224,6 +10277,21 @@ export declare namespace Raw {
10224
10277
  */
10225
10278
  write(): Buffer;
10226
10279
  }
10280
+ class SendMessageStopDraftAction extends TLObject {
10281
+ randomId: long;
10282
+ constructor(params: {
10283
+ randomId: long;
10284
+ });
10285
+ /**
10286
+ * Generate the TLObject from buffer.
10287
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
10288
+ */
10289
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.SendMessageStopDraftAction>;
10290
+ /**
10291
+ * Generate buffer from TLObject.
10292
+ */
10293
+ write(): Buffer;
10294
+ }
10227
10295
  class InputPrivacyKeyStatusTimestamp extends TLObject {
10228
10296
  constructor();
10229
10297
  /**
@@ -11619,9 +11687,11 @@ export declare namespace Raw {
11619
11687
  class KeyboardButton extends TLObject {
11620
11688
  style?: Raw.TypeKeyboardButtonStyle;
11621
11689
  text: string;
11690
+ type: Raw.TypeButtonType;
11622
11691
  constructor(params: {
11623
11692
  style?: Raw.TypeKeyboardButtonStyle;
11624
11693
  text: string;
11694
+ type: Raw.TypeButtonType;
11625
11695
  });
11626
11696
  /**
11627
11697
  * Generate the TLObject from buffer.
@@ -11633,351 +11703,6 @@ export declare namespace Raw {
11633
11703
  */
11634
11704
  write(): Buffer;
11635
11705
  }
11636
- class KeyboardButtonUrl extends TLObject {
11637
- style?: Raw.TypeKeyboardButtonStyle;
11638
- text: string;
11639
- url: string;
11640
- constructor(params: {
11641
- style?: Raw.TypeKeyboardButtonStyle;
11642
- text: string;
11643
- url: string;
11644
- });
11645
- /**
11646
- * Generate the TLObject from buffer.
11647
- * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
11648
- */
11649
- static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.KeyboardButtonUrl>;
11650
- /**
11651
- * Generate buffer from TLObject.
11652
- */
11653
- write(): Buffer;
11654
- }
11655
- class KeyboardButtonCallback extends TLObject {
11656
- requiresPassword?: boolean;
11657
- style?: Raw.TypeKeyboardButtonStyle;
11658
- text: string;
11659
- data: bytes;
11660
- constructor(params: {
11661
- requiresPassword?: boolean;
11662
- style?: Raw.TypeKeyboardButtonStyle;
11663
- text: string;
11664
- data: bytes;
11665
- });
11666
- /**
11667
- * Generate the TLObject from buffer.
11668
- * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
11669
- */
11670
- static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.KeyboardButtonCallback>;
11671
- /**
11672
- * Generate buffer from TLObject.
11673
- */
11674
- write(): Buffer;
11675
- }
11676
- class KeyboardButtonRequestPhone extends TLObject {
11677
- style?: Raw.TypeKeyboardButtonStyle;
11678
- text: string;
11679
- constructor(params: {
11680
- style?: Raw.TypeKeyboardButtonStyle;
11681
- text: string;
11682
- });
11683
- /**
11684
- * Generate the TLObject from buffer.
11685
- * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
11686
- */
11687
- static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.KeyboardButtonRequestPhone>;
11688
- /**
11689
- * Generate buffer from TLObject.
11690
- */
11691
- write(): Buffer;
11692
- }
11693
- class KeyboardButtonRequestGeoLocation extends TLObject {
11694
- style?: Raw.TypeKeyboardButtonStyle;
11695
- text: string;
11696
- constructor(params: {
11697
- style?: Raw.TypeKeyboardButtonStyle;
11698
- text: string;
11699
- });
11700
- /**
11701
- * Generate the TLObject from buffer.
11702
- * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
11703
- */
11704
- static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.KeyboardButtonRequestGeoLocation>;
11705
- /**
11706
- * Generate buffer from TLObject.
11707
- */
11708
- write(): Buffer;
11709
- }
11710
- class KeyboardButtonSwitchInline extends TLObject {
11711
- samePeer?: boolean;
11712
- style?: Raw.TypeKeyboardButtonStyle;
11713
- text: string;
11714
- query: string;
11715
- peerTypes?: Vector<Raw.TypeInlineQueryPeerType>;
11716
- constructor(params: {
11717
- samePeer?: boolean;
11718
- style?: Raw.TypeKeyboardButtonStyle;
11719
- text: string;
11720
- query: string;
11721
- peerTypes?: Vector<Raw.TypeInlineQueryPeerType>;
11722
- });
11723
- /**
11724
- * Generate the TLObject from buffer.
11725
- * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
11726
- */
11727
- static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.KeyboardButtonSwitchInline>;
11728
- /**
11729
- * Generate buffer from TLObject.
11730
- */
11731
- write(): Buffer;
11732
- }
11733
- class KeyboardButtonGame extends TLObject {
11734
- style?: Raw.TypeKeyboardButtonStyle;
11735
- text: string;
11736
- constructor(params: {
11737
- style?: Raw.TypeKeyboardButtonStyle;
11738
- text: string;
11739
- });
11740
- /**
11741
- * Generate the TLObject from buffer.
11742
- * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
11743
- */
11744
- static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.KeyboardButtonGame>;
11745
- /**
11746
- * Generate buffer from TLObject.
11747
- */
11748
- write(): Buffer;
11749
- }
11750
- class KeyboardButtonBuy extends TLObject {
11751
- style?: Raw.TypeKeyboardButtonStyle;
11752
- text: string;
11753
- constructor(params: {
11754
- style?: Raw.TypeKeyboardButtonStyle;
11755
- text: string;
11756
- });
11757
- /**
11758
- * Generate the TLObject from buffer.
11759
- * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
11760
- */
11761
- static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.KeyboardButtonBuy>;
11762
- /**
11763
- * Generate buffer from TLObject.
11764
- */
11765
- write(): Buffer;
11766
- }
11767
- class KeyboardButtonUrlAuth extends TLObject {
11768
- style?: Raw.TypeKeyboardButtonStyle;
11769
- text: string;
11770
- fwdText?: string;
11771
- url: string;
11772
- buttonId: int;
11773
- constructor(params: {
11774
- style?: Raw.TypeKeyboardButtonStyle;
11775
- text: string;
11776
- fwdText?: string;
11777
- url: string;
11778
- buttonId: int;
11779
- });
11780
- /**
11781
- * Generate the TLObject from buffer.
11782
- * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
11783
- */
11784
- static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.KeyboardButtonUrlAuth>;
11785
- /**
11786
- * Generate buffer from TLObject.
11787
- */
11788
- write(): Buffer;
11789
- }
11790
- class InputKeyboardButtonUrlAuth extends TLObject {
11791
- requestWriteAccess?: boolean;
11792
- style?: Raw.TypeKeyboardButtonStyle;
11793
- text: string;
11794
- fwdText?: string;
11795
- url: string;
11796
- bot: Raw.TypeInputUser;
11797
- constructor(params: {
11798
- requestWriteAccess?: boolean;
11799
- style?: Raw.TypeKeyboardButtonStyle;
11800
- text: string;
11801
- fwdText?: string;
11802
- url: string;
11803
- bot: Raw.TypeInputUser;
11804
- });
11805
- /**
11806
- * Generate the TLObject from buffer.
11807
- * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
11808
- */
11809
- static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.InputKeyboardButtonUrlAuth>;
11810
- /**
11811
- * Generate buffer from TLObject.
11812
- */
11813
- write(): Buffer;
11814
- }
11815
- class KeyboardButtonRequestPoll extends TLObject {
11816
- style?: Raw.TypeKeyboardButtonStyle;
11817
- quiz?: Bool;
11818
- text: string;
11819
- constructor(params: {
11820
- style?: Raw.TypeKeyboardButtonStyle;
11821
- quiz?: Bool;
11822
- text: string;
11823
- });
11824
- /**
11825
- * Generate the TLObject from buffer.
11826
- * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
11827
- */
11828
- static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.KeyboardButtonRequestPoll>;
11829
- /**
11830
- * Generate buffer from TLObject.
11831
- */
11832
- write(): Buffer;
11833
- }
11834
- class InputKeyboardButtonUserProfile extends TLObject {
11835
- style?: Raw.TypeKeyboardButtonStyle;
11836
- text: string;
11837
- userId: Raw.TypeInputUser;
11838
- constructor(params: {
11839
- style?: Raw.TypeKeyboardButtonStyle;
11840
- text: string;
11841
- userId: Raw.TypeInputUser;
11842
- });
11843
- /**
11844
- * Generate the TLObject from buffer.
11845
- * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
11846
- */
11847
- static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.InputKeyboardButtonUserProfile>;
11848
- /**
11849
- * Generate buffer from TLObject.
11850
- */
11851
- write(): Buffer;
11852
- }
11853
- class KeyboardButtonUserProfile extends TLObject {
11854
- style?: Raw.TypeKeyboardButtonStyle;
11855
- text: string;
11856
- userId: long;
11857
- constructor(params: {
11858
- style?: Raw.TypeKeyboardButtonStyle;
11859
- text: string;
11860
- userId: long;
11861
- });
11862
- /**
11863
- * Generate the TLObject from buffer.
11864
- * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
11865
- */
11866
- static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.KeyboardButtonUserProfile>;
11867
- /**
11868
- * Generate buffer from TLObject.
11869
- */
11870
- write(): Buffer;
11871
- }
11872
- class KeyboardButtonWebView extends TLObject {
11873
- style?: Raw.TypeKeyboardButtonStyle;
11874
- text: string;
11875
- url: string;
11876
- constructor(params: {
11877
- style?: Raw.TypeKeyboardButtonStyle;
11878
- text: string;
11879
- url: string;
11880
- });
11881
- /**
11882
- * Generate the TLObject from buffer.
11883
- * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
11884
- */
11885
- static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.KeyboardButtonWebView>;
11886
- /**
11887
- * Generate buffer from TLObject.
11888
- */
11889
- write(): Buffer;
11890
- }
11891
- class KeyboardButtonSimpleWebView extends TLObject {
11892
- style?: Raw.TypeKeyboardButtonStyle;
11893
- text: string;
11894
- url: string;
11895
- constructor(params: {
11896
- style?: Raw.TypeKeyboardButtonStyle;
11897
- text: string;
11898
- url: string;
11899
- });
11900
- /**
11901
- * Generate the TLObject from buffer.
11902
- * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
11903
- */
11904
- static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.KeyboardButtonSimpleWebView>;
11905
- /**
11906
- * Generate buffer from TLObject.
11907
- */
11908
- write(): Buffer;
11909
- }
11910
- class KeyboardButtonRequestPeer extends TLObject {
11911
- style?: Raw.TypeKeyboardButtonStyle;
11912
- text: string;
11913
- buttonId: int;
11914
- peerType: Raw.TypeRequestPeerType;
11915
- maxQuantity: int;
11916
- constructor(params: {
11917
- style?: Raw.TypeKeyboardButtonStyle;
11918
- text: string;
11919
- buttonId: int;
11920
- peerType: Raw.TypeRequestPeerType;
11921
- maxQuantity: int;
11922
- });
11923
- /**
11924
- * Generate the TLObject from buffer.
11925
- * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
11926
- */
11927
- static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.KeyboardButtonRequestPeer>;
11928
- /**
11929
- * Generate buffer from TLObject.
11930
- */
11931
- write(): Buffer;
11932
- }
11933
- class InputKeyboardButtonRequestPeer extends TLObject {
11934
- nameRequested?: boolean;
11935
- usernameRequested?: boolean;
11936
- photoRequested?: boolean;
11937
- style?: Raw.TypeKeyboardButtonStyle;
11938
- text: string;
11939
- buttonId: int;
11940
- peerType: Raw.TypeRequestPeerType;
11941
- maxQuantity: int;
11942
- constructor(params: {
11943
- nameRequested?: boolean;
11944
- usernameRequested?: boolean;
11945
- photoRequested?: boolean;
11946
- style?: Raw.TypeKeyboardButtonStyle;
11947
- text: string;
11948
- buttonId: int;
11949
- peerType: Raw.TypeRequestPeerType;
11950
- maxQuantity: int;
11951
- });
11952
- /**
11953
- * Generate the TLObject from buffer.
11954
- * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
11955
- */
11956
- static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.InputKeyboardButtonRequestPeer>;
11957
- /**
11958
- * Generate buffer from TLObject.
11959
- */
11960
- write(): Buffer;
11961
- }
11962
- class KeyboardButtonCopy extends TLObject {
11963
- style?: Raw.TypeKeyboardButtonStyle;
11964
- text: string;
11965
- copyText: string;
11966
- constructor(params: {
11967
- style?: Raw.TypeKeyboardButtonStyle;
11968
- text: string;
11969
- copyText: string;
11970
- });
11971
- /**
11972
- * Generate the TLObject from buffer.
11973
- * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
11974
- */
11975
- static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.KeyboardButtonCopy>;
11976
- /**
11977
- * Generate buffer from TLObject.
11978
- */
11979
- write(): Buffer;
11980
- }
11981
11706
  class KeyboardButtonRow extends TLObject {
11982
11707
  buttons: Vector<Raw.TypeKeyboardButton>;
11983
11708
  constructor(params: {
@@ -12032,6 +11757,7 @@ export declare namespace Raw {
12032
11757
  singleUse?: boolean;
12033
11758
  selective?: boolean;
12034
11759
  persistent?: boolean;
11760
+ forceReply?: boolean;
12035
11761
  rows: Vector<Raw.TypeKeyboardButtonRow>;
12036
11762
  placeholder?: string;
12037
11763
  constructor(params: {
@@ -12039,6 +11765,7 @@ export declare namespace Raw {
12039
11765
  singleUse?: boolean;
12040
11766
  selective?: boolean;
12041
11767
  persistent?: boolean;
11768
+ forceReply?: boolean;
12042
11769
  rows: Vector<Raw.TypeKeyboardButtonRow>;
12043
11770
  placeholder?: string;
12044
11771
  });
@@ -12053,9 +11780,11 @@ export declare namespace Raw {
12053
11780
  write(): Buffer;
12054
11781
  }
12055
11782
  class ReplyInlineMarkup extends TLObject {
12056
- rows: Vector<Raw.TypeKeyboardButtonRow>;
11783
+ forceReply?: boolean;
11784
+ rows: Vector<Raw.TypeKeyboardInlineButtonRow>;
12057
11785
  constructor(params: {
12058
- rows: Vector<Raw.TypeKeyboardButtonRow>;
11786
+ forceReply?: boolean;
11787
+ rows: Vector<Raw.TypeKeyboardInlineButtonRow>;
12059
11788
  });
12060
11789
  /**
12061
11790
  * Generate the TLObject from buffer.
@@ -14411,6 +14140,25 @@ export declare namespace Raw {
14411
14140
  */
14412
14141
  write(): Buffer;
14413
14142
  }
14143
+ class TextButton extends TLObject {
14144
+ text: Raw.TypeRichText;
14145
+ type: Raw.TypeInlineButtonType;
14146
+ style?: Raw.TypeRichButtonStyle;
14147
+ constructor(params: {
14148
+ text: Raw.TypeRichText;
14149
+ type: Raw.TypeInlineButtonType;
14150
+ style?: Raw.TypeRichButtonStyle;
14151
+ });
14152
+ /**
14153
+ * Generate the TLObject from buffer.
14154
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
14155
+ */
14156
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.TextButton>;
14157
+ /**
14158
+ * Generate buffer from TLObject.
14159
+ */
14160
+ write(): Buffer;
14161
+ }
14414
14162
  class PageBlockUnsupported extends TLObject {
14415
14163
  constructor();
14416
14164
  /**
@@ -14590,9 +14338,11 @@ export declare namespace Raw {
14590
14338
  write(): Buffer;
14591
14339
  }
14592
14340
  class PageBlockBlockquote extends TLObject {
14341
+ collapsed?: boolean;
14593
14342
  text: Raw.TypeRichText;
14594
14343
  caption: Raw.TypeRichText;
14595
14344
  constructor(params: {
14345
+ collapsed?: boolean;
14596
14346
  text: Raw.TypeRichText;
14597
14347
  caption: Raw.TypeRichText;
14598
14348
  });
@@ -14824,11 +14574,13 @@ export declare namespace Raw {
14824
14574
  class PageBlockTable extends TLObject {
14825
14575
  bordered?: boolean;
14826
14576
  striped?: boolean;
14577
+ compact?: boolean;
14827
14578
  title: Raw.TypeRichText;
14828
14579
  rows: Vector<Raw.TypePageTableRow>;
14829
14580
  constructor(params: {
14830
14581
  bordered?: boolean;
14831
14582
  striped?: boolean;
14583
+ compact?: boolean;
14832
14584
  title: Raw.TypeRichText;
14833
14585
  rows: Vector<Raw.TypePageTableRow>;
14834
14586
  });
@@ -15082,6 +14834,44 @@ export declare namespace Raw {
15082
14834
  */
15083
14835
  write(): Buffer;
15084
14836
  }
14837
+ class PageBlockButtonRow extends TLObject {
14838
+ alignLeft?: boolean;
14839
+ alignCenter?: boolean;
14840
+ alignRight?: boolean;
14841
+ buttons: Vector<Raw.TypePageButton>;
14842
+ constructor(params: {
14843
+ alignLeft?: boolean;
14844
+ alignCenter?: boolean;
14845
+ alignRight?: boolean;
14846
+ buttons: Vector<Raw.TypePageButton>;
14847
+ });
14848
+ /**
14849
+ * Generate the TLObject from buffer.
14850
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
14851
+ */
14852
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.PageBlockButtonRow>;
14853
+ /**
14854
+ * Generate buffer from TLObject.
14855
+ */
14856
+ write(): Buffer;
14857
+ }
14858
+ class PageBlockDocument extends TLObject {
14859
+ documentId: long;
14860
+ caption: Raw.TypePageCaption;
14861
+ constructor(params: {
14862
+ documentId: long;
14863
+ caption: Raw.TypePageCaption;
14864
+ });
14865
+ /**
14866
+ * Generate the TLObject from buffer.
14867
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
14868
+ */
14869
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.PageBlockDocument>;
14870
+ /**
14871
+ * Generate buffer from TLObject.
14872
+ */
14873
+ write(): Buffer;
14874
+ }
15085
14875
  class PhoneCallDiscardReasonMissed extends TLObject {
15086
14876
  constructor();
15087
14877
  /**
@@ -18437,6 +18227,7 @@ export declare namespace Raw {
18437
18227
  manageDirectMessages?: boolean;
18438
18228
  manageRanks?: boolean;
18439
18229
  manageLinkedPeers?: boolean;
18230
+ manageWelcomeMessages?: boolean;
18440
18231
  constructor(params: {
18441
18232
  changeInfo?: boolean;
18442
18233
  postMessages?: boolean;
@@ -18456,6 +18247,7 @@ export declare namespace Raw {
18456
18247
  manageDirectMessages?: boolean;
18457
18248
  manageRanks?: boolean;
18458
18249
  manageLinkedPeers?: boolean;
18250
+ manageWelcomeMessages?: boolean;
18459
18251
  });
18460
18252
  /**
18461
18253
  * Generate the TLObject from buffer.
@@ -20901,12 +20693,16 @@ export declare namespace Raw {
20901
20693
  }
20902
20694
  class InputInvoiceStarGiftResale extends TLObject {
20903
20695
  ton?: boolean;
20696
+ showName?: boolean;
20904
20697
  slug: string;
20905
20698
  toId: Raw.TypeInputPeer;
20699
+ message?: Raw.TypeTextWithEntities;
20906
20700
  constructor(params: {
20907
20701
  ton?: boolean;
20702
+ showName?: boolean;
20908
20703
  slug: string;
20909
20704
  toId: Raw.TypeInputPeer;
20705
+ message?: Raw.TypeTextWithEntities;
20910
20706
  });
20911
20707
  /**
20912
20708
  * Generate the TLObject from buffer.
@@ -26240,9 +26036,12 @@ export declare namespace Raw {
26240
26036
  }
26241
26037
  class EphemeralMessage extends TLObject {
26242
26038
  out?: boolean;
26039
+ welcomeTemplate?: boolean;
26040
+ invertMedia?: boolean;
26041
+ noforwards?: boolean;
26243
26042
  id: int;
26244
26043
  fromId: Raw.TypePeer;
26245
- peerId: Raw.TypePeer;
26044
+ peerId?: Raw.TypePeer;
26246
26045
  receiverId: long;
26247
26046
  topMsgId?: int;
26248
26047
  date: int;
@@ -26251,11 +26050,17 @@ export declare namespace Raw {
26251
26050
  media?: Raw.TypeMessageMedia;
26252
26051
  replyMarkup?: Raw.TypeReplyMarkup;
26253
26052
  replyTo?: Raw.TypeMessageReplyHeader;
26053
+ richMessage?: Raw.TypeRichMessage;
26054
+ chatInstance?: long;
26055
+ anchorMsgId?: int;
26254
26056
  constructor(params: {
26255
26057
  out?: boolean;
26058
+ welcomeTemplate?: boolean;
26059
+ invertMedia?: boolean;
26060
+ noforwards?: boolean;
26256
26061
  id: int;
26257
26062
  fromId: Raw.TypePeer;
26258
- peerId: Raw.TypePeer;
26063
+ peerId?: Raw.TypePeer;
26259
26064
  receiverId: long;
26260
26065
  topMsgId?: int;
26261
26066
  date: int;
@@ -26264,6 +26069,9 @@ export declare namespace Raw {
26264
26069
  media?: Raw.TypeMessageMedia;
26265
26070
  replyMarkup?: Raw.TypeReplyMarkup;
26266
26071
  replyTo?: Raw.TypeMessageReplyHeader;
26072
+ richMessage?: Raw.TypeRichMessage;
26073
+ chatInstance?: long;
26074
+ anchorMsgId?: int;
26267
26075
  });
26268
26076
  /**
26269
26077
  * Generate the TLObject from buffer.
@@ -26275,6 +26083,377 @@ export declare namespace Raw {
26275
26083
  */
26276
26084
  write(): Buffer;
26277
26085
  }
26086
+ class ButtonTypeDefault extends TLObject {
26087
+ constructor();
26088
+ /**
26089
+ * Generate the TLObject from buffer.
26090
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
26091
+ */
26092
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.ButtonTypeDefault>;
26093
+ /**
26094
+ * Generate buffer from TLObject.
26095
+ */
26096
+ write(): Buffer;
26097
+ }
26098
+ class ButtonTypeRequestPhone extends TLObject {
26099
+ constructor();
26100
+ /**
26101
+ * Generate the TLObject from buffer.
26102
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
26103
+ */
26104
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.ButtonTypeRequestPhone>;
26105
+ /**
26106
+ * Generate buffer from TLObject.
26107
+ */
26108
+ write(): Buffer;
26109
+ }
26110
+ class ButtonTypeRequestGeoLocation extends TLObject {
26111
+ constructor();
26112
+ /**
26113
+ * Generate the TLObject from buffer.
26114
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
26115
+ */
26116
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.ButtonTypeRequestGeoLocation>;
26117
+ /**
26118
+ * Generate buffer from TLObject.
26119
+ */
26120
+ write(): Buffer;
26121
+ }
26122
+ class ButtonTypeRequestPoll extends TLObject {
26123
+ quiz?: Bool;
26124
+ constructor(params: {
26125
+ quiz?: Bool;
26126
+ });
26127
+ /**
26128
+ * Generate the TLObject from buffer.
26129
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
26130
+ */
26131
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.ButtonTypeRequestPoll>;
26132
+ /**
26133
+ * Generate buffer from TLObject.
26134
+ */
26135
+ write(): Buffer;
26136
+ }
26137
+ class ButtonTypeRequestPeer extends TLObject {
26138
+ buttonId: int;
26139
+ peerType: Raw.TypeRequestPeerType;
26140
+ maxQuantity: int;
26141
+ constructor(params: {
26142
+ buttonId: int;
26143
+ peerType: Raw.TypeRequestPeerType;
26144
+ maxQuantity: int;
26145
+ });
26146
+ /**
26147
+ * Generate the TLObject from buffer.
26148
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
26149
+ */
26150
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.ButtonTypeRequestPeer>;
26151
+ /**
26152
+ * Generate buffer from TLObject.
26153
+ */
26154
+ write(): Buffer;
26155
+ }
26156
+ class InputButtonTypeRequestPeer extends TLObject {
26157
+ nameRequested?: boolean;
26158
+ usernameRequested?: boolean;
26159
+ photoRequested?: boolean;
26160
+ buttonId: int;
26161
+ peerType: Raw.TypeRequestPeerType;
26162
+ maxQuantity: int;
26163
+ constructor(params: {
26164
+ nameRequested?: boolean;
26165
+ usernameRequested?: boolean;
26166
+ photoRequested?: boolean;
26167
+ buttonId: int;
26168
+ peerType: Raw.TypeRequestPeerType;
26169
+ maxQuantity: int;
26170
+ });
26171
+ /**
26172
+ * Generate the TLObject from buffer.
26173
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
26174
+ */
26175
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.InputButtonTypeRequestPeer>;
26176
+ /**
26177
+ * Generate buffer from TLObject.
26178
+ */
26179
+ write(): Buffer;
26180
+ }
26181
+ class ButtonTypeSimpleWebView extends TLObject {
26182
+ url: string;
26183
+ constructor(params: {
26184
+ url: string;
26185
+ });
26186
+ /**
26187
+ * Generate the TLObject from buffer.
26188
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
26189
+ */
26190
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.ButtonTypeSimpleWebView>;
26191
+ /**
26192
+ * Generate buffer from TLObject.
26193
+ */
26194
+ write(): Buffer;
26195
+ }
26196
+ class InlineButtonTypeUrl extends TLObject {
26197
+ url: string;
26198
+ constructor(params: {
26199
+ url: string;
26200
+ });
26201
+ /**
26202
+ * Generate the TLObject from buffer.
26203
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
26204
+ */
26205
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.InlineButtonTypeUrl>;
26206
+ /**
26207
+ * Generate buffer from TLObject.
26208
+ */
26209
+ write(): Buffer;
26210
+ }
26211
+ class InlineButtonTypeUrlAuth extends TLObject {
26212
+ fwdText?: string;
26213
+ url: string;
26214
+ buttonId: int;
26215
+ constructor(params: {
26216
+ fwdText?: string;
26217
+ url: string;
26218
+ buttonId: int;
26219
+ });
26220
+ /**
26221
+ * Generate the TLObject from buffer.
26222
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
26223
+ */
26224
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.InlineButtonTypeUrlAuth>;
26225
+ /**
26226
+ * Generate buffer from TLObject.
26227
+ */
26228
+ write(): Buffer;
26229
+ }
26230
+ class InputInlineButtonTypeUrlAuth extends TLObject {
26231
+ requestWriteAccess?: boolean;
26232
+ fwdText?: string;
26233
+ url: string;
26234
+ bot?: Raw.TypeInputUser;
26235
+ constructor(params: {
26236
+ requestWriteAccess?: boolean;
26237
+ fwdText?: string;
26238
+ url: string;
26239
+ bot?: Raw.TypeInputUser;
26240
+ });
26241
+ /**
26242
+ * Generate the TLObject from buffer.
26243
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
26244
+ */
26245
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.InputInlineButtonTypeUrlAuth>;
26246
+ /**
26247
+ * Generate buffer from TLObject.
26248
+ */
26249
+ write(): Buffer;
26250
+ }
26251
+ class InlineButtonTypeWebView extends TLObject {
26252
+ url: string;
26253
+ constructor(params: {
26254
+ url: string;
26255
+ });
26256
+ /**
26257
+ * Generate the TLObject from buffer.
26258
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
26259
+ */
26260
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.InlineButtonTypeWebView>;
26261
+ /**
26262
+ * Generate buffer from TLObject.
26263
+ */
26264
+ write(): Buffer;
26265
+ }
26266
+ class InlineButtonTypeCallback extends TLObject {
26267
+ requiresPassword?: boolean;
26268
+ data: bytes;
26269
+ constructor(params: {
26270
+ requiresPassword?: boolean;
26271
+ data: bytes;
26272
+ });
26273
+ /**
26274
+ * Generate the TLObject from buffer.
26275
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
26276
+ */
26277
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.InlineButtonTypeCallback>;
26278
+ /**
26279
+ * Generate buffer from TLObject.
26280
+ */
26281
+ write(): Buffer;
26282
+ }
26283
+ class InlineButtonTypeGame extends TLObject {
26284
+ constructor();
26285
+ /**
26286
+ * Generate the TLObject from buffer.
26287
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
26288
+ */
26289
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.InlineButtonTypeGame>;
26290
+ /**
26291
+ * Generate buffer from TLObject.
26292
+ */
26293
+ write(): Buffer;
26294
+ }
26295
+ class InlineButtonTypeBuy extends TLObject {
26296
+ constructor();
26297
+ /**
26298
+ * Generate the TLObject from buffer.
26299
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
26300
+ */
26301
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.InlineButtonTypeBuy>;
26302
+ /**
26303
+ * Generate buffer from TLObject.
26304
+ */
26305
+ write(): Buffer;
26306
+ }
26307
+ class InlineButtonTypeSwitchInline extends TLObject {
26308
+ samePeer?: boolean;
26309
+ query: string;
26310
+ peerTypes?: Vector<Raw.TypeInlineQueryPeerType>;
26311
+ constructor(params: {
26312
+ samePeer?: boolean;
26313
+ query: string;
26314
+ peerTypes?: Vector<Raw.TypeInlineQueryPeerType>;
26315
+ });
26316
+ /**
26317
+ * Generate the TLObject from buffer.
26318
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
26319
+ */
26320
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.InlineButtonTypeSwitchInline>;
26321
+ /**
26322
+ * Generate buffer from TLObject.
26323
+ */
26324
+ write(): Buffer;
26325
+ }
26326
+ class InlineButtonTypeUserProfile extends TLObject {
26327
+ userId: long;
26328
+ constructor(params: {
26329
+ userId: long;
26330
+ });
26331
+ /**
26332
+ * Generate the TLObject from buffer.
26333
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
26334
+ */
26335
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.InlineButtonTypeUserProfile>;
26336
+ /**
26337
+ * Generate buffer from TLObject.
26338
+ */
26339
+ write(): Buffer;
26340
+ }
26341
+ class InputInlineButtonTypeUserProfile extends TLObject {
26342
+ userId: Raw.TypeInputUser;
26343
+ constructor(params: {
26344
+ userId: Raw.TypeInputUser;
26345
+ });
26346
+ /**
26347
+ * Generate the TLObject from buffer.
26348
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
26349
+ */
26350
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.InputInlineButtonTypeUserProfile>;
26351
+ /**
26352
+ * Generate buffer from TLObject.
26353
+ */
26354
+ write(): Buffer;
26355
+ }
26356
+ class InlineButtonTypeCopy extends TLObject {
26357
+ copyText: string;
26358
+ constructor(params: {
26359
+ copyText: string;
26360
+ });
26361
+ /**
26362
+ * Generate the TLObject from buffer.
26363
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
26364
+ */
26365
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.InlineButtonTypeCopy>;
26366
+ /**
26367
+ * Generate buffer from TLObject.
26368
+ */
26369
+ write(): Buffer;
26370
+ }
26371
+ class InlineButtonTypeDisabled extends TLObject {
26372
+ constructor();
26373
+ /**
26374
+ * Generate the TLObject from buffer.
26375
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
26376
+ */
26377
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.InlineButtonTypeDisabled>;
26378
+ /**
26379
+ * Generate buffer from TLObject.
26380
+ */
26381
+ write(): Buffer;
26382
+ }
26383
+ class KeyboardInlineButton extends TLObject {
26384
+ style?: Raw.TypeKeyboardButtonStyle;
26385
+ text: string;
26386
+ type: Raw.TypeInlineButtonType;
26387
+ constructor(params: {
26388
+ style?: Raw.TypeKeyboardButtonStyle;
26389
+ text: string;
26390
+ type: Raw.TypeInlineButtonType;
26391
+ });
26392
+ /**
26393
+ * Generate the TLObject from buffer.
26394
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
26395
+ */
26396
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.KeyboardInlineButton>;
26397
+ /**
26398
+ * Generate buffer from TLObject.
26399
+ */
26400
+ write(): Buffer;
26401
+ }
26402
+ class KeyboardInlineButtonRow extends TLObject {
26403
+ buttons: Vector<Raw.TypeKeyboardInlineButton>;
26404
+ constructor(params: {
26405
+ buttons: Vector<Raw.TypeKeyboardInlineButton>;
26406
+ });
26407
+ /**
26408
+ * Generate the TLObject from buffer.
26409
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
26410
+ */
26411
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.KeyboardInlineButtonRow>;
26412
+ /**
26413
+ * Generate buffer from TLObject.
26414
+ */
26415
+ write(): Buffer;
26416
+ }
26417
+ class RichButtonStyle extends TLObject {
26418
+ bgPrimary?: boolean;
26419
+ bgDanger?: boolean;
26420
+ bgSuccess?: boolean;
26421
+ link?: boolean;
26422
+ constructor(params: {
26423
+ bgPrimary?: boolean;
26424
+ bgDanger?: boolean;
26425
+ bgSuccess?: boolean;
26426
+ link?: boolean;
26427
+ });
26428
+ /**
26429
+ * Generate the TLObject from buffer.
26430
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
26431
+ */
26432
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.RichButtonStyle>;
26433
+ /**
26434
+ * Generate buffer from TLObject.
26435
+ */
26436
+ write(): Buffer;
26437
+ }
26438
+ class PageButton extends TLObject {
26439
+ text: Raw.TypeRichText;
26440
+ type: Raw.TypeInlineButtonType;
26441
+ style?: Raw.TypeRichButtonStyle;
26442
+ constructor(params: {
26443
+ text: Raw.TypeRichText;
26444
+ type: Raw.TypeInlineButtonType;
26445
+ style?: Raw.TypeRichButtonStyle;
26446
+ });
26447
+ /**
26448
+ * Generate the TLObject from buffer.
26449
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
26450
+ */
26451
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.PageButton>;
26452
+ /**
26453
+ * Generate buffer from TLObject.
26454
+ */
26455
+ write(): Buffer;
26456
+ }
26278
26457
  class InvokeAfterMsg extends TLObject {
26279
26458
  __response__: X;
26280
26459
  msgId: long;
@@ -28623,6 +28802,7 @@ export declare namespace Raw {
28623
28802
  }
28624
28803
  }
28625
28804
  namespace auth {
28805
+ type TypeFirebasePnvIntent = Raw.auth.FirebasePnvIntent;
28626
28806
  type TypePasskeyLoginOptions = Raw.auth.PasskeyLoginOptions;
28627
28807
  type TypeLoginToken = Raw.auth.LoginToken | Raw.auth.LoginTokenMigrateTo | Raw.auth.LoginTokenSuccess;
28628
28808
  type TypePasswordRecovery = Raw.auth.PasswordRecovery;
@@ -29095,6 +29275,23 @@ export declare namespace Raw {
29095
29275
  */
29096
29276
  write(): Buffer;
29097
29277
  }
29278
+ class FirebasePnvIntent extends TLObject {
29279
+ nonce: string;
29280
+ digitalCredentialPayload: string;
29281
+ constructor(params: {
29282
+ nonce: string;
29283
+ digitalCredentialPayload: string;
29284
+ });
29285
+ /**
29286
+ * Generate the TLObject from buffer.
29287
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
29288
+ */
29289
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.auth.FirebasePnvIntent>;
29290
+ /**
29291
+ * Generate buffer from TLObject.
29292
+ */
29293
+ write(): Buffer;
29294
+ }
29098
29295
  class SendCode extends TLObject {
29099
29296
  __response__: Raw.auth.TypeSentCode;
29100
29297
  phoneNumber: string;
@@ -29576,6 +29773,60 @@ export declare namespace Raw {
29576
29773
  */
29577
29774
  write(): Buffer;
29578
29775
  }
29776
+ class InitFirebasePnvLogin extends TLObject {
29777
+ __response__: Raw.auth.TypeFirebasePnvIntent;
29778
+ apiId: int;
29779
+ apiHash: string;
29780
+ constructor(params: {
29781
+ apiId: int;
29782
+ apiHash: string;
29783
+ });
29784
+ /**
29785
+ * Generate the TLObject from buffer.
29786
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
29787
+ */
29788
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.auth.InitFirebasePnvLogin>;
29789
+ /**
29790
+ * Generate buffer from TLObject.
29791
+ */
29792
+ write(): Buffer;
29793
+ }
29794
+ class FinishFirebasePnvLogin extends TLObject {
29795
+ __response__: Raw.auth.TypeAuthorization;
29796
+ googleToken: string;
29797
+ constructor(params: {
29798
+ googleToken: string;
29799
+ });
29800
+ /**
29801
+ * Generate the TLObject from buffer.
29802
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
29803
+ */
29804
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.auth.FinishFirebasePnvLogin>;
29805
+ /**
29806
+ * Generate buffer from TLObject.
29807
+ */
29808
+ write(): Buffer;
29809
+ }
29810
+ class FirebasePnvSignUp extends TLObject {
29811
+ __response__: Raw.auth.TypeAuthorization;
29812
+ noJoinedNotifications?: boolean;
29813
+ firstName: string;
29814
+ lastName: string;
29815
+ constructor(params: {
29816
+ noJoinedNotifications?: boolean;
29817
+ firstName: string;
29818
+ lastName: string;
29819
+ });
29820
+ /**
29821
+ * Generate the TLObject from buffer.
29822
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
29823
+ */
29824
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.auth.FirebasePnvSignUp>;
29825
+ /**
29826
+ * Generate buffer from TLObject.
29827
+ */
29828
+ write(): Buffer;
29829
+ }
29579
29830
  }
29580
29831
  namespace contacts {
29581
29832
  type TypeSponsoredPeers = Raw.contacts.SponsoredPeersEmpty | Raw.contacts.SponsoredPeers;
@@ -32449,6 +32700,7 @@ export declare namespace Raw {
32449
32700
  dropMediaCaptions?: boolean;
32450
32701
  noforwards?: boolean;
32451
32702
  allowPaidFloodskip?: boolean;
32703
+ fromEphemeral?: boolean;
32452
32704
  fromPeer: Raw.TypeInputPeer;
32453
32705
  id: Vector<int>;
32454
32706
  randomId: Vector<long>;
@@ -32471,6 +32723,7 @@ export declare namespace Raw {
32471
32723
  dropMediaCaptions?: boolean;
32472
32724
  noforwards?: boolean;
32473
32725
  allowPaidFloodskip?: boolean;
32726
+ fromEphemeral?: boolean;
32474
32727
  fromPeer: Raw.TypeInputPeer;
32475
32728
  id: Vector<int>;
32476
32729
  randomId: Vector<long>;
@@ -48831,210 +49084,334 @@ export declare namespace Raw {
48831
49084
  write(): Buffer;
48832
49085
  }
48833
49086
  }
48834
- namespace langpack {
48835
- class GetLangPack extends TLObject {
48836
- __response__: Raw.TypeLangPackDifference;
48837
- langPack: string;
48838
- langCode: string;
48839
- constructor(params: {
48840
- langPack: string;
48841
- langCode: string;
48842
- });
49087
+ namespace ephemeral {
49088
+ type TypeWelcomeMessages = Raw.ephemeral.WelcomeMessagesNotModified | Raw.ephemeral.WelcomeMessages;
49089
+ class WelcomeMessagesNotModified extends TLObject {
49090
+ constructor();
48843
49091
  /**
48844
49092
  * Generate the TLObject from buffer.
48845
49093
  * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
48846
49094
  */
48847
- static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.langpack.GetLangPack>;
49095
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.ephemeral.WelcomeMessagesNotModified>;
48848
49096
  /**
48849
49097
  * Generate buffer from TLObject.
48850
49098
  */
48851
49099
  write(): Buffer;
48852
49100
  }
48853
- class GetStrings extends TLObject {
48854
- __response__: Vector<Raw.TypeLangPackString>;
48855
- langPack: string;
48856
- langCode: string;
48857
- keys: Vector<string>;
49101
+ class WelcomeMessages extends TLObject {
49102
+ hash: long;
49103
+ messages: Vector<Raw.TypeEphemeralMessage>;
48858
49104
  constructor(params: {
48859
- langPack: string;
48860
- langCode: string;
48861
- keys: Vector<string>;
49105
+ hash: long;
49106
+ messages: Vector<Raw.TypeEphemeralMessage>;
48862
49107
  });
48863
49108
  /**
48864
49109
  * Generate the TLObject from buffer.
48865
49110
  * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
48866
49111
  */
48867
- static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.langpack.GetStrings>;
49112
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.ephemeral.WelcomeMessages>;
48868
49113
  /**
48869
49114
  * Generate buffer from TLObject.
48870
49115
  */
48871
49116
  write(): Buffer;
48872
49117
  }
48873
- class GetDifference extends TLObject {
48874
- __response__: Raw.TypeLangPackDifference;
48875
- langPack: string;
48876
- langCode: string;
48877
- fromVersion: int;
49118
+ class SendMessage extends TLObject {
49119
+ __response__: Raw.TypeUpdates;
49120
+ invertMedia?: boolean;
49121
+ welcome?: boolean;
49122
+ anchor?: boolean;
49123
+ noforwards?: boolean;
49124
+ peer?: Raw.TypeInputPeer;
49125
+ receiverId: Raw.TypeInputUser;
49126
+ queryId?: long;
49127
+ message: string;
49128
+ entities?: Vector<Raw.TypeMessageEntity>;
49129
+ media?: Raw.TypeInputMedia;
49130
+ replyMarkup?: Raw.TypeReplyMarkup;
49131
+ richMessage?: Raw.TypeInputRichMessage;
49132
+ randomId: long;
49133
+ replyTo?: Raw.TypeInputReplyTo;
48878
49134
  constructor(params: {
48879
- langPack: string;
48880
- langCode: string;
48881
- fromVersion: int;
49135
+ invertMedia?: boolean;
49136
+ welcome?: boolean;
49137
+ anchor?: boolean;
49138
+ noforwards?: boolean;
49139
+ peer?: Raw.TypeInputPeer;
49140
+ receiverId: Raw.TypeInputUser;
49141
+ queryId?: long;
49142
+ message: string;
49143
+ entities?: Vector<Raw.TypeMessageEntity>;
49144
+ media?: Raw.TypeInputMedia;
49145
+ replyMarkup?: Raw.TypeReplyMarkup;
49146
+ richMessage?: Raw.TypeInputRichMessage;
49147
+ randomId: long;
49148
+ replyTo?: Raw.TypeInputReplyTo;
48882
49149
  });
48883
49150
  /**
48884
49151
  * Generate the TLObject from buffer.
48885
49152
  * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
48886
49153
  */
48887
- static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.langpack.GetDifference>;
49154
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.ephemeral.SendMessage>;
48888
49155
  /**
48889
49156
  * Generate buffer from TLObject.
48890
49157
  */
48891
49158
  write(): Buffer;
48892
49159
  }
48893
- class GetLanguages extends TLObject {
48894
- __response__: Vector<Raw.TypeLangPackLanguage>;
48895
- langPack: string;
49160
+ class DeleteMessage extends TLObject {
49161
+ __response__: Bool;
49162
+ peer?: Raw.TypeInputPeer;
49163
+ receiverId: Raw.TypeInputUser;
49164
+ id: int;
48896
49165
  constructor(params: {
48897
- langPack: string;
49166
+ peer?: Raw.TypeInputPeer;
49167
+ receiverId: Raw.TypeInputUser;
49168
+ id: int;
48898
49169
  });
48899
49170
  /**
48900
49171
  * Generate the TLObject from buffer.
48901
49172
  * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
48902
49173
  */
48903
- static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.langpack.GetLanguages>;
49174
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.ephemeral.DeleteMessage>;
48904
49175
  /**
48905
49176
  * Generate buffer from TLObject.
48906
49177
  */
48907
49178
  write(): Buffer;
48908
49179
  }
48909
- class GetLanguage extends TLObject {
48910
- __response__: Raw.TypeLangPackLanguage;
48911
- langPack: string;
48912
- langCode: string;
49180
+ class ReportMessage extends TLObject {
49181
+ __response__: Raw.TypeReportResult;
49182
+ peer: Raw.TypeInputPeer;
49183
+ id: int;
49184
+ option: bytes;
49185
+ message: string;
48913
49186
  constructor(params: {
48914
- langPack: string;
48915
- langCode: string;
49187
+ peer: Raw.TypeInputPeer;
49188
+ id: int;
49189
+ option: bytes;
49190
+ message: string;
48916
49191
  });
48917
49192
  /**
48918
49193
  * Generate the TLObject from buffer.
48919
49194
  * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
48920
49195
  */
48921
- static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.langpack.GetLanguage>;
49196
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.ephemeral.ReportMessage>;
48922
49197
  /**
48923
49198
  * Generate buffer from TLObject.
48924
49199
  */
48925
49200
  write(): Buffer;
48926
49201
  }
48927
- }
48928
- namespace folders {
48929
- class EditPeerFolders extends TLObject {
48930
- __response__: Raw.TypeUpdates;
48931
- folderPeers: Vector<Raw.TypeInputFolderPeer>;
49202
+ class GetCallbackAnswer extends TLObject {
49203
+ __response__: Raw.messages.TypeBotCallbackAnswer;
49204
+ peer: Raw.TypeInputPeer;
49205
+ id: int;
49206
+ data?: bytes;
48932
49207
  constructor(params: {
48933
- folderPeers: Vector<Raw.TypeInputFolderPeer>;
49208
+ peer: Raw.TypeInputPeer;
49209
+ id: int;
49210
+ data?: bytes;
48934
49211
  });
48935
49212
  /**
48936
49213
  * Generate the TLObject from buffer.
48937
49214
  * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
48938
49215
  */
48939
- static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.folders.EditPeerFolders>;
49216
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.ephemeral.GetCallbackAnswer>;
48940
49217
  /**
48941
49218
  * Generate buffer from TLObject.
48942
49219
  */
48943
49220
  write(): Buffer;
48944
49221
  }
48945
- }
48946
- namespace ephemeral {
48947
- class SendMessage extends TLObject {
49222
+ class EditMessage extends TLObject {
48948
49223
  __response__: Raw.TypeUpdates;
48949
- peer: Raw.TypeInputPeer;
49224
+ invertMedia?: boolean;
49225
+ welcome?: boolean;
49226
+ peer?: Raw.TypeInputPeer;
48950
49227
  receiverId: Raw.TypeInputUser;
48951
- queryId?: long;
48952
- message: string;
48953
- entities?: Vector<Raw.TypeMessageEntity>;
49228
+ id: int;
49229
+ message?: string;
48954
49230
  media?: Raw.TypeInputMedia;
49231
+ entities?: Vector<Raw.TypeMessageEntity>;
48955
49232
  replyMarkup?: Raw.TypeReplyMarkup;
48956
49233
  richMessage?: Raw.TypeInputRichMessage;
48957
- randomId: long;
48958
- replyTo?: Raw.TypeInputReplyTo;
48959
49234
  constructor(params: {
48960
- peer: Raw.TypeInputPeer;
49235
+ invertMedia?: boolean;
49236
+ welcome?: boolean;
49237
+ peer?: Raw.TypeInputPeer;
48961
49238
  receiverId: Raw.TypeInputUser;
48962
- queryId?: long;
48963
- message: string;
48964
- entities?: Vector<Raw.TypeMessageEntity>;
49239
+ id: int;
49240
+ message?: string;
48965
49241
  media?: Raw.TypeInputMedia;
49242
+ entities?: Vector<Raw.TypeMessageEntity>;
48966
49243
  replyMarkup?: Raw.TypeReplyMarkup;
48967
49244
  richMessage?: Raw.TypeInputRichMessage;
48968
- randomId: long;
48969
- replyTo?: Raw.TypeInputReplyTo;
48970
49245
  });
48971
49246
  /**
48972
49247
  * Generate the TLObject from buffer.
48973
49248
  * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
48974
49249
  */
48975
- static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.ephemeral.SendMessage>;
49250
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.ephemeral.EditMessage>;
48976
49251
  /**
48977
49252
  * Generate buffer from TLObject.
48978
49253
  */
48979
49254
  write(): Buffer;
48980
49255
  }
48981
- class DeleteMessage extends TLObject {
49256
+ class DeleteWelcomeMessage extends TLObject {
48982
49257
  __response__: Bool;
48983
49258
  peer: Raw.TypeInputPeer;
48984
- receiverId: Raw.TypeInputUser;
48985
49259
  id: int;
48986
49260
  constructor(params: {
48987
49261
  peer: Raw.TypeInputPeer;
48988
- receiverId: Raw.TypeInputUser;
48989
49262
  id: int;
48990
49263
  });
48991
49264
  /**
48992
49265
  * Generate the TLObject from buffer.
48993
49266
  * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
48994
49267
  */
48995
- static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.ephemeral.DeleteMessage>;
49268
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.ephemeral.DeleteWelcomeMessage>;
48996
49269
  /**
48997
49270
  * Generate buffer from TLObject.
48998
49271
  */
48999
49272
  write(): Buffer;
49000
49273
  }
49001
- class ReportMessage extends TLObject {
49002
- __response__: Raw.TypeReportResult;
49274
+ class DeleteAllWelcomeMessages extends TLObject {
49275
+ __response__: Bool;
49003
49276
  peer: Raw.TypeInputPeer;
49004
- id: int;
49005
- option: bytes;
49006
- message: string;
49007
49277
  constructor(params: {
49008
49278
  peer: Raw.TypeInputPeer;
49009
- id: int;
49010
- option: bytes;
49011
- message: string;
49012
49279
  });
49013
49280
  /**
49014
49281
  * Generate the TLObject from buffer.
49015
49282
  * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
49016
49283
  */
49017
- static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.ephemeral.ReportMessage>;
49284
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.ephemeral.DeleteAllWelcomeMessages>;
49018
49285
  /**
49019
49286
  * Generate buffer from TLObject.
49020
49287
  */
49021
49288
  write(): Buffer;
49022
49289
  }
49023
- class GetCallbackAnswer extends TLObject {
49024
- __response__: Raw.messages.TypeBotCallbackAnswer;
49290
+ class GetWelcomeMessages extends TLObject {
49291
+ __response__: Raw.ephemeral.TypeWelcomeMessages;
49025
49292
  peer: Raw.TypeInputPeer;
49026
- id: int;
49027
- data?: bytes;
49293
+ hash: long;
49028
49294
  constructor(params: {
49029
49295
  peer: Raw.TypeInputPeer;
49030
- id: int;
49031
- data?: bytes;
49296
+ hash: long;
49032
49297
  });
49033
49298
  /**
49034
49299
  * Generate the TLObject from buffer.
49035
49300
  * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
49036
49301
  */
49037
- static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.ephemeral.GetCallbackAnswer>;
49302
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.ephemeral.GetWelcomeMessages>;
49303
+ /**
49304
+ * Generate buffer from TLObject.
49305
+ */
49306
+ write(): Buffer;
49307
+ }
49308
+ }
49309
+ namespace langpack {
49310
+ class GetLangPack extends TLObject {
49311
+ __response__: Raw.TypeLangPackDifference;
49312
+ langPack: string;
49313
+ langCode: string;
49314
+ constructor(params: {
49315
+ langPack: string;
49316
+ langCode: string;
49317
+ });
49318
+ /**
49319
+ * Generate the TLObject from buffer.
49320
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
49321
+ */
49322
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.langpack.GetLangPack>;
49323
+ /**
49324
+ * Generate buffer from TLObject.
49325
+ */
49326
+ write(): Buffer;
49327
+ }
49328
+ class GetStrings extends TLObject {
49329
+ __response__: Vector<Raw.TypeLangPackString>;
49330
+ langPack: string;
49331
+ langCode: string;
49332
+ keys: Vector<string>;
49333
+ constructor(params: {
49334
+ langPack: string;
49335
+ langCode: string;
49336
+ keys: Vector<string>;
49337
+ });
49338
+ /**
49339
+ * Generate the TLObject from buffer.
49340
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
49341
+ */
49342
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.langpack.GetStrings>;
49343
+ /**
49344
+ * Generate buffer from TLObject.
49345
+ */
49346
+ write(): Buffer;
49347
+ }
49348
+ class GetDifference extends TLObject {
49349
+ __response__: Raw.TypeLangPackDifference;
49350
+ langPack: string;
49351
+ langCode: string;
49352
+ fromVersion: int;
49353
+ constructor(params: {
49354
+ langPack: string;
49355
+ langCode: string;
49356
+ fromVersion: int;
49357
+ });
49358
+ /**
49359
+ * Generate the TLObject from buffer.
49360
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
49361
+ */
49362
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.langpack.GetDifference>;
49363
+ /**
49364
+ * Generate buffer from TLObject.
49365
+ */
49366
+ write(): Buffer;
49367
+ }
49368
+ class GetLanguages extends TLObject {
49369
+ __response__: Vector<Raw.TypeLangPackLanguage>;
49370
+ langPack: string;
49371
+ constructor(params: {
49372
+ langPack: string;
49373
+ });
49374
+ /**
49375
+ * Generate the TLObject from buffer.
49376
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
49377
+ */
49378
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.langpack.GetLanguages>;
49379
+ /**
49380
+ * Generate buffer from TLObject.
49381
+ */
49382
+ write(): Buffer;
49383
+ }
49384
+ class GetLanguage extends TLObject {
49385
+ __response__: Raw.TypeLangPackLanguage;
49386
+ langPack: string;
49387
+ langCode: string;
49388
+ constructor(params: {
49389
+ langPack: string;
49390
+ langCode: string;
49391
+ });
49392
+ /**
49393
+ * Generate the TLObject from buffer.
49394
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
49395
+ */
49396
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.langpack.GetLanguage>;
49397
+ /**
49398
+ * Generate buffer from TLObject.
49399
+ */
49400
+ write(): Buffer;
49401
+ }
49402
+ }
49403
+ namespace folders {
49404
+ class EditPeerFolders extends TLObject {
49405
+ __response__: Raw.TypeUpdates;
49406
+ folderPeers: Vector<Raw.TypeInputFolderPeer>;
49407
+ constructor(params: {
49408
+ folderPeers: Vector<Raw.TypeInputFolderPeer>;
49409
+ });
49410
+ /**
49411
+ * Generate the TLObject from buffer.
49412
+ * @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
49413
+ */
49414
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.folders.EditPeerFolders>;
49038
49415
  /**
49039
49416
  * Generate buffer from TLObject.
49040
49417
  */