@tgsnake/skema 1.11.0 → 1.13.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/README.md +1 -1
- package/dist/raw/All.d.ts +82 -28
- package/dist/raw/All.js +82 -28
- package/dist/raw/Raw.d.ts +734 -16
- package/dist/raw/Raw.js +2463 -57
- package/package.json +1 -1
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.messages.EditChatCreator | Raw.messages.GetFutureChatCreatorAfterLeave | Raw.messages.EditChatParticipantRank | Raw.messages.DeclineUrlAuth | Raw.messages.CheckUrlAuthMatchCode | 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.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.messages.SetBotGuestChatResult | Raw.messages.DeleteParticipantReactions | Raw.messages.DeleteParticipantReaction | Raw.messages.GetPersonalChannelHistory | Raw.updates.GetState | Raw.updates.GetDifference | Raw.updates.GetChannelDifference | Raw.photos.UpdateProfilePhoto | Raw.photos.UploadProfilePhoto | Raw.photos.DeletePhotos | Raw.photos.GetUserPhotos | Raw.photos.UploadContactProfilePhoto | Raw.upload.SaveFilePart | Raw.upload.GetFile | Raw.upload.SaveBigFilePart | Raw.upload.GetWebFile | Raw.upload.GetCdnFile | Raw.upload.ReuploadCdnFile | Raw.upload.GetCdnFileHashes | Raw.upload.GetFileHashes | Raw.help.GetConfig | Raw.help.GetNearestDc | Raw.help.GetAppUpdate | Raw.help.GetInviteText | Raw.help.GetSupport | Raw.help.SetBotUpdatesStatus | Raw.help.GetCdnConfig | Raw.help.GetRecentMeUrls | Raw.help.GetTermsOfServiceUpdate | Raw.help.AcceptTermsOfService | Raw.help.GetDeepLinkInfo | Raw.help.GetAppConfig | Raw.help.SaveAppLog | Raw.help.GetPassportConfig | Raw.help.GetSupportName | Raw.help.GetUserInfo | Raw.help.EditUserInfo | Raw.help.GetPromoData | Raw.help.HidePromoData | Raw.help.DismissSuggestion | Raw.help.GetCountriesList | Raw.help.GetPremiumPromo | Raw.help.GetPeerColors | Raw.help.GetPeerProfileColors | Raw.help.GetTimezonesList | Raw.channels.ReadHistory | Raw.channels.DeleteMessages | Raw.channels.ReportSpam | Raw.channels.GetMessages | Raw.channels.GetParticipants | Raw.channels.GetParticipant | Raw.channels.GetChannels | Raw.channels.GetFullChannel | Raw.channels.CreateChannel | Raw.channels.EditAdmin | Raw.channels.EditTitle | Raw.channels.EditPhoto | Raw.channels.CheckUsername | Raw.channels.UpdateUsername | Raw.channels.JoinChannel | Raw.channels.LeaveChannel | Raw.channels.InviteToChannel | Raw.channels.DeleteChannel | Raw.channels.ExportMessageLink | Raw.channels.ToggleSignatures | Raw.channels.GetAdminedPublicChannels | Raw.channels.EditBanned | Raw.channels.GetAdminLog | Raw.channels.SetStickers | Raw.channels.ReadMessageContents | Raw.channels.DeleteHistory | Raw.channels.TogglePreHistoryHidden | Raw.channels.GetLeftChannels | Raw.channels.GetGroupsForDiscussion | Raw.channels.SetDiscussionGroup | Raw.channels.EditLocation | Raw.channels.ToggleSlowMode | Raw.channels.GetInactiveChannels | Raw.channels.ConvertToGigagroup | Raw.channels.GetSendAs | Raw.channels.DeleteParticipantHistory | Raw.channels.ToggleJoinToSend | Raw.channels.ToggleJoinRequest | Raw.channels.ReorderUsernames | Raw.channels.ToggleUsername | Raw.channels.DeactivateAllUsernames | Raw.channels.ToggleForum | Raw.channels.ToggleAntiSpam | Raw.channels.ReportAntiSpamFalsePositive | Raw.channels.ToggleParticipantsHidden | Raw.channels.UpdateColor | Raw.channels.ToggleViewForumAsMessages | Raw.channels.GetChannelRecommendations | Raw.channels.UpdateEmojiStatus | Raw.channels.SetBoostsToUnblockRestrictions | Raw.channels.SetEmojiStickers | Raw.channels.RestrictSponsoredMessages | Raw.channels.SearchPosts | Raw.channels.UpdatePaidMessagesPrice | Raw.channels.ToggleAutotranslation | Raw.channels.GetMessageAuthor | Raw.channels.CheckSearchPostsFlood | Raw.channels.SetMainProfileTab | Raw.bots.SendCustomRequest | Raw.bots.AnswerWebhookJSONQuery | Raw.bots.SetBotCommands | Raw.bots.ResetBotCommands | Raw.bots.GetBotCommands | Raw.bots.SetBotMenuButton | Raw.bots.GetBotMenuButton | Raw.bots.SetBotBroadcastDefaultAdminRights | Raw.bots.SetBotGroupDefaultAdminRights | Raw.bots.SetBotInfo | Raw.bots.GetBotInfo | Raw.bots.ReorderUsernames | Raw.bots.ToggleUsername | Raw.bots.CanSendMessage | Raw.bots.AllowSendMessage | Raw.bots.InvokeWebViewCustomMethod | Raw.bots.GetPopularAppBots | Raw.bots.AddPreviewMedia | Raw.bots.EditPreviewMedia | Raw.bots.DeletePreviewMedia | Raw.bots.ReorderPreviewMedias | Raw.bots.GetPreviewInfo | Raw.bots.GetPreviewMedias | Raw.bots.UpdateUserEmojiStatus | Raw.bots.ToggleUserEmojiStatusPermission | Raw.bots.CheckDownloadFileParams | Raw.bots.GetAdminedBots | Raw.bots.UpdateStarRefProgram | Raw.bots.SetCustomVerification | Raw.bots.GetBotRecommendations | Raw.bots.CheckUsername | Raw.bots.CreateBot | Raw.bots.ExportBotToken | Raw.bots.RequestWebViewButton | Raw.bots.GetRequestedWebViewButton | Raw.bots.GetAccessSettings | Raw.bots.EditAccessSettings | Raw.payments.GetPaymentForm | Raw.payments.GetPaymentReceipt | Raw.payments.ValidateRequestedInfo | Raw.payments.SendPaymentForm | Raw.payments.GetSavedInfo | Raw.payments.ClearSavedInfo | Raw.payments.GetBankCardData | Raw.payments.ExportInvoice | Raw.payments.AssignAppStoreTransaction | Raw.payments.AssignPlayMarketTransaction | Raw.payments.GetPremiumGiftCodeOptions | Raw.payments.CheckGiftCode | Raw.payments.ApplyGiftCode | Raw.payments.GetGiveawayInfo | Raw.payments.LaunchPrepaidGiveaway | Raw.payments.GetStarsTopupOptions | Raw.payments.GetStarsStatus | Raw.payments.GetStarsTransactions | Raw.payments.SendStarsForm | Raw.payments.RefundStarsCharge | Raw.payments.GetStarsRevenueStats | Raw.payments.GetStarsRevenueWithdrawalUrl | Raw.payments.GetStarsRevenueAdsAccountUrl | Raw.payments.GetStarsTransactionsByID | Raw.payments.GetStarsGiftOptions | Raw.payments.GetStarsSubscriptions | Raw.payments.ChangeStarsSubscription | Raw.payments.FulfillStarsSubscription | Raw.payments.GetStarsGiveawayOptions | Raw.payments.GetStarGifts | Raw.payments.SaveStarGift | Raw.payments.ConvertStarGift | Raw.payments.BotCancelStarsSubscription | Raw.payments.GetConnectedStarRefBots | Raw.payments.GetConnectedStarRefBot | Raw.payments.GetSuggestedStarRefBots | Raw.payments.ConnectStarRefBot | Raw.payments.EditConnectedStarRefBot | Raw.payments.GetStarGiftUpgradePreview | Raw.payments.UpgradeStarGift | Raw.payments.TransferStarGift | Raw.payments.GetUniqueStarGift | Raw.payments.GetSavedStarGifts | Raw.payments.GetSavedStarGift | Raw.payments.GetStarGiftWithdrawalUrl | Raw.payments.ToggleChatStarGiftNotifications | Raw.payments.ToggleStarGiftsPinnedToTop | Raw.payments.CanPurchaseStore | Raw.payments.GetResaleStarGifts | Raw.payments.UpdateStarGiftPrice | Raw.payments.CreateStarGiftCollection | Raw.payments.UpdateStarGiftCollection | Raw.payments.ReorderStarGiftCollections | Raw.payments.DeleteStarGiftCollection | Raw.payments.GetStarGiftCollections | Raw.payments.GetUniqueStarGiftValueInfo | Raw.payments.CheckCanSendGift | Raw.payments.GetStarGiftAuctionState | Raw.payments.GetStarGiftAuctionAcquiredGifts | Raw.payments.GetStarGiftActiveAuctions | Raw.payments.ResolveStarGiftOffer | Raw.payments.SendStarGiftOffer | Raw.payments.GetStarGiftUpgradeAttributes | Raw.payments.GetCraftStarGifts | Raw.payments.CraftStarGift | Raw.stickers.CreateStickerSet | Raw.stickers.RemoveStickerFromSet | Raw.stickers.ChangeStickerPosition | Raw.stickers.AddStickerToSet | Raw.stickers.SetStickerSetThumb | Raw.stickers.CheckShortName | Raw.stickers.SuggestShortName | Raw.stickers.ChangeSticker | Raw.stickers.RenameStickerSet | Raw.stickers.DeleteStickerSet | Raw.stickers.ReplaceSticker | Raw.phone.GetCallConfig | Raw.phone.RequestCall | Raw.phone.AcceptCall | Raw.phone.ConfirmCall | Raw.phone.ReceivedCall | Raw.phone.DiscardCall | Raw.phone.SetCallRating | Raw.phone.SaveCallDebug | Raw.phone.SendSignalingData | Raw.phone.CreateGroupCall | Raw.phone.JoinGroupCall | Raw.phone.LeaveGroupCall | Raw.phone.InviteToGroupCall | Raw.phone.DiscardGroupCall | Raw.phone.ToggleGroupCallSettings | Raw.phone.GetGroupCall | Raw.phone.GetGroupParticipants | Raw.phone.CheckGroupCall | Raw.phone.ToggleGroupCallRecord | Raw.phone.EditGroupCallParticipant | Raw.phone.EditGroupCallTitle | Raw.phone.GetGroupCallJoinAs | Raw.phone.ExportGroupCallInvite | Raw.phone.ToggleGroupCallStartSubscription | Raw.phone.StartScheduledGroupCall | Raw.phone.SaveDefaultGroupCallJoinAs | Raw.phone.JoinGroupCallPresentation | Raw.phone.LeaveGroupCallPresentation | Raw.phone.GetGroupCallStreamChannels | Raw.phone.GetGroupCallStreamRtmpUrl | Raw.phone.SaveCallLog | Raw.phone.CreateConferenceCall | Raw.phone.DeleteConferenceCallParticipants | Raw.phone.SendConferenceCallBroadcast | Raw.phone.InviteConferenceCallParticipant | Raw.phone.DeclineConferenceCallInvite | Raw.phone.GetGroupCallChainBlocks | Raw.phone.SendGroupCallMessage | Raw.phone.SendGroupCallEncryptedMessage | Raw.phone.DeleteGroupCallMessages | Raw.phone.DeleteGroupCallParticipantMessages | Raw.phone.GetGroupCallStars | Raw.phone.SaveDefaultSendAs | Raw.langpack.GetLangPack | Raw.langpack.GetStrings | Raw.langpack.GetDifference | Raw.langpack.GetLanguages | Raw.langpack.GetLanguage | Raw.folders.EditPeerFolders | Raw.stats.GetBroadcastStats | Raw.stats.LoadAsyncGraph | Raw.stats.GetMegagroupStats | Raw.stats.GetMessagePublicForwards | Raw.stats.GetMessageStats | Raw.stats.GetStoryStats | Raw.stats.GetStoryPublicForwards | Raw.stats.GetPollStats | Raw.chatlists.ExportChatlistInvite | Raw.chatlists.DeleteExportedInvite | Raw.chatlists.EditExportedInvite | Raw.chatlists.GetExportedInvites | Raw.chatlists.CheckChatlistInvite | Raw.chatlists.JoinChatlistInvite | Raw.chatlists.GetChatlistUpdates | Raw.chatlists.JoinChatlistUpdates | Raw.chatlists.HideChatlistUpdates | Raw.chatlists.GetLeaveChatlistSuggestions | Raw.chatlists.LeaveChatlist | Raw.stories.CanSendStory | Raw.stories.SendStory | Raw.stories.EditStory | Raw.stories.DeleteStories | Raw.stories.TogglePinned | Raw.stories.GetAllStories | Raw.stories.GetPinnedStories | Raw.stories.GetStoriesArchive | Raw.stories.GetStoriesByID | Raw.stories.ToggleAllStoriesHidden | Raw.stories.ReadStories | Raw.stories.IncrementStoryViews | Raw.stories.GetStoryViewsList | Raw.stories.GetStoriesViews | Raw.stories.ExportStoryLink | Raw.stories.Report | Raw.stories.ActivateStealthMode | Raw.stories.SendReaction | Raw.stories.GetPeerStories | Raw.stories.GetAllReadPeerStories | Raw.stories.GetPeerMaxIDs | Raw.stories.GetChatsToSend | Raw.stories.TogglePeerStoriesHidden | Raw.stories.GetStoryReactionsList | Raw.stories.TogglePinnedToTop | Raw.stories.SearchPosts | Raw.stories.CreateAlbum | Raw.stories.UpdateAlbum | Raw.stories.ReorderAlbums | Raw.stories.DeleteAlbum | Raw.stories.GetAlbums | Raw.stories.GetAlbumStories | Raw.stories.StartLive | Raw.premium.GetBoostsList | Raw.premium.GetMyBoosts | Raw.premium.ApplyBoost | Raw.premium.GetBoostsStatus | Raw.premium.GetUserBoosts | Raw.smsjobs.IsEligibleToJoin | Raw.smsjobs.Join | Raw.smsjobs.Leave | Raw.smsjobs.UpdateSettings | Raw.smsjobs.GetStatus | Raw.smsjobs.GetSmsJob | Raw.smsjobs.FinishJob | Raw.fragment.GetCollectibleInfo | Raw.aicompose.CreateTone | Raw.aicompose.UpdateTone | Raw.aicompose.SaveTone | Raw.aicompose.DeleteTone | Raw.aicompose.GetTone | Raw.aicompose.GetTones | Raw.aicompose.GetToneExample;
|
|
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,8 @@ 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;
|
|
50
|
+
type TypeInputAiComposeTone = Raw.InputAiComposeToneDefault | Raw.InputAiComposeToneID | Raw.InputAiComposeToneSlug;
|
|
49
51
|
type TypeOutboxReadDate = Raw.OutboxReadDate;
|
|
50
52
|
type TypeInputBotApp = Raw.InputBotAppID | Raw.InputBotAppShortName;
|
|
51
53
|
type TypeDefaultHistoryTTL = Raw.DefaultHistoryTTL;
|
|
@@ -101,6 +103,8 @@ export declare namespace Raw {
|
|
|
101
103
|
type TypeEmailVerification = Raw.EmailVerificationCode | Raw.EmailVerificationGoogle | Raw.EmailVerificationApple;
|
|
102
104
|
type TypeCodeSettings = Raw.CodeSettings;
|
|
103
105
|
type TypeInputClientProxy = Raw.InputClientProxy;
|
|
106
|
+
type TypeAiComposeTone = Raw.AiComposeTone | Raw.AiComposeToneDefault;
|
|
107
|
+
type TypeAiComposeToneExample = Raw.AiComposeToneExample;
|
|
104
108
|
type TypeInputPasskeyResponse = Raw.InputPasskeyResponseRegister | Raw.InputPasskeyResponseLogin;
|
|
105
109
|
type TypePasskey = Raw.Passkey;
|
|
106
110
|
type TypeStarGiftActiveAuctionState = Raw.StarGiftActiveAuctionState;
|
|
@@ -192,11 +196,10 @@ export declare namespace Raw {
|
|
|
192
196
|
type TypeInputWallPaper = Raw.InputWallPaper | Raw.InputWallPaperSlug | Raw.InputWallPaperNoFile;
|
|
193
197
|
type TypeBaseTheme = Raw.BaseThemeClassic | Raw.BaseThemeDay | Raw.BaseThemeNight | Raw.BaseThemeTinted | Raw.BaseThemeArctic;
|
|
194
198
|
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;
|
|
199
|
+
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
200
|
type TypeEmojiKeyword = Raw.EmojiKeyword | Raw.EmojiKeywordDeleted;
|
|
197
201
|
type TypeAutoDownloadSettings = Raw.AutoDownloadSettings;
|
|
198
202
|
type TypePollAnswerVoters = Raw.PollAnswerVoters;
|
|
199
|
-
type TypePollAnswer = Raw.PollAnswer;
|
|
200
203
|
type TypePageTableCell = Raw.PageTableCell;
|
|
201
204
|
type TypeJSONObjectValue = Raw.JsonObjectValue;
|
|
202
205
|
type TypeJSONValue = Raw.JsonNull | Raw.JsonBool | Raw.JsonNumber | Raw.JsonString | Raw.JsonArray | Raw.JsonObject;
|
|
@@ -232,7 +235,7 @@ export declare namespace Raw {
|
|
|
232
235
|
type TypeInputReplyTo = Raw.InputReplyToMessage | Raw.InputReplyToStory | Raw.InputReplyToMonoForum;
|
|
233
236
|
type TypeTopPeerCategoryPeers = Raw.TopPeerCategoryPeers;
|
|
234
237
|
type TypeTopPeer = Raw.TopPeer;
|
|
235
|
-
type TypeTopPeerCategory = Raw.TopPeerCategoryBotsPM | Raw.TopPeerCategoryBotsInline | Raw.TopPeerCategoryCorrespondents | Raw.TopPeerCategoryGroups | Raw.TopPeerCategoryChannels | Raw.TopPeerCategoryPhoneCalls | Raw.TopPeerCategoryForwardUsers | Raw.TopPeerCategoryForwardChats | Raw.TopPeerCategoryBotsApp;
|
|
238
|
+
type TypeTopPeerCategory = Raw.TopPeerCategoryBotsPM | Raw.TopPeerCategoryBotsInline | Raw.TopPeerCategoryCorrespondents | Raw.TopPeerCategoryGroups | Raw.TopPeerCategoryChannels | Raw.TopPeerCategoryPhoneCalls | Raw.TopPeerCategoryForwardUsers | Raw.TopPeerCategoryForwardChats | Raw.TopPeerCategoryBotsApp | Raw.TopPeerCategoryBotsGuestChat;
|
|
236
239
|
type TypeBotInlineResult = Raw.BotInlineResult | Raw.BotInlineMediaResult;
|
|
237
240
|
type TypeInlineBotWebView = Raw.InlineBotWebView;
|
|
238
241
|
type TypeInlineBotSwitchPM = Raw.InlineBotSwitchPM;
|
|
@@ -241,7 +244,7 @@ export declare namespace Raw {
|
|
|
241
244
|
type TypeMessageRange = Raw.MessageRange;
|
|
242
245
|
type TypeKeyboardButtonRow = Raw.KeyboardButtonRow;
|
|
243
246
|
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;
|
|
247
|
+
type TypeRequestPeerType = Raw.RequestPeerTypeUser | Raw.RequestPeerTypeChat | Raw.RequestPeerTypeBroadcast | Raw.RequestPeerTypeCreateBot;
|
|
245
248
|
type TypeKeyboardButtonStyle = Raw.KeyboardButtonStyle;
|
|
246
249
|
type TypeBotVerifierSettings = Raw.BotVerifierSettings;
|
|
247
250
|
type TypeBotAppSettings = Raw.BotAppSettings;
|
|
@@ -252,13 +255,13 @@ export declare namespace Raw {
|
|
|
252
255
|
type TypeSecurePasswordKdfAlgo = Raw.SecurePasswordKdfAlgoUnknown | Raw.SecurePasswordKdfAlgoPBKDF2HMACSHA512iter100000 | Raw.SecurePasswordKdfAlgoSHA512;
|
|
253
256
|
type TypePasswordKdfAlgo = Raw.PasswordKdfAlgoUnknown | Raw.PasswordKdfAlgoSHA256SHA256PBKDF2HMACSHA512iter100000SHA256ModPow;
|
|
254
257
|
type TypeAuthorization = Raw.Authorization;
|
|
255
|
-
type TypeWebPageAttribute = Raw.WebPageAttributeTheme | Raw.WebPageAttributeStory | Raw.WebPageAttributeStickerSet | Raw.WebPageAttributeUniqueStarGift | Raw.WebPageAttributeStarGiftCollection | Raw.WebPageAttributeStarGiftAuction;
|
|
258
|
+
type TypeWebPageAttribute = Raw.WebPageAttributeTheme | Raw.WebPageAttributeStory | Raw.WebPageAttributeStickerSet | Raw.WebPageAttributeUniqueStarGift | Raw.WebPageAttributeStarGiftCollection | Raw.WebPageAttributeStarGiftAuction | Raw.WebPageAttributeAiComposeTone;
|
|
256
259
|
type TypePage = Raw.Page;
|
|
257
260
|
type TypeMaskCoords = Raw.MaskCoords;
|
|
258
261
|
type TypeInputUser = Raw.InputUserEmpty | Raw.InputUserSelf | Raw.InputUser | Raw.InputUserFromMessage;
|
|
259
262
|
type TypeEncryptedFile = Raw.EncryptedFileEmpty | Raw.EncryptedFile;
|
|
260
263
|
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 | Raw.UpdateChatParticipantRank | UpdateSecretChatMessage;
|
|
264
|
+
type TypeUpdate = Raw.UpdateNewMessage | Raw.UpdateMessageID | Raw.UpdateDeleteMessages | Raw.UpdateUserTyping | Raw.UpdateChatUserTyping | Raw.UpdateChatParticipants | Raw.UpdateUserStatus | Raw.UpdateUserName | Raw.UpdateNewAuthorization | Raw.UpdateNewEncryptedMessage | Raw.UpdateEncryptedChatTyping | Raw.UpdateEncryption | Raw.UpdateEncryptedMessagesRead | Raw.UpdateChatParticipantAdd | Raw.UpdateChatParticipantDelete | Raw.UpdateDcOptions | Raw.UpdateNotifySettings | Raw.UpdateServiceNotification | Raw.UpdatePrivacy | Raw.UpdateUserPhone | Raw.UpdateReadHistoryInbox | Raw.UpdateReadHistoryOutbox | Raw.UpdateWebPage | Raw.UpdateReadMessagesContents | Raw.UpdateChannelTooLong | Raw.UpdateChannel | Raw.UpdateNewChannelMessage | Raw.UpdateReadChannelInbox | Raw.UpdateDeleteChannelMessages | Raw.UpdateChannelMessageViews | Raw.UpdateChatParticipantAdmin | Raw.UpdateNewStickerSet | Raw.UpdateStickerSetsOrder | Raw.UpdateStickerSets | Raw.UpdateSavedGifs | Raw.UpdateBotInlineQuery | Raw.UpdateBotInlineSend | Raw.UpdateEditChannelMessage | Raw.UpdateBotCallbackQuery | Raw.UpdateEditMessage | Raw.UpdateInlineBotCallbackQuery | Raw.UpdateReadChannelOutbox | Raw.UpdateDraftMessage | Raw.UpdateReadFeaturedStickers | Raw.UpdateRecentStickers | Raw.UpdateConfig | Raw.UpdatePtsChanged | Raw.UpdateChannelWebPage | Raw.UpdateDialogPinned | Raw.UpdatePinnedDialogs | Raw.UpdateBotWebhookJSON | Raw.UpdateBotWebhookJSONQuery | Raw.UpdateBotShippingQuery | Raw.UpdateBotPrecheckoutQuery | Raw.UpdatePhoneCall | Raw.UpdateLangPackTooLong | Raw.UpdateLangPack | Raw.UpdateFavedStickers | Raw.UpdateChannelReadMessagesContents | Raw.UpdateContactsReset | Raw.UpdateChannelAvailableMessages | Raw.UpdateDialogUnreadMark | Raw.UpdateMessagePoll | Raw.UpdateChatDefaultBannedRights | Raw.UpdateFolderPeers | Raw.UpdatePeerSettings | Raw.UpdatePeerLocated | Raw.UpdateNewScheduledMessage | Raw.UpdateDeleteScheduledMessages | Raw.UpdateTheme | Raw.UpdateGeoLiveViewed | Raw.UpdateLoginToken | Raw.UpdateMessagePollVote | Raw.UpdateDialogFilter | Raw.UpdateDialogFilterOrder | Raw.UpdateDialogFilters | Raw.UpdatePhoneCallSignalingData | Raw.UpdateChannelMessageForwards | Raw.UpdateReadChannelDiscussionInbox | Raw.UpdateReadChannelDiscussionOutbox | Raw.UpdatePeerBlocked | Raw.UpdateChannelUserTyping | Raw.UpdatePinnedMessages | Raw.UpdatePinnedChannelMessages | Raw.UpdateChat | Raw.UpdateGroupCallParticipants | Raw.UpdateGroupCall | Raw.UpdatePeerHistoryTTL | Raw.UpdateChatParticipant | Raw.UpdateChannelParticipant | Raw.UpdateBotStopped | Raw.UpdateGroupCallConnection | Raw.UpdateBotCommands | Raw.UpdatePendingJoinRequests | Raw.UpdateBotChatInviteRequester | Raw.UpdateMessageReactions | Raw.UpdateAttachMenuBots | Raw.UpdateWebViewResultSent | Raw.UpdateBotMenuButton | Raw.UpdateSavedRingtones | Raw.UpdateTranscribedAudio | Raw.UpdateReadFeaturedEmojiStickers | Raw.UpdateUserEmojiStatus | Raw.UpdateRecentEmojiStatuses | Raw.UpdateRecentReactions | Raw.UpdateMoveStickerSetToTop | Raw.UpdateMessageExtendedMedia | Raw.UpdateUser | Raw.UpdateAutoSaveSettings | Raw.UpdateStory | Raw.UpdateReadStories | Raw.UpdateStoryID | Raw.UpdateStoriesStealthMode | Raw.UpdateSentStoryReaction | Raw.UpdateBotChatBoost | Raw.UpdateChannelViewForumAsMessages | Raw.UpdatePeerWallpaper | Raw.UpdateBotMessageReaction | Raw.UpdateBotMessageReactions | Raw.UpdateSavedDialogPinned | Raw.UpdatePinnedSavedDialogs | Raw.UpdateSavedReactionTags | Raw.UpdateSmsJob | Raw.UpdateQuickReplies | Raw.UpdateNewQuickReply | Raw.UpdateDeleteQuickReply | Raw.UpdateQuickReplyMessage | Raw.UpdateDeleteQuickReplyMessages | Raw.UpdateBotBusinessConnect | Raw.UpdateBotNewBusinessMessage | Raw.UpdateBotEditBusinessMessage | Raw.UpdateBotDeleteBusinessMessage | Raw.UpdateNewStoryReaction | Raw.UpdateStarsBalance | Raw.UpdateBusinessBotCallbackQuery | Raw.UpdateStarsRevenueStatus | Raw.UpdateBotPurchasedPaidMedia | Raw.UpdatePaidReactionPrivacy | Raw.UpdateSentPhoneCode | Raw.UpdateGroupCallChainBlocks | Raw.UpdateReadMonoForumInbox | Raw.UpdateReadMonoForumOutbox | Raw.UpdateMonoForumNoPaidException | Raw.UpdateGroupCallMessage | Raw.UpdateGroupCallEncryptedMessage | Raw.UpdatePinnedForumTopic | Raw.UpdatePinnedForumTopics | Raw.UpdateDeleteGroupCallMessages | Raw.UpdateStarGiftAuctionState | Raw.UpdateStarGiftAuctionUserState | Raw.UpdateEmojiGameInfo | Raw.UpdateStarGiftCraftFail | Raw.UpdateChatParticipantRank | Raw.UpdateManagedBot | Raw.UpdateBotGuestChatQuery | Raw.UpdateAiComposeTones | UpdateSecretChatMessage;
|
|
262
265
|
type TypeStarGiftAuctionUserState = Raw.StarGiftAuctionUserState;
|
|
263
266
|
type TypeStarGiftAuctionState = Raw.StarGiftAuctionStateNotModified | Raw.StarGiftAuctionState | Raw.StarGiftAuctionStateFinished;
|
|
264
267
|
type TypeGroupCallMessage = Raw.GroupCallMessage;
|
|
@@ -317,6 +320,7 @@ export declare namespace Raw {
|
|
|
317
320
|
type TypePhotoSize = Raw.PhotoSizeEmpty | Raw.PhotoSize | Raw.PhotoCachedSize | Raw.PhotoStrippedSize | Raw.PhotoSizeProgressive | Raw.PhotoPathSize | Raw.PhotoSize23 | Raw.PhotoCachedSize23;
|
|
318
321
|
type TypeFolder = Raw.Folder;
|
|
319
322
|
type TypeDraftMessage = Raw.DraftMessageEmpty | Raw.DraftMessage;
|
|
323
|
+
type TypePollAnswer = Raw.PollAnswer | Raw.InputPollAnswer;
|
|
320
324
|
type TypeBirthday = Raw.Birthday;
|
|
321
325
|
type TypeTodoItem = Raw.TodoItem;
|
|
322
326
|
type TypeStarsAmount = Raw.StarsAmount | Raw.StarsTonAmount;
|
|
@@ -337,9 +341,9 @@ export declare namespace Raw {
|
|
|
337
341
|
type TypeWebDocument = Raw.WebDocument | Raw.WebDocumentNoProxy;
|
|
338
342
|
type TypeGame = Raw.Game;
|
|
339
343
|
type TypeWebPage = Raw.WebPageEmpty | Raw.WebPagePending | Raw.WebPage | Raw.WebPageNotModified;
|
|
340
|
-
type TypeDocument = Raw.DocumentEmpty | Raw.Document;
|
|
341
344
|
type TypeGeoPoint = Raw.GeoPointEmpty | Raw.GeoPoint;
|
|
342
|
-
type
|
|
345
|
+
type TypeDocument = Raw.DocumentEmpty | Raw.Document;
|
|
346
|
+
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
347
|
type TypeSuggestedPost = Raw.SuggestedPost;
|
|
344
348
|
type TypeFactCheck = Raw.FactCheck;
|
|
345
349
|
type TypeMessageReactions = Raw.MessageReactions;
|
|
@@ -377,7 +381,7 @@ export declare namespace Raw {
|
|
|
377
381
|
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
382
|
type TypeVideoSize = Raw.VideoSize | Raw.VideoSizeEmojiMarkup | Raw.VideoSizeStickerMarkup;
|
|
379
383
|
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.MessageEntityFormattedDate | Raw.MessageEntityBlockquote101;
|
|
384
|
+
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
385
|
type TypePoll = Raw.Poll;
|
|
382
386
|
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
387
|
type TypeDataJSON = Raw.DataJSON;
|
|
@@ -1119,26 +1123,34 @@ export declare namespace Raw {
|
|
|
1119
1123
|
}
|
|
1120
1124
|
class InputMediaUploadedPhoto extends TLObject {
|
|
1121
1125
|
spoiler?: boolean;
|
|
1126
|
+
livePhoto?: boolean;
|
|
1122
1127
|
file: Raw.TypeInputFile;
|
|
1123
1128
|
stickers?: Vector<Raw.TypeInputDocument>;
|
|
1124
1129
|
ttlSeconds?: int;
|
|
1130
|
+
video?: Raw.TypeInputDocument;
|
|
1125
1131
|
constructor(params: {
|
|
1126
1132
|
spoiler?: boolean;
|
|
1133
|
+
livePhoto?: boolean;
|
|
1127
1134
|
file: Raw.TypeInputFile;
|
|
1128
1135
|
stickers?: Vector<Raw.TypeInputDocument>;
|
|
1129
1136
|
ttlSeconds?: int;
|
|
1137
|
+
video?: Raw.TypeInputDocument;
|
|
1130
1138
|
});
|
|
1131
1139
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.InputMediaUploadedPhoto>;
|
|
1132
1140
|
write(): Buffer;
|
|
1133
1141
|
}
|
|
1134
1142
|
class InputMediaPhoto extends TLObject {
|
|
1135
1143
|
spoiler?: boolean;
|
|
1144
|
+
livePhoto?: boolean;
|
|
1136
1145
|
id: Raw.TypeInputPhoto;
|
|
1137
1146
|
ttlSeconds?: int;
|
|
1147
|
+
video?: Raw.TypeInputDocument;
|
|
1138
1148
|
constructor(params: {
|
|
1139
1149
|
spoiler?: boolean;
|
|
1150
|
+
livePhoto?: boolean;
|
|
1140
1151
|
id: Raw.TypeInputPhoto;
|
|
1141
1152
|
ttlSeconds?: int;
|
|
1153
|
+
video?: Raw.TypeInputDocument;
|
|
1142
1154
|
});
|
|
1143
1155
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.InputMediaPhoto>;
|
|
1144
1156
|
write(): Buffer;
|
|
@@ -1307,14 +1319,18 @@ export declare namespace Raw {
|
|
|
1307
1319
|
}
|
|
1308
1320
|
class InputMediaPoll extends TLObject {
|
|
1309
1321
|
poll: Raw.TypePoll;
|
|
1310
|
-
correctAnswers?: Vector<
|
|
1322
|
+
correctAnswers?: Vector<int>;
|
|
1323
|
+
attachedMedia?: Raw.TypeInputMedia;
|
|
1311
1324
|
solution?: string;
|
|
1312
1325
|
solutionEntities?: Vector<Raw.TypeMessageEntity>;
|
|
1326
|
+
solutionMedia?: Raw.TypeInputMedia;
|
|
1313
1327
|
constructor(params: {
|
|
1314
1328
|
poll: Raw.TypePoll;
|
|
1315
|
-
correctAnswers?: Vector<
|
|
1329
|
+
correctAnswers?: Vector<int>;
|
|
1330
|
+
attachedMedia?: Raw.TypeInputMedia;
|
|
1316
1331
|
solution?: string;
|
|
1317
1332
|
solutionEntities?: Vector<Raw.TypeMessageEntity>;
|
|
1333
|
+
solutionMedia?: Raw.TypeInputMedia;
|
|
1318
1334
|
});
|
|
1319
1335
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.InputMediaPoll>;
|
|
1320
1336
|
write(): Buffer;
|
|
@@ -1627,6 +1643,8 @@ export declare namespace Raw {
|
|
|
1627
1643
|
botHasMainApp?: boolean;
|
|
1628
1644
|
botForumView?: boolean;
|
|
1629
1645
|
botForumCanManageTopics?: boolean;
|
|
1646
|
+
botCanManageBots?: boolean;
|
|
1647
|
+
botGuestchat?: boolean;
|
|
1630
1648
|
id: long;
|
|
1631
1649
|
accessHash?: long;
|
|
1632
1650
|
firstName?: string;
|
|
@@ -1675,6 +1693,8 @@ export declare namespace Raw {
|
|
|
1675
1693
|
botHasMainApp?: boolean;
|
|
1676
1694
|
botForumView?: boolean;
|
|
1677
1695
|
botForumCanManageTopics?: boolean;
|
|
1696
|
+
botCanManageBots?: boolean;
|
|
1697
|
+
botGuestchat?: boolean;
|
|
1678
1698
|
id: long;
|
|
1679
1699
|
accessHash?: long;
|
|
1680
1700
|
firstName?: string;
|
|
@@ -2241,6 +2261,7 @@ export declare namespace Raw {
|
|
|
2241
2261
|
fwdFrom?: Raw.TypeMessageFwdHeader;
|
|
2242
2262
|
viaBotId?: long;
|
|
2243
2263
|
viaBusinessBotId?: long;
|
|
2264
|
+
guestchatViaFrom?: Raw.TypePeer;
|
|
2244
2265
|
replyTo?: Raw.TypeMessageReplyHeader;
|
|
2245
2266
|
date: int;
|
|
2246
2267
|
message: string;
|
|
@@ -2289,6 +2310,7 @@ export declare namespace Raw {
|
|
|
2289
2310
|
fwdFrom?: Raw.TypeMessageFwdHeader;
|
|
2290
2311
|
viaBotId?: long;
|
|
2291
2312
|
viaBusinessBotId?: long;
|
|
2313
|
+
guestchatViaFrom?: Raw.TypePeer;
|
|
2292
2314
|
replyTo?: Raw.TypeMessageReplyHeader;
|
|
2293
2315
|
date: int;
|
|
2294
2316
|
message: string;
|
|
@@ -2361,12 +2383,16 @@ export declare namespace Raw {
|
|
|
2361
2383
|
}
|
|
2362
2384
|
class MessageMediaPhoto extends TLObject {
|
|
2363
2385
|
spoiler?: boolean;
|
|
2386
|
+
livePhoto?: boolean;
|
|
2364
2387
|
photo?: Raw.TypePhoto;
|
|
2365
2388
|
ttlSeconds?: int;
|
|
2389
|
+
video?: Raw.TypeDocument;
|
|
2366
2390
|
constructor(params: {
|
|
2367
2391
|
spoiler?: boolean;
|
|
2392
|
+
livePhoto?: boolean;
|
|
2368
2393
|
photo?: Raw.TypePhoto;
|
|
2369
2394
|
ttlSeconds?: int;
|
|
2395
|
+
video?: Raw.TypeDocument;
|
|
2370
2396
|
});
|
|
2371
2397
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.MessageMediaPhoto>;
|
|
2372
2398
|
write(): Buffer;
|
|
@@ -2511,9 +2537,11 @@ export declare namespace Raw {
|
|
|
2511
2537
|
class MessageMediaPoll extends TLObject {
|
|
2512
2538
|
poll: Raw.TypePoll;
|
|
2513
2539
|
results: Raw.TypePollResults;
|
|
2540
|
+
attachedMedia?: Raw.TypeMessageMedia;
|
|
2514
2541
|
constructor(params: {
|
|
2515
2542
|
poll: Raw.TypePoll;
|
|
2516
2543
|
results: Raw.TypePollResults;
|
|
2544
|
+
attachedMedia?: Raw.TypeMessageMedia;
|
|
2517
2545
|
});
|
|
2518
2546
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.MessageMediaPoll>;
|
|
2519
2547
|
write(): Buffer;
|
|
@@ -3383,6 +3411,30 @@ export declare namespace Raw {
|
|
|
3383
3411
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.MessageActionNoForwardsRequest>;
|
|
3384
3412
|
write(): Buffer;
|
|
3385
3413
|
}
|
|
3414
|
+
class MessageActionPollAppendAnswer extends TLObject {
|
|
3415
|
+
answer: Raw.TypePollAnswer;
|
|
3416
|
+
constructor(params: {
|
|
3417
|
+
answer: Raw.TypePollAnswer;
|
|
3418
|
+
});
|
|
3419
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.MessageActionPollAppendAnswer>;
|
|
3420
|
+
write(): Buffer;
|
|
3421
|
+
}
|
|
3422
|
+
class MessageActionPollDeleteAnswer extends TLObject {
|
|
3423
|
+
answer: Raw.TypePollAnswer;
|
|
3424
|
+
constructor(params: {
|
|
3425
|
+
answer: Raw.TypePollAnswer;
|
|
3426
|
+
});
|
|
3427
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.MessageActionPollDeleteAnswer>;
|
|
3428
|
+
write(): Buffer;
|
|
3429
|
+
}
|
|
3430
|
+
class MessageActionManagedBotCreated extends TLObject {
|
|
3431
|
+
botId: long;
|
|
3432
|
+
constructor(params: {
|
|
3433
|
+
botId: long;
|
|
3434
|
+
});
|
|
3435
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.MessageActionManagedBotCreated>;
|
|
3436
|
+
write(): Buffer;
|
|
3437
|
+
}
|
|
3386
3438
|
class Dialog extends TLObject {
|
|
3387
3439
|
pinned?: boolean;
|
|
3388
3440
|
unreadMark?: boolean;
|
|
@@ -3394,6 +3446,7 @@ export declare namespace Raw {
|
|
|
3394
3446
|
unreadCount: int;
|
|
3395
3447
|
unreadMentionsCount: int;
|
|
3396
3448
|
unreadReactionsCount: int;
|
|
3449
|
+
unreadPollVotesCount: int;
|
|
3397
3450
|
notifySettings: Raw.TypePeerNotifySettings;
|
|
3398
3451
|
pts?: int;
|
|
3399
3452
|
draft?: Raw.TypeDraftMessage;
|
|
@@ -3410,6 +3463,7 @@ export declare namespace Raw {
|
|
|
3410
3463
|
unreadCount: int;
|
|
3411
3464
|
unreadMentionsCount: int;
|
|
3412
3465
|
unreadReactionsCount: int;
|
|
3466
|
+
unreadPollVotesCount: int;
|
|
3413
3467
|
notifySettings: Raw.TypePeerNotifySettings;
|
|
3414
3468
|
pts?: int;
|
|
3415
3469
|
draft?: Raw.TypeDraftMessage;
|
|
@@ -3797,6 +3851,7 @@ export declare namespace Raw {
|
|
|
3797
3851
|
displayGiftsButton?: boolean;
|
|
3798
3852
|
noforwardsMyEnabled?: boolean;
|
|
3799
3853
|
noforwardsPeerEnabled?: boolean;
|
|
3854
|
+
unofficialSecurityRisk?: boolean;
|
|
3800
3855
|
id: long;
|
|
3801
3856
|
about?: string;
|
|
3802
3857
|
settings: Raw.TypePeerSettings;
|
|
@@ -3834,6 +3889,7 @@ export declare namespace Raw {
|
|
|
3834
3889
|
mainTab?: Raw.TypeProfileTab;
|
|
3835
3890
|
savedMusic?: Raw.TypeDocument;
|
|
3836
3891
|
note?: Raw.TypeTextWithEntities;
|
|
3892
|
+
botManagerId?: long;
|
|
3837
3893
|
constructor(params: {
|
|
3838
3894
|
blocked?: boolean;
|
|
3839
3895
|
phoneCallsAvailable?: boolean;
|
|
@@ -3854,6 +3910,7 @@ export declare namespace Raw {
|
|
|
3854
3910
|
displayGiftsButton?: boolean;
|
|
3855
3911
|
noforwardsMyEnabled?: boolean;
|
|
3856
3912
|
noforwardsPeerEnabled?: boolean;
|
|
3913
|
+
unofficialSecurityRisk?: boolean;
|
|
3857
3914
|
id: long;
|
|
3858
3915
|
about?: string;
|
|
3859
3916
|
settings: Raw.TypePeerSettings;
|
|
@@ -3891,6 +3948,7 @@ export declare namespace Raw {
|
|
|
3891
3948
|
mainTab?: Raw.TypeProfileTab;
|
|
3892
3949
|
savedMusic?: Raw.TypeDocument;
|
|
3893
3950
|
note?: Raw.TypeTextWithEntities;
|
|
3951
|
+
botManagerId?: long;
|
|
3894
3952
|
});
|
|
3895
3953
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.UserFull>;
|
|
3896
3954
|
write(): Buffer;
|
|
@@ -4013,6 +4071,11 @@ export declare namespace Raw {
|
|
|
4013
4071
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.InputMessagesFilterPinned>;
|
|
4014
4072
|
write(): Buffer;
|
|
4015
4073
|
}
|
|
4074
|
+
class InputMessagesFilterPoll extends TLObject {
|
|
4075
|
+
constructor();
|
|
4076
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.InputMessagesFilterPoll>;
|
|
4077
|
+
write(): Buffer;
|
|
4078
|
+
}
|
|
4016
4079
|
class UpdateNewMessage extends TLObject {
|
|
4017
4080
|
message: Raw.TypeMessage;
|
|
4018
4081
|
pts: int;
|
|
@@ -4727,10 +4790,16 @@ export declare namespace Raw {
|
|
|
4727
4790
|
write(): Buffer;
|
|
4728
4791
|
}
|
|
4729
4792
|
class UpdateMessagePoll extends TLObject {
|
|
4793
|
+
peer?: Raw.TypePeer;
|
|
4794
|
+
msgId?: int;
|
|
4795
|
+
topMsgId?: int;
|
|
4730
4796
|
pollId: long;
|
|
4731
4797
|
poll?: Raw.TypePoll;
|
|
4732
4798
|
results: Raw.TypePollResults;
|
|
4733
4799
|
constructor(params: {
|
|
4800
|
+
peer?: Raw.TypePeer;
|
|
4801
|
+
msgId?: int;
|
|
4802
|
+
topMsgId?: int;
|
|
4734
4803
|
pollId: long;
|
|
4735
4804
|
poll?: Raw.TypePoll;
|
|
4736
4805
|
results: Raw.TypePollResults;
|
|
@@ -4827,11 +4896,13 @@ export declare namespace Raw {
|
|
|
4827
4896
|
pollId: long;
|
|
4828
4897
|
peer: Raw.TypePeer;
|
|
4829
4898
|
options: Vector<bytes>;
|
|
4899
|
+
positions: Vector<int>;
|
|
4830
4900
|
qts: int;
|
|
4831
4901
|
constructor(params: {
|
|
4832
4902
|
pollId: long;
|
|
4833
4903
|
peer: Raw.TypePeer;
|
|
4834
4904
|
options: Vector<bytes>;
|
|
4905
|
+
positions: Vector<int>;
|
|
4835
4906
|
qts: int;
|
|
4836
4907
|
});
|
|
4837
4908
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.UpdateMessagePollVote>;
|
|
@@ -5718,6 +5789,37 @@ export declare namespace Raw {
|
|
|
5718
5789
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.UpdateChatParticipantRank>;
|
|
5719
5790
|
write(): Buffer;
|
|
5720
5791
|
}
|
|
5792
|
+
class UpdateManagedBot extends TLObject {
|
|
5793
|
+
userId: long;
|
|
5794
|
+
botId: long;
|
|
5795
|
+
qts: int;
|
|
5796
|
+
constructor(params: {
|
|
5797
|
+
userId: long;
|
|
5798
|
+
botId: long;
|
|
5799
|
+
qts: int;
|
|
5800
|
+
});
|
|
5801
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.UpdateManagedBot>;
|
|
5802
|
+
write(): Buffer;
|
|
5803
|
+
}
|
|
5804
|
+
class UpdateBotGuestChatQuery extends TLObject {
|
|
5805
|
+
queryId: long;
|
|
5806
|
+
message: Raw.TypeMessage;
|
|
5807
|
+
referenceMessages?: Vector<Raw.TypeMessage>;
|
|
5808
|
+
qts: int;
|
|
5809
|
+
constructor(params: {
|
|
5810
|
+
queryId: long;
|
|
5811
|
+
message: Raw.TypeMessage;
|
|
5812
|
+
referenceMessages?: Vector<Raw.TypeMessage>;
|
|
5813
|
+
qts: int;
|
|
5814
|
+
});
|
|
5815
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.UpdateBotGuestChatQuery>;
|
|
5816
|
+
write(): Buffer;
|
|
5817
|
+
}
|
|
5818
|
+
class UpdateAiComposeTones extends TLObject {
|
|
5819
|
+
constructor();
|
|
5820
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.UpdateAiComposeTones>;
|
|
5821
|
+
write(): Buffer;
|
|
5822
|
+
}
|
|
5721
5823
|
class UpdatesTooLong extends TLObject {
|
|
5722
5824
|
constructor();
|
|
5723
5825
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.UpdatesTooLong>;
|
|
@@ -7699,6 +7801,38 @@ export declare namespace Raw {
|
|
|
7699
7801
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.MessageEntityFormattedDate>;
|
|
7700
7802
|
write(): Buffer;
|
|
7701
7803
|
}
|
|
7804
|
+
class MessageEntityDiffInsert extends TLObject {
|
|
7805
|
+
offset: int;
|
|
7806
|
+
length: int;
|
|
7807
|
+
constructor(params: {
|
|
7808
|
+
offset: int;
|
|
7809
|
+
length: int;
|
|
7810
|
+
});
|
|
7811
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.MessageEntityDiffInsert>;
|
|
7812
|
+
write(): Buffer;
|
|
7813
|
+
}
|
|
7814
|
+
class MessageEntityDiffReplace extends TLObject {
|
|
7815
|
+
offset: int;
|
|
7816
|
+
length: int;
|
|
7817
|
+
oldText: string;
|
|
7818
|
+
constructor(params: {
|
|
7819
|
+
offset: int;
|
|
7820
|
+
length: int;
|
|
7821
|
+
oldText: string;
|
|
7822
|
+
});
|
|
7823
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.MessageEntityDiffReplace>;
|
|
7824
|
+
write(): Buffer;
|
|
7825
|
+
}
|
|
7826
|
+
class MessageEntityDiffDelete extends TLObject {
|
|
7827
|
+
offset: int;
|
|
7828
|
+
length: int;
|
|
7829
|
+
constructor(params: {
|
|
7830
|
+
offset: int;
|
|
7831
|
+
length: int;
|
|
7832
|
+
});
|
|
7833
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.MessageEntityDiffDelete>;
|
|
7834
|
+
write(): Buffer;
|
|
7835
|
+
}
|
|
7702
7836
|
class InputChannelEmpty extends TLObject {
|
|
7703
7837
|
constructor();
|
|
7704
7838
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.InputChannelEmpty>;
|
|
@@ -8403,6 +8537,11 @@ export declare namespace Raw {
|
|
|
8403
8537
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.TopPeerCategoryBotsApp>;
|
|
8404
8538
|
write(): Buffer;
|
|
8405
8539
|
}
|
|
8540
|
+
class TopPeerCategoryBotsGuestChat extends TLObject {
|
|
8541
|
+
constructor();
|
|
8542
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.TopPeerCategoryBotsGuestChat>;
|
|
8543
|
+
write(): Buffer;
|
|
8544
|
+
}
|
|
8406
8545
|
class TopPeerCategoryPeers extends TLObject {
|
|
8407
8546
|
category: Raw.TypeTopPeerCategory;
|
|
8408
8547
|
count: int;
|
|
@@ -10904,33 +11043,65 @@ export declare namespace Raw {
|
|
|
10904
11043
|
class PollAnswer extends TLObject {
|
|
10905
11044
|
text: Raw.TypeTextWithEntities;
|
|
10906
11045
|
option: bytes;
|
|
11046
|
+
media?: Raw.TypeMessageMedia;
|
|
11047
|
+
addedBy?: Raw.TypePeer;
|
|
11048
|
+
date?: int;
|
|
10907
11049
|
constructor(params: {
|
|
10908
11050
|
text: Raw.TypeTextWithEntities;
|
|
10909
11051
|
option: bytes;
|
|
11052
|
+
media?: Raw.TypeMessageMedia;
|
|
11053
|
+
addedBy?: Raw.TypePeer;
|
|
11054
|
+
date?: int;
|
|
10910
11055
|
});
|
|
10911
11056
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.PollAnswer>;
|
|
10912
11057
|
write(): Buffer;
|
|
10913
11058
|
}
|
|
11059
|
+
class InputPollAnswer extends TLObject {
|
|
11060
|
+
text: Raw.TypeTextWithEntities;
|
|
11061
|
+
media?: Raw.TypeInputMedia;
|
|
11062
|
+
constructor(params: {
|
|
11063
|
+
text: Raw.TypeTextWithEntities;
|
|
11064
|
+
media?: Raw.TypeInputMedia;
|
|
11065
|
+
});
|
|
11066
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.InputPollAnswer>;
|
|
11067
|
+
write(): Buffer;
|
|
11068
|
+
}
|
|
10914
11069
|
class Poll extends TLObject {
|
|
10915
11070
|
id: long;
|
|
10916
11071
|
closed?: boolean;
|
|
10917
11072
|
publicVoters?: boolean;
|
|
10918
11073
|
multipleChoice?: boolean;
|
|
10919
11074
|
quiz?: boolean;
|
|
11075
|
+
openAnswers?: boolean;
|
|
11076
|
+
revotingDisabled?: boolean;
|
|
11077
|
+
shuffleAnswers?: boolean;
|
|
11078
|
+
hideResultsUntilClose?: boolean;
|
|
11079
|
+
creator?: boolean;
|
|
11080
|
+
subscribersOnly?: boolean;
|
|
10920
11081
|
question: Raw.TypeTextWithEntities;
|
|
10921
11082
|
answers: Vector<Raw.TypePollAnswer>;
|
|
10922
11083
|
closePeriod?: int;
|
|
10923
11084
|
closeDate?: int;
|
|
11085
|
+
countriesIso2?: Vector<string>;
|
|
11086
|
+
hash: long;
|
|
10924
11087
|
constructor(params: {
|
|
10925
11088
|
id: long;
|
|
10926
11089
|
closed?: boolean;
|
|
10927
11090
|
publicVoters?: boolean;
|
|
10928
11091
|
multipleChoice?: boolean;
|
|
10929
11092
|
quiz?: boolean;
|
|
11093
|
+
openAnswers?: boolean;
|
|
11094
|
+
revotingDisabled?: boolean;
|
|
11095
|
+
shuffleAnswers?: boolean;
|
|
11096
|
+
hideResultsUntilClose?: boolean;
|
|
11097
|
+
creator?: boolean;
|
|
11098
|
+
subscribersOnly?: boolean;
|
|
10930
11099
|
question: Raw.TypeTextWithEntities;
|
|
10931
11100
|
answers: Vector<Raw.TypePollAnswer>;
|
|
10932
11101
|
closePeriod?: int;
|
|
10933
11102
|
closeDate?: int;
|
|
11103
|
+
countriesIso2?: Vector<string>;
|
|
11104
|
+
hash: long;
|
|
10934
11105
|
});
|
|
10935
11106
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.Poll>;
|
|
10936
11107
|
write(): Buffer;
|
|
@@ -10939,30 +11110,38 @@ export declare namespace Raw {
|
|
|
10939
11110
|
chosen?: boolean;
|
|
10940
11111
|
correct?: boolean;
|
|
10941
11112
|
option: bytes;
|
|
10942
|
-
voters
|
|
11113
|
+
voters?: int;
|
|
11114
|
+
recentVoters?: Vector<Raw.TypePeer>;
|
|
10943
11115
|
constructor(params: {
|
|
10944
11116
|
chosen?: boolean;
|
|
10945
11117
|
correct?: boolean;
|
|
10946
11118
|
option: bytes;
|
|
10947
|
-
voters
|
|
11119
|
+
voters?: int;
|
|
11120
|
+
recentVoters?: Vector<Raw.TypePeer>;
|
|
10948
11121
|
});
|
|
10949
11122
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.PollAnswerVoters>;
|
|
10950
11123
|
write(): Buffer;
|
|
10951
11124
|
}
|
|
10952
11125
|
class PollResults extends TLObject {
|
|
10953
11126
|
min?: boolean;
|
|
11127
|
+
hasUnreadVotes?: boolean;
|
|
11128
|
+
canViewStats?: boolean;
|
|
10954
11129
|
results?: Vector<Raw.TypePollAnswerVoters>;
|
|
10955
11130
|
totalVoters?: int;
|
|
10956
11131
|
recentVoters?: Vector<Raw.TypePeer>;
|
|
10957
11132
|
solution?: string;
|
|
10958
11133
|
solutionEntities?: Vector<Raw.TypeMessageEntity>;
|
|
11134
|
+
solutionMedia?: Raw.TypeMessageMedia;
|
|
10959
11135
|
constructor(params: {
|
|
10960
11136
|
min?: boolean;
|
|
11137
|
+
hasUnreadVotes?: boolean;
|
|
11138
|
+
canViewStats?: boolean;
|
|
10961
11139
|
results?: Vector<Raw.TypePollAnswerVoters>;
|
|
10962
11140
|
totalVoters?: int;
|
|
10963
11141
|
recentVoters?: Vector<Raw.TypePeer>;
|
|
10964
11142
|
solution?: string;
|
|
10965
11143
|
solutionEntities?: Vector<Raw.TypeMessageEntity>;
|
|
11144
|
+
solutionMedia?: Raw.TypeMessageMedia;
|
|
10966
11145
|
});
|
|
10967
11146
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.PollResults>;
|
|
10968
11147
|
write(): Buffer;
|
|
@@ -11045,6 +11224,7 @@ export declare namespace Raw {
|
|
|
11045
11224
|
sendDocs?: boolean;
|
|
11046
11225
|
sendPlain?: boolean;
|
|
11047
11226
|
editRank?: boolean;
|
|
11227
|
+
sendReactions?: boolean;
|
|
11048
11228
|
untilDate: int;
|
|
11049
11229
|
constructor(params: {
|
|
11050
11230
|
viewMessages?: boolean;
|
|
@@ -11068,6 +11248,7 @@ export declare namespace Raw {
|
|
|
11068
11248
|
sendDocs?: boolean;
|
|
11069
11249
|
sendPlain?: boolean;
|
|
11070
11250
|
editRank?: boolean;
|
|
11251
|
+
sendReactions?: boolean;
|
|
11071
11252
|
untilDate: int;
|
|
11072
11253
|
});
|
|
11073
11254
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.ChatBannedRights>;
|
|
@@ -11267,6 +11448,7 @@ export declare namespace Raw {
|
|
|
11267
11448
|
requestWriteAccess?: boolean;
|
|
11268
11449
|
requestPhoneNumber?: boolean;
|
|
11269
11450
|
matchCodesFirst?: boolean;
|
|
11451
|
+
isApp?: boolean;
|
|
11270
11452
|
bot: Raw.TypeUser;
|
|
11271
11453
|
domain: string;
|
|
11272
11454
|
browser?: string;
|
|
@@ -11275,10 +11457,12 @@ export declare namespace Raw {
|
|
|
11275
11457
|
region?: string;
|
|
11276
11458
|
matchCodes?: Vector<string>;
|
|
11277
11459
|
userIdHint?: long;
|
|
11460
|
+
verifiedAppName?: string;
|
|
11278
11461
|
constructor(params: {
|
|
11279
11462
|
requestWriteAccess?: boolean;
|
|
11280
11463
|
requestPhoneNumber?: boolean;
|
|
11281
11464
|
matchCodesFirst?: boolean;
|
|
11465
|
+
isApp?: boolean;
|
|
11282
11466
|
bot: Raw.TypeUser;
|
|
11283
11467
|
domain: string;
|
|
11284
11468
|
browser?: string;
|
|
@@ -11287,6 +11471,7 @@ export declare namespace Raw {
|
|
|
11287
11471
|
region?: string;
|
|
11288
11472
|
matchCodes?: Vector<string>;
|
|
11289
11473
|
userIdHint?: long;
|
|
11474
|
+
verifiedAppName?: string;
|
|
11290
11475
|
});
|
|
11291
11476
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.UrlAuthResultRequest>;
|
|
11292
11477
|
write(): Buffer;
|
|
@@ -11520,6 +11705,14 @@ export declare namespace Raw {
|
|
|
11520
11705
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.WebPageAttributeStarGiftAuction>;
|
|
11521
11706
|
write(): Buffer;
|
|
11522
11707
|
}
|
|
11708
|
+
class WebPageAttributeAiComposeTone extends TLObject {
|
|
11709
|
+
emojiId: long;
|
|
11710
|
+
constructor(params: {
|
|
11711
|
+
emojiId: long;
|
|
11712
|
+
});
|
|
11713
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.WebPageAttributeAiComposeTone>;
|
|
11714
|
+
write(): Buffer;
|
|
11715
|
+
}
|
|
11523
11716
|
class BankCardOpenUrl extends TLObject {
|
|
11524
11717
|
url: string;
|
|
11525
11718
|
name: string;
|
|
@@ -11782,6 +11975,7 @@ export declare namespace Raw {
|
|
|
11782
11975
|
quoteEntities?: Vector<Raw.TypeMessageEntity>;
|
|
11783
11976
|
quoteOffset?: int;
|
|
11784
11977
|
todoItemId?: int;
|
|
11978
|
+
pollOption?: bytes;
|
|
11785
11979
|
constructor(params: {
|
|
11786
11980
|
replyToScheduled?: boolean;
|
|
11787
11981
|
forumTopic?: boolean;
|
|
@@ -11795,6 +11989,7 @@ export declare namespace Raw {
|
|
|
11795
11989
|
quoteEntities?: Vector<Raw.TypeMessageEntity>;
|
|
11796
11990
|
quoteOffset?: int;
|
|
11797
11991
|
todoItemId?: int;
|
|
11992
|
+
pollOption?: bytes;
|
|
11798
11993
|
});
|
|
11799
11994
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.MessageReplyHeader>;
|
|
11800
11995
|
write(): Buffer;
|
|
@@ -12733,12 +12928,14 @@ export declare namespace Raw {
|
|
|
12733
12928
|
restore?: boolean;
|
|
12734
12929
|
phoneNumber: string;
|
|
12735
12930
|
phoneCodeHash: string;
|
|
12931
|
+
premiumDays: int;
|
|
12736
12932
|
currency: string;
|
|
12737
12933
|
amount: long;
|
|
12738
12934
|
constructor(params: {
|
|
12739
12935
|
restore?: boolean;
|
|
12740
12936
|
phoneNumber: string;
|
|
12741
12937
|
phoneCodeHash: string;
|
|
12938
|
+
premiumDays: int;
|
|
12742
12939
|
currency: string;
|
|
12743
12940
|
amount: long;
|
|
12744
12941
|
});
|
|
@@ -13000,6 +13197,7 @@ export declare namespace Raw {
|
|
|
13000
13197
|
unreadCount: int;
|
|
13001
13198
|
unreadMentionsCount: int;
|
|
13002
13199
|
unreadReactionsCount: int;
|
|
13200
|
+
unreadPollVotesCount: int;
|
|
13003
13201
|
fromId: Raw.TypePeer;
|
|
13004
13202
|
notifySettings: Raw.TypePeerNotifySettings;
|
|
13005
13203
|
draft?: Raw.TypeDraftMessage;
|
|
@@ -13022,6 +13220,7 @@ export declare namespace Raw {
|
|
|
13022
13220
|
unreadCount: int;
|
|
13023
13221
|
unreadMentionsCount: int;
|
|
13024
13222
|
unreadReactionsCount: int;
|
|
13223
|
+
unreadPollVotesCount: int;
|
|
13025
13224
|
fromId: Raw.TypePeer;
|
|
13026
13225
|
notifySettings: Raw.TypePeerNotifySettings;
|
|
13027
13226
|
draft?: Raw.TypeDraftMessage;
|
|
@@ -13089,6 +13288,18 @@ export declare namespace Raw {
|
|
|
13089
13288
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.RequestPeerTypeBroadcast>;
|
|
13090
13289
|
write(): Buffer;
|
|
13091
13290
|
}
|
|
13291
|
+
class RequestPeerTypeCreateBot extends TLObject {
|
|
13292
|
+
botManaged?: boolean;
|
|
13293
|
+
suggestedName?: string;
|
|
13294
|
+
suggestedUsername?: string;
|
|
13295
|
+
constructor(params: {
|
|
13296
|
+
botManaged?: boolean;
|
|
13297
|
+
suggestedName?: string;
|
|
13298
|
+
suggestedUsername?: string;
|
|
13299
|
+
});
|
|
13300
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.RequestPeerTypeCreateBot>;
|
|
13301
|
+
write(): Buffer;
|
|
13302
|
+
}
|
|
13092
13303
|
class EmojiListNotModified extends TLObject {
|
|
13093
13304
|
constructor();
|
|
13094
13305
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.EmojiListNotModified>;
|
|
@@ -13356,6 +13567,7 @@ export declare namespace Raw {
|
|
|
13356
13567
|
views?: Raw.TypeStoryViews;
|
|
13357
13568
|
sentReaction?: Raw.TypeReaction;
|
|
13358
13569
|
albums?: Vector<int>;
|
|
13570
|
+
music?: Raw.TypeDocument;
|
|
13359
13571
|
constructor(params: {
|
|
13360
13572
|
pinned?: boolean;
|
|
13361
13573
|
public?: boolean;
|
|
@@ -13379,6 +13591,7 @@ export declare namespace Raw {
|
|
|
13379
13591
|
views?: Raw.TypeStoryViews;
|
|
13380
13592
|
sentReaction?: Raw.TypeReaction;
|
|
13381
13593
|
albums?: Vector<int>;
|
|
13594
|
+
music?: Raw.TypeDocument;
|
|
13382
13595
|
});
|
|
13383
13596
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.StoryItem>;
|
|
13384
13597
|
write(): Buffer;
|
|
@@ -13434,6 +13647,7 @@ export declare namespace Raw {
|
|
|
13434
13647
|
quoteOffset?: int;
|
|
13435
13648
|
monoforumPeerId?: Raw.TypeInputPeer;
|
|
13436
13649
|
todoItemId?: int;
|
|
13650
|
+
pollOption?: bytes;
|
|
13437
13651
|
constructor(params: {
|
|
13438
13652
|
replyToMsgId: int;
|
|
13439
13653
|
topMsgId?: int;
|
|
@@ -13443,6 +13657,7 @@ export declare namespace Raw {
|
|
|
13443
13657
|
quoteOffset?: int;
|
|
13444
13658
|
monoforumPeerId?: Raw.TypeInputPeer;
|
|
13445
13659
|
todoItemId?: int;
|
|
13660
|
+
pollOption?: bytes;
|
|
13446
13661
|
});
|
|
13447
13662
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.InputReplyToMessage>;
|
|
13448
13663
|
write(): Buffer;
|
|
@@ -14336,11 +14551,13 @@ export declare namespace Raw {
|
|
|
14336
14551
|
class ReactionsNotifySettings extends TLObject {
|
|
14337
14552
|
messagesNotifyFrom?: Raw.TypeReactionNotificationsFrom;
|
|
14338
14553
|
storiesNotifyFrom?: Raw.TypeReactionNotificationsFrom;
|
|
14554
|
+
pollVotesNotifyFrom?: Raw.TypeReactionNotificationsFrom;
|
|
14339
14555
|
sound: Raw.TypeNotificationSound;
|
|
14340
14556
|
showPreviews: Bool;
|
|
14341
14557
|
constructor(params: {
|
|
14342
14558
|
messagesNotifyFrom?: Raw.TypeReactionNotificationsFrom;
|
|
14343
14559
|
storiesNotifyFrom?: Raw.TypeReactionNotificationsFrom;
|
|
14560
|
+
pollVotesNotifyFrom?: Raw.TypeReactionNotificationsFrom;
|
|
14344
14561
|
sound: Raw.TypeNotificationSound;
|
|
14345
14562
|
showPreviews: Bool;
|
|
14346
14563
|
});
|
|
@@ -15719,6 +15936,98 @@ export declare namespace Raw {
|
|
|
15719
15936
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.KeyboardButtonStyle>;
|
|
15720
15937
|
write(): Buffer;
|
|
15721
15938
|
}
|
|
15939
|
+
class InputMessageReadMetric extends TLObject {
|
|
15940
|
+
msgId: int;
|
|
15941
|
+
viewId: long;
|
|
15942
|
+
timeInViewMs: int;
|
|
15943
|
+
activeTimeInViewMs: int;
|
|
15944
|
+
heightToViewportRatioPermille: int;
|
|
15945
|
+
seenRangeRatioPermille: int;
|
|
15946
|
+
constructor(params: {
|
|
15947
|
+
msgId: int;
|
|
15948
|
+
viewId: long;
|
|
15949
|
+
timeInViewMs: int;
|
|
15950
|
+
activeTimeInViewMs: int;
|
|
15951
|
+
heightToViewportRatioPermille: int;
|
|
15952
|
+
seenRangeRatioPermille: int;
|
|
15953
|
+
});
|
|
15954
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.InputMessageReadMetric>;
|
|
15955
|
+
write(): Buffer;
|
|
15956
|
+
}
|
|
15957
|
+
class InputAiComposeToneDefault extends TLObject {
|
|
15958
|
+
tone: string;
|
|
15959
|
+
constructor(params: {
|
|
15960
|
+
tone: string;
|
|
15961
|
+
});
|
|
15962
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.InputAiComposeToneDefault>;
|
|
15963
|
+
write(): Buffer;
|
|
15964
|
+
}
|
|
15965
|
+
class InputAiComposeToneID extends TLObject {
|
|
15966
|
+
id: long;
|
|
15967
|
+
accessHash: long;
|
|
15968
|
+
constructor(params: {
|
|
15969
|
+
id: long;
|
|
15970
|
+
accessHash: long;
|
|
15971
|
+
});
|
|
15972
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.InputAiComposeToneID>;
|
|
15973
|
+
write(): Buffer;
|
|
15974
|
+
}
|
|
15975
|
+
class InputAiComposeToneSlug extends TLObject {
|
|
15976
|
+
slug: string;
|
|
15977
|
+
constructor(params: {
|
|
15978
|
+
slug: string;
|
|
15979
|
+
});
|
|
15980
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.InputAiComposeToneSlug>;
|
|
15981
|
+
write(): Buffer;
|
|
15982
|
+
}
|
|
15983
|
+
class AiComposeTone extends TLObject {
|
|
15984
|
+
creator?: boolean;
|
|
15985
|
+
id: long;
|
|
15986
|
+
accessHash: long;
|
|
15987
|
+
slug: string;
|
|
15988
|
+
title: string;
|
|
15989
|
+
emojiId?: long;
|
|
15990
|
+
prompt?: string;
|
|
15991
|
+
installsCount?: int;
|
|
15992
|
+
authorId?: long;
|
|
15993
|
+
exampleEnglish?: Raw.TypeAiComposeToneExample;
|
|
15994
|
+
constructor(params: {
|
|
15995
|
+
creator?: boolean;
|
|
15996
|
+
id: long;
|
|
15997
|
+
accessHash: long;
|
|
15998
|
+
slug: string;
|
|
15999
|
+
title: string;
|
|
16000
|
+
emojiId?: long;
|
|
16001
|
+
prompt?: string;
|
|
16002
|
+
installsCount?: int;
|
|
16003
|
+
authorId?: long;
|
|
16004
|
+
exampleEnglish?: Raw.TypeAiComposeToneExample;
|
|
16005
|
+
});
|
|
16006
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.AiComposeTone>;
|
|
16007
|
+
write(): Buffer;
|
|
16008
|
+
}
|
|
16009
|
+
class AiComposeToneDefault extends TLObject {
|
|
16010
|
+
tone: string;
|
|
16011
|
+
emojiId: long;
|
|
16012
|
+
title: string;
|
|
16013
|
+
constructor(params: {
|
|
16014
|
+
tone: string;
|
|
16015
|
+
emojiId: long;
|
|
16016
|
+
title: string;
|
|
16017
|
+
});
|
|
16018
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.AiComposeToneDefault>;
|
|
16019
|
+
write(): Buffer;
|
|
16020
|
+
}
|
|
16021
|
+
class AiComposeToneExample extends TLObject {
|
|
16022
|
+
from: Raw.TypeTextWithEntities;
|
|
16023
|
+
to: Raw.TypeTextWithEntities;
|
|
16024
|
+
constructor(params: {
|
|
16025
|
+
from: Raw.TypeTextWithEntities;
|
|
16026
|
+
to: Raw.TypeTextWithEntities;
|
|
16027
|
+
});
|
|
16028
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.AiComposeToneExample>;
|
|
16029
|
+
write(): Buffer;
|
|
16030
|
+
}
|
|
15722
16031
|
class InvokeAfterMsg extends TLObject {
|
|
15723
16032
|
__response__: X;
|
|
15724
16033
|
msgId: long;
|
|
@@ -17193,6 +17502,7 @@ export declare namespace Raw {
|
|
|
17193
17502
|
phoneCodeHash: string;
|
|
17194
17503
|
supportEmailAddress: string;
|
|
17195
17504
|
supportEmailSubject: string;
|
|
17505
|
+
premiumDays: int;
|
|
17196
17506
|
currency: string;
|
|
17197
17507
|
amount: long;
|
|
17198
17508
|
constructor(params: {
|
|
@@ -17200,6 +17510,7 @@ export declare namespace Raw {
|
|
|
17200
17510
|
phoneCodeHash: string;
|
|
17201
17511
|
supportEmailAddress: string;
|
|
17202
17512
|
supportEmailSubject: string;
|
|
17513
|
+
premiumDays: int;
|
|
17203
17514
|
currency: string;
|
|
17204
17515
|
amount: long;
|
|
17205
17516
|
});
|
|
@@ -17991,6 +18302,7 @@ export declare namespace Raw {
|
|
|
17991
18302
|
groups?: boolean;
|
|
17992
18303
|
channels?: boolean;
|
|
17993
18304
|
botsApp?: boolean;
|
|
18305
|
+
botsGuestchat?: boolean;
|
|
17994
18306
|
offset: int;
|
|
17995
18307
|
limit: int;
|
|
17996
18308
|
hash: long;
|
|
@@ -18004,6 +18316,7 @@ export declare namespace Raw {
|
|
|
18004
18316
|
groups?: boolean;
|
|
18005
18317
|
channels?: boolean;
|
|
18006
18318
|
botsApp?: boolean;
|
|
18319
|
+
botsGuestchat?: boolean;
|
|
18007
18320
|
offset: int;
|
|
18008
18321
|
limit: int;
|
|
18009
18322
|
hash: long;
|
|
@@ -18174,6 +18487,7 @@ export declare namespace Raw {
|
|
|
18174
18487
|
}
|
|
18175
18488
|
namespace messages {
|
|
18176
18489
|
type TypeInactiveChats = Raw.messages.InactiveChats;
|
|
18490
|
+
type TypeComposedMessageWithAI = Raw.messages.ComposedMessageWithAI;
|
|
18177
18491
|
type TypeForumTopics = Raw.messages.ForumTopics;
|
|
18178
18492
|
type TypeFoundStickers = Raw.messages.FoundStickersNotModified | Raw.messages.FoundStickers;
|
|
18179
18493
|
type TypePreparedInlineMessage = Raw.messages.PreparedInlineMessage;
|
|
@@ -19249,6 +19563,16 @@ export declare namespace Raw {
|
|
|
19249
19563
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.messages.EmojiGameDiceInfo>;
|
|
19250
19564
|
write(): Buffer;
|
|
19251
19565
|
}
|
|
19566
|
+
class ComposedMessageWithAI extends TLObject {
|
|
19567
|
+
resultText: Raw.TypeTextWithEntities;
|
|
19568
|
+
diffText?: Raw.TypeTextWithEntities;
|
|
19569
|
+
constructor(params: {
|
|
19570
|
+
resultText: Raw.TypeTextWithEntities;
|
|
19571
|
+
diffText?: Raw.TypeTextWithEntities;
|
|
19572
|
+
});
|
|
19573
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.messages.ComposedMessageWithAI>;
|
|
19574
|
+
write(): Buffer;
|
|
19575
|
+
}
|
|
19252
19576
|
class GetMessages extends TLObject {
|
|
19253
19577
|
__response__: Raw.messages.TypeMessages;
|
|
19254
19578
|
id: Vector<Raw.TypeInputMessage>;
|
|
@@ -20686,9 +21010,11 @@ export declare namespace Raw {
|
|
|
20686
21010
|
__response__: Raw.TypeUpdates;
|
|
20687
21011
|
peer: Raw.TypeInputPeer;
|
|
20688
21012
|
msgId: int;
|
|
21013
|
+
pollHash: long;
|
|
20689
21014
|
constructor(params: {
|
|
20690
21015
|
peer: Raw.TypeInputPeer;
|
|
20691
21016
|
msgId: int;
|
|
21017
|
+
pollHash: long;
|
|
20692
21018
|
});
|
|
20693
21019
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.messages.GetPollResults>;
|
|
20694
21020
|
write(): Buffer;
|
|
@@ -21388,11 +21714,13 @@ export declare namespace Raw {
|
|
|
21388
21714
|
id?: Vector<int>;
|
|
21389
21715
|
text?: Vector<Raw.TypeTextWithEntities>;
|
|
21390
21716
|
toLang: string;
|
|
21717
|
+
tone?: string;
|
|
21391
21718
|
constructor(params: {
|
|
21392
21719
|
peer?: Raw.TypeInputPeer;
|
|
21393
21720
|
id?: Vector<int>;
|
|
21394
21721
|
text?: Vector<Raw.TypeTextWithEntities>;
|
|
21395
21722
|
toLang: string;
|
|
21723
|
+
tone?: string;
|
|
21396
21724
|
});
|
|
21397
21725
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.messages.TranslateText>;
|
|
21398
21726
|
write(): Buffer;
|
|
@@ -21701,12 +22029,14 @@ export declare namespace Raw {
|
|
|
21701
22029
|
class SendBotRequestedPeer extends TLObject {
|
|
21702
22030
|
__response__: Raw.TypeUpdates;
|
|
21703
22031
|
peer: Raw.TypeInputPeer;
|
|
21704
|
-
msgId
|
|
22032
|
+
msgId?: int;
|
|
22033
|
+
webappReqId?: string;
|
|
21705
22034
|
buttonId: int;
|
|
21706
22035
|
requestedPeers: Vector<Raw.TypeInputPeer>;
|
|
21707
22036
|
constructor(params: {
|
|
21708
22037
|
peer: Raw.TypeInputPeer;
|
|
21709
|
-
msgId
|
|
22038
|
+
msgId?: int;
|
|
22039
|
+
webappReqId?: string;
|
|
21710
22040
|
buttonId: int;
|
|
21711
22041
|
requestedPeers: Vector<Raw.TypeInputPeer>;
|
|
21712
22042
|
});
|
|
@@ -22466,10 +22796,12 @@ export declare namespace Raw {
|
|
|
22466
22796
|
peer: Raw.TypeInputPeer;
|
|
22467
22797
|
id: int;
|
|
22468
22798
|
toLang?: string;
|
|
22799
|
+
tone?: string;
|
|
22469
22800
|
constructor(params: {
|
|
22470
22801
|
peer: Raw.TypeInputPeer;
|
|
22471
22802
|
id: int;
|
|
22472
22803
|
toLang?: string;
|
|
22804
|
+
tone?: string;
|
|
22473
22805
|
});
|
|
22474
22806
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.messages.SummarizeText>;
|
|
22475
22807
|
write(): Buffer;
|
|
@@ -22529,6 +22861,155 @@ export declare namespace Raw {
|
|
|
22529
22861
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.messages.CheckUrlAuthMatchCode>;
|
|
22530
22862
|
write(): Buffer;
|
|
22531
22863
|
}
|
|
22864
|
+
class ComposeMessageWithAI extends TLObject {
|
|
22865
|
+
__response__: Raw.messages.TypeComposedMessageWithAI;
|
|
22866
|
+
proofread?: boolean;
|
|
22867
|
+
emojify?: boolean;
|
|
22868
|
+
text: Raw.TypeTextWithEntities;
|
|
22869
|
+
translateToLang?: string;
|
|
22870
|
+
tone?: Raw.TypeInputAiComposeTone;
|
|
22871
|
+
constructor(params: {
|
|
22872
|
+
proofread?: boolean;
|
|
22873
|
+
emojify?: boolean;
|
|
22874
|
+
text: Raw.TypeTextWithEntities;
|
|
22875
|
+
translateToLang?: string;
|
|
22876
|
+
tone?: Raw.TypeInputAiComposeTone;
|
|
22877
|
+
});
|
|
22878
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.messages.ComposeMessageWithAI>;
|
|
22879
|
+
write(): Buffer;
|
|
22880
|
+
}
|
|
22881
|
+
class ReportReadMetrics extends TLObject {
|
|
22882
|
+
__response__: Bool;
|
|
22883
|
+
peer: Raw.TypeInputPeer;
|
|
22884
|
+
metrics: Vector<Raw.TypeInputMessageReadMetric>;
|
|
22885
|
+
constructor(params: {
|
|
22886
|
+
peer: Raw.TypeInputPeer;
|
|
22887
|
+
metrics: Vector<Raw.TypeInputMessageReadMetric>;
|
|
22888
|
+
});
|
|
22889
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.messages.ReportReadMetrics>;
|
|
22890
|
+
write(): Buffer;
|
|
22891
|
+
}
|
|
22892
|
+
class ReportMusicListen extends TLObject {
|
|
22893
|
+
__response__: Bool;
|
|
22894
|
+
id: Raw.TypeInputDocument;
|
|
22895
|
+
listenedDuration: int;
|
|
22896
|
+
constructor(params: {
|
|
22897
|
+
id: Raw.TypeInputDocument;
|
|
22898
|
+
listenedDuration: int;
|
|
22899
|
+
});
|
|
22900
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.messages.ReportMusicListen>;
|
|
22901
|
+
write(): Buffer;
|
|
22902
|
+
}
|
|
22903
|
+
class AddPollAnswer extends TLObject {
|
|
22904
|
+
__response__: Raw.TypeUpdates;
|
|
22905
|
+
peer: Raw.TypeInputPeer;
|
|
22906
|
+
msgId: int;
|
|
22907
|
+
answer: Raw.TypePollAnswer;
|
|
22908
|
+
constructor(params: {
|
|
22909
|
+
peer: Raw.TypeInputPeer;
|
|
22910
|
+
msgId: int;
|
|
22911
|
+
answer: Raw.TypePollAnswer;
|
|
22912
|
+
});
|
|
22913
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.messages.AddPollAnswer>;
|
|
22914
|
+
write(): Buffer;
|
|
22915
|
+
}
|
|
22916
|
+
class DeletePollAnswer extends TLObject {
|
|
22917
|
+
__response__: Raw.TypeUpdates;
|
|
22918
|
+
peer: Raw.TypeInputPeer;
|
|
22919
|
+
msgId: int;
|
|
22920
|
+
option: bytes;
|
|
22921
|
+
constructor(params: {
|
|
22922
|
+
peer: Raw.TypeInputPeer;
|
|
22923
|
+
msgId: int;
|
|
22924
|
+
option: bytes;
|
|
22925
|
+
});
|
|
22926
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.messages.DeletePollAnswer>;
|
|
22927
|
+
write(): Buffer;
|
|
22928
|
+
}
|
|
22929
|
+
class GetUnreadPollVotes extends TLObject {
|
|
22930
|
+
__response__: Raw.messages.TypeMessages;
|
|
22931
|
+
peer: Raw.TypeInputPeer;
|
|
22932
|
+
topMsgId?: int;
|
|
22933
|
+
offsetId: int;
|
|
22934
|
+
addOffset: int;
|
|
22935
|
+
limit: int;
|
|
22936
|
+
maxId: int;
|
|
22937
|
+
minId: int;
|
|
22938
|
+
constructor(params: {
|
|
22939
|
+
peer: Raw.TypeInputPeer;
|
|
22940
|
+
topMsgId?: int;
|
|
22941
|
+
offsetId: int;
|
|
22942
|
+
addOffset: int;
|
|
22943
|
+
limit: int;
|
|
22944
|
+
maxId: int;
|
|
22945
|
+
minId: int;
|
|
22946
|
+
});
|
|
22947
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.messages.GetUnreadPollVotes>;
|
|
22948
|
+
write(): Buffer;
|
|
22949
|
+
}
|
|
22950
|
+
class ReadPollVotes extends TLObject {
|
|
22951
|
+
__response__: Raw.messages.TypeAffectedHistory;
|
|
22952
|
+
peer: Raw.TypeInputPeer;
|
|
22953
|
+
topMsgId?: int;
|
|
22954
|
+
constructor(params: {
|
|
22955
|
+
peer: Raw.TypeInputPeer;
|
|
22956
|
+
topMsgId?: int;
|
|
22957
|
+
});
|
|
22958
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.messages.ReadPollVotes>;
|
|
22959
|
+
write(): Buffer;
|
|
22960
|
+
}
|
|
22961
|
+
class SetBotGuestChatResult extends TLObject {
|
|
22962
|
+
__response__: Bool;
|
|
22963
|
+
queryId: long;
|
|
22964
|
+
result: Raw.TypeInputBotInlineResult;
|
|
22965
|
+
constructor(params: {
|
|
22966
|
+
queryId: long;
|
|
22967
|
+
result: Raw.TypeInputBotInlineResult;
|
|
22968
|
+
});
|
|
22969
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.messages.SetBotGuestChatResult>;
|
|
22970
|
+
write(): Buffer;
|
|
22971
|
+
}
|
|
22972
|
+
class DeleteParticipantReactions extends TLObject {
|
|
22973
|
+
__response__: Bool;
|
|
22974
|
+
peer: Raw.TypeInputPeer;
|
|
22975
|
+
participant: Raw.TypeInputPeer;
|
|
22976
|
+
constructor(params: {
|
|
22977
|
+
peer: Raw.TypeInputPeer;
|
|
22978
|
+
participant: Raw.TypeInputPeer;
|
|
22979
|
+
});
|
|
22980
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.messages.DeleteParticipantReactions>;
|
|
22981
|
+
write(): Buffer;
|
|
22982
|
+
}
|
|
22983
|
+
class DeleteParticipantReaction extends TLObject {
|
|
22984
|
+
__response__: Raw.TypeUpdates;
|
|
22985
|
+
peer: Raw.TypeInputPeer;
|
|
22986
|
+
msgId: int;
|
|
22987
|
+
participant: Raw.TypeInputPeer;
|
|
22988
|
+
constructor(params: {
|
|
22989
|
+
peer: Raw.TypeInputPeer;
|
|
22990
|
+
msgId: int;
|
|
22991
|
+
participant: Raw.TypeInputPeer;
|
|
22992
|
+
});
|
|
22993
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.messages.DeleteParticipantReaction>;
|
|
22994
|
+
write(): Buffer;
|
|
22995
|
+
}
|
|
22996
|
+
class GetPersonalChannelHistory extends TLObject {
|
|
22997
|
+
__response__: Raw.messages.TypeMessages;
|
|
22998
|
+
userId: Raw.TypeInputUser;
|
|
22999
|
+
limit: int;
|
|
23000
|
+
maxId: int;
|
|
23001
|
+
minId: int;
|
|
23002
|
+
hash: long;
|
|
23003
|
+
constructor(params: {
|
|
23004
|
+
userId: Raw.TypeInputUser;
|
|
23005
|
+
limit: int;
|
|
23006
|
+
maxId: int;
|
|
23007
|
+
minId: int;
|
|
23008
|
+
hash: long;
|
|
23009
|
+
});
|
|
23010
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.messages.GetPersonalChannelHistory>;
|
|
23011
|
+
write(): Buffer;
|
|
23012
|
+
}
|
|
22532
23013
|
}
|
|
22533
23014
|
namespace updates {
|
|
22534
23015
|
type TypeChannelDifference = Raw.updates.ChannelDifferenceEmpty | Raw.updates.ChannelDifferenceTooLong | Raw.updates.ChannelDifference;
|
|
@@ -26501,6 +26982,7 @@ export declare namespace Raw {
|
|
|
26501
26982
|
sortByPrice?: boolean;
|
|
26502
26983
|
sortByNum?: boolean;
|
|
26503
26984
|
forCraft?: boolean;
|
|
26985
|
+
starsOnly?: boolean;
|
|
26504
26986
|
attributesHash?: long;
|
|
26505
26987
|
giftId: long;
|
|
26506
26988
|
attributes?: Vector<Raw.TypeStarGiftAttributeId>;
|
|
@@ -26510,6 +26992,7 @@ export declare namespace Raw {
|
|
|
26510
26992
|
sortByPrice?: boolean;
|
|
26511
26993
|
sortByNum?: boolean;
|
|
26512
26994
|
forCraft?: boolean;
|
|
26995
|
+
starsOnly?: boolean;
|
|
26513
26996
|
attributesHash?: long;
|
|
26514
26997
|
giftId: long;
|
|
26515
26998
|
attributes?: Vector<Raw.TypeStarGiftAttributeId>;
|
|
@@ -27367,6 +27850,7 @@ export declare namespace Raw {
|
|
|
27367
27850
|
}
|
|
27368
27851
|
}
|
|
27369
27852
|
namespace stats {
|
|
27853
|
+
type TypePollStats = Raw.stats.PollStats;
|
|
27370
27854
|
type TypeStoryStats = Raw.stats.StoryStats;
|
|
27371
27855
|
type TypeMessageStats = Raw.stats.MessageStats;
|
|
27372
27856
|
type TypePublicForwards = Raw.stats.PublicForwards;
|
|
@@ -27498,6 +27982,14 @@ export declare namespace Raw {
|
|
|
27498
27982
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.stats.PublicForwards>;
|
|
27499
27983
|
write(): Buffer;
|
|
27500
27984
|
}
|
|
27985
|
+
class PollStats extends TLObject {
|
|
27986
|
+
votesGraph: Raw.TypeStatsGraph;
|
|
27987
|
+
constructor(params: {
|
|
27988
|
+
votesGraph: Raw.TypeStatsGraph;
|
|
27989
|
+
});
|
|
27990
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.stats.PollStats>;
|
|
27991
|
+
write(): Buffer;
|
|
27992
|
+
}
|
|
27501
27993
|
class GetBroadcastStats extends TLObject {
|
|
27502
27994
|
__response__: Raw.stats.TypeBroadcastStats;
|
|
27503
27995
|
dark?: boolean;
|
|
@@ -27587,6 +28079,19 @@ export declare namespace Raw {
|
|
|
27587
28079
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.stats.GetStoryPublicForwards>;
|
|
27588
28080
|
write(): Buffer;
|
|
27589
28081
|
}
|
|
28082
|
+
class GetPollStats extends TLObject {
|
|
28083
|
+
__response__: Raw.stats.TypePollStats;
|
|
28084
|
+
dark?: boolean;
|
|
28085
|
+
peer: Raw.TypeInputPeer;
|
|
28086
|
+
msgId: int;
|
|
28087
|
+
constructor(params: {
|
|
28088
|
+
dark?: boolean;
|
|
28089
|
+
peer: Raw.TypeInputPeer;
|
|
28090
|
+
msgId: int;
|
|
28091
|
+
});
|
|
28092
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.stats.GetPollStats>;
|
|
28093
|
+
write(): Buffer;
|
|
28094
|
+
}
|
|
27590
28095
|
}
|
|
27591
28096
|
namespace stickers {
|
|
27592
28097
|
type TypeSuggestedShortName = Raw.stickers.SuggestedShortName;
|
|
@@ -28052,6 +28557,9 @@ export declare namespace Raw {
|
|
|
28052
28557
|
}
|
|
28053
28558
|
}
|
|
28054
28559
|
namespace bots {
|
|
28560
|
+
type TypeAccessSettings = Raw.bots.AccessSettings;
|
|
28561
|
+
type TypeRequestedButton = Raw.bots.RequestedButton;
|
|
28562
|
+
type TypeExportedBotToken = Raw.bots.ExportedBotToken;
|
|
28055
28563
|
type TypePreviewInfo = Raw.bots.PreviewInfo;
|
|
28056
28564
|
type TypePopularAppBots = Raw.bots.PopularAppBots;
|
|
28057
28565
|
type TypeBotInfo = Raw.bots.BotInfo;
|
|
@@ -28087,6 +28595,32 @@ export declare namespace Raw {
|
|
|
28087
28595
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.bots.PreviewInfo>;
|
|
28088
28596
|
write(): Buffer;
|
|
28089
28597
|
}
|
|
28598
|
+
class ExportedBotToken extends TLObject {
|
|
28599
|
+
token: string;
|
|
28600
|
+
constructor(params: {
|
|
28601
|
+
token: string;
|
|
28602
|
+
});
|
|
28603
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.bots.ExportedBotToken>;
|
|
28604
|
+
write(): Buffer;
|
|
28605
|
+
}
|
|
28606
|
+
class RequestedButton extends TLObject {
|
|
28607
|
+
webappReqId: string;
|
|
28608
|
+
constructor(params: {
|
|
28609
|
+
webappReqId: string;
|
|
28610
|
+
});
|
|
28611
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.bots.RequestedButton>;
|
|
28612
|
+
write(): Buffer;
|
|
28613
|
+
}
|
|
28614
|
+
class AccessSettings extends TLObject {
|
|
28615
|
+
restricted?: boolean;
|
|
28616
|
+
addUsers?: Vector<Raw.TypeUser>;
|
|
28617
|
+
constructor(params: {
|
|
28618
|
+
restricted?: boolean;
|
|
28619
|
+
addUsers?: Vector<Raw.TypeUser>;
|
|
28620
|
+
});
|
|
28621
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.bots.AccessSettings>;
|
|
28622
|
+
write(): Buffer;
|
|
28623
|
+
}
|
|
28090
28624
|
class SendCustomRequest extends TLObject {
|
|
28091
28625
|
__response__: Raw.TypeDataJSON;
|
|
28092
28626
|
customMethod: string;
|
|
@@ -28428,6 +28962,85 @@ export declare namespace Raw {
|
|
|
28428
28962
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.bots.GetBotRecommendations>;
|
|
28429
28963
|
write(): Buffer;
|
|
28430
28964
|
}
|
|
28965
|
+
class CheckUsername extends TLObject {
|
|
28966
|
+
__response__: Bool;
|
|
28967
|
+
username: string;
|
|
28968
|
+
constructor(params: {
|
|
28969
|
+
username: string;
|
|
28970
|
+
});
|
|
28971
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.bots.CheckUsername>;
|
|
28972
|
+
write(): Buffer;
|
|
28973
|
+
}
|
|
28974
|
+
class CreateBot extends TLObject {
|
|
28975
|
+
__response__: Raw.TypeUser;
|
|
28976
|
+
viaDeeplink?: boolean;
|
|
28977
|
+
name: string;
|
|
28978
|
+
username: string;
|
|
28979
|
+
managerId: Raw.TypeInputUser;
|
|
28980
|
+
constructor(params: {
|
|
28981
|
+
viaDeeplink?: boolean;
|
|
28982
|
+
name: string;
|
|
28983
|
+
username: string;
|
|
28984
|
+
managerId: Raw.TypeInputUser;
|
|
28985
|
+
});
|
|
28986
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.bots.CreateBot>;
|
|
28987
|
+
write(): Buffer;
|
|
28988
|
+
}
|
|
28989
|
+
class ExportBotToken extends TLObject {
|
|
28990
|
+
__response__: Raw.bots.TypeExportedBotToken;
|
|
28991
|
+
bot: Raw.TypeInputUser;
|
|
28992
|
+
revoke: Bool;
|
|
28993
|
+
constructor(params: {
|
|
28994
|
+
bot: Raw.TypeInputUser;
|
|
28995
|
+
revoke: Bool;
|
|
28996
|
+
});
|
|
28997
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.bots.ExportBotToken>;
|
|
28998
|
+
write(): Buffer;
|
|
28999
|
+
}
|
|
29000
|
+
class RequestWebViewButton extends TLObject {
|
|
29001
|
+
__response__: Raw.bots.TypeRequestedButton;
|
|
29002
|
+
userId: Raw.TypeInputUser;
|
|
29003
|
+
button: Raw.TypeKeyboardButton;
|
|
29004
|
+
constructor(params: {
|
|
29005
|
+
userId: Raw.TypeInputUser;
|
|
29006
|
+
button: Raw.TypeKeyboardButton;
|
|
29007
|
+
});
|
|
29008
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.bots.RequestWebViewButton>;
|
|
29009
|
+
write(): Buffer;
|
|
29010
|
+
}
|
|
29011
|
+
class GetRequestedWebViewButton extends TLObject {
|
|
29012
|
+
__response__: Raw.TypeKeyboardButton;
|
|
29013
|
+
bot: Raw.TypeInputUser;
|
|
29014
|
+
webappReqId: string;
|
|
29015
|
+
constructor(params: {
|
|
29016
|
+
bot: Raw.TypeInputUser;
|
|
29017
|
+
webappReqId: string;
|
|
29018
|
+
});
|
|
29019
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.bots.GetRequestedWebViewButton>;
|
|
29020
|
+
write(): Buffer;
|
|
29021
|
+
}
|
|
29022
|
+
class GetAccessSettings extends TLObject {
|
|
29023
|
+
__response__: Raw.bots.TypeAccessSettings;
|
|
29024
|
+
bot: Raw.TypeInputUser;
|
|
29025
|
+
constructor(params: {
|
|
29026
|
+
bot: Raw.TypeInputUser;
|
|
29027
|
+
});
|
|
29028
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.bots.GetAccessSettings>;
|
|
29029
|
+
write(): Buffer;
|
|
29030
|
+
}
|
|
29031
|
+
class EditAccessSettings extends TLObject {
|
|
29032
|
+
__response__: Bool;
|
|
29033
|
+
restricted?: boolean;
|
|
29034
|
+
bot: Raw.TypeInputUser;
|
|
29035
|
+
addUsers?: Vector<Raw.TypeInputUser>;
|
|
29036
|
+
constructor(params: {
|
|
29037
|
+
restricted?: boolean;
|
|
29038
|
+
bot: Raw.TypeInputUser;
|
|
29039
|
+
addUsers?: Vector<Raw.TypeInputUser>;
|
|
29040
|
+
});
|
|
29041
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.bots.EditAccessSettings>;
|
|
29042
|
+
write(): Buffer;
|
|
29043
|
+
}
|
|
28431
29044
|
}
|
|
28432
29045
|
namespace stories {
|
|
28433
29046
|
type TypeAlbums = Raw.stories.AlbumsNotModified | Raw.stories.Albums;
|
|
@@ -28609,6 +29222,7 @@ export declare namespace Raw {
|
|
|
28609
29222
|
fwdFromId?: Raw.TypeInputPeer;
|
|
28610
29223
|
fwdFromStory?: int;
|
|
28611
29224
|
albums?: Vector<int>;
|
|
29225
|
+
music?: Raw.TypeInputDocument;
|
|
28612
29226
|
constructor(params: {
|
|
28613
29227
|
pinned?: boolean;
|
|
28614
29228
|
noforwards?: boolean;
|
|
@@ -28624,6 +29238,7 @@ export declare namespace Raw {
|
|
|
28624
29238
|
fwdFromId?: Raw.TypeInputPeer;
|
|
28625
29239
|
fwdFromStory?: int;
|
|
28626
29240
|
albums?: Vector<int>;
|
|
29241
|
+
music?: Raw.TypeInputDocument;
|
|
28627
29242
|
});
|
|
28628
29243
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.stories.SendStory>;
|
|
28629
29244
|
write(): Buffer;
|
|
@@ -28637,6 +29252,7 @@ export declare namespace Raw {
|
|
|
28637
29252
|
caption?: string;
|
|
28638
29253
|
entities?: Vector<Raw.TypeMessageEntity>;
|
|
28639
29254
|
privacyRules?: Vector<Raw.TypeInputPrivacyRule>;
|
|
29255
|
+
music?: Raw.TypeInputDocument;
|
|
28640
29256
|
constructor(params: {
|
|
28641
29257
|
peer: Raw.TypeInputPeer;
|
|
28642
29258
|
id: int;
|
|
@@ -28645,6 +29261,7 @@ export declare namespace Raw {
|
|
|
28645
29261
|
caption?: string;
|
|
28646
29262
|
entities?: Vector<Raw.TypeMessageEntity>;
|
|
28647
29263
|
privacyRules?: Vector<Raw.TypeInputPrivacyRule>;
|
|
29264
|
+
music?: Raw.TypeInputDocument;
|
|
28648
29265
|
});
|
|
28649
29266
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.stories.EditStory>;
|
|
28650
29267
|
write(): Buffer;
|
|
@@ -29264,6 +29881,107 @@ export declare namespace Raw {
|
|
|
29264
29881
|
write(): Buffer;
|
|
29265
29882
|
}
|
|
29266
29883
|
}
|
|
29884
|
+
namespace aicompose {
|
|
29885
|
+
type TypeTones = Raw.aicompose.TonesNotModified | Raw.aicompose.Tones;
|
|
29886
|
+
class TonesNotModified extends TLObject {
|
|
29887
|
+
constructor();
|
|
29888
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.aicompose.TonesNotModified>;
|
|
29889
|
+
write(): Buffer;
|
|
29890
|
+
}
|
|
29891
|
+
class Tones extends TLObject {
|
|
29892
|
+
hash: long;
|
|
29893
|
+
tones: Vector<Raw.TypeAiComposeTone>;
|
|
29894
|
+
users: Vector<Raw.TypeUser>;
|
|
29895
|
+
constructor(params: {
|
|
29896
|
+
hash: long;
|
|
29897
|
+
tones: Vector<Raw.TypeAiComposeTone>;
|
|
29898
|
+
users: Vector<Raw.TypeUser>;
|
|
29899
|
+
});
|
|
29900
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.aicompose.Tones>;
|
|
29901
|
+
write(): Buffer;
|
|
29902
|
+
}
|
|
29903
|
+
class CreateTone extends TLObject {
|
|
29904
|
+
__response__: Raw.TypeAiComposeTone;
|
|
29905
|
+
displayAuthor?: boolean;
|
|
29906
|
+
emojiId: long;
|
|
29907
|
+
title: string;
|
|
29908
|
+
prompt: string;
|
|
29909
|
+
constructor(params: {
|
|
29910
|
+
displayAuthor?: boolean;
|
|
29911
|
+
emojiId: long;
|
|
29912
|
+
title: string;
|
|
29913
|
+
prompt: string;
|
|
29914
|
+
});
|
|
29915
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.aicompose.CreateTone>;
|
|
29916
|
+
write(): Buffer;
|
|
29917
|
+
}
|
|
29918
|
+
class UpdateTone extends TLObject {
|
|
29919
|
+
__response__: Raw.TypeAiComposeTone;
|
|
29920
|
+
tone: Raw.TypeInputAiComposeTone;
|
|
29921
|
+
displayAuthor?: Bool;
|
|
29922
|
+
emojiId?: long;
|
|
29923
|
+
title?: string;
|
|
29924
|
+
prompt?: string;
|
|
29925
|
+
constructor(params: {
|
|
29926
|
+
tone: Raw.TypeInputAiComposeTone;
|
|
29927
|
+
displayAuthor?: Bool;
|
|
29928
|
+
emojiId?: long;
|
|
29929
|
+
title?: string;
|
|
29930
|
+
prompt?: string;
|
|
29931
|
+
});
|
|
29932
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.aicompose.UpdateTone>;
|
|
29933
|
+
write(): Buffer;
|
|
29934
|
+
}
|
|
29935
|
+
class SaveTone extends TLObject {
|
|
29936
|
+
__response__: Bool;
|
|
29937
|
+
tone: Raw.TypeInputAiComposeTone;
|
|
29938
|
+
unsave: Bool;
|
|
29939
|
+
constructor(params: {
|
|
29940
|
+
tone: Raw.TypeInputAiComposeTone;
|
|
29941
|
+
unsave: Bool;
|
|
29942
|
+
});
|
|
29943
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.aicompose.SaveTone>;
|
|
29944
|
+
write(): Buffer;
|
|
29945
|
+
}
|
|
29946
|
+
class DeleteTone extends TLObject {
|
|
29947
|
+
__response__: Bool;
|
|
29948
|
+
tone: Raw.TypeInputAiComposeTone;
|
|
29949
|
+
constructor(params: {
|
|
29950
|
+
tone: Raw.TypeInputAiComposeTone;
|
|
29951
|
+
});
|
|
29952
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.aicompose.DeleteTone>;
|
|
29953
|
+
write(): Buffer;
|
|
29954
|
+
}
|
|
29955
|
+
class GetTone extends TLObject {
|
|
29956
|
+
__response__: Raw.aicompose.TypeTones;
|
|
29957
|
+
tone: Raw.TypeInputAiComposeTone;
|
|
29958
|
+
constructor(params: {
|
|
29959
|
+
tone: Raw.TypeInputAiComposeTone;
|
|
29960
|
+
});
|
|
29961
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.aicompose.GetTone>;
|
|
29962
|
+
write(): Buffer;
|
|
29963
|
+
}
|
|
29964
|
+
class GetTones extends TLObject {
|
|
29965
|
+
__response__: Raw.aicompose.TypeTones;
|
|
29966
|
+
hash: long;
|
|
29967
|
+
constructor(params: {
|
|
29968
|
+
hash: long;
|
|
29969
|
+
});
|
|
29970
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.aicompose.GetTones>;
|
|
29971
|
+
write(): Buffer;
|
|
29972
|
+
}
|
|
29973
|
+
class GetToneExample extends TLObject {
|
|
29974
|
+
__response__: Raw.TypeAiComposeToneExample;
|
|
29975
|
+
tone: Raw.TypeInputAiComposeTone;
|
|
29976
|
+
num: int;
|
|
29977
|
+
constructor(params: {
|
|
29978
|
+
tone: Raw.TypeInputAiComposeTone;
|
|
29979
|
+
num: int;
|
|
29980
|
+
});
|
|
29981
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.aicompose.GetToneExample>;
|
|
29982
|
+
write(): Buffer;
|
|
29983
|
+
}
|
|
29984
|
+
}
|
|
29267
29985
|
namespace langpack {
|
|
29268
29986
|
class GetLangPack extends TLObject {
|
|
29269
29987
|
__response__: Raw.TypeLangPackDifference;
|