@tgsnake/skema 1.10.0 → 1.12.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/raw/Raw.d.ts CHANGED
@@ -15,7 +15,7 @@ export declare namespace Raw {
15
15
  type Vector<T> = Array<T>;
16
16
  const Layer: number;
17
17
  const HighestSCLayer: number;
18
- type TypesTLRequest = Raw.ReqPq | Raw.ReqPqMulti | Raw.ReqDhParams | Raw.SetClientDhParams | Raw.DestroyAuthKey | Raw.RpcDropAnswer | Raw.GetFutureSalts | Raw.Ping | Raw.PingDelayDisconnect | Raw.DestroySession | Raw.InvokeAfterMsg | Raw.InvokeAfterMsgs | Raw.InitConnection | Raw.InvokeWithLayer | Raw.InvokeWithoutUpdates | Raw.InvokeWithMessagesRange | Raw.InvokeWithTakeout | Raw.InvokeWithBusinessConnection | Raw.InvokeWithGooglePlayIntegrity | Raw.InvokeWithApnsSecret | Raw.InvokeWithReCaptcha | Raw.auth.SendCode | Raw.auth.SignUp | Raw.auth.SignIn | Raw.auth.LogOut | Raw.auth.ResetAuthorizations | Raw.auth.ExportAuthorization | Raw.auth.ImportAuthorization | Raw.auth.BindTempAuthKey | Raw.auth.ImportBotAuthorization | Raw.auth.CheckPassword | Raw.auth.RequestPasswordRecovery | Raw.auth.RecoverPassword | Raw.auth.ResendCode | Raw.auth.CancelCode | Raw.auth.DropTempAuthKeys | Raw.auth.ExportLoginToken | Raw.auth.ImportLoginToken | Raw.auth.AcceptLoginToken | Raw.auth.CheckRecoveryPassword | Raw.auth.ImportWebTokenAuthorization | Raw.auth.RequestFirebaseSms | Raw.auth.ResetLoginEmail | Raw.auth.ReportMissingCode | Raw.auth.CheckPaidAuth | Raw.auth.InitPasskeyLogin | Raw.auth.FinishPasskeyLogin | Raw.account.RegisterDevice | Raw.account.UnregisterDevice | Raw.account.UpdateNotifySettings | Raw.account.GetNotifySettings | Raw.account.ResetNotifySettings | Raw.account.UpdateProfile | Raw.account.UpdateStatus | Raw.account.GetWallPapers | Raw.account.ReportPeer | Raw.account.CheckUsername | Raw.account.UpdateUsername | Raw.account.GetPrivacy | Raw.account.SetPrivacy | Raw.account.DeleteAccount | Raw.account.GetAccountTTL | Raw.account.SetAccountTTL | Raw.account.SendChangePhoneCode | Raw.account.ChangePhone | Raw.account.UpdateDeviceLocked | Raw.account.GetAuthorizations | Raw.account.ResetAuthorization | Raw.account.GetPassword | Raw.account.GetPasswordSettings | Raw.account.UpdatePasswordSettings | Raw.account.SendConfirmPhoneCode | Raw.account.ConfirmPhone | Raw.account.GetTmpPassword | Raw.account.GetWebAuthorizations | Raw.account.ResetWebAuthorization | Raw.account.ResetWebAuthorizations | Raw.account.GetAllSecureValues | Raw.account.GetSecureValue | Raw.account.SaveSecureValue | Raw.account.DeleteSecureValue | Raw.account.GetAuthorizationForm | Raw.account.AcceptAuthorization | Raw.account.SendVerifyPhoneCode | Raw.account.VerifyPhone | Raw.account.SendVerifyEmailCode | Raw.account.VerifyEmail | Raw.account.InitTakeoutSession | Raw.account.FinishTakeoutSession | Raw.account.ConfirmPasswordEmail | Raw.account.ResendPasswordEmail | Raw.account.CancelPasswordEmail | Raw.account.GetContactSignUpNotification | Raw.account.SetContactSignUpNotification | Raw.account.GetNotifyExceptions | Raw.account.GetWallPaper | Raw.account.UploadWallPaper | Raw.account.SaveWallPaper | Raw.account.InstallWallPaper | Raw.account.ResetWallPapers | Raw.account.GetAutoDownloadSettings | Raw.account.SaveAutoDownloadSettings | Raw.account.UploadTheme | Raw.account.CreateTheme | Raw.account.UpdateTheme | Raw.account.SaveTheme | Raw.account.InstallTheme | Raw.account.GetTheme | Raw.account.GetThemes | Raw.account.SetContentSettings | Raw.account.GetContentSettings | Raw.account.GetMultiWallPapers | Raw.account.GetGlobalPrivacySettings | Raw.account.SetGlobalPrivacySettings | Raw.account.ReportProfilePhoto | Raw.account.ResetPassword | Raw.account.DeclinePasswordReset | Raw.account.GetChatThemes | Raw.account.SetAuthorizationTTL | Raw.account.ChangeAuthorizationSettings | Raw.account.GetSavedRingtones | Raw.account.SaveRingtone | Raw.account.UploadRingtone | Raw.account.UpdateEmojiStatus | Raw.account.GetDefaultEmojiStatuses | Raw.account.GetRecentEmojiStatuses | Raw.account.ClearRecentEmojiStatuses | Raw.account.ReorderUsernames | Raw.account.ToggleUsername | Raw.account.GetDefaultProfilePhotoEmojis | Raw.account.GetDefaultGroupPhotoEmojis | Raw.account.GetAutoSaveSettings | Raw.account.SaveAutoSaveSettings | Raw.account.DeleteAutoSaveExceptions | Raw.account.InvalidateSignInCodes | Raw.account.UpdateColor | Raw.account.GetDefaultBackgroundEmojis | Raw.account.GetChannelDefaultEmojiStatuses | Raw.account.GetChannelRestrictedStatusEmojis | Raw.account.UpdateBusinessWorkHours | Raw.account.UpdateBusinessLocation | Raw.account.UpdateBusinessGreetingMessage | Raw.account.UpdateBusinessAwayMessage | Raw.account.UpdateConnectedBot | Raw.account.GetConnectedBots | Raw.account.GetBotBusinessConnection | Raw.account.UpdateBusinessIntro | Raw.account.ToggleConnectedBotPaused | Raw.account.DisablePeerConnectedBot | Raw.account.UpdateBirthday | Raw.account.CreateBusinessChatLink | Raw.account.EditBusinessChatLink | Raw.account.DeleteBusinessChatLink | Raw.account.GetBusinessChatLinks | Raw.account.ResolveBusinessChatLink | Raw.account.UpdatePersonalChannel | Raw.account.ToggleSponsoredMessages | Raw.account.GetReactionsNotifySettings | Raw.account.SetReactionsNotifySettings | Raw.account.GetCollectibleEmojiStatuses | Raw.account.GetPaidMessagesRevenue | Raw.account.ToggleNoPaidMessagesException | Raw.account.SetMainProfileTab | Raw.account.SaveMusic | Raw.account.GetSavedMusicIds | Raw.account.GetUniqueGiftChatThemes | Raw.account.InitPasskeyRegistration | Raw.account.RegisterPasskey | Raw.account.GetPasskeys | Raw.account.DeletePasskey | Raw.users.GetUsers | Raw.users.GetFullUser | Raw.users.SetSecureValueErrors | Raw.users.GetRequirementsToContact | Raw.users.GetSavedMusic | Raw.users.GetSavedMusicByID | Raw.users.SuggestBirthday | Raw.contacts.GetContactIDs | Raw.contacts.GetStatuses | Raw.contacts.GetContacts | Raw.contacts.ImportContacts | Raw.contacts.DeleteContacts | Raw.contacts.DeleteByPhones | Raw.contacts.Block | Raw.contacts.Unblock | Raw.contacts.GetBlocked | Raw.contacts.Search | Raw.contacts.ResolveUsername | Raw.contacts.GetTopPeers | Raw.contacts.ResetTopPeerRating | Raw.contacts.ResetSaved | Raw.contacts.GetSaved | Raw.contacts.ToggleTopPeers | Raw.contacts.AddContact | Raw.contacts.AcceptContact | Raw.contacts.GetLocated | Raw.contacts.BlockFromReplies | Raw.contacts.ResolvePhone | Raw.contacts.ExportContactToken | Raw.contacts.ImportContactToken | Raw.contacts.EditCloseFriends | Raw.contacts.SetBlocked | Raw.contacts.GetBirthdays | Raw.contacts.GetSponsoredPeers | Raw.contacts.UpdateContactNote | Raw.messages.GetMessages | Raw.messages.GetDialogs | Raw.messages.GetHistory | Raw.messages.Search | Raw.messages.ReadHistory | Raw.messages.DeleteHistory | Raw.messages.DeleteMessages | Raw.messages.ReceivedMessages | Raw.messages.SetTyping | Raw.messages.SendMessage | Raw.messages.SendMedia | Raw.messages.ForwardMessages | Raw.messages.ReportSpam | Raw.messages.GetPeerSettings | Raw.messages.Report | Raw.messages.GetChats | Raw.messages.GetFullChat | Raw.messages.EditChatTitle | Raw.messages.EditChatPhoto | Raw.messages.AddChatUser | Raw.messages.DeleteChatUser | Raw.messages.CreateChat | Raw.messages.GetDhConfig | Raw.messages.RequestEncryption | Raw.messages.AcceptEncryption | Raw.messages.DiscardEncryption | Raw.messages.SetEncryptedTyping | Raw.messages.ReadEncryptedHistory | Raw.messages.SendEncrypted | Raw.messages.SendEncryptedFile | Raw.messages.SendEncryptedService | Raw.messages.ReceivedQueue | Raw.messages.ReportEncryptedSpam | Raw.messages.ReadMessageContents | Raw.messages.GetStickers | Raw.messages.GetAllStickers | Raw.messages.GetWebPagePreview | Raw.messages.ExportChatInvite | Raw.messages.CheckChatInvite | Raw.messages.ImportChatInvite | Raw.messages.GetStickerSet | Raw.messages.InstallStickerSet | Raw.messages.UninstallStickerSet | Raw.messages.StartBot | Raw.messages.GetMessagesViews | Raw.messages.EditChatAdmin | Raw.messages.MigrateChat | Raw.messages.SearchGlobal | Raw.messages.ReorderStickerSets | Raw.messages.GetDocumentByHash | Raw.messages.GetSavedGifs | Raw.messages.SaveGif | Raw.messages.GetInlineBotResults | Raw.messages.SetInlineBotResults | Raw.messages.SendInlineBotResult | Raw.messages.GetMessageEditData | Raw.messages.EditMessage | Raw.messages.EditInlineBotMessage | Raw.messages.GetBotCallbackAnswer | Raw.messages.SetBotCallbackAnswer | Raw.messages.GetPeerDialogs | Raw.messages.SaveDraft | Raw.messages.GetAllDrafts | Raw.messages.GetFeaturedStickers | Raw.messages.ReadFeaturedStickers | Raw.messages.GetRecentStickers | Raw.messages.SaveRecentSticker | Raw.messages.ClearRecentStickers | Raw.messages.GetArchivedStickers | Raw.messages.GetMaskStickers | Raw.messages.GetAttachedStickers | Raw.messages.SetGameScore | Raw.messages.SetInlineGameScore | Raw.messages.GetGameHighScores | Raw.messages.GetInlineGameHighScores | Raw.messages.GetCommonChats | Raw.messages.GetWebPage | Raw.messages.ToggleDialogPin | Raw.messages.ReorderPinnedDialogs | Raw.messages.GetPinnedDialogs | Raw.messages.SetBotShippingResults | Raw.messages.SetBotPrecheckoutResults | Raw.messages.UploadMedia | Raw.messages.SendScreenshotNotification | Raw.messages.GetFavedStickers | Raw.messages.FaveSticker | Raw.messages.GetUnreadMentions | Raw.messages.ReadMentions | Raw.messages.GetRecentLocations | Raw.messages.SendMultiMedia | Raw.messages.UploadEncryptedFile | Raw.messages.SearchStickerSets | Raw.messages.GetSplitRanges | Raw.messages.MarkDialogUnread | Raw.messages.GetDialogUnreadMarks | Raw.messages.ClearAllDrafts | Raw.messages.UpdatePinnedMessage | Raw.messages.SendVote | Raw.messages.GetPollResults | Raw.messages.GetOnlines | Raw.messages.EditChatAbout | Raw.messages.EditChatDefaultBannedRights | Raw.messages.GetEmojiKeywords | Raw.messages.GetEmojiKeywordsDifference | Raw.messages.GetEmojiKeywordsLanguages | Raw.messages.GetEmojiURL | Raw.messages.GetSearchCounters | Raw.messages.RequestUrlAuth | Raw.messages.AcceptUrlAuth | Raw.messages.HidePeerSettingsBar | Raw.messages.GetScheduledHistory | Raw.messages.GetScheduledMessages | Raw.messages.SendScheduledMessages | Raw.messages.DeleteScheduledMessages | Raw.messages.GetPollVotes | Raw.messages.ToggleStickerSets | Raw.messages.GetDialogFilters | Raw.messages.GetSuggestedDialogFilters | Raw.messages.UpdateDialogFilter | Raw.messages.UpdateDialogFiltersOrder | Raw.messages.GetOldFeaturedStickers | Raw.messages.GetReplies | Raw.messages.GetDiscussionMessage | Raw.messages.ReadDiscussion | Raw.messages.UnpinAllMessages | Raw.messages.DeleteChat | Raw.messages.DeletePhoneCallHistory | Raw.messages.CheckHistoryImport | Raw.messages.InitHistoryImport | Raw.messages.UploadImportedMedia | Raw.messages.StartHistoryImport | Raw.messages.GetExportedChatInvites | Raw.messages.GetExportedChatInvite | Raw.messages.EditExportedChatInvite | Raw.messages.DeleteRevokedExportedChatInvites | Raw.messages.DeleteExportedChatInvite | Raw.messages.GetAdminsWithInvites | Raw.messages.GetChatInviteImporters | Raw.messages.SetHistoryTTL | Raw.messages.CheckHistoryImportPeer | Raw.messages.SetChatTheme | Raw.messages.GetMessageReadParticipants | Raw.messages.GetSearchResultsCalendar | Raw.messages.GetSearchResultsPositions | Raw.messages.HideChatJoinRequest | Raw.messages.HideAllChatJoinRequests | Raw.messages.ToggleNoForwards | Raw.messages.SaveDefaultSendAs | Raw.messages.SendReaction | Raw.messages.GetMessagesReactions | Raw.messages.GetMessageReactionsList | Raw.messages.SetChatAvailableReactions | Raw.messages.GetAvailableReactions | Raw.messages.SetDefaultReaction | Raw.messages.TranslateText | Raw.messages.GetUnreadReactions | Raw.messages.ReadReactions | Raw.messages.SearchSentMedia | Raw.messages.GetAttachMenuBots | Raw.messages.GetAttachMenuBot | Raw.messages.ToggleBotInAttachMenu | Raw.messages.RequestWebView | Raw.messages.ProlongWebView | Raw.messages.RequestSimpleWebView | Raw.messages.SendWebViewResultMessage | Raw.messages.SendWebViewData | Raw.messages.TranscribeAudio | Raw.messages.RateTranscribedAudio | Raw.messages.GetCustomEmojiDocuments | Raw.messages.GetEmojiStickers | Raw.messages.GetFeaturedEmojiStickers | Raw.messages.ReportReaction | Raw.messages.GetTopReactions | Raw.messages.GetRecentReactions | Raw.messages.ClearRecentReactions | Raw.messages.GetExtendedMedia | Raw.messages.SetDefaultHistoryTTL | Raw.messages.GetDefaultHistoryTTL | Raw.messages.SendBotRequestedPeer | Raw.messages.GetEmojiGroups | Raw.messages.GetEmojiStatusGroups | Raw.messages.GetEmojiProfilePhotoGroups | Raw.messages.SearchCustomEmoji | Raw.messages.TogglePeerTranslations | Raw.messages.GetBotApp | Raw.messages.RequestAppWebView | Raw.messages.SetChatWallPaper | Raw.messages.SearchEmojiStickerSets | Raw.messages.GetSavedDialogs | Raw.messages.GetSavedHistory | Raw.messages.DeleteSavedHistory | Raw.messages.GetPinnedSavedDialogs | Raw.messages.ToggleSavedDialogPin | Raw.messages.ReorderPinnedSavedDialogs | Raw.messages.GetSavedReactionTags | Raw.messages.UpdateSavedReactionTag | Raw.messages.GetDefaultTagReactions | Raw.messages.GetOutboxReadDate | Raw.messages.GetQuickReplies | Raw.messages.ReorderQuickReplies | Raw.messages.CheckQuickReplyShortcut | Raw.messages.EditQuickReplyShortcut | Raw.messages.DeleteQuickReplyShortcut | Raw.messages.GetQuickReplyMessages | Raw.messages.SendQuickReplyMessages | Raw.messages.DeleteQuickReplyMessages | Raw.messages.ToggleDialogFilterTags | Raw.messages.GetMyStickers | Raw.messages.GetEmojiStickerGroups | Raw.messages.GetAvailableEffects | Raw.messages.EditFactCheck | Raw.messages.DeleteFactCheck | Raw.messages.GetFactCheck | Raw.messages.RequestMainWebView | Raw.messages.SendPaidReaction | Raw.messages.TogglePaidReactionPrivacy | Raw.messages.GetPaidReactionPrivacy | Raw.messages.ViewSponsoredMessage | Raw.messages.ClickSponsoredMessage | Raw.messages.ReportSponsoredMessage | Raw.messages.GetSponsoredMessages | Raw.messages.SavePreparedInlineMessage | Raw.messages.GetPreparedInlineMessage | Raw.messages.SearchStickers | Raw.messages.ReportMessagesDelivery | Raw.messages.GetSavedDialogsByID | Raw.messages.ReadSavedHistory | Raw.messages.ToggleTodoCompleted | Raw.messages.AppendTodoList | Raw.messages.ToggleSuggestedPostApproval | Raw.messages.GetForumTopics | Raw.messages.GetForumTopicsByID | Raw.messages.EditForumTopic | Raw.messages.UpdatePinnedForumTopic | Raw.messages.ReorderPinnedForumTopics | Raw.messages.CreateForumTopic | Raw.messages.DeleteTopicHistory | Raw.messages.GetEmojiGameInfo | Raw.messages.SummarizeText | Raw.updates.GetState | Raw.updates.GetDifference | Raw.updates.GetChannelDifference | Raw.photos.UpdateProfilePhoto | Raw.photos.UploadProfilePhoto | Raw.photos.DeletePhotos | Raw.photos.GetUserPhotos | Raw.photos.UploadContactProfilePhoto | Raw.upload.SaveFilePart | Raw.upload.GetFile | Raw.upload.SaveBigFilePart | Raw.upload.GetWebFile | Raw.upload.GetCdnFile | Raw.upload.ReuploadCdnFile | Raw.upload.GetCdnFileHashes | Raw.upload.GetFileHashes | Raw.help.GetConfig | Raw.help.GetNearestDc | Raw.help.GetAppUpdate | Raw.help.GetInviteText | Raw.help.GetSupport | Raw.help.SetBotUpdatesStatus | Raw.help.GetCdnConfig | Raw.help.GetRecentMeUrls | Raw.help.GetTermsOfServiceUpdate | Raw.help.AcceptTermsOfService | Raw.help.GetDeepLinkInfo | Raw.help.GetAppConfig | Raw.help.SaveAppLog | Raw.help.GetPassportConfig | Raw.help.GetSupportName | Raw.help.GetUserInfo | Raw.help.EditUserInfo | Raw.help.GetPromoData | Raw.help.HidePromoData | Raw.help.DismissSuggestion | Raw.help.GetCountriesList | Raw.help.GetPremiumPromo | Raw.help.GetPeerColors | Raw.help.GetPeerProfileColors | Raw.help.GetTimezonesList | Raw.channels.ReadHistory | Raw.channels.DeleteMessages | Raw.channels.ReportSpam | Raw.channels.GetMessages | Raw.channels.GetParticipants | Raw.channels.GetParticipant | Raw.channels.GetChannels | Raw.channels.GetFullChannel | Raw.channels.CreateChannel | Raw.channels.EditAdmin | Raw.channels.EditTitle | Raw.channels.EditPhoto | Raw.channels.CheckUsername | Raw.channels.UpdateUsername | Raw.channels.JoinChannel | Raw.channels.LeaveChannel | Raw.channels.InviteToChannel | Raw.channels.DeleteChannel | Raw.channels.ExportMessageLink | Raw.channels.ToggleSignatures | Raw.channels.GetAdminedPublicChannels | Raw.channels.EditBanned | Raw.channels.GetAdminLog | Raw.channels.SetStickers | Raw.channels.ReadMessageContents | Raw.channels.DeleteHistory | Raw.channels.TogglePreHistoryHidden | Raw.channels.GetLeftChannels | Raw.channels.GetGroupsForDiscussion | Raw.channels.SetDiscussionGroup | Raw.channels.EditCreator | Raw.channels.EditLocation | Raw.channels.ToggleSlowMode | Raw.channels.GetInactiveChannels | Raw.channels.ConvertToGigagroup | Raw.channels.GetSendAs | Raw.channels.DeleteParticipantHistory | Raw.channels.ToggleJoinToSend | Raw.channels.ToggleJoinRequest | Raw.channels.ReorderUsernames | Raw.channels.ToggleUsername | Raw.channels.DeactivateAllUsernames | Raw.channels.ToggleForum | Raw.channels.ToggleAntiSpam | Raw.channels.ReportAntiSpamFalsePositive | Raw.channels.ToggleParticipantsHidden | Raw.channels.UpdateColor | Raw.channels.ToggleViewForumAsMessages | Raw.channels.GetChannelRecommendations | Raw.channels.UpdateEmojiStatus | Raw.channels.SetBoostsToUnblockRestrictions | Raw.channels.SetEmojiStickers | Raw.channels.RestrictSponsoredMessages | Raw.channels.SearchPosts | Raw.channels.UpdatePaidMessagesPrice | Raw.channels.ToggleAutotranslation | Raw.channels.GetMessageAuthor | Raw.channels.CheckSearchPostsFlood | Raw.channels.SetMainProfileTab | Raw.channels.GetFutureCreatorAfterLeave | Raw.bots.SendCustomRequest | Raw.bots.AnswerWebhookJSONQuery | Raw.bots.SetBotCommands | Raw.bots.ResetBotCommands | Raw.bots.GetBotCommands | Raw.bots.SetBotMenuButton | Raw.bots.GetBotMenuButton | Raw.bots.SetBotBroadcastDefaultAdminRights | Raw.bots.SetBotGroupDefaultAdminRights | Raw.bots.SetBotInfo | Raw.bots.GetBotInfo | Raw.bots.ReorderUsernames | Raw.bots.ToggleUsername | Raw.bots.CanSendMessage | Raw.bots.AllowSendMessage | Raw.bots.InvokeWebViewCustomMethod | Raw.bots.GetPopularAppBots | Raw.bots.AddPreviewMedia | Raw.bots.EditPreviewMedia | Raw.bots.DeletePreviewMedia | Raw.bots.ReorderPreviewMedias | Raw.bots.GetPreviewInfo | Raw.bots.GetPreviewMedias | Raw.bots.UpdateUserEmojiStatus | Raw.bots.ToggleUserEmojiStatusPermission | Raw.bots.CheckDownloadFileParams | Raw.bots.GetAdminedBots | Raw.bots.UpdateStarRefProgram | Raw.bots.SetCustomVerification | Raw.bots.GetBotRecommendations | Raw.payments.GetPaymentForm | Raw.payments.GetPaymentReceipt | Raw.payments.ValidateRequestedInfo | Raw.payments.SendPaymentForm | Raw.payments.GetSavedInfo | Raw.payments.ClearSavedInfo | Raw.payments.GetBankCardData | Raw.payments.ExportInvoice | Raw.payments.AssignAppStoreTransaction | Raw.payments.AssignPlayMarketTransaction | Raw.payments.GetPremiumGiftCodeOptions | Raw.payments.CheckGiftCode | Raw.payments.ApplyGiftCode | Raw.payments.GetGiveawayInfo | Raw.payments.LaunchPrepaidGiveaway | Raw.payments.GetStarsTopupOptions | Raw.payments.GetStarsStatus | Raw.payments.GetStarsTransactions | Raw.payments.SendStarsForm | Raw.payments.RefundStarsCharge | Raw.payments.GetStarsRevenueStats | Raw.payments.GetStarsRevenueWithdrawalUrl | Raw.payments.GetStarsRevenueAdsAccountUrl | Raw.payments.GetStarsTransactionsByID | Raw.payments.GetStarsGiftOptions | Raw.payments.GetStarsSubscriptions | Raw.payments.ChangeStarsSubscription | Raw.payments.FulfillStarsSubscription | Raw.payments.GetStarsGiveawayOptions | Raw.payments.GetStarGifts | Raw.payments.SaveStarGift | Raw.payments.ConvertStarGift | Raw.payments.BotCancelStarsSubscription | Raw.payments.GetConnectedStarRefBots | Raw.payments.GetConnectedStarRefBot | Raw.payments.GetSuggestedStarRefBots | Raw.payments.ConnectStarRefBot | Raw.payments.EditConnectedStarRefBot | Raw.payments.GetStarGiftUpgradePreview | Raw.payments.UpgradeStarGift | Raw.payments.TransferStarGift | Raw.payments.GetUniqueStarGift | Raw.payments.GetSavedStarGifts | Raw.payments.GetSavedStarGift | Raw.payments.GetStarGiftWithdrawalUrl | Raw.payments.ToggleChatStarGiftNotifications | Raw.payments.ToggleStarGiftsPinnedToTop | Raw.payments.CanPurchaseStore | Raw.payments.GetResaleStarGifts | Raw.payments.UpdateStarGiftPrice | Raw.payments.CreateStarGiftCollection | Raw.payments.UpdateStarGiftCollection | Raw.payments.ReorderStarGiftCollections | Raw.payments.DeleteStarGiftCollection | Raw.payments.GetStarGiftCollections | Raw.payments.GetUniqueStarGiftValueInfo | Raw.payments.CheckCanSendGift | Raw.payments.GetStarGiftAuctionState | Raw.payments.GetStarGiftAuctionAcquiredGifts | Raw.payments.GetStarGiftActiveAuctions | Raw.payments.ResolveStarGiftOffer | Raw.payments.SendStarGiftOffer | Raw.payments.GetStarGiftUpgradeAttributes | Raw.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.chatlists.ExportChatlistInvite | Raw.chatlists.DeleteExportedInvite | Raw.chatlists.EditExportedInvite | Raw.chatlists.GetExportedInvites | Raw.chatlists.CheckChatlistInvite | Raw.chatlists.JoinChatlistInvite | Raw.chatlists.GetChatlistUpdates | Raw.chatlists.JoinChatlistUpdates | Raw.chatlists.HideChatlistUpdates | Raw.chatlists.GetLeaveChatlistSuggestions | Raw.chatlists.LeaveChatlist | Raw.stories.CanSendStory | Raw.stories.SendStory | Raw.stories.EditStory | Raw.stories.DeleteStories | Raw.stories.TogglePinned | Raw.stories.GetAllStories | Raw.stories.GetPinnedStories | Raw.stories.GetStoriesArchive | Raw.stories.GetStoriesByID | Raw.stories.ToggleAllStoriesHidden | Raw.stories.ReadStories | Raw.stories.IncrementStoryViews | Raw.stories.GetStoryViewsList | Raw.stories.GetStoriesViews | Raw.stories.ExportStoryLink | Raw.stories.Report | Raw.stories.ActivateStealthMode | Raw.stories.SendReaction | Raw.stories.GetPeerStories | Raw.stories.GetAllReadPeerStories | Raw.stories.GetPeerMaxIDs | Raw.stories.GetChatsToSend | Raw.stories.TogglePeerStoriesHidden | Raw.stories.GetStoryReactionsList | Raw.stories.TogglePinnedToTop | Raw.stories.SearchPosts | Raw.stories.CreateAlbum | Raw.stories.UpdateAlbum | Raw.stories.ReorderAlbums | Raw.stories.DeleteAlbum | Raw.stories.GetAlbums | Raw.stories.GetAlbumStories | Raw.stories.StartLive | Raw.premium.GetBoostsList | Raw.premium.GetMyBoosts | Raw.premium.ApplyBoost | Raw.premium.GetBoostsStatus | Raw.premium.GetUserBoosts | Raw.smsjobs.IsEligibleToJoin | Raw.smsjobs.Join | Raw.smsjobs.Leave | Raw.smsjobs.UpdateSettings | Raw.smsjobs.GetStatus | Raw.smsjobs.GetSmsJob | Raw.smsjobs.FinishJob | Raw.fragment.GetCollectibleInfo;
18
+ type TypesTLRequest = Raw.ReqPq | Raw.ReqPqMulti | Raw.ReqDhParams | Raw.SetClientDhParams | Raw.DestroyAuthKey | Raw.RpcDropAnswer | Raw.GetFutureSalts | Raw.Ping | Raw.PingDelayDisconnect | Raw.DestroySession | Raw.InvokeAfterMsg | Raw.InvokeAfterMsgs | Raw.InitConnection | Raw.InvokeWithLayer | Raw.InvokeWithoutUpdates | Raw.InvokeWithMessagesRange | Raw.InvokeWithTakeout | Raw.InvokeWithBusinessConnection | Raw.InvokeWithGooglePlayIntegrity | Raw.InvokeWithApnsSecret | Raw.InvokeWithReCaptcha | Raw.auth.SendCode | Raw.auth.SignUp | Raw.auth.SignIn | Raw.auth.LogOut | Raw.auth.ResetAuthorizations | Raw.auth.ExportAuthorization | Raw.auth.ImportAuthorization | Raw.auth.BindTempAuthKey | Raw.auth.ImportBotAuthorization | Raw.auth.CheckPassword | Raw.auth.RequestPasswordRecovery | Raw.auth.RecoverPassword | Raw.auth.ResendCode | Raw.auth.CancelCode | Raw.auth.DropTempAuthKeys | Raw.auth.ExportLoginToken | Raw.auth.ImportLoginToken | Raw.auth.AcceptLoginToken | Raw.auth.CheckRecoveryPassword | Raw.auth.ImportWebTokenAuthorization | Raw.auth.RequestFirebaseSms | Raw.auth.ResetLoginEmail | Raw.auth.ReportMissingCode | Raw.auth.CheckPaidAuth | Raw.auth.InitPasskeyLogin | Raw.auth.FinishPasskeyLogin | Raw.account.RegisterDevice | Raw.account.UnregisterDevice | Raw.account.UpdateNotifySettings | Raw.account.GetNotifySettings | Raw.account.ResetNotifySettings | Raw.account.UpdateProfile | Raw.account.UpdateStatus | Raw.account.GetWallPapers | Raw.account.ReportPeer | Raw.account.CheckUsername | Raw.account.UpdateUsername | Raw.account.GetPrivacy | Raw.account.SetPrivacy | Raw.account.DeleteAccount | Raw.account.GetAccountTTL | Raw.account.SetAccountTTL | Raw.account.SendChangePhoneCode | Raw.account.ChangePhone | Raw.account.UpdateDeviceLocked | Raw.account.GetAuthorizations | Raw.account.ResetAuthorization | Raw.account.GetPassword | Raw.account.GetPasswordSettings | Raw.account.UpdatePasswordSettings | Raw.account.SendConfirmPhoneCode | Raw.account.ConfirmPhone | Raw.account.GetTmpPassword | Raw.account.GetWebAuthorizations | Raw.account.ResetWebAuthorization | Raw.account.ResetWebAuthorizations | Raw.account.GetAllSecureValues | Raw.account.GetSecureValue | Raw.account.SaveSecureValue | Raw.account.DeleteSecureValue | Raw.account.GetAuthorizationForm | Raw.account.AcceptAuthorization | Raw.account.SendVerifyPhoneCode | Raw.account.VerifyPhone | Raw.account.SendVerifyEmailCode | Raw.account.VerifyEmail | Raw.account.InitTakeoutSession | Raw.account.FinishTakeoutSession | Raw.account.ConfirmPasswordEmail | Raw.account.ResendPasswordEmail | Raw.account.CancelPasswordEmail | Raw.account.GetContactSignUpNotification | Raw.account.SetContactSignUpNotification | Raw.account.GetNotifyExceptions | Raw.account.GetWallPaper | Raw.account.UploadWallPaper | Raw.account.SaveWallPaper | Raw.account.InstallWallPaper | Raw.account.ResetWallPapers | Raw.account.GetAutoDownloadSettings | Raw.account.SaveAutoDownloadSettings | Raw.account.UploadTheme | Raw.account.CreateTheme | Raw.account.UpdateTheme | Raw.account.SaveTheme | Raw.account.InstallTheme | Raw.account.GetTheme | Raw.account.GetThemes | Raw.account.SetContentSettings | Raw.account.GetContentSettings | Raw.account.GetMultiWallPapers | Raw.account.GetGlobalPrivacySettings | Raw.account.SetGlobalPrivacySettings | Raw.account.ReportProfilePhoto | Raw.account.ResetPassword | Raw.account.DeclinePasswordReset | Raw.account.GetChatThemes | Raw.account.SetAuthorizationTTL | Raw.account.ChangeAuthorizationSettings | Raw.account.GetSavedRingtones | Raw.account.SaveRingtone | Raw.account.UploadRingtone | Raw.account.UpdateEmojiStatus | Raw.account.GetDefaultEmojiStatuses | Raw.account.GetRecentEmojiStatuses | Raw.account.ClearRecentEmojiStatuses | Raw.account.ReorderUsernames | Raw.account.ToggleUsername | Raw.account.GetDefaultProfilePhotoEmojis | Raw.account.GetDefaultGroupPhotoEmojis | Raw.account.GetAutoSaveSettings | Raw.account.SaveAutoSaveSettings | Raw.account.DeleteAutoSaveExceptions | Raw.account.InvalidateSignInCodes | Raw.account.UpdateColor | Raw.account.GetDefaultBackgroundEmojis | Raw.account.GetChannelDefaultEmojiStatuses | Raw.account.GetChannelRestrictedStatusEmojis | Raw.account.UpdateBusinessWorkHours | Raw.account.UpdateBusinessLocation | Raw.account.UpdateBusinessGreetingMessage | Raw.account.UpdateBusinessAwayMessage | Raw.account.UpdateConnectedBot | Raw.account.GetConnectedBots | Raw.account.GetBotBusinessConnection | Raw.account.UpdateBusinessIntro | Raw.account.ToggleConnectedBotPaused | Raw.account.DisablePeerConnectedBot | Raw.account.UpdateBirthday | Raw.account.CreateBusinessChatLink | Raw.account.EditBusinessChatLink | Raw.account.DeleteBusinessChatLink | Raw.account.GetBusinessChatLinks | Raw.account.ResolveBusinessChatLink | Raw.account.UpdatePersonalChannel | Raw.account.ToggleSponsoredMessages | Raw.account.GetReactionsNotifySettings | Raw.account.SetReactionsNotifySettings | Raw.account.GetCollectibleEmojiStatuses | Raw.account.GetPaidMessagesRevenue | Raw.account.ToggleNoPaidMessagesException | Raw.account.SetMainProfileTab | Raw.account.SaveMusic | Raw.account.GetSavedMusicIds | Raw.account.GetUniqueGiftChatThemes | Raw.account.InitPasskeyRegistration | Raw.account.RegisterPasskey | Raw.account.GetPasskeys | Raw.account.DeletePasskey | Raw.users.GetUsers | Raw.users.GetFullUser | Raw.users.SetSecureValueErrors | Raw.users.GetRequirementsToContact | Raw.users.GetSavedMusic | Raw.users.GetSavedMusicByID | Raw.users.SuggestBirthday | Raw.contacts.GetContactIDs | Raw.contacts.GetStatuses | Raw.contacts.GetContacts | Raw.contacts.ImportContacts | Raw.contacts.DeleteContacts | Raw.contacts.DeleteByPhones | Raw.contacts.Block | Raw.contacts.Unblock | Raw.contacts.GetBlocked | Raw.contacts.Search | Raw.contacts.ResolveUsername | Raw.contacts.GetTopPeers | Raw.contacts.ResetTopPeerRating | Raw.contacts.ResetSaved | Raw.contacts.GetSaved | Raw.contacts.ToggleTopPeers | Raw.contacts.AddContact | Raw.contacts.AcceptContact | Raw.contacts.GetLocated | Raw.contacts.BlockFromReplies | Raw.contacts.ResolvePhone | Raw.contacts.ExportContactToken | Raw.contacts.ImportContactToken | Raw.contacts.EditCloseFriends | Raw.contacts.SetBlocked | Raw.contacts.GetBirthdays | Raw.contacts.GetSponsoredPeers | Raw.contacts.UpdateContactNote | Raw.messages.GetMessages | Raw.messages.GetDialogs | Raw.messages.GetHistory | Raw.messages.Search | Raw.messages.ReadHistory | Raw.messages.DeleteHistory | Raw.messages.DeleteMessages | Raw.messages.ReceivedMessages | Raw.messages.SetTyping | Raw.messages.SendMessage | Raw.messages.SendMedia | Raw.messages.ForwardMessages | Raw.messages.ReportSpam | Raw.messages.GetPeerSettings | Raw.messages.Report | Raw.messages.GetChats | Raw.messages.GetFullChat | Raw.messages.EditChatTitle | Raw.messages.EditChatPhoto | Raw.messages.AddChatUser | Raw.messages.DeleteChatUser | Raw.messages.CreateChat | Raw.messages.GetDhConfig | Raw.messages.RequestEncryption | Raw.messages.AcceptEncryption | Raw.messages.DiscardEncryption | Raw.messages.SetEncryptedTyping | Raw.messages.ReadEncryptedHistory | Raw.messages.SendEncrypted | Raw.messages.SendEncryptedFile | Raw.messages.SendEncryptedService | Raw.messages.ReceivedQueue | Raw.messages.ReportEncryptedSpam | Raw.messages.ReadMessageContents | Raw.messages.GetStickers | Raw.messages.GetAllStickers | Raw.messages.GetWebPagePreview | Raw.messages.ExportChatInvite | Raw.messages.CheckChatInvite | Raw.messages.ImportChatInvite | Raw.messages.GetStickerSet | Raw.messages.InstallStickerSet | Raw.messages.UninstallStickerSet | Raw.messages.StartBot | Raw.messages.GetMessagesViews | Raw.messages.EditChatAdmin | Raw.messages.MigrateChat | Raw.messages.SearchGlobal | Raw.messages.ReorderStickerSets | Raw.messages.GetDocumentByHash | Raw.messages.GetSavedGifs | Raw.messages.SaveGif | Raw.messages.GetInlineBotResults | Raw.messages.SetInlineBotResults | Raw.messages.SendInlineBotResult | Raw.messages.GetMessageEditData | Raw.messages.EditMessage | Raw.messages.EditInlineBotMessage | Raw.messages.GetBotCallbackAnswer | Raw.messages.SetBotCallbackAnswer | Raw.messages.GetPeerDialogs | Raw.messages.SaveDraft | Raw.messages.GetAllDrafts | Raw.messages.GetFeaturedStickers | Raw.messages.ReadFeaturedStickers | Raw.messages.GetRecentStickers | Raw.messages.SaveRecentSticker | Raw.messages.ClearRecentStickers | Raw.messages.GetArchivedStickers | Raw.messages.GetMaskStickers | Raw.messages.GetAttachedStickers | Raw.messages.SetGameScore | Raw.messages.SetInlineGameScore | Raw.messages.GetGameHighScores | Raw.messages.GetInlineGameHighScores | Raw.messages.GetCommonChats | Raw.messages.GetWebPage | Raw.messages.ToggleDialogPin | Raw.messages.ReorderPinnedDialogs | Raw.messages.GetPinnedDialogs | Raw.messages.SetBotShippingResults | Raw.messages.SetBotPrecheckoutResults | Raw.messages.UploadMedia | Raw.messages.SendScreenshotNotification | Raw.messages.GetFavedStickers | Raw.messages.FaveSticker | Raw.messages.GetUnreadMentions | Raw.messages.ReadMentions | Raw.messages.GetRecentLocations | Raw.messages.SendMultiMedia | Raw.messages.UploadEncryptedFile | Raw.messages.SearchStickerSets | Raw.messages.GetSplitRanges | Raw.messages.MarkDialogUnread | Raw.messages.GetDialogUnreadMarks | Raw.messages.ClearAllDrafts | Raw.messages.UpdatePinnedMessage | Raw.messages.SendVote | Raw.messages.GetPollResults | Raw.messages.GetOnlines | Raw.messages.EditChatAbout | Raw.messages.EditChatDefaultBannedRights | Raw.messages.GetEmojiKeywords | Raw.messages.GetEmojiKeywordsDifference | Raw.messages.GetEmojiKeywordsLanguages | Raw.messages.GetEmojiURL | Raw.messages.GetSearchCounters | Raw.messages.RequestUrlAuth | Raw.messages.AcceptUrlAuth | Raw.messages.HidePeerSettingsBar | Raw.messages.GetScheduledHistory | Raw.messages.GetScheduledMessages | Raw.messages.SendScheduledMessages | Raw.messages.DeleteScheduledMessages | Raw.messages.GetPollVotes | Raw.messages.ToggleStickerSets | Raw.messages.GetDialogFilters | Raw.messages.GetSuggestedDialogFilters | Raw.messages.UpdateDialogFilter | Raw.messages.UpdateDialogFiltersOrder | Raw.messages.GetOldFeaturedStickers | Raw.messages.GetReplies | Raw.messages.GetDiscussionMessage | Raw.messages.ReadDiscussion | Raw.messages.UnpinAllMessages | Raw.messages.DeleteChat | Raw.messages.DeletePhoneCallHistory | Raw.messages.CheckHistoryImport | Raw.messages.InitHistoryImport | Raw.messages.UploadImportedMedia | Raw.messages.StartHistoryImport | Raw.messages.GetExportedChatInvites | Raw.messages.GetExportedChatInvite | Raw.messages.EditExportedChatInvite | Raw.messages.DeleteRevokedExportedChatInvites | Raw.messages.DeleteExportedChatInvite | Raw.messages.GetAdminsWithInvites | Raw.messages.GetChatInviteImporters | Raw.messages.SetHistoryTTL | Raw.messages.CheckHistoryImportPeer | Raw.messages.SetChatTheme | Raw.messages.GetMessageReadParticipants | Raw.messages.GetSearchResultsCalendar | Raw.messages.GetSearchResultsPositions | Raw.messages.HideChatJoinRequest | Raw.messages.HideAllChatJoinRequests | Raw.messages.ToggleNoForwards | Raw.messages.SaveDefaultSendAs | Raw.messages.SendReaction | Raw.messages.GetMessagesReactions | Raw.messages.GetMessageReactionsList | Raw.messages.SetChatAvailableReactions | Raw.messages.GetAvailableReactions | Raw.messages.SetDefaultReaction | Raw.messages.TranslateText | Raw.messages.GetUnreadReactions | Raw.messages.ReadReactions | Raw.messages.SearchSentMedia | Raw.messages.GetAttachMenuBots | Raw.messages.GetAttachMenuBot | Raw.messages.ToggleBotInAttachMenu | Raw.messages.RequestWebView | Raw.messages.ProlongWebView | Raw.messages.RequestSimpleWebView | Raw.messages.SendWebViewResultMessage | Raw.messages.SendWebViewData | Raw.messages.TranscribeAudio | Raw.messages.RateTranscribedAudio | Raw.messages.GetCustomEmojiDocuments | Raw.messages.GetEmojiStickers | Raw.messages.GetFeaturedEmojiStickers | Raw.messages.ReportReaction | Raw.messages.GetTopReactions | Raw.messages.GetRecentReactions | Raw.messages.ClearRecentReactions | Raw.messages.GetExtendedMedia | Raw.messages.SetDefaultHistoryTTL | Raw.messages.GetDefaultHistoryTTL | Raw.messages.SendBotRequestedPeer | Raw.messages.GetEmojiGroups | Raw.messages.GetEmojiStatusGroups | Raw.messages.GetEmojiProfilePhotoGroups | Raw.messages.SearchCustomEmoji | Raw.messages.TogglePeerTranslations | Raw.messages.GetBotApp | Raw.messages.RequestAppWebView | Raw.messages.SetChatWallPaper | Raw.messages.SearchEmojiStickerSets | Raw.messages.GetSavedDialogs | Raw.messages.GetSavedHistory | Raw.messages.DeleteSavedHistory | Raw.messages.GetPinnedSavedDialogs | Raw.messages.ToggleSavedDialogPin | Raw.messages.ReorderPinnedSavedDialogs | Raw.messages.GetSavedReactionTags | Raw.messages.UpdateSavedReactionTag | Raw.messages.GetDefaultTagReactions | Raw.messages.GetOutboxReadDate | Raw.messages.GetQuickReplies | Raw.messages.ReorderQuickReplies | Raw.messages.CheckQuickReplyShortcut | Raw.messages.EditQuickReplyShortcut | Raw.messages.DeleteQuickReplyShortcut | Raw.messages.GetQuickReplyMessages | Raw.messages.SendQuickReplyMessages | Raw.messages.DeleteQuickReplyMessages | Raw.messages.ToggleDialogFilterTags | Raw.messages.GetMyStickers | Raw.messages.GetEmojiStickerGroups | Raw.messages.GetAvailableEffects | Raw.messages.EditFactCheck | Raw.messages.DeleteFactCheck | Raw.messages.GetFactCheck | Raw.messages.RequestMainWebView | Raw.messages.SendPaidReaction | Raw.messages.TogglePaidReactionPrivacy | Raw.messages.GetPaidReactionPrivacy | Raw.messages.ViewSponsoredMessage | Raw.messages.ClickSponsoredMessage | Raw.messages.ReportSponsoredMessage | Raw.messages.GetSponsoredMessages | Raw.messages.SavePreparedInlineMessage | Raw.messages.GetPreparedInlineMessage | Raw.messages.SearchStickers | Raw.messages.ReportMessagesDelivery | Raw.messages.GetSavedDialogsByID | Raw.messages.ReadSavedHistory | Raw.messages.ToggleTodoCompleted | Raw.messages.AppendTodoList | Raw.messages.ToggleSuggestedPostApproval | Raw.messages.GetForumTopics | Raw.messages.GetForumTopicsByID | Raw.messages.EditForumTopic | Raw.messages.UpdatePinnedForumTopic | Raw.messages.ReorderPinnedForumTopics | Raw.messages.CreateForumTopic | Raw.messages.DeleteTopicHistory | Raw.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.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.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.chatlists.ExportChatlistInvite | Raw.chatlists.DeleteExportedInvite | Raw.chatlists.EditExportedInvite | Raw.chatlists.GetExportedInvites | Raw.chatlists.CheckChatlistInvite | Raw.chatlists.JoinChatlistInvite | Raw.chatlists.GetChatlistUpdates | Raw.chatlists.JoinChatlistUpdates | Raw.chatlists.HideChatlistUpdates | Raw.chatlists.GetLeaveChatlistSuggestions | Raw.chatlists.LeaveChatlist | Raw.stories.CanSendStory | Raw.stories.SendStory | Raw.stories.EditStory | Raw.stories.DeleteStories | Raw.stories.TogglePinned | Raw.stories.GetAllStories | Raw.stories.GetPinnedStories | Raw.stories.GetStoriesArchive | Raw.stories.GetStoriesByID | Raw.stories.ToggleAllStoriesHidden | Raw.stories.ReadStories | Raw.stories.IncrementStoryViews | Raw.stories.GetStoryViewsList | Raw.stories.GetStoriesViews | Raw.stories.ExportStoryLink | Raw.stories.Report | Raw.stories.ActivateStealthMode | Raw.stories.SendReaction | Raw.stories.GetPeerStories | Raw.stories.GetAllReadPeerStories | Raw.stories.GetPeerMaxIDs | Raw.stories.GetChatsToSend | Raw.stories.TogglePeerStoriesHidden | Raw.stories.GetStoryReactionsList | Raw.stories.TogglePinnedToTop | Raw.stories.SearchPosts | Raw.stories.CreateAlbum | Raw.stories.UpdateAlbum | Raw.stories.ReorderAlbums | Raw.stories.DeleteAlbum | Raw.stories.GetAlbums | Raw.stories.GetAlbumStories | Raw.stories.StartLive | Raw.premium.GetBoostsList | Raw.premium.GetMyBoosts | Raw.premium.ApplyBoost | Raw.premium.GetBoostsStatus | Raw.premium.GetUserBoosts | Raw.smsjobs.IsEligibleToJoin | Raw.smsjobs.Join | Raw.smsjobs.Leave | Raw.smsjobs.UpdateSettings | Raw.smsjobs.GetStatus | Raw.smsjobs.GetSmsJob | Raw.smsjobs.FinishJob | Raw.fragment.GetCollectibleInfo;
19
19
  type TypeFileLocation = Raw.FileLocationUnavailable23 | Raw.FileLocation23;
20
20
  type TypeDecryptedMessage = Raw.DecryptedMessage8 | Raw.DecryptedMessageService8 | Raw.DecryptedMessage17 | Raw.DecryptedMessageService17 | Raw.DecryptedMessage45 | Raw.DecryptedMessage73;
21
21
  type TypeDecryptedMessageAction = Raw.DecryptedMessageActionSetMessageTTL8 | Raw.DecryptedMessageActionReadMessages8 | Raw.DecryptedMessageActionDeleteMessages8 | Raw.DecryptedMessageActionScreenshotMessages8 | Raw.DecryptedMessageActionFlushHistory8 | Raw.DecryptedMessageActionResend17 | Raw.DecryptedMessageActionNotifyLayer17 | Raw.DecryptedMessageActionTyping17 | Raw.DecryptedMessageActionRequestKey20 | Raw.DecryptedMessageActionAcceptKey20 | Raw.DecryptedMessageActionAbortKey20 | Raw.DecryptedMessageActionCommitKey20 | Raw.DecryptedMessageActionNoop20;
@@ -46,6 +46,7 @@ export declare namespace Raw {
46
46
  type TypeInputWebFileLocation = Raw.InputWebFileLocation | Raw.InputWebFileGeoPointLocation | Raw.InputWebFileAudioAlbumThumbLocation;
47
47
  type TypeInputFileLocation = Raw.InputFileLocation | Raw.InputEncryptedFileLocation | Raw.InputDocumentFileLocation | Raw.InputSecureFileLocation | Raw.InputTakeoutFileLocation | Raw.InputPhotoFileLocation | Raw.InputPhotoLegacyFileLocation | Raw.InputPeerPhotoFileLocation | Raw.InputStickerSetThumb | Raw.InputGroupCallStream;
48
48
  type TypeChannelMessagesFilter = Raw.ChannelMessagesFilterEmpty | Raw.ChannelMessagesFilter;
49
+ type TypeInputMessageReadMetric = Raw.InputMessageReadMetric;
49
50
  type TypeOutboxReadDate = Raw.OutboxReadDate;
50
51
  type TypeInputBotApp = Raw.InputBotAppID | Raw.InputBotAppShortName;
51
52
  type TypeDefaultHistoryTTL = Raw.DefaultHistoryTTL;
@@ -192,11 +193,10 @@ export declare namespace Raw {
192
193
  type TypeInputWallPaper = Raw.InputWallPaper | Raw.InputWallPaperSlug | Raw.InputWallPaperNoFile;
193
194
  type TypeBaseTheme = Raw.BaseThemeClassic | Raw.BaseThemeDay | Raw.BaseThemeNight | Raw.BaseThemeTinted | Raw.BaseThemeArctic;
194
195
  type TypeThemeSettings = Raw.ThemeSettings;
195
- type TypeMessagesFilter = Raw.InputMessagesFilterEmpty | Raw.InputMessagesFilterPhotos | Raw.InputMessagesFilterVideo | Raw.InputMessagesFilterPhotoVideo | Raw.InputMessagesFilterDocument | Raw.InputMessagesFilterUrl | Raw.InputMessagesFilterGif | Raw.InputMessagesFilterVoice | Raw.InputMessagesFilterMusic | Raw.InputMessagesFilterChatPhotos | Raw.InputMessagesFilterPhoneCalls | Raw.InputMessagesFilterRoundVoice | Raw.InputMessagesFilterRoundVideo | Raw.InputMessagesFilterMyMentions | Raw.InputMessagesFilterGeo | Raw.InputMessagesFilterContacts | Raw.InputMessagesFilterPinned;
196
+ type TypeMessagesFilter = Raw.InputMessagesFilterEmpty | Raw.InputMessagesFilterPhotos | Raw.InputMessagesFilterVideo | Raw.InputMessagesFilterPhotoVideo | Raw.InputMessagesFilterDocument | Raw.InputMessagesFilterUrl | Raw.InputMessagesFilterGif | Raw.InputMessagesFilterVoice | Raw.InputMessagesFilterMusic | Raw.InputMessagesFilterChatPhotos | Raw.InputMessagesFilterPhoneCalls | Raw.InputMessagesFilterRoundVoice | Raw.InputMessagesFilterRoundVideo | Raw.InputMessagesFilterMyMentions | Raw.InputMessagesFilterGeo | Raw.InputMessagesFilterContacts | Raw.InputMessagesFilterPinned | Raw.InputMessagesFilterPoll;
196
197
  type TypeEmojiKeyword = Raw.EmojiKeyword | Raw.EmojiKeywordDeleted;
197
198
  type TypeAutoDownloadSettings = Raw.AutoDownloadSettings;
198
199
  type TypePollAnswerVoters = Raw.PollAnswerVoters;
199
- type TypePollAnswer = Raw.PollAnswer;
200
200
  type TypePageTableCell = Raw.PageTableCell;
201
201
  type TypeJSONObjectValue = Raw.JsonObjectValue;
202
202
  type TypeJSONValue = Raw.JsonNull | Raw.JsonBool | Raw.JsonNumber | Raw.JsonString | Raw.JsonArray | Raw.JsonObject;
@@ -210,7 +210,7 @@ export declare namespace Raw {
210
210
  type TypeRecentMeUrl = Raw.RecentMeUrlUnknown | Raw.RecentMeUrlUser | Raw.RecentMeUrlChat | Raw.RecentMeUrlChatInvite | Raw.RecentMeUrlStickerSet;
211
211
  type TypeChatInvite = Raw.ChatInviteAlready | Raw.ChatInvite | Raw.ChatInvitePeek;
212
212
  type TypeChannelAdminLogEvent = Raw.ChannelAdminLogEvent;
213
- type TypeChannelAdminLogEventAction = Raw.ChannelAdminLogEventActionChangeTitle | Raw.ChannelAdminLogEventActionChangeAbout | Raw.ChannelAdminLogEventActionChangeUsername | Raw.ChannelAdminLogEventActionChangePhoto | Raw.ChannelAdminLogEventActionToggleInvites | Raw.ChannelAdminLogEventActionToggleSignatures | Raw.ChannelAdminLogEventActionUpdatePinned | Raw.ChannelAdminLogEventActionEditMessage | Raw.ChannelAdminLogEventActionDeleteMessage | Raw.ChannelAdminLogEventActionParticipantJoin | Raw.ChannelAdminLogEventActionParticipantLeave | Raw.ChannelAdminLogEventActionParticipantInvite | Raw.ChannelAdminLogEventActionParticipantToggleBan | Raw.ChannelAdminLogEventActionParticipantToggleAdmin | Raw.ChannelAdminLogEventActionChangeStickerSet | Raw.ChannelAdminLogEventActionTogglePreHistoryHidden | Raw.ChannelAdminLogEventActionDefaultBannedRights | Raw.ChannelAdminLogEventActionStopPoll | Raw.ChannelAdminLogEventActionChangeLinkedChat | Raw.ChannelAdminLogEventActionChangeLocation | Raw.ChannelAdminLogEventActionToggleSlowMode | Raw.ChannelAdminLogEventActionStartGroupCall | Raw.ChannelAdminLogEventActionDiscardGroupCall | Raw.ChannelAdminLogEventActionParticipantMute | Raw.ChannelAdminLogEventActionParticipantUnmute | Raw.ChannelAdminLogEventActionToggleGroupCallSetting | Raw.ChannelAdminLogEventActionParticipantJoinByInvite | Raw.ChannelAdminLogEventActionExportedInviteDelete | Raw.ChannelAdminLogEventActionExportedInviteRevoke | Raw.ChannelAdminLogEventActionExportedInviteEdit | Raw.ChannelAdminLogEventActionParticipantVolume | Raw.ChannelAdminLogEventActionChangeHistoryTTL | Raw.ChannelAdminLogEventActionParticipantJoinByRequest | Raw.ChannelAdminLogEventActionToggleNoForwards | Raw.ChannelAdminLogEventActionSendMessage | Raw.ChannelAdminLogEventActionChangeAvailableReactions | Raw.ChannelAdminLogEventActionChangeUsernames | Raw.ChannelAdminLogEventActionToggleForum | Raw.ChannelAdminLogEventActionCreateTopic | Raw.ChannelAdminLogEventActionEditTopic | Raw.ChannelAdminLogEventActionDeleteTopic | Raw.ChannelAdminLogEventActionPinTopic | Raw.ChannelAdminLogEventActionToggleAntiSpam | Raw.ChannelAdminLogEventActionChangePeerColor | Raw.ChannelAdminLogEventActionChangeProfilePeerColor | Raw.ChannelAdminLogEventActionChangeWallpaper | Raw.ChannelAdminLogEventActionChangeEmojiStatus | Raw.ChannelAdminLogEventActionChangeEmojiStickerSet | Raw.ChannelAdminLogEventActionToggleSignatureProfiles | Raw.ChannelAdminLogEventActionParticipantSubExtend | Raw.ChannelAdminLogEventActionToggleAutotranslation;
213
+ type TypeChannelAdminLogEventAction = Raw.ChannelAdminLogEventActionChangeTitle | Raw.ChannelAdminLogEventActionChangeAbout | Raw.ChannelAdminLogEventActionChangeUsername | Raw.ChannelAdminLogEventActionChangePhoto | Raw.ChannelAdminLogEventActionToggleInvites | Raw.ChannelAdminLogEventActionToggleSignatures | Raw.ChannelAdminLogEventActionUpdatePinned | Raw.ChannelAdminLogEventActionEditMessage | Raw.ChannelAdminLogEventActionDeleteMessage | Raw.ChannelAdminLogEventActionParticipantJoin | Raw.ChannelAdminLogEventActionParticipantLeave | Raw.ChannelAdminLogEventActionParticipantInvite | Raw.ChannelAdminLogEventActionParticipantToggleBan | Raw.ChannelAdminLogEventActionParticipantToggleAdmin | Raw.ChannelAdminLogEventActionChangeStickerSet | Raw.ChannelAdminLogEventActionTogglePreHistoryHidden | Raw.ChannelAdminLogEventActionDefaultBannedRights | Raw.ChannelAdminLogEventActionStopPoll | Raw.ChannelAdminLogEventActionChangeLinkedChat | Raw.ChannelAdminLogEventActionChangeLocation | Raw.ChannelAdminLogEventActionToggleSlowMode | Raw.ChannelAdminLogEventActionStartGroupCall | Raw.ChannelAdminLogEventActionDiscardGroupCall | Raw.ChannelAdminLogEventActionParticipantMute | Raw.ChannelAdminLogEventActionParticipantUnmute | Raw.ChannelAdminLogEventActionToggleGroupCallSetting | Raw.ChannelAdminLogEventActionParticipantJoinByInvite | Raw.ChannelAdminLogEventActionExportedInviteDelete | Raw.ChannelAdminLogEventActionExportedInviteRevoke | Raw.ChannelAdminLogEventActionExportedInviteEdit | Raw.ChannelAdminLogEventActionParticipantVolume | Raw.ChannelAdminLogEventActionChangeHistoryTTL | Raw.ChannelAdminLogEventActionParticipantJoinByRequest | Raw.ChannelAdminLogEventActionToggleNoForwards | Raw.ChannelAdminLogEventActionSendMessage | Raw.ChannelAdminLogEventActionChangeAvailableReactions | Raw.ChannelAdminLogEventActionChangeUsernames | Raw.ChannelAdminLogEventActionToggleForum | Raw.ChannelAdminLogEventActionCreateTopic | Raw.ChannelAdminLogEventActionEditTopic | Raw.ChannelAdminLogEventActionDeleteTopic | Raw.ChannelAdminLogEventActionPinTopic | Raw.ChannelAdminLogEventActionToggleAntiSpam | Raw.ChannelAdminLogEventActionChangePeerColor | Raw.ChannelAdminLogEventActionChangeProfilePeerColor | Raw.ChannelAdminLogEventActionChangeWallpaper | Raw.ChannelAdminLogEventActionChangeEmojiStatus | Raw.ChannelAdminLogEventActionChangeEmojiStickerSet | Raw.ChannelAdminLogEventActionToggleSignatureProfiles | Raw.ChannelAdminLogEventActionParticipantSubExtend | Raw.ChannelAdminLogEventActionToggleAutotranslation | Raw.ChannelAdminLogEventActionParticipantEditRank;
214
214
  type TypeLangPackString = Raw.LangPackString | Raw.LangPackStringPluralized | Raw.LangPackStringDeleted;
215
215
  type TypeCdnPublicKey = Raw.CdnPublicKey;
216
216
  type TypePhoneConnection = Raw.PhoneConnection | Raw.PhoneConnectionWebrtc;
@@ -241,7 +241,7 @@ export declare namespace Raw {
241
241
  type TypeMessageRange = Raw.MessageRange;
242
242
  type TypeKeyboardButtonRow = Raw.KeyboardButtonRow;
243
243
  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;
244
- type TypeRequestPeerType = Raw.RequestPeerTypeUser | Raw.RequestPeerTypeChat | Raw.RequestPeerTypeBroadcast;
244
+ type TypeRequestPeerType = Raw.RequestPeerTypeUser | Raw.RequestPeerTypeChat | Raw.RequestPeerTypeBroadcast | Raw.RequestPeerTypeCreateBot;
245
245
  type TypeKeyboardButtonStyle = Raw.KeyboardButtonStyle;
246
246
  type TypeBotVerifierSettings = Raw.BotVerifierSettings;
247
247
  type TypeBotAppSettings = Raw.BotAppSettings;
@@ -258,7 +258,7 @@ export declare namespace Raw {
258
258
  type TypeInputUser = Raw.InputUserEmpty | Raw.InputUserSelf | Raw.InputUser | Raw.InputUserFromMessage;
259
259
  type TypeEncryptedFile = Raw.EncryptedFileEmpty | Raw.EncryptedFile;
260
260
  type TypeFileHash = Raw.FileHash;
261
- 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 | UpdateSecretChatMessage;
261
+ 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 | UpdateSecretChatMessage;
262
262
  type TypeStarGiftAuctionUserState = Raw.StarGiftAuctionUserState;
263
263
  type TypeStarGiftAuctionState = Raw.StarGiftAuctionStateNotModified | Raw.StarGiftAuctionState | Raw.StarGiftAuctionStateFinished;
264
264
  type TypeGroupCallMessage = Raw.GroupCallMessage;
@@ -317,6 +317,7 @@ export declare namespace Raw {
317
317
  type TypePhotoSize = Raw.PhotoSizeEmpty | Raw.PhotoSize | Raw.PhotoCachedSize | Raw.PhotoStrippedSize | Raw.PhotoSizeProgressive | Raw.PhotoPathSize | Raw.PhotoSize23 | Raw.PhotoCachedSize23;
318
318
  type TypeFolder = Raw.Folder;
319
319
  type TypeDraftMessage = Raw.DraftMessageEmpty | Raw.DraftMessage;
320
+ type TypePollAnswer = Raw.PollAnswer | Raw.InputPollAnswer;
320
321
  type TypeBirthday = Raw.Birthday;
321
322
  type TypeTodoItem = Raw.TodoItem;
322
323
  type TypeStarsAmount = Raw.StarsAmount | Raw.StarsTonAmount;
@@ -337,9 +338,9 @@ export declare namespace Raw {
337
338
  type TypeWebDocument = Raw.WebDocument | Raw.WebDocumentNoProxy;
338
339
  type TypeGame = Raw.Game;
339
340
  type TypeWebPage = Raw.WebPageEmpty | Raw.WebPagePending | Raw.WebPage | Raw.WebPageNotModified;
340
- type TypeDocument = Raw.DocumentEmpty | Raw.Document;
341
341
  type TypeGeoPoint = Raw.GeoPointEmpty | Raw.GeoPoint;
342
- type TypeMessageAction = Raw.MessageActionEmpty | Raw.MessageActionChatCreate | Raw.MessageActionChatEditTitle | Raw.MessageActionChatEditPhoto | Raw.MessageActionChatDeletePhoto | Raw.MessageActionChatAddUser | Raw.MessageActionChatDeleteUser | Raw.MessageActionChatJoinedByLink | Raw.MessageActionChannelCreate | Raw.MessageActionChatMigrateTo | Raw.MessageActionChannelMigrateFrom | Raw.MessageActionPinMessage | Raw.MessageActionHistoryClear | Raw.MessageActionGameScore | Raw.MessageActionPaymentSentMe | Raw.MessageActionPaymentSent | Raw.MessageActionPhoneCall | Raw.MessageActionScreenshotTaken | Raw.MessageActionCustomAction | Raw.MessageActionBotAllowed | Raw.MessageActionSecureValuesSentMe | Raw.MessageActionSecureValuesSent | Raw.MessageActionContactSignUp | Raw.MessageActionGeoProximityReached | Raw.MessageActionGroupCall | Raw.MessageActionInviteToGroupCall | Raw.MessageActionSetMessagesTTL | Raw.MessageActionGroupCallScheduled | Raw.MessageActionSetChatTheme | Raw.MessageActionChatJoinedByRequest | Raw.MessageActionWebViewDataSentMe | Raw.MessageActionWebViewDataSent | Raw.MessageActionGiftPremium | Raw.MessageActionTopicCreate | Raw.MessageActionTopicEdit | Raw.MessageActionSuggestProfilePhoto | Raw.MessageActionRequestedPeer | Raw.MessageActionSetChatWallPaper | Raw.MessageActionGiftCode | Raw.MessageActionGiveawayLaunch | Raw.MessageActionGiveawayResults | Raw.MessageActionBoostApply | Raw.MessageActionRequestedPeerSentMe | Raw.MessageActionPaymentRefunded | Raw.MessageActionGiftStars | Raw.MessageActionPrizeStars | Raw.MessageActionStarGift | Raw.MessageActionStarGiftUnique | Raw.MessageActionPaidMessagesRefunded | Raw.MessageActionPaidMessagesPrice | Raw.MessageActionConferenceCall | Raw.MessageActionTodoCompletions | Raw.MessageActionTodoAppendTasks | Raw.MessageActionSuggestedPostApproval | Raw.MessageActionSuggestedPostSuccess | Raw.MessageActionSuggestedPostRefund | Raw.MessageActionGiftTon | Raw.MessageActionSuggestBirthday | Raw.MessageActionStarGiftPurchaseOffer | Raw.MessageActionStarGiftPurchaseOfferDeclined | Raw.MessageActionNewCreatorPending | Raw.MessageActionChangeCreator;
342
+ type TypeDocument = Raw.DocumentEmpty | Raw.Document;
343
+ type TypeMessageAction = Raw.MessageActionEmpty | Raw.MessageActionChatCreate | Raw.MessageActionChatEditTitle | Raw.MessageActionChatEditPhoto | Raw.MessageActionChatDeletePhoto | Raw.MessageActionChatAddUser | Raw.MessageActionChatDeleteUser | Raw.MessageActionChatJoinedByLink | Raw.MessageActionChannelCreate | Raw.MessageActionChatMigrateTo | Raw.MessageActionChannelMigrateFrom | Raw.MessageActionPinMessage | Raw.MessageActionHistoryClear | Raw.MessageActionGameScore | Raw.MessageActionPaymentSentMe | Raw.MessageActionPaymentSent | Raw.MessageActionPhoneCall | Raw.MessageActionScreenshotTaken | Raw.MessageActionCustomAction | Raw.MessageActionBotAllowed | Raw.MessageActionSecureValuesSentMe | Raw.MessageActionSecureValuesSent | Raw.MessageActionContactSignUp | Raw.MessageActionGeoProximityReached | Raw.MessageActionGroupCall | Raw.MessageActionInviteToGroupCall | Raw.MessageActionSetMessagesTTL | Raw.MessageActionGroupCallScheduled | Raw.MessageActionSetChatTheme | Raw.MessageActionChatJoinedByRequest | Raw.MessageActionWebViewDataSentMe | Raw.MessageActionWebViewDataSent | Raw.MessageActionGiftPremium | Raw.MessageActionTopicCreate | Raw.MessageActionTopicEdit | Raw.MessageActionSuggestProfilePhoto | Raw.MessageActionRequestedPeer | Raw.MessageActionSetChatWallPaper | Raw.MessageActionGiftCode | Raw.MessageActionGiveawayLaunch | Raw.MessageActionGiveawayResults | Raw.MessageActionBoostApply | Raw.MessageActionRequestedPeerSentMe | Raw.MessageActionPaymentRefunded | Raw.MessageActionGiftStars | Raw.MessageActionPrizeStars | Raw.MessageActionStarGift | Raw.MessageActionStarGiftUnique | Raw.MessageActionPaidMessagesRefunded | Raw.MessageActionPaidMessagesPrice | Raw.MessageActionConferenceCall | Raw.MessageActionTodoCompletions | Raw.MessageActionTodoAppendTasks | Raw.MessageActionSuggestedPostApproval | Raw.MessageActionSuggestedPostSuccess | Raw.MessageActionSuggestedPostRefund | Raw.MessageActionGiftTon | Raw.MessageActionSuggestBirthday | Raw.MessageActionStarGiftPurchaseOffer | Raw.MessageActionStarGiftPurchaseOfferDeclined | Raw.MessageActionNewCreatorPending | Raw.MessageActionChangeCreator | Raw.MessageActionNoForwardsToggle | Raw.MessageActionNoForwardsRequest | Raw.MessageActionPollAppendAnswer | Raw.MessageActionPollDeleteAnswer | Raw.MessageActionManagedBotCreated;
343
344
  type TypeSuggestedPost = Raw.SuggestedPost;
344
345
  type TypeFactCheck = Raw.FactCheck;
345
346
  type TypeMessageReactions = Raw.MessageReactions;
@@ -377,7 +378,7 @@ export declare namespace Raw {
377
378
  type TypeInputStickerSet = Raw.InputStickerSetEmpty | Raw.InputStickerSetID | Raw.InputStickerSetShortName | Raw.InputStickerSetAnimatedEmoji | Raw.InputStickerSetDice | Raw.InputStickerSetAnimatedEmojiAnimations | Raw.InputStickerSetPremiumGifts | Raw.InputStickerSetEmojiGenericAnimations | Raw.InputStickerSetEmojiDefaultStatuses | Raw.InputStickerSetEmojiDefaultTopicIcons | Raw.InputStickerSetEmojiChannelDefaultStatuses | Raw.InputStickerSetTonGifts;
378
379
  type TypeVideoSize = Raw.VideoSize | Raw.VideoSizeEmojiMarkup | Raw.VideoSizeStickerMarkup;
379
380
  type TypeTodoList = Raw.TodoList;
380
- type TypeMessageEntity = Raw.MessageEntityUnknown | Raw.MessageEntityMention | Raw.MessageEntityHashtag | Raw.MessageEntityBotCommand | Raw.MessageEntityUrl | Raw.MessageEntityEmail | Raw.MessageEntityBold | Raw.MessageEntityItalic | Raw.MessageEntityCode | Raw.MessageEntityPre | Raw.MessageEntityTextUrl | Raw.MessageEntityMentionName | Raw.InputMessageEntityMentionName | Raw.MessageEntityPhone | Raw.MessageEntityCashtag | Raw.MessageEntityUnderline | Raw.MessageEntityStrike | Raw.MessageEntityBankCard | Raw.MessageEntitySpoiler | Raw.MessageEntityCustomEmoji | Raw.MessageEntityBlockquote | Raw.MessageEntityBlockquote101;
381
+ type TypeMessageEntity = Raw.MessageEntityUnknown | Raw.MessageEntityMention | Raw.MessageEntityHashtag | Raw.MessageEntityBotCommand | Raw.MessageEntityUrl | Raw.MessageEntityEmail | Raw.MessageEntityBold | Raw.MessageEntityItalic | Raw.MessageEntityCode | Raw.MessageEntityPre | Raw.MessageEntityTextUrl | Raw.MessageEntityMentionName | Raw.InputMessageEntityMentionName | Raw.MessageEntityPhone | Raw.MessageEntityCashtag | Raw.MessageEntityUnderline | Raw.MessageEntityStrike | Raw.MessageEntityBankCard | Raw.MessageEntitySpoiler | Raw.MessageEntityCustomEmoji | Raw.MessageEntityBlockquote | Raw.MessageEntityFormattedDate | Raw.MessageEntityDiffInsert | Raw.MessageEntityDiffReplace | Raw.MessageEntityDiffDelete | Raw.MessageEntityBlockquote101;
381
382
  type TypePoll = Raw.Poll;
382
383
  type TypeInputMedia = Raw.InputMediaEmpty | Raw.InputMediaUploadedPhoto | Raw.InputMediaPhoto | Raw.InputMediaGeoPoint | Raw.InputMediaContact | Raw.InputMediaUploadedDocument | Raw.InputMediaDocument | Raw.InputMediaVenue | Raw.InputMediaPhotoExternal | Raw.InputMediaDocumentExternal | Raw.InputMediaGame | Raw.InputMediaInvoice | Raw.InputMediaGeoLive | Raw.InputMediaPoll | Raw.InputMediaDice | Raw.InputMediaStory | Raw.InputMediaWebPage | Raw.InputMediaPaidMedia | Raw.InputMediaTodo | Raw.InputMediaStakeDice;
383
384
  type TypeDataJSON = Raw.DataJSON;
@@ -1119,26 +1120,34 @@ export declare namespace Raw {
1119
1120
  }
1120
1121
  class InputMediaUploadedPhoto extends TLObject {
1121
1122
  spoiler?: boolean;
1123
+ livePhoto?: boolean;
1122
1124
  file: Raw.TypeInputFile;
1123
1125
  stickers?: Vector<Raw.TypeInputDocument>;
1124
1126
  ttlSeconds?: int;
1127
+ video?: Raw.TypeInputDocument;
1125
1128
  constructor(params: {
1126
1129
  spoiler?: boolean;
1130
+ livePhoto?: boolean;
1127
1131
  file: Raw.TypeInputFile;
1128
1132
  stickers?: Vector<Raw.TypeInputDocument>;
1129
1133
  ttlSeconds?: int;
1134
+ video?: Raw.TypeInputDocument;
1130
1135
  });
1131
1136
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.InputMediaUploadedPhoto>;
1132
1137
  write(): Buffer;
1133
1138
  }
1134
1139
  class InputMediaPhoto extends TLObject {
1135
1140
  spoiler?: boolean;
1141
+ livePhoto?: boolean;
1136
1142
  id: Raw.TypeInputPhoto;
1137
1143
  ttlSeconds?: int;
1144
+ video?: Raw.TypeInputDocument;
1138
1145
  constructor(params: {
1139
1146
  spoiler?: boolean;
1147
+ livePhoto?: boolean;
1140
1148
  id: Raw.TypeInputPhoto;
1141
1149
  ttlSeconds?: int;
1150
+ video?: Raw.TypeInputDocument;
1142
1151
  });
1143
1152
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.InputMediaPhoto>;
1144
1153
  write(): Buffer;
@@ -1307,14 +1316,18 @@ export declare namespace Raw {
1307
1316
  }
1308
1317
  class InputMediaPoll extends TLObject {
1309
1318
  poll: Raw.TypePoll;
1310
- correctAnswers?: Vector<bytes>;
1319
+ correctAnswers?: Vector<int>;
1320
+ attachedMedia?: Raw.TypeInputMedia;
1311
1321
  solution?: string;
1312
1322
  solutionEntities?: Vector<Raw.TypeMessageEntity>;
1323
+ solutionMedia?: Raw.TypeInputMedia;
1313
1324
  constructor(params: {
1314
1325
  poll: Raw.TypePoll;
1315
- correctAnswers?: Vector<bytes>;
1326
+ correctAnswers?: Vector<int>;
1327
+ attachedMedia?: Raw.TypeInputMedia;
1316
1328
  solution?: string;
1317
1329
  solutionEntities?: Vector<Raw.TypeMessageEntity>;
1330
+ solutionMedia?: Raw.TypeInputMedia;
1318
1331
  });
1319
1332
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.InputMediaPoll>;
1320
1333
  write(): Buffer;
@@ -1627,6 +1640,7 @@ export declare namespace Raw {
1627
1640
  botHasMainApp?: boolean;
1628
1641
  botForumView?: boolean;
1629
1642
  botForumCanManageTopics?: boolean;
1643
+ botCanManageBots?: boolean;
1630
1644
  id: long;
1631
1645
  accessHash?: long;
1632
1646
  firstName?: string;
@@ -1675,6 +1689,7 @@ export declare namespace Raw {
1675
1689
  botHasMainApp?: boolean;
1676
1690
  botForumView?: boolean;
1677
1691
  botForumCanManageTopics?: boolean;
1692
+ botCanManageBots?: boolean;
1678
1693
  id: long;
1679
1694
  accessHash?: long;
1680
1695
  firstName?: string;
@@ -2131,18 +2146,22 @@ export declare namespace Raw {
2131
2146
  userId: long;
2132
2147
  inviterId: long;
2133
2148
  date: int;
2149
+ rank?: string;
2134
2150
  constructor(params: {
2135
2151
  userId: long;
2136
2152
  inviterId: long;
2137
2153
  date: int;
2154
+ rank?: string;
2138
2155
  });
2139
2156
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.ChatParticipant>;
2140
2157
  write(): Buffer;
2141
2158
  }
2142
2159
  class ChatParticipantCreator extends TLObject {
2143
2160
  userId: long;
2161
+ rank?: string;
2144
2162
  constructor(params: {
2145
2163
  userId: long;
2164
+ rank?: string;
2146
2165
  });
2147
2166
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.ChatParticipantCreator>;
2148
2167
  write(): Buffer;
@@ -2151,10 +2170,12 @@ export declare namespace Raw {
2151
2170
  userId: long;
2152
2171
  inviterId: long;
2153
2172
  date: int;
2173
+ rank?: string;
2154
2174
  constructor(params: {
2155
2175
  userId: long;
2156
2176
  inviterId: long;
2157
2177
  date: int;
2178
+ rank?: string;
2158
2179
  });
2159
2180
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.ChatParticipantAdmin>;
2160
2181
  write(): Buffer;
@@ -2229,6 +2250,7 @@ export declare namespace Raw {
2229
2250
  id: int;
2230
2251
  fromId?: Raw.TypePeer;
2231
2252
  fromBoostsApplied?: int;
2253
+ fromRank?: string;
2232
2254
  peerId: Raw.TypePeer;
2233
2255
  savedPeerId?: Raw.TypePeer;
2234
2256
  fwdFrom?: Raw.TypeMessageFwdHeader;
@@ -2276,6 +2298,7 @@ export declare namespace Raw {
2276
2298
  id: int;
2277
2299
  fromId?: Raw.TypePeer;
2278
2300
  fromBoostsApplied?: int;
2301
+ fromRank?: string;
2279
2302
  peerId: Raw.TypePeer;
2280
2303
  savedPeerId?: Raw.TypePeer;
2281
2304
  fwdFrom?: Raw.TypeMessageFwdHeader;
@@ -2353,12 +2376,16 @@ export declare namespace Raw {
2353
2376
  }
2354
2377
  class MessageMediaPhoto extends TLObject {
2355
2378
  spoiler?: boolean;
2379
+ livePhoto?: boolean;
2356
2380
  photo?: Raw.TypePhoto;
2357
2381
  ttlSeconds?: int;
2382
+ video?: Raw.TypeDocument;
2358
2383
  constructor(params: {
2359
2384
  spoiler?: boolean;
2385
+ livePhoto?: boolean;
2360
2386
  photo?: Raw.TypePhoto;
2361
2387
  ttlSeconds?: int;
2388
+ video?: Raw.TypeDocument;
2362
2389
  });
2363
2390
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.MessageMediaPhoto>;
2364
2391
  write(): Buffer;
@@ -2503,9 +2530,11 @@ export declare namespace Raw {
2503
2530
  class MessageMediaPoll extends TLObject {
2504
2531
  poll: Raw.TypePoll;
2505
2532
  results: Raw.TypePollResults;
2533
+ attachedMedia?: Raw.TypeMessageMedia;
2506
2534
  constructor(params: {
2507
2535
  poll: Raw.TypePoll;
2508
2536
  results: Raw.TypePollResults;
2537
+ attachedMedia?: Raw.TypeMessageMedia;
2509
2538
  });
2510
2539
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.MessageMediaPoll>;
2511
2540
  write(): Buffer;
@@ -3353,6 +3382,52 @@ export declare namespace Raw {
3353
3382
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.MessageActionChangeCreator>;
3354
3383
  write(): Buffer;
3355
3384
  }
3385
+ class MessageActionNoForwardsToggle extends TLObject {
3386
+ prevValue: Bool;
3387
+ newValue: Bool;
3388
+ constructor(params: {
3389
+ prevValue: Bool;
3390
+ newValue: Bool;
3391
+ });
3392
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.MessageActionNoForwardsToggle>;
3393
+ write(): Buffer;
3394
+ }
3395
+ class MessageActionNoForwardsRequest extends TLObject {
3396
+ expired?: boolean;
3397
+ prevValue: Bool;
3398
+ newValue: Bool;
3399
+ constructor(params: {
3400
+ expired?: boolean;
3401
+ prevValue: Bool;
3402
+ newValue: Bool;
3403
+ });
3404
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.MessageActionNoForwardsRequest>;
3405
+ write(): Buffer;
3406
+ }
3407
+ class MessageActionPollAppendAnswer extends TLObject {
3408
+ answer: Raw.TypePollAnswer;
3409
+ constructor(params: {
3410
+ answer: Raw.TypePollAnswer;
3411
+ });
3412
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.MessageActionPollAppendAnswer>;
3413
+ write(): Buffer;
3414
+ }
3415
+ class MessageActionPollDeleteAnswer extends TLObject {
3416
+ answer: Raw.TypePollAnswer;
3417
+ constructor(params: {
3418
+ answer: Raw.TypePollAnswer;
3419
+ });
3420
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.MessageActionPollDeleteAnswer>;
3421
+ write(): Buffer;
3422
+ }
3423
+ class MessageActionManagedBotCreated extends TLObject {
3424
+ botId: long;
3425
+ constructor(params: {
3426
+ botId: long;
3427
+ });
3428
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.MessageActionManagedBotCreated>;
3429
+ write(): Buffer;
3430
+ }
3356
3431
  class Dialog extends TLObject {
3357
3432
  pinned?: boolean;
3358
3433
  unreadMark?: boolean;
@@ -3364,6 +3439,7 @@ export declare namespace Raw {
3364
3439
  unreadCount: int;
3365
3440
  unreadMentionsCount: int;
3366
3441
  unreadReactionsCount: int;
3442
+ unreadPollVotesCount: int;
3367
3443
  notifySettings: Raw.TypePeerNotifySettings;
3368
3444
  pts?: int;
3369
3445
  draft?: Raw.TypeDraftMessage;
@@ -3380,6 +3456,7 @@ export declare namespace Raw {
3380
3456
  unreadCount: int;
3381
3457
  unreadMentionsCount: int;
3382
3458
  unreadReactionsCount: int;
3459
+ unreadPollVotesCount: int;
3383
3460
  notifySettings: Raw.TypePeerNotifySettings;
3384
3461
  pts?: int;
3385
3462
  draft?: Raw.TypeDraftMessage;
@@ -3765,6 +3842,9 @@ export declare namespace Raw {
3765
3842
  canViewRevenue?: boolean;
3766
3843
  botCanManageEmojiStatus?: boolean;
3767
3844
  displayGiftsButton?: boolean;
3845
+ noforwardsMyEnabled?: boolean;
3846
+ noforwardsPeerEnabled?: boolean;
3847
+ unofficialSecurityRisk?: boolean;
3768
3848
  id: long;
3769
3849
  about?: string;
3770
3850
  settings: Raw.TypePeerSettings;
@@ -3802,6 +3882,7 @@ export declare namespace Raw {
3802
3882
  mainTab?: Raw.TypeProfileTab;
3803
3883
  savedMusic?: Raw.TypeDocument;
3804
3884
  note?: Raw.TypeTextWithEntities;
3885
+ botManagerId?: long;
3805
3886
  constructor(params: {
3806
3887
  blocked?: boolean;
3807
3888
  phoneCallsAvailable?: boolean;
@@ -3820,6 +3901,9 @@ export declare namespace Raw {
3820
3901
  canViewRevenue?: boolean;
3821
3902
  botCanManageEmojiStatus?: boolean;
3822
3903
  displayGiftsButton?: boolean;
3904
+ noforwardsMyEnabled?: boolean;
3905
+ noforwardsPeerEnabled?: boolean;
3906
+ unofficialSecurityRisk?: boolean;
3823
3907
  id: long;
3824
3908
  about?: string;
3825
3909
  settings: Raw.TypePeerSettings;
@@ -3857,6 +3941,7 @@ export declare namespace Raw {
3857
3941
  mainTab?: Raw.TypeProfileTab;
3858
3942
  savedMusic?: Raw.TypeDocument;
3859
3943
  note?: Raw.TypeTextWithEntities;
3944
+ botManagerId?: long;
3860
3945
  });
3861
3946
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.UserFull>;
3862
3947
  write(): Buffer;
@@ -3979,6 +4064,11 @@ export declare namespace Raw {
3979
4064
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.InputMessagesFilterPinned>;
3980
4065
  write(): Buffer;
3981
4066
  }
4067
+ class InputMessagesFilterPoll extends TLObject {
4068
+ constructor();
4069
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.InputMessagesFilterPoll>;
4070
+ write(): Buffer;
4071
+ }
3982
4072
  class UpdateNewMessage extends TLObject {
3983
4073
  message: Raw.TypeMessage;
3984
4074
  pts: int;
@@ -4693,10 +4783,16 @@ export declare namespace Raw {
4693
4783
  write(): Buffer;
4694
4784
  }
4695
4785
  class UpdateMessagePoll extends TLObject {
4786
+ peer?: Raw.TypePeer;
4787
+ msgId?: int;
4788
+ topMsgId?: int;
4696
4789
  pollId: long;
4697
4790
  poll?: Raw.TypePoll;
4698
4791
  results: Raw.TypePollResults;
4699
4792
  constructor(params: {
4793
+ peer?: Raw.TypePeer;
4794
+ msgId?: int;
4795
+ topMsgId?: int;
4700
4796
  pollId: long;
4701
4797
  poll?: Raw.TypePoll;
4702
4798
  results: Raw.TypePollResults;
@@ -4793,11 +4889,13 @@ export declare namespace Raw {
4793
4889
  pollId: long;
4794
4890
  peer: Raw.TypePeer;
4795
4891
  options: Vector<bytes>;
4892
+ positions: Vector<int>;
4796
4893
  qts: int;
4797
4894
  constructor(params: {
4798
4895
  pollId: long;
4799
4896
  peer: Raw.TypePeer;
4800
4897
  options: Vector<bytes>;
4898
+ positions: Vector<int>;
4801
4899
  qts: int;
4802
4900
  });
4803
4901
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.UpdateMessagePollVote>;
@@ -5670,6 +5768,32 @@ export declare namespace Raw {
5670
5768
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.UpdateStarGiftCraftFail>;
5671
5769
  write(): Buffer;
5672
5770
  }
5771
+ class UpdateChatParticipantRank extends TLObject {
5772
+ chatId: long;
5773
+ userId: long;
5774
+ rank: string;
5775
+ version: int;
5776
+ constructor(params: {
5777
+ chatId: long;
5778
+ userId: long;
5779
+ rank: string;
5780
+ version: int;
5781
+ });
5782
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.UpdateChatParticipantRank>;
5783
+ write(): Buffer;
5784
+ }
5785
+ class UpdateManagedBot extends TLObject {
5786
+ userId: long;
5787
+ botId: long;
5788
+ qts: int;
5789
+ constructor(params: {
5790
+ userId: long;
5791
+ botId: long;
5792
+ qts: int;
5793
+ });
5794
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.UpdateManagedBot>;
5795
+ write(): Buffer;
5796
+ }
5673
5797
  class UpdatesTooLong extends TLObject {
5674
5798
  constructor();
5675
5799
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.UpdatesTooLong>;
@@ -7627,6 +7751,62 @@ export declare namespace Raw {
7627
7751
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.MessageEntityBlockquote>;
7628
7752
  write(): Buffer;
7629
7753
  }
7754
+ class MessageEntityFormattedDate extends TLObject {
7755
+ relative?: boolean;
7756
+ shortTime?: boolean;
7757
+ longTime?: boolean;
7758
+ shortDate?: boolean;
7759
+ longDate?: boolean;
7760
+ dayOfWeek?: boolean;
7761
+ offset: int;
7762
+ length: int;
7763
+ date: int;
7764
+ constructor(params: {
7765
+ relative?: boolean;
7766
+ shortTime?: boolean;
7767
+ longTime?: boolean;
7768
+ shortDate?: boolean;
7769
+ longDate?: boolean;
7770
+ dayOfWeek?: boolean;
7771
+ offset: int;
7772
+ length: int;
7773
+ date: int;
7774
+ });
7775
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.MessageEntityFormattedDate>;
7776
+ write(): Buffer;
7777
+ }
7778
+ class MessageEntityDiffInsert extends TLObject {
7779
+ offset: int;
7780
+ length: int;
7781
+ constructor(params: {
7782
+ offset: int;
7783
+ length: int;
7784
+ });
7785
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.MessageEntityDiffInsert>;
7786
+ write(): Buffer;
7787
+ }
7788
+ class MessageEntityDiffReplace extends TLObject {
7789
+ offset: int;
7790
+ length: int;
7791
+ oldText: string;
7792
+ constructor(params: {
7793
+ offset: int;
7794
+ length: int;
7795
+ oldText: string;
7796
+ });
7797
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.MessageEntityDiffReplace>;
7798
+ write(): Buffer;
7799
+ }
7800
+ class MessageEntityDiffDelete extends TLObject {
7801
+ offset: int;
7802
+ length: int;
7803
+ constructor(params: {
7804
+ offset: int;
7805
+ length: int;
7806
+ });
7807
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.MessageEntityDiffDelete>;
7808
+ write(): Buffer;
7809
+ }
7630
7810
  class InputChannelEmpty extends TLObject {
7631
7811
  constructor();
7632
7812
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.InputChannelEmpty>;
@@ -7683,10 +7863,12 @@ export declare namespace Raw {
7683
7863
  userId: long;
7684
7864
  date: int;
7685
7865
  subscriptionUntilDate?: int;
7866
+ rank?: string;
7686
7867
  constructor(params: {
7687
7868
  userId: long;
7688
7869
  date: int;
7689
7870
  subscriptionUntilDate?: int;
7871
+ rank?: string;
7690
7872
  });
7691
7873
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.ChannelParticipant>;
7692
7874
  write(): Buffer;
@@ -7697,12 +7879,14 @@ export declare namespace Raw {
7697
7879
  inviterId: long;
7698
7880
  date: int;
7699
7881
  subscriptionUntilDate?: int;
7882
+ rank?: string;
7700
7883
  constructor(params: {
7701
7884
  viaRequest?: boolean;
7702
7885
  userId: long;
7703
7886
  inviterId: long;
7704
7887
  date: int;
7705
7888
  subscriptionUntilDate?: int;
7889
+ rank?: string;
7706
7890
  });
7707
7891
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.ChannelParticipantSelf>;
7708
7892
  write(): Buffer;
@@ -7747,12 +7931,14 @@ export declare namespace Raw {
7747
7931
  kickedBy: long;
7748
7932
  date: int;
7749
7933
  bannedRights: Raw.TypeChatBannedRights;
7934
+ rank?: string;
7750
7935
  constructor(params: {
7751
7936
  left?: boolean;
7752
7937
  peer: Raw.TypePeer;
7753
7938
  kickedBy: long;
7754
7939
  date: int;
7755
7940
  bannedRights: Raw.TypeChatBannedRights;
7941
+ rank?: string;
7756
7942
  });
7757
7943
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.ChannelParticipantBanned>;
7758
7944
  write(): Buffer;
@@ -9956,6 +10142,18 @@ export declare namespace Raw {
9956
10142
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.ChannelAdminLogEventActionToggleAutotranslation>;
9957
10143
  write(): Buffer;
9958
10144
  }
10145
+ class ChannelAdminLogEventActionParticipantEditRank extends TLObject {
10146
+ userId: long;
10147
+ prevRank: string;
10148
+ newRank: string;
10149
+ constructor(params: {
10150
+ userId: long;
10151
+ prevRank: string;
10152
+ newRank: string;
10153
+ });
10154
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.ChannelAdminLogEventActionParticipantEditRank>;
10155
+ write(): Buffer;
10156
+ }
9959
10157
  class ChannelAdminLogEvent extends TLObject {
9960
10158
  id: long;
9961
10159
  date: int;
@@ -9990,6 +10188,7 @@ export declare namespace Raw {
9990
10188
  send?: boolean;
9991
10189
  forums?: boolean;
9992
10190
  subExtend?: boolean;
10191
+ editRank?: boolean;
9993
10192
  constructor(params: {
9994
10193
  join?: boolean;
9995
10194
  leave?: boolean;
@@ -10010,6 +10209,7 @@ export declare namespace Raw {
10010
10209
  send?: boolean;
10011
10210
  forums?: boolean;
10012
10211
  subExtend?: boolean;
10212
+ editRank?: boolean;
10013
10213
  });
10014
10214
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.ChannelAdminLogEventsFilter>;
10015
10215
  write(): Buffer;
@@ -10812,33 +11012,61 @@ export declare namespace Raw {
10812
11012
  class PollAnswer extends TLObject {
10813
11013
  text: Raw.TypeTextWithEntities;
10814
11014
  option: bytes;
11015
+ media?: Raw.TypeMessageMedia;
11016
+ addedBy?: Raw.TypePeer;
11017
+ date?: int;
10815
11018
  constructor(params: {
10816
11019
  text: Raw.TypeTextWithEntities;
10817
11020
  option: bytes;
11021
+ media?: Raw.TypeMessageMedia;
11022
+ addedBy?: Raw.TypePeer;
11023
+ date?: int;
10818
11024
  });
10819
11025
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.PollAnswer>;
10820
11026
  write(): Buffer;
10821
11027
  }
11028
+ class InputPollAnswer extends TLObject {
11029
+ text: Raw.TypeTextWithEntities;
11030
+ media?: Raw.TypeInputMedia;
11031
+ constructor(params: {
11032
+ text: Raw.TypeTextWithEntities;
11033
+ media?: Raw.TypeInputMedia;
11034
+ });
11035
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.InputPollAnswer>;
11036
+ write(): Buffer;
11037
+ }
10822
11038
  class Poll extends TLObject {
10823
11039
  id: long;
10824
11040
  closed?: boolean;
10825
11041
  publicVoters?: boolean;
10826
11042
  multipleChoice?: boolean;
10827
11043
  quiz?: boolean;
11044
+ openAnswers?: boolean;
11045
+ revotingDisabled?: boolean;
11046
+ shuffleAnswers?: boolean;
11047
+ hideResultsUntilClose?: boolean;
11048
+ creator?: boolean;
10828
11049
  question: Raw.TypeTextWithEntities;
10829
11050
  answers: Vector<Raw.TypePollAnswer>;
10830
11051
  closePeriod?: int;
10831
11052
  closeDate?: int;
11053
+ hash: long;
10832
11054
  constructor(params: {
10833
11055
  id: long;
10834
11056
  closed?: boolean;
10835
11057
  publicVoters?: boolean;
10836
11058
  multipleChoice?: boolean;
10837
11059
  quiz?: boolean;
11060
+ openAnswers?: boolean;
11061
+ revotingDisabled?: boolean;
11062
+ shuffleAnswers?: boolean;
11063
+ hideResultsUntilClose?: boolean;
11064
+ creator?: boolean;
10838
11065
  question: Raw.TypeTextWithEntities;
10839
11066
  answers: Vector<Raw.TypePollAnswer>;
10840
11067
  closePeriod?: int;
10841
11068
  closeDate?: int;
11069
+ hash: long;
10842
11070
  });
10843
11071
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.Poll>;
10844
11072
  write(): Buffer;
@@ -10847,30 +11075,36 @@ export declare namespace Raw {
10847
11075
  chosen?: boolean;
10848
11076
  correct?: boolean;
10849
11077
  option: bytes;
10850
- voters: int;
11078
+ voters?: int;
11079
+ recentVoters?: Vector<Raw.TypePeer>;
10851
11080
  constructor(params: {
10852
11081
  chosen?: boolean;
10853
11082
  correct?: boolean;
10854
11083
  option: bytes;
10855
- voters: int;
11084
+ voters?: int;
11085
+ recentVoters?: Vector<Raw.TypePeer>;
10856
11086
  });
10857
11087
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.PollAnswerVoters>;
10858
11088
  write(): Buffer;
10859
11089
  }
10860
11090
  class PollResults extends TLObject {
10861
11091
  min?: boolean;
11092
+ hasUnreadVotes?: boolean;
10862
11093
  results?: Vector<Raw.TypePollAnswerVoters>;
10863
11094
  totalVoters?: int;
10864
11095
  recentVoters?: Vector<Raw.TypePeer>;
10865
11096
  solution?: string;
10866
11097
  solutionEntities?: Vector<Raw.TypeMessageEntity>;
11098
+ solutionMedia?: Raw.TypeMessageMedia;
10867
11099
  constructor(params: {
10868
11100
  min?: boolean;
11101
+ hasUnreadVotes?: boolean;
10869
11102
  results?: Vector<Raw.TypePollAnswerVoters>;
10870
11103
  totalVoters?: int;
10871
11104
  recentVoters?: Vector<Raw.TypePeer>;
10872
11105
  solution?: string;
10873
11106
  solutionEntities?: Vector<Raw.TypeMessageEntity>;
11107
+ solutionMedia?: Raw.TypeMessageMedia;
10874
11108
  });
10875
11109
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.PollResults>;
10876
11110
  write(): Buffer;
@@ -10908,6 +11142,7 @@ export declare namespace Raw {
10908
11142
  editStories?: boolean;
10909
11143
  deleteStories?: boolean;
10910
11144
  manageDirectMessages?: boolean;
11145
+ manageRanks?: boolean;
10911
11146
  constructor(params: {
10912
11147
  changeInfo?: boolean;
10913
11148
  postMessages?: boolean;
@@ -10925,6 +11160,7 @@ export declare namespace Raw {
10925
11160
  editStories?: boolean;
10926
11161
  deleteStories?: boolean;
10927
11162
  manageDirectMessages?: boolean;
11163
+ manageRanks?: boolean;
10928
11164
  });
10929
11165
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.ChatAdminRights>;
10930
11166
  write(): Buffer;
@@ -10950,6 +11186,7 @@ export declare namespace Raw {
10950
11186
  sendVoices?: boolean;
10951
11187
  sendDocs?: boolean;
10952
11188
  sendPlain?: boolean;
11189
+ editRank?: boolean;
10953
11190
  untilDate: int;
10954
11191
  constructor(params: {
10955
11192
  viewMessages?: boolean;
@@ -10972,6 +11209,7 @@ export declare namespace Raw {
10972
11209
  sendVoices?: boolean;
10973
11210
  sendDocs?: boolean;
10974
11211
  sendPlain?: boolean;
11212
+ editRank?: boolean;
10975
11213
  untilDate: int;
10976
11214
  });
10977
11215
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.ChatBannedRights>;
@@ -11170,21 +11408,31 @@ export declare namespace Raw {
11170
11408
  class UrlAuthResultRequest extends TLObject {
11171
11409
  requestWriteAccess?: boolean;
11172
11410
  requestPhoneNumber?: boolean;
11411
+ matchCodesFirst?: boolean;
11412
+ isApp?: boolean;
11173
11413
  bot: Raw.TypeUser;
11174
11414
  domain: string;
11175
11415
  browser?: string;
11176
11416
  platform?: string;
11177
11417
  ip?: string;
11178
11418
  region?: string;
11419
+ matchCodes?: Vector<string>;
11420
+ userIdHint?: long;
11421
+ verifiedAppName?: string;
11179
11422
  constructor(params: {
11180
11423
  requestWriteAccess?: boolean;
11181
11424
  requestPhoneNumber?: boolean;
11425
+ matchCodesFirst?: boolean;
11426
+ isApp?: boolean;
11182
11427
  bot: Raw.TypeUser;
11183
11428
  domain: string;
11184
11429
  browser?: string;
11185
11430
  platform?: string;
11186
11431
  ip?: string;
11187
11432
  region?: string;
11433
+ matchCodes?: Vector<string>;
11434
+ userIdHint?: long;
11435
+ verifiedAppName?: string;
11188
11436
  });
11189
11437
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.UrlAuthResultRequest>;
11190
11438
  write(): Buffer;
@@ -11680,6 +11928,7 @@ export declare namespace Raw {
11680
11928
  quoteEntities?: Vector<Raw.TypeMessageEntity>;
11681
11929
  quoteOffset?: int;
11682
11930
  todoItemId?: int;
11931
+ pollOption?: bytes;
11683
11932
  constructor(params: {
11684
11933
  replyToScheduled?: boolean;
11685
11934
  forumTopic?: boolean;
@@ -11693,6 +11942,7 @@ export declare namespace Raw {
11693
11942
  quoteEntities?: Vector<Raw.TypeMessageEntity>;
11694
11943
  quoteOffset?: int;
11695
11944
  todoItemId?: int;
11945
+ pollOption?: bytes;
11696
11946
  });
11697
11947
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.MessageReplyHeader>;
11698
11948
  write(): Buffer;
@@ -12898,6 +13148,7 @@ export declare namespace Raw {
12898
13148
  unreadCount: int;
12899
13149
  unreadMentionsCount: int;
12900
13150
  unreadReactionsCount: int;
13151
+ unreadPollVotesCount: int;
12901
13152
  fromId: Raw.TypePeer;
12902
13153
  notifySettings: Raw.TypePeerNotifySettings;
12903
13154
  draft?: Raw.TypeDraftMessage;
@@ -12920,6 +13171,7 @@ export declare namespace Raw {
12920
13171
  unreadCount: int;
12921
13172
  unreadMentionsCount: int;
12922
13173
  unreadReactionsCount: int;
13174
+ unreadPollVotesCount: int;
12923
13175
  fromId: Raw.TypePeer;
12924
13176
  notifySettings: Raw.TypePeerNotifySettings;
12925
13177
  draft?: Raw.TypeDraftMessage;
@@ -12987,6 +13239,18 @@ export declare namespace Raw {
12987
13239
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.RequestPeerTypeBroadcast>;
12988
13240
  write(): Buffer;
12989
13241
  }
13242
+ class RequestPeerTypeCreateBot extends TLObject {
13243
+ botManaged?: boolean;
13244
+ suggestedName?: string;
13245
+ suggestedUsername?: string;
13246
+ constructor(params: {
13247
+ botManaged?: boolean;
13248
+ suggestedName?: string;
13249
+ suggestedUsername?: string;
13250
+ });
13251
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.RequestPeerTypeCreateBot>;
13252
+ write(): Buffer;
13253
+ }
12990
13254
  class EmojiListNotModified extends TLObject {
12991
13255
  constructor();
12992
13256
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.EmojiListNotModified>;
@@ -13254,6 +13518,7 @@ export declare namespace Raw {
13254
13518
  views?: Raw.TypeStoryViews;
13255
13519
  sentReaction?: Raw.TypeReaction;
13256
13520
  albums?: Vector<int>;
13521
+ music?: Raw.TypeDocument;
13257
13522
  constructor(params: {
13258
13523
  pinned?: boolean;
13259
13524
  public?: boolean;
@@ -13277,6 +13542,7 @@ export declare namespace Raw {
13277
13542
  views?: Raw.TypeStoryViews;
13278
13543
  sentReaction?: Raw.TypeReaction;
13279
13544
  albums?: Vector<int>;
13545
+ music?: Raw.TypeDocument;
13280
13546
  });
13281
13547
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.StoryItem>;
13282
13548
  write(): Buffer;
@@ -13332,6 +13598,7 @@ export declare namespace Raw {
13332
13598
  quoteOffset?: int;
13333
13599
  monoforumPeerId?: Raw.TypeInputPeer;
13334
13600
  todoItemId?: int;
13601
+ pollOption?: bytes;
13335
13602
  constructor(params: {
13336
13603
  replyToMsgId: int;
13337
13604
  topMsgId?: int;
@@ -13341,6 +13608,7 @@ export declare namespace Raw {
13341
13608
  quoteOffset?: int;
13342
13609
  monoforumPeerId?: Raw.TypeInputPeer;
13343
13610
  todoItemId?: int;
13611
+ pollOption?: bytes;
13344
13612
  });
13345
13613
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.InputReplyToMessage>;
13346
13614
  write(): Buffer;
@@ -14234,11 +14502,13 @@ export declare namespace Raw {
14234
14502
  class ReactionsNotifySettings extends TLObject {
14235
14503
  messagesNotifyFrom?: Raw.TypeReactionNotificationsFrom;
14236
14504
  storiesNotifyFrom?: Raw.TypeReactionNotificationsFrom;
14505
+ pollVotesNotifyFrom?: Raw.TypeReactionNotificationsFrom;
14237
14506
  sound: Raw.TypeNotificationSound;
14238
14507
  showPreviews: Bool;
14239
14508
  constructor(params: {
14240
14509
  messagesNotifyFrom?: Raw.TypeReactionNotificationsFrom;
14241
14510
  storiesNotifyFrom?: Raw.TypeReactionNotificationsFrom;
14511
+ pollVotesNotifyFrom?: Raw.TypeReactionNotificationsFrom;
14242
14512
  sound: Raw.TypeNotificationSound;
14243
14513
  showPreviews: Bool;
14244
14514
  });
@@ -15617,6 +15887,24 @@ export declare namespace Raw {
15617
15887
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.KeyboardButtonStyle>;
15618
15888
  write(): Buffer;
15619
15889
  }
15890
+ class InputMessageReadMetric extends TLObject {
15891
+ msgId: int;
15892
+ viewId: long;
15893
+ timeInViewMs: int;
15894
+ activeTimeInViewMs: int;
15895
+ heightToViewportRatioPermille: int;
15896
+ seenRangeRatioPermille: int;
15897
+ constructor(params: {
15898
+ msgId: int;
15899
+ viewId: long;
15900
+ timeInViewMs: int;
15901
+ activeTimeInViewMs: int;
15902
+ heightToViewportRatioPermille: int;
15903
+ seenRangeRatioPermille: int;
15904
+ });
15905
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.InputMessageReadMetric>;
15906
+ write(): Buffer;
15907
+ }
15620
15908
  class InvokeAfterMsg extends TLObject {
15621
15909
  __response__: X;
15622
15910
  msgId: long;
@@ -18072,6 +18360,7 @@ export declare namespace Raw {
18072
18360
  }
18073
18361
  namespace messages {
18074
18362
  type TypeInactiveChats = Raw.messages.InactiveChats;
18363
+ type TypeComposedMessageWithAI = Raw.messages.ComposedMessageWithAI;
18075
18364
  type TypeForumTopics = Raw.messages.ForumTopics;
18076
18365
  type TypeFoundStickers = Raw.messages.FoundStickersNotModified | Raw.messages.FoundStickers;
18077
18366
  type TypePreparedInlineMessage = Raw.messages.PreparedInlineMessage;
@@ -19147,6 +19436,16 @@ export declare namespace Raw {
19147
19436
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.messages.EmojiGameDiceInfo>;
19148
19437
  write(): Buffer;
19149
19438
  }
19439
+ class ComposedMessageWithAI extends TLObject {
19440
+ resultText: Raw.TypeTextWithEntities;
19441
+ diffText?: Raw.TypeTextWithEntities;
19442
+ constructor(params: {
19443
+ resultText: Raw.TypeTextWithEntities;
19444
+ diffText?: Raw.TypeTextWithEntities;
19445
+ });
19446
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.messages.ComposedMessageWithAI>;
19447
+ write(): Buffer;
19448
+ }
19150
19449
  class GetMessages extends TLObject {
19151
19450
  __response__: Raw.messages.TypeMessages;
19152
19451
  id: Vector<Raw.TypeInputMessage>;
@@ -20584,9 +20883,11 @@ export declare namespace Raw {
20584
20883
  __response__: Raw.TypeUpdates;
20585
20884
  peer: Raw.TypeInputPeer;
20586
20885
  msgId: int;
20886
+ pollHash: long;
20587
20887
  constructor(params: {
20588
20888
  peer: Raw.TypeInputPeer;
20589
20889
  msgId: int;
20890
+ pollHash: long;
20590
20891
  });
20591
20892
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.messages.GetPollResults>;
20592
20893
  write(): Buffer;
@@ -20681,11 +20982,13 @@ export declare namespace Raw {
20681
20982
  msgId?: int;
20682
20983
  buttonId?: int;
20683
20984
  url?: string;
20985
+ inAppOrigin?: string;
20684
20986
  constructor(params: {
20685
20987
  peer?: Raw.TypeInputPeer;
20686
20988
  msgId?: int;
20687
20989
  buttonId?: int;
20688
20990
  url?: string;
20991
+ inAppOrigin?: string;
20689
20992
  });
20690
20993
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.messages.RequestUrlAuth>;
20691
20994
  write(): Buffer;
@@ -20698,6 +21001,7 @@ export declare namespace Raw {
20698
21001
  msgId?: int;
20699
21002
  buttonId?: int;
20700
21003
  url?: string;
21004
+ matchCode?: string;
20701
21005
  constructor(params: {
20702
21006
  writeAllowed?: boolean;
20703
21007
  sharePhoneNumber?: boolean;
@@ -20705,6 +21009,7 @@ export declare namespace Raw {
20705
21009
  msgId?: int;
20706
21010
  buttonId?: int;
20707
21011
  url?: string;
21012
+ matchCode?: string;
20708
21013
  });
20709
21014
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.messages.AcceptUrlAuth>;
20710
21015
  write(): Buffer;
@@ -21178,9 +21483,11 @@ export declare namespace Raw {
21178
21483
  __response__: Raw.TypeUpdates;
21179
21484
  peer: Raw.TypeInputPeer;
21180
21485
  enabled: Bool;
21486
+ requestMsgId?: int;
21181
21487
  constructor(params: {
21182
21488
  peer: Raw.TypeInputPeer;
21183
21489
  enabled: Bool;
21490
+ requestMsgId?: int;
21184
21491
  });
21185
21492
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.messages.ToggleNoForwards>;
21186
21493
  write(): Buffer;
@@ -21280,11 +21587,13 @@ export declare namespace Raw {
21280
21587
  id?: Vector<int>;
21281
21588
  text?: Vector<Raw.TypeTextWithEntities>;
21282
21589
  toLang: string;
21590
+ tone?: string;
21283
21591
  constructor(params: {
21284
21592
  peer?: Raw.TypeInputPeer;
21285
21593
  id?: Vector<int>;
21286
21594
  text?: Vector<Raw.TypeTextWithEntities>;
21287
21595
  toLang: string;
21596
+ tone?: string;
21288
21597
  });
21289
21598
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.messages.TranslateText>;
21290
21599
  write(): Buffer;
@@ -21593,12 +21902,14 @@ export declare namespace Raw {
21593
21902
  class SendBotRequestedPeer extends TLObject {
21594
21903
  __response__: Raw.TypeUpdates;
21595
21904
  peer: Raw.TypeInputPeer;
21596
- msgId: int;
21905
+ msgId?: int;
21906
+ webappReqId?: string;
21597
21907
  buttonId: int;
21598
21908
  requestedPeers: Vector<Raw.TypeInputPeer>;
21599
21909
  constructor(params: {
21600
21910
  peer: Raw.TypeInputPeer;
21601
- msgId: int;
21911
+ msgId?: int;
21912
+ webappReqId?: string;
21602
21913
  buttonId: int;
21603
21914
  requestedPeers: Vector<Raw.TypeInputPeer>;
21604
21915
  });
@@ -22358,14 +22669,168 @@ export declare namespace Raw {
22358
22669
  peer: Raw.TypeInputPeer;
22359
22670
  id: int;
22360
22671
  toLang?: string;
22672
+ tone?: string;
22361
22673
  constructor(params: {
22362
22674
  peer: Raw.TypeInputPeer;
22363
22675
  id: int;
22364
22676
  toLang?: string;
22677
+ tone?: string;
22365
22678
  });
22366
22679
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.messages.SummarizeText>;
22367
22680
  write(): Buffer;
22368
22681
  }
22682
+ class EditChatCreator extends TLObject {
22683
+ __response__: Raw.TypeUpdates;
22684
+ peer: Raw.TypeInputPeer;
22685
+ userId: Raw.TypeInputUser;
22686
+ password: Raw.TypeInputCheckPasswordSRP;
22687
+ constructor(params: {
22688
+ peer: Raw.TypeInputPeer;
22689
+ userId: Raw.TypeInputUser;
22690
+ password: Raw.TypeInputCheckPasswordSRP;
22691
+ });
22692
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.messages.EditChatCreator>;
22693
+ write(): Buffer;
22694
+ }
22695
+ class GetFutureChatCreatorAfterLeave extends TLObject {
22696
+ __response__: Raw.TypeUser;
22697
+ peer: Raw.TypeInputPeer;
22698
+ constructor(params: {
22699
+ peer: Raw.TypeInputPeer;
22700
+ });
22701
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.messages.GetFutureChatCreatorAfterLeave>;
22702
+ write(): Buffer;
22703
+ }
22704
+ class EditChatParticipantRank extends TLObject {
22705
+ __response__: Raw.TypeUpdates;
22706
+ peer: Raw.TypeInputPeer;
22707
+ participant: Raw.TypeInputPeer;
22708
+ rank: string;
22709
+ constructor(params: {
22710
+ peer: Raw.TypeInputPeer;
22711
+ participant: Raw.TypeInputPeer;
22712
+ rank: string;
22713
+ });
22714
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.messages.EditChatParticipantRank>;
22715
+ write(): Buffer;
22716
+ }
22717
+ class DeclineUrlAuth extends TLObject {
22718
+ __response__: Bool;
22719
+ url: string;
22720
+ constructor(params: {
22721
+ url: string;
22722
+ });
22723
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.messages.DeclineUrlAuth>;
22724
+ write(): Buffer;
22725
+ }
22726
+ class CheckUrlAuthMatchCode extends TLObject {
22727
+ __response__: Bool;
22728
+ url: string;
22729
+ matchCode: string;
22730
+ constructor(params: {
22731
+ url: string;
22732
+ matchCode: string;
22733
+ });
22734
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.messages.CheckUrlAuthMatchCode>;
22735
+ write(): Buffer;
22736
+ }
22737
+ class ComposeMessageWithAI extends TLObject {
22738
+ __response__: Raw.messages.TypeComposedMessageWithAI;
22739
+ proofread?: boolean;
22740
+ emojify?: boolean;
22741
+ text: Raw.TypeTextWithEntities;
22742
+ translateToLang?: string;
22743
+ changeTone?: string;
22744
+ constructor(params: {
22745
+ proofread?: boolean;
22746
+ emojify?: boolean;
22747
+ text: Raw.TypeTextWithEntities;
22748
+ translateToLang?: string;
22749
+ changeTone?: string;
22750
+ });
22751
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.messages.ComposeMessageWithAI>;
22752
+ write(): Buffer;
22753
+ }
22754
+ class ReportReadMetrics extends TLObject {
22755
+ __response__: Bool;
22756
+ peer: Raw.TypeInputPeer;
22757
+ metrics: Vector<Raw.TypeInputMessageReadMetric>;
22758
+ constructor(params: {
22759
+ peer: Raw.TypeInputPeer;
22760
+ metrics: Vector<Raw.TypeInputMessageReadMetric>;
22761
+ });
22762
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.messages.ReportReadMetrics>;
22763
+ write(): Buffer;
22764
+ }
22765
+ class ReportMusicListen extends TLObject {
22766
+ __response__: Bool;
22767
+ id: Raw.TypeInputDocument;
22768
+ listenedDuration: int;
22769
+ constructor(params: {
22770
+ id: Raw.TypeInputDocument;
22771
+ listenedDuration: int;
22772
+ });
22773
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.messages.ReportMusicListen>;
22774
+ write(): Buffer;
22775
+ }
22776
+ class AddPollAnswer extends TLObject {
22777
+ __response__: Raw.TypeUpdates;
22778
+ peer: Raw.TypeInputPeer;
22779
+ msgId: int;
22780
+ answer: Raw.TypePollAnswer;
22781
+ constructor(params: {
22782
+ peer: Raw.TypeInputPeer;
22783
+ msgId: int;
22784
+ answer: Raw.TypePollAnswer;
22785
+ });
22786
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.messages.AddPollAnswer>;
22787
+ write(): Buffer;
22788
+ }
22789
+ class DeletePollAnswer extends TLObject {
22790
+ __response__: Raw.TypeUpdates;
22791
+ peer: Raw.TypeInputPeer;
22792
+ msgId: int;
22793
+ option: bytes;
22794
+ constructor(params: {
22795
+ peer: Raw.TypeInputPeer;
22796
+ msgId: int;
22797
+ option: bytes;
22798
+ });
22799
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.messages.DeletePollAnswer>;
22800
+ write(): Buffer;
22801
+ }
22802
+ class GetUnreadPollVotes extends TLObject {
22803
+ __response__: Raw.messages.TypeMessages;
22804
+ peer: Raw.TypeInputPeer;
22805
+ topMsgId?: int;
22806
+ offsetId: int;
22807
+ addOffset: int;
22808
+ limit: int;
22809
+ maxId: int;
22810
+ minId: int;
22811
+ constructor(params: {
22812
+ peer: Raw.TypeInputPeer;
22813
+ topMsgId?: int;
22814
+ offsetId: int;
22815
+ addOffset: int;
22816
+ limit: int;
22817
+ maxId: int;
22818
+ minId: int;
22819
+ });
22820
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.messages.GetUnreadPollVotes>;
22821
+ write(): Buffer;
22822
+ }
22823
+ class ReadPollVotes extends TLObject {
22824
+ __response__: Raw.messages.TypeAffectedHistory;
22825
+ peer: Raw.TypeInputPeer;
22826
+ topMsgId?: int;
22827
+ constructor(params: {
22828
+ peer: Raw.TypeInputPeer;
22829
+ topMsgId?: int;
22830
+ });
22831
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.messages.ReadPollVotes>;
22832
+ write(): Buffer;
22833
+ }
22369
22834
  }
22370
22835
  namespace updates {
22371
22836
  type TypeChannelDifference = Raw.updates.ChannelDifferenceEmpty | Raw.updates.ChannelDifferenceTooLong | Raw.updates.ChannelDifference;
@@ -24656,12 +25121,12 @@ export declare namespace Raw {
24656
25121
  channel: Raw.TypeInputChannel;
24657
25122
  userId: Raw.TypeInputUser;
24658
25123
  adminRights: Raw.TypeChatAdminRights;
24659
- rank: string;
25124
+ rank?: string;
24660
25125
  constructor(params: {
24661
25126
  channel: Raw.TypeInputChannel;
24662
25127
  userId: Raw.TypeInputUser;
24663
25128
  adminRights: Raw.TypeChatAdminRights;
24664
- rank: string;
25129
+ rank?: string;
24665
25130
  });
24666
25131
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.channels.EditAdmin>;
24667
25132
  write(): Buffer;
@@ -24895,19 +25360,6 @@ export declare namespace Raw {
24895
25360
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.channels.SetDiscussionGroup>;
24896
25361
  write(): Buffer;
24897
25362
  }
24898
- class EditCreator extends TLObject {
24899
- __response__: Raw.TypeUpdates;
24900
- channel: Raw.TypeInputChannel;
24901
- userId: Raw.TypeInputUser;
24902
- password: Raw.TypeInputCheckPasswordSRP;
24903
- constructor(params: {
24904
- channel: Raw.TypeInputChannel;
24905
- userId: Raw.TypeInputUser;
24906
- password: Raw.TypeInputCheckPasswordSRP;
24907
- });
24908
- static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.channels.EditCreator>;
24909
- write(): Buffer;
24910
- }
24911
25363
  class EditLocation extends TLObject {
24912
25364
  __response__: Bool;
24913
25365
  channel: Raw.TypeInputChannel;
@@ -25227,15 +25679,6 @@ export declare namespace Raw {
25227
25679
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.channels.SetMainProfileTab>;
25228
25680
  write(): Buffer;
25229
25681
  }
25230
- class GetFutureCreatorAfterLeave extends TLObject {
25231
- __response__: Raw.TypeUser;
25232
- channel: Raw.TypeInputChannel;
25233
- constructor(params: {
25234
- channel: Raw.TypeInputChannel;
25235
- });
25236
- static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.channels.GetFutureCreatorAfterLeave>;
25237
- write(): Buffer;
25238
- }
25239
25682
  }
25240
25683
  namespace payments {
25241
25684
  type TypeStarGiftUpgradeAttributes = Raw.payments.StarGiftUpgradeAttributes;
@@ -26360,6 +26803,7 @@ export declare namespace Raw {
26360
26803
  sortByPrice?: boolean;
26361
26804
  sortByNum?: boolean;
26362
26805
  forCraft?: boolean;
26806
+ starsOnly?: boolean;
26363
26807
  attributesHash?: long;
26364
26808
  giftId: long;
26365
26809
  attributes?: Vector<Raw.TypeStarGiftAttributeId>;
@@ -26369,6 +26813,7 @@ export declare namespace Raw {
26369
26813
  sortByPrice?: boolean;
26370
26814
  sortByNum?: boolean;
26371
26815
  forCraft?: boolean;
26816
+ starsOnly?: boolean;
26372
26817
  attributesHash?: long;
26373
26818
  giftId: long;
26374
26819
  attributes?: Vector<Raw.TypeStarGiftAttributeId>;
@@ -27911,6 +28356,8 @@ export declare namespace Raw {
27911
28356
  }
27912
28357
  }
27913
28358
  namespace bots {
28359
+ type TypeRequestedButton = Raw.bots.RequestedButton;
28360
+ type TypeExportedBotToken = Raw.bots.ExportedBotToken;
27914
28361
  type TypePreviewInfo = Raw.bots.PreviewInfo;
27915
28362
  type TypePopularAppBots = Raw.bots.PopularAppBots;
27916
28363
  type TypeBotInfo = Raw.bots.BotInfo;
@@ -27946,6 +28393,22 @@ export declare namespace Raw {
27946
28393
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.bots.PreviewInfo>;
27947
28394
  write(): Buffer;
27948
28395
  }
28396
+ class ExportedBotToken extends TLObject {
28397
+ token: string;
28398
+ constructor(params: {
28399
+ token: string;
28400
+ });
28401
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.bots.ExportedBotToken>;
28402
+ write(): Buffer;
28403
+ }
28404
+ class RequestedButton extends TLObject {
28405
+ webappReqId: string;
28406
+ constructor(params: {
28407
+ webappReqId: string;
28408
+ });
28409
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.bots.RequestedButton>;
28410
+ write(): Buffer;
28411
+ }
27949
28412
  class SendCustomRequest extends TLObject {
27950
28413
  __response__: Raw.TypeDataJSON;
27951
28414
  customMethod: string;
@@ -28287,6 +28750,63 @@ export declare namespace Raw {
28287
28750
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.bots.GetBotRecommendations>;
28288
28751
  write(): Buffer;
28289
28752
  }
28753
+ class CheckUsername extends TLObject {
28754
+ __response__: Bool;
28755
+ username: string;
28756
+ constructor(params: {
28757
+ username: string;
28758
+ });
28759
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.bots.CheckUsername>;
28760
+ write(): Buffer;
28761
+ }
28762
+ class CreateBot extends TLObject {
28763
+ __response__: Raw.TypeUser;
28764
+ viaDeeplink?: boolean;
28765
+ name: string;
28766
+ username: string;
28767
+ managerId: Raw.TypeInputUser;
28768
+ constructor(params: {
28769
+ viaDeeplink?: boolean;
28770
+ name: string;
28771
+ username: string;
28772
+ managerId: Raw.TypeInputUser;
28773
+ });
28774
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.bots.CreateBot>;
28775
+ write(): Buffer;
28776
+ }
28777
+ class ExportBotToken extends TLObject {
28778
+ __response__: Raw.bots.TypeExportedBotToken;
28779
+ bot: Raw.TypeInputUser;
28780
+ revoke: Bool;
28781
+ constructor(params: {
28782
+ bot: Raw.TypeInputUser;
28783
+ revoke: Bool;
28784
+ });
28785
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.bots.ExportBotToken>;
28786
+ write(): Buffer;
28787
+ }
28788
+ class RequestWebViewButton extends TLObject {
28789
+ __response__: Raw.bots.TypeRequestedButton;
28790
+ userId: Raw.TypeInputUser;
28791
+ button: Raw.TypeKeyboardButton;
28792
+ constructor(params: {
28793
+ userId: Raw.TypeInputUser;
28794
+ button: Raw.TypeKeyboardButton;
28795
+ });
28796
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.bots.RequestWebViewButton>;
28797
+ write(): Buffer;
28798
+ }
28799
+ class GetRequestedWebViewButton extends TLObject {
28800
+ __response__: Raw.TypeKeyboardButton;
28801
+ bot: Raw.TypeInputUser;
28802
+ webappReqId: string;
28803
+ constructor(params: {
28804
+ bot: Raw.TypeInputUser;
28805
+ webappReqId: string;
28806
+ });
28807
+ static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.bots.GetRequestedWebViewButton>;
28808
+ write(): Buffer;
28809
+ }
28290
28810
  }
28291
28811
  namespace stories {
28292
28812
  type TypeAlbums = Raw.stories.AlbumsNotModified | Raw.stories.Albums;
@@ -28468,6 +28988,7 @@ export declare namespace Raw {
28468
28988
  fwdFromId?: Raw.TypeInputPeer;
28469
28989
  fwdFromStory?: int;
28470
28990
  albums?: Vector<int>;
28991
+ music?: Raw.TypeInputDocument;
28471
28992
  constructor(params: {
28472
28993
  pinned?: boolean;
28473
28994
  noforwards?: boolean;
@@ -28483,6 +29004,7 @@ export declare namespace Raw {
28483
29004
  fwdFromId?: Raw.TypeInputPeer;
28484
29005
  fwdFromStory?: int;
28485
29006
  albums?: Vector<int>;
29007
+ music?: Raw.TypeInputDocument;
28486
29008
  });
28487
29009
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.stories.SendStory>;
28488
29010
  write(): Buffer;
@@ -28496,6 +29018,7 @@ export declare namespace Raw {
28496
29018
  caption?: string;
28497
29019
  entities?: Vector<Raw.TypeMessageEntity>;
28498
29020
  privacyRules?: Vector<Raw.TypeInputPrivacyRule>;
29021
+ music?: Raw.TypeInputDocument;
28499
29022
  constructor(params: {
28500
29023
  peer: Raw.TypeInputPeer;
28501
29024
  id: int;
@@ -28504,6 +29027,7 @@ export declare namespace Raw {
28504
29027
  caption?: string;
28505
29028
  entities?: Vector<Raw.TypeMessageEntity>;
28506
29029
  privacyRules?: Vector<Raw.TypeInputPrivacyRule>;
29030
+ music?: Raw.TypeInputDocument;
28507
29031
  });
28508
29032
  static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.stories.EditStory>;
28509
29033
  write(): Buffer;