@tgsnake/skema 1.11.0 → 1.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/raw/All.d.ts +51 -25
- package/dist/raw/All.js +51 -25
- package/dist/raw/Raw.d.ts +397 -14
- package/dist/raw/Raw.js +1372 -53
- 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.updates.GetState | Raw.updates.GetDifference | Raw.updates.GetChannelDifference | Raw.photos.UpdateProfilePhoto | Raw.photos.UploadProfilePhoto | Raw.photos.DeletePhotos | Raw.photos.GetUserPhotos | Raw.photos.UploadContactProfilePhoto | Raw.upload.SaveFilePart | Raw.upload.GetFile | Raw.upload.SaveBigFilePart | Raw.upload.GetWebFile | Raw.upload.GetCdnFile | Raw.upload.ReuploadCdnFile | Raw.upload.GetCdnFileHashes | Raw.upload.GetFileHashes | Raw.help.GetConfig | Raw.help.GetNearestDc | Raw.help.GetAppUpdate | Raw.help.GetInviteText | Raw.help.GetSupport | Raw.help.SetBotUpdatesStatus | Raw.help.GetCdnConfig | Raw.help.GetRecentMeUrls | Raw.help.GetTermsOfServiceUpdate | Raw.help.AcceptTermsOfService | Raw.help.GetDeepLinkInfo | Raw.help.GetAppConfig | Raw.help.SaveAppLog | Raw.help.GetPassportConfig | Raw.help.GetSupportName | Raw.help.GetUserInfo | Raw.help.EditUserInfo | Raw.help.GetPromoData | Raw.help.HidePromoData | Raw.help.DismissSuggestion | Raw.help.GetCountriesList | Raw.help.GetPremiumPromo | Raw.help.GetPeerColors | Raw.help.GetPeerProfileColors | Raw.help.GetTimezonesList | Raw.channels.ReadHistory | Raw.channels.DeleteMessages | Raw.channels.ReportSpam | Raw.channels.GetMessages | Raw.channels.GetParticipants | Raw.channels.GetParticipant | Raw.channels.GetChannels | Raw.channels.GetFullChannel | Raw.channels.CreateChannel | Raw.channels.EditAdmin | Raw.channels.EditTitle | Raw.channels.EditPhoto | Raw.channels.CheckUsername | Raw.channels.UpdateUsername | Raw.channels.JoinChannel | Raw.channels.LeaveChannel | Raw.channels.InviteToChannel | Raw.channels.DeleteChannel | Raw.channels.ExportMessageLink | Raw.channels.ToggleSignatures | Raw.channels.GetAdminedPublicChannels | Raw.channels.EditBanned | Raw.channels.GetAdminLog | Raw.channels.SetStickers | Raw.channels.ReadMessageContents | Raw.channels.DeleteHistory | Raw.channels.TogglePreHistoryHidden | Raw.channels.GetLeftChannels | Raw.channels.GetGroupsForDiscussion | Raw.channels.SetDiscussionGroup | Raw.channels.EditLocation | Raw.channels.ToggleSlowMode | Raw.channels.GetInactiveChannels | Raw.channels.ConvertToGigagroup | Raw.channels.GetSendAs | Raw.channels.DeleteParticipantHistory | Raw.channels.ToggleJoinToSend | Raw.channels.ToggleJoinRequest | Raw.channels.ReorderUsernames | Raw.channels.ToggleUsername | Raw.channels.DeactivateAllUsernames | Raw.channels.ToggleForum | Raw.channels.ToggleAntiSpam | Raw.channels.ReportAntiSpamFalsePositive | Raw.channels.ToggleParticipantsHidden | Raw.channels.UpdateColor | Raw.channels.ToggleViewForumAsMessages | Raw.channels.GetChannelRecommendations | Raw.channels.UpdateEmojiStatus | Raw.channels.SetBoostsToUnblockRestrictions | Raw.channels.SetEmojiStickers | Raw.channels.RestrictSponsoredMessages | Raw.channels.SearchPosts | Raw.channels.UpdatePaidMessagesPrice | Raw.channels.ToggleAutotranslation | Raw.channels.GetMessageAuthor | Raw.channels.CheckSearchPostsFlood | Raw.channels.SetMainProfileTab | Raw.bots.SendCustomRequest | Raw.bots.AnswerWebhookJSONQuery | Raw.bots.SetBotCommands | Raw.bots.ResetBotCommands | Raw.bots.GetBotCommands | Raw.bots.SetBotMenuButton | Raw.bots.GetBotMenuButton | Raw.bots.SetBotBroadcastDefaultAdminRights | Raw.bots.SetBotGroupDefaultAdminRights | Raw.bots.SetBotInfo | Raw.bots.GetBotInfo | Raw.bots.ReorderUsernames | Raw.bots.ToggleUsername | Raw.bots.CanSendMessage | Raw.bots.AllowSendMessage | Raw.bots.InvokeWebViewCustomMethod | Raw.bots.GetPopularAppBots | Raw.bots.AddPreviewMedia | Raw.bots.EditPreviewMedia | Raw.bots.DeletePreviewMedia | Raw.bots.ReorderPreviewMedias | Raw.bots.GetPreviewInfo | Raw.bots.GetPreviewMedias | Raw.bots.UpdateUserEmojiStatus | Raw.bots.ToggleUserEmojiStatusPermission | Raw.bots.CheckDownloadFileParams | Raw.bots.GetAdminedBots | Raw.bots.UpdateStarRefProgram | Raw.bots.SetCustomVerification | Raw.bots.GetBotRecommendations | Raw.bots.CheckUsername | Raw.bots.CreateBot | Raw.bots.ExportBotToken | Raw.bots.RequestWebViewButton | Raw.bots.GetRequestedWebViewButton | Raw.payments.GetPaymentForm | Raw.payments.GetPaymentReceipt | Raw.payments.ValidateRequestedInfo | Raw.payments.SendPaymentForm | Raw.payments.GetSavedInfo | Raw.payments.ClearSavedInfo | Raw.payments.GetBankCardData | Raw.payments.ExportInvoice | Raw.payments.AssignAppStoreTransaction | Raw.payments.AssignPlayMarketTransaction | Raw.payments.GetPremiumGiftCodeOptions | Raw.payments.CheckGiftCode | Raw.payments.ApplyGiftCode | Raw.payments.GetGiveawayInfo | Raw.payments.LaunchPrepaidGiveaway | Raw.payments.GetStarsTopupOptions | Raw.payments.GetStarsStatus | Raw.payments.GetStarsTransactions | Raw.payments.SendStarsForm | Raw.payments.RefundStarsCharge | Raw.payments.GetStarsRevenueStats | Raw.payments.GetStarsRevenueWithdrawalUrl | Raw.payments.GetStarsRevenueAdsAccountUrl | Raw.payments.GetStarsTransactionsByID | Raw.payments.GetStarsGiftOptions | Raw.payments.GetStarsSubscriptions | Raw.payments.ChangeStarsSubscription | Raw.payments.FulfillStarsSubscription | Raw.payments.GetStarsGiveawayOptions | Raw.payments.GetStarGifts | Raw.payments.SaveStarGift | Raw.payments.ConvertStarGift | Raw.payments.BotCancelStarsSubscription | Raw.payments.GetConnectedStarRefBots | Raw.payments.GetConnectedStarRefBot | Raw.payments.GetSuggestedStarRefBots | Raw.payments.ConnectStarRefBot | Raw.payments.EditConnectedStarRefBot | Raw.payments.GetStarGiftUpgradePreview | Raw.payments.UpgradeStarGift | Raw.payments.TransferStarGift | Raw.payments.GetUniqueStarGift | Raw.payments.GetSavedStarGifts | Raw.payments.GetSavedStarGift | Raw.payments.GetStarGiftWithdrawalUrl | Raw.payments.ToggleChatStarGiftNotifications | Raw.payments.ToggleStarGiftsPinnedToTop | Raw.payments.CanPurchaseStore | Raw.payments.GetResaleStarGifts | Raw.payments.UpdateStarGiftPrice | Raw.payments.CreateStarGiftCollection | Raw.payments.UpdateStarGiftCollection | Raw.payments.ReorderStarGiftCollections | Raw.payments.DeleteStarGiftCollection | Raw.payments.GetStarGiftCollections | Raw.payments.GetUniqueStarGiftValueInfo | Raw.payments.CheckCanSendGift | Raw.payments.GetStarGiftAuctionState | Raw.payments.GetStarGiftAuctionAcquiredGifts | Raw.payments.GetStarGiftActiveAuctions | Raw.payments.ResolveStarGiftOffer | Raw.payments.SendStarGiftOffer | Raw.payments.GetStarGiftUpgradeAttributes | Raw.payments.GetCraftStarGifts | Raw.payments.CraftStarGift | Raw.stickers.CreateStickerSet | Raw.stickers.RemoveStickerFromSet | Raw.stickers.ChangeStickerPosition | Raw.stickers.AddStickerToSet | Raw.stickers.SetStickerSetThumb | Raw.stickers.CheckShortName | Raw.stickers.SuggestShortName | Raw.stickers.ChangeSticker | Raw.stickers.RenameStickerSet | Raw.stickers.DeleteStickerSet | Raw.stickers.ReplaceSticker | Raw.phone.GetCallConfig | Raw.phone.RequestCall | Raw.phone.AcceptCall | Raw.phone.ConfirmCall | Raw.phone.ReceivedCall | Raw.phone.DiscardCall | Raw.phone.SetCallRating | Raw.phone.SaveCallDebug | Raw.phone.SendSignalingData | Raw.phone.CreateGroupCall | Raw.phone.JoinGroupCall | Raw.phone.LeaveGroupCall | Raw.phone.InviteToGroupCall | Raw.phone.DiscardGroupCall | Raw.phone.ToggleGroupCallSettings | Raw.phone.GetGroupCall | Raw.phone.GetGroupParticipants | Raw.phone.CheckGroupCall | Raw.phone.ToggleGroupCallRecord | Raw.phone.EditGroupCallParticipant | Raw.phone.EditGroupCallTitle | Raw.phone.GetGroupCallJoinAs | Raw.phone.ExportGroupCallInvite | Raw.phone.ToggleGroupCallStartSubscription | Raw.phone.StartScheduledGroupCall | Raw.phone.SaveDefaultGroupCallJoinAs | Raw.phone.JoinGroupCallPresentation | Raw.phone.LeaveGroupCallPresentation | Raw.phone.GetGroupCallStreamChannels | Raw.phone.GetGroupCallStreamRtmpUrl | Raw.phone.SaveCallLog | Raw.phone.CreateConferenceCall | Raw.phone.DeleteConferenceCallParticipants | Raw.phone.SendConferenceCallBroadcast | Raw.phone.InviteConferenceCallParticipant | Raw.phone.DeclineConferenceCallInvite | Raw.phone.GetGroupCallChainBlocks | Raw.phone.SendGroupCallMessage | Raw.phone.SendGroupCallEncryptedMessage | Raw.phone.DeleteGroupCallMessages | Raw.phone.DeleteGroupCallParticipantMessages | Raw.phone.GetGroupCallStars | Raw.phone.SaveDefaultSendAs | Raw.langpack.GetLangPack | Raw.langpack.GetStrings | Raw.langpack.GetDifference | Raw.langpack.GetLanguages | Raw.langpack.GetLanguage | Raw.folders.EditPeerFolders | Raw.stats.GetBroadcastStats | Raw.stats.LoadAsyncGraph | Raw.stats.GetMegagroupStats | Raw.stats.GetMessagePublicForwards | Raw.stats.GetMessageStats | Raw.stats.GetStoryStats | Raw.stats.GetStoryPublicForwards | Raw.chatlists.ExportChatlistInvite | Raw.chatlists.DeleteExportedInvite | Raw.chatlists.EditExportedInvite | Raw.chatlists.GetExportedInvites | Raw.chatlists.CheckChatlistInvite | Raw.chatlists.JoinChatlistInvite | Raw.chatlists.GetChatlistUpdates | Raw.chatlists.JoinChatlistUpdates | Raw.chatlists.HideChatlistUpdates | Raw.chatlists.GetLeaveChatlistSuggestions | Raw.chatlists.LeaveChatlist | Raw.stories.CanSendStory | Raw.stories.SendStory | Raw.stories.EditStory | Raw.stories.DeleteStories | Raw.stories.TogglePinned | Raw.stories.GetAllStories | Raw.stories.GetPinnedStories | Raw.stories.GetStoriesArchive | Raw.stories.GetStoriesByID | Raw.stories.ToggleAllStoriesHidden | Raw.stories.ReadStories | Raw.stories.IncrementStoryViews | Raw.stories.GetStoryViewsList | Raw.stories.GetStoriesViews | Raw.stories.ExportStoryLink | Raw.stories.Report | Raw.stories.ActivateStealthMode | Raw.stories.SendReaction | Raw.stories.GetPeerStories | Raw.stories.GetAllReadPeerStories | Raw.stories.GetPeerMaxIDs | Raw.stories.GetChatsToSend | Raw.stories.TogglePeerStoriesHidden | Raw.stories.GetStoryReactionsList | Raw.stories.TogglePinnedToTop | Raw.stories.SearchPosts | Raw.stories.CreateAlbum | Raw.stories.UpdateAlbum | Raw.stories.ReorderAlbums | Raw.stories.DeleteAlbum | Raw.stories.GetAlbums | Raw.stories.GetAlbumStories | Raw.stories.StartLive | Raw.premium.GetBoostsList | Raw.premium.GetMyBoosts | Raw.premium.ApplyBoost | Raw.premium.GetBoostsStatus | Raw.premium.GetUserBoosts | Raw.smsjobs.IsEligibleToJoin | Raw.smsjobs.Join | Raw.smsjobs.Leave | Raw.smsjobs.UpdateSettings | Raw.smsjobs.GetStatus | Raw.smsjobs.GetSmsJob | Raw.smsjobs.FinishJob | Raw.fragment.GetCollectibleInfo;
|
|
19
19
|
type TypeFileLocation = Raw.FileLocationUnavailable23 | Raw.FileLocation23;
|
|
20
20
|
type TypeDecryptedMessage = Raw.DecryptedMessage8 | Raw.DecryptedMessageService8 | Raw.DecryptedMessage17 | Raw.DecryptedMessageService17 | Raw.DecryptedMessage45 | Raw.DecryptedMessage73;
|
|
21
21
|
type TypeDecryptedMessageAction = Raw.DecryptedMessageActionSetMessageTTL8 | Raw.DecryptedMessageActionReadMessages8 | Raw.DecryptedMessageActionDeleteMessages8 | Raw.DecryptedMessageActionScreenshotMessages8 | Raw.DecryptedMessageActionFlushHistory8 | Raw.DecryptedMessageActionResend17 | Raw.DecryptedMessageActionNotifyLayer17 | Raw.DecryptedMessageActionTyping17 | Raw.DecryptedMessageActionRequestKey20 | Raw.DecryptedMessageActionAcceptKey20 | Raw.DecryptedMessageActionAbortKey20 | Raw.DecryptedMessageActionCommitKey20 | Raw.DecryptedMessageActionNoop20;
|
|
@@ -46,6 +46,7 @@ export declare namespace Raw {
|
|
|
46
46
|
type TypeInputWebFileLocation = Raw.InputWebFileLocation | Raw.InputWebFileGeoPointLocation | Raw.InputWebFileAudioAlbumThumbLocation;
|
|
47
47
|
type TypeInputFileLocation = Raw.InputFileLocation | Raw.InputEncryptedFileLocation | Raw.InputDocumentFileLocation | Raw.InputSecureFileLocation | Raw.InputTakeoutFileLocation | Raw.InputPhotoFileLocation | Raw.InputPhotoLegacyFileLocation | Raw.InputPeerPhotoFileLocation | Raw.InputStickerSetThumb | Raw.InputGroupCallStream;
|
|
48
48
|
type TypeChannelMessagesFilter = Raw.ChannelMessagesFilterEmpty | Raw.ChannelMessagesFilter;
|
|
49
|
+
type TypeInputMessageReadMetric = Raw.InputMessageReadMetric;
|
|
49
50
|
type TypeOutboxReadDate = Raw.OutboxReadDate;
|
|
50
51
|
type TypeInputBotApp = Raw.InputBotAppID | Raw.InputBotAppShortName;
|
|
51
52
|
type TypeDefaultHistoryTTL = Raw.DefaultHistoryTTL;
|
|
@@ -192,11 +193,10 @@ export declare namespace Raw {
|
|
|
192
193
|
type TypeInputWallPaper = Raw.InputWallPaper | Raw.InputWallPaperSlug | Raw.InputWallPaperNoFile;
|
|
193
194
|
type TypeBaseTheme = Raw.BaseThemeClassic | Raw.BaseThemeDay | Raw.BaseThemeNight | Raw.BaseThemeTinted | Raw.BaseThemeArctic;
|
|
194
195
|
type TypeThemeSettings = Raw.ThemeSettings;
|
|
195
|
-
type TypeMessagesFilter = Raw.InputMessagesFilterEmpty | Raw.InputMessagesFilterPhotos | Raw.InputMessagesFilterVideo | Raw.InputMessagesFilterPhotoVideo | Raw.InputMessagesFilterDocument | Raw.InputMessagesFilterUrl | Raw.InputMessagesFilterGif | Raw.InputMessagesFilterVoice | Raw.InputMessagesFilterMusic | Raw.InputMessagesFilterChatPhotos | Raw.InputMessagesFilterPhoneCalls | Raw.InputMessagesFilterRoundVoice | Raw.InputMessagesFilterRoundVideo | Raw.InputMessagesFilterMyMentions | Raw.InputMessagesFilterGeo | Raw.InputMessagesFilterContacts | Raw.InputMessagesFilterPinned;
|
|
196
|
+
type TypeMessagesFilter = Raw.InputMessagesFilterEmpty | Raw.InputMessagesFilterPhotos | Raw.InputMessagesFilterVideo | Raw.InputMessagesFilterPhotoVideo | Raw.InputMessagesFilterDocument | Raw.InputMessagesFilterUrl | Raw.InputMessagesFilterGif | Raw.InputMessagesFilterVoice | Raw.InputMessagesFilterMusic | Raw.InputMessagesFilterChatPhotos | Raw.InputMessagesFilterPhoneCalls | Raw.InputMessagesFilterRoundVoice | Raw.InputMessagesFilterRoundVideo | Raw.InputMessagesFilterMyMentions | Raw.InputMessagesFilterGeo | Raw.InputMessagesFilterContacts | Raw.InputMessagesFilterPinned | Raw.InputMessagesFilterPoll;
|
|
196
197
|
type TypeEmojiKeyword = Raw.EmojiKeyword | Raw.EmojiKeywordDeleted;
|
|
197
198
|
type TypeAutoDownloadSettings = Raw.AutoDownloadSettings;
|
|
198
199
|
type TypePollAnswerVoters = Raw.PollAnswerVoters;
|
|
199
|
-
type TypePollAnswer = Raw.PollAnswer;
|
|
200
200
|
type TypePageTableCell = Raw.PageTableCell;
|
|
201
201
|
type TypeJSONObjectValue = Raw.JsonObjectValue;
|
|
202
202
|
type TypeJSONValue = Raw.JsonNull | Raw.JsonBool | Raw.JsonNumber | Raw.JsonString | Raw.JsonArray | Raw.JsonObject;
|
|
@@ -241,7 +241,7 @@ export declare namespace Raw {
|
|
|
241
241
|
type TypeMessageRange = Raw.MessageRange;
|
|
242
242
|
type TypeKeyboardButtonRow = Raw.KeyboardButtonRow;
|
|
243
243
|
type TypeKeyboardButton = Raw.KeyboardButton | Raw.KeyboardButtonUrl | Raw.KeyboardButtonCallback | Raw.KeyboardButtonRequestPhone | Raw.KeyboardButtonRequestGeoLocation | Raw.KeyboardButtonSwitchInline | Raw.KeyboardButtonGame | Raw.KeyboardButtonBuy | Raw.KeyboardButtonUrlAuth | Raw.InputKeyboardButtonUrlAuth | Raw.KeyboardButtonRequestPoll | Raw.InputKeyboardButtonUserProfile | Raw.KeyboardButtonUserProfile | Raw.KeyboardButtonWebView | Raw.KeyboardButtonSimpleWebView | Raw.KeyboardButtonRequestPeer | Raw.InputKeyboardButtonRequestPeer | Raw.KeyboardButtonCopy;
|
|
244
|
-
type TypeRequestPeerType = Raw.RequestPeerTypeUser | Raw.RequestPeerTypeChat | Raw.RequestPeerTypeBroadcast;
|
|
244
|
+
type TypeRequestPeerType = Raw.RequestPeerTypeUser | Raw.RequestPeerTypeChat | Raw.RequestPeerTypeBroadcast | Raw.RequestPeerTypeCreateBot;
|
|
245
245
|
type TypeKeyboardButtonStyle = Raw.KeyboardButtonStyle;
|
|
246
246
|
type TypeBotVerifierSettings = Raw.BotVerifierSettings;
|
|
247
247
|
type TypeBotAppSettings = Raw.BotAppSettings;
|
|
@@ -258,7 +258,7 @@ export declare namespace Raw {
|
|
|
258
258
|
type TypeInputUser = Raw.InputUserEmpty | Raw.InputUserSelf | Raw.InputUser | Raw.InputUserFromMessage;
|
|
259
259
|
type TypeEncryptedFile = Raw.EncryptedFileEmpty | Raw.EncryptedFile;
|
|
260
260
|
type TypeFileHash = Raw.FileHash;
|
|
261
|
-
type TypeUpdate = Raw.UpdateNewMessage | Raw.UpdateMessageID | Raw.UpdateDeleteMessages | Raw.UpdateUserTyping | Raw.UpdateChatUserTyping | Raw.UpdateChatParticipants | Raw.UpdateUserStatus | Raw.UpdateUserName | Raw.UpdateNewAuthorization | Raw.UpdateNewEncryptedMessage | Raw.UpdateEncryptedChatTyping | Raw.UpdateEncryption | Raw.UpdateEncryptedMessagesRead | Raw.UpdateChatParticipantAdd | Raw.UpdateChatParticipantDelete | Raw.UpdateDcOptions | Raw.UpdateNotifySettings | Raw.UpdateServiceNotification | Raw.UpdatePrivacy | Raw.UpdateUserPhone | Raw.UpdateReadHistoryInbox | Raw.UpdateReadHistoryOutbox | Raw.UpdateWebPage | Raw.UpdateReadMessagesContents | Raw.UpdateChannelTooLong | Raw.UpdateChannel | Raw.UpdateNewChannelMessage | Raw.UpdateReadChannelInbox | Raw.UpdateDeleteChannelMessages | Raw.UpdateChannelMessageViews | Raw.UpdateChatParticipantAdmin | Raw.UpdateNewStickerSet | Raw.UpdateStickerSetsOrder | Raw.UpdateStickerSets | Raw.UpdateSavedGifs | Raw.UpdateBotInlineQuery | Raw.UpdateBotInlineSend | Raw.UpdateEditChannelMessage | Raw.UpdateBotCallbackQuery | Raw.UpdateEditMessage | Raw.UpdateInlineBotCallbackQuery | Raw.UpdateReadChannelOutbox | Raw.UpdateDraftMessage | Raw.UpdateReadFeaturedStickers | Raw.UpdateRecentStickers | Raw.UpdateConfig | Raw.UpdatePtsChanged | Raw.UpdateChannelWebPage | Raw.UpdateDialogPinned | Raw.UpdatePinnedDialogs | Raw.UpdateBotWebhookJSON | Raw.UpdateBotWebhookJSONQuery | Raw.UpdateBotShippingQuery | Raw.UpdateBotPrecheckoutQuery | Raw.UpdatePhoneCall | Raw.UpdateLangPackTooLong | Raw.UpdateLangPack | Raw.UpdateFavedStickers | Raw.UpdateChannelReadMessagesContents | Raw.UpdateContactsReset | Raw.UpdateChannelAvailableMessages | Raw.UpdateDialogUnreadMark | Raw.UpdateMessagePoll | Raw.UpdateChatDefaultBannedRights | Raw.UpdateFolderPeers | Raw.UpdatePeerSettings | Raw.UpdatePeerLocated | Raw.UpdateNewScheduledMessage | Raw.UpdateDeleteScheduledMessages | Raw.UpdateTheme | Raw.UpdateGeoLiveViewed | Raw.UpdateLoginToken | Raw.UpdateMessagePollVote | Raw.UpdateDialogFilter | Raw.UpdateDialogFilterOrder | Raw.UpdateDialogFilters | Raw.UpdatePhoneCallSignalingData | Raw.UpdateChannelMessageForwards | Raw.UpdateReadChannelDiscussionInbox | Raw.UpdateReadChannelDiscussionOutbox | Raw.UpdatePeerBlocked | Raw.UpdateChannelUserTyping | Raw.UpdatePinnedMessages | Raw.UpdatePinnedChannelMessages | Raw.UpdateChat | Raw.UpdateGroupCallParticipants | Raw.UpdateGroupCall | Raw.UpdatePeerHistoryTTL | Raw.UpdateChatParticipant | Raw.UpdateChannelParticipant | Raw.UpdateBotStopped | Raw.UpdateGroupCallConnection | Raw.UpdateBotCommands | Raw.UpdatePendingJoinRequests | Raw.UpdateBotChatInviteRequester | Raw.UpdateMessageReactions | Raw.UpdateAttachMenuBots | Raw.UpdateWebViewResultSent | Raw.UpdateBotMenuButton | Raw.UpdateSavedRingtones | Raw.UpdateTranscribedAudio | Raw.UpdateReadFeaturedEmojiStickers | Raw.UpdateUserEmojiStatus | Raw.UpdateRecentEmojiStatuses | Raw.UpdateRecentReactions | Raw.UpdateMoveStickerSetToTop | Raw.UpdateMessageExtendedMedia | Raw.UpdateUser | Raw.UpdateAutoSaveSettings | Raw.UpdateStory | Raw.UpdateReadStories | Raw.UpdateStoryID | Raw.UpdateStoriesStealthMode | Raw.UpdateSentStoryReaction | Raw.UpdateBotChatBoost | Raw.UpdateChannelViewForumAsMessages | Raw.UpdatePeerWallpaper | Raw.UpdateBotMessageReaction | Raw.UpdateBotMessageReactions | Raw.UpdateSavedDialogPinned | Raw.UpdatePinnedSavedDialogs | Raw.UpdateSavedReactionTags | Raw.UpdateSmsJob | Raw.UpdateQuickReplies | Raw.UpdateNewQuickReply | Raw.UpdateDeleteQuickReply | Raw.UpdateQuickReplyMessage | Raw.UpdateDeleteQuickReplyMessages | Raw.UpdateBotBusinessConnect | Raw.UpdateBotNewBusinessMessage | Raw.UpdateBotEditBusinessMessage | Raw.UpdateBotDeleteBusinessMessage | Raw.UpdateNewStoryReaction | Raw.UpdateStarsBalance | Raw.UpdateBusinessBotCallbackQuery | Raw.UpdateStarsRevenueStatus | Raw.UpdateBotPurchasedPaidMedia | Raw.UpdatePaidReactionPrivacy | Raw.UpdateSentPhoneCode | Raw.UpdateGroupCallChainBlocks | Raw.UpdateReadMonoForumInbox | Raw.UpdateReadMonoForumOutbox | Raw.UpdateMonoForumNoPaidException | Raw.UpdateGroupCallMessage | Raw.UpdateGroupCallEncryptedMessage | Raw.UpdatePinnedForumTopic | Raw.UpdatePinnedForumTopics | Raw.UpdateDeleteGroupCallMessages | Raw.UpdateStarGiftAuctionState | Raw.UpdateStarGiftAuctionUserState | Raw.UpdateEmojiGameInfo | Raw.UpdateStarGiftCraftFail | Raw.UpdateChatParticipantRank | UpdateSecretChatMessage;
|
|
261
|
+
type TypeUpdate = Raw.UpdateNewMessage | Raw.UpdateMessageID | Raw.UpdateDeleteMessages | Raw.UpdateUserTyping | Raw.UpdateChatUserTyping | Raw.UpdateChatParticipants | Raw.UpdateUserStatus | Raw.UpdateUserName | Raw.UpdateNewAuthorization | Raw.UpdateNewEncryptedMessage | Raw.UpdateEncryptedChatTyping | Raw.UpdateEncryption | Raw.UpdateEncryptedMessagesRead | Raw.UpdateChatParticipantAdd | Raw.UpdateChatParticipantDelete | Raw.UpdateDcOptions | Raw.UpdateNotifySettings | Raw.UpdateServiceNotification | Raw.UpdatePrivacy | Raw.UpdateUserPhone | Raw.UpdateReadHistoryInbox | Raw.UpdateReadHistoryOutbox | Raw.UpdateWebPage | Raw.UpdateReadMessagesContents | Raw.UpdateChannelTooLong | Raw.UpdateChannel | Raw.UpdateNewChannelMessage | Raw.UpdateReadChannelInbox | Raw.UpdateDeleteChannelMessages | Raw.UpdateChannelMessageViews | Raw.UpdateChatParticipantAdmin | Raw.UpdateNewStickerSet | Raw.UpdateStickerSetsOrder | Raw.UpdateStickerSets | Raw.UpdateSavedGifs | Raw.UpdateBotInlineQuery | Raw.UpdateBotInlineSend | Raw.UpdateEditChannelMessage | Raw.UpdateBotCallbackQuery | Raw.UpdateEditMessage | Raw.UpdateInlineBotCallbackQuery | Raw.UpdateReadChannelOutbox | Raw.UpdateDraftMessage | Raw.UpdateReadFeaturedStickers | Raw.UpdateRecentStickers | Raw.UpdateConfig | Raw.UpdatePtsChanged | Raw.UpdateChannelWebPage | Raw.UpdateDialogPinned | Raw.UpdatePinnedDialogs | Raw.UpdateBotWebhookJSON | Raw.UpdateBotWebhookJSONQuery | Raw.UpdateBotShippingQuery | Raw.UpdateBotPrecheckoutQuery | Raw.UpdatePhoneCall | Raw.UpdateLangPackTooLong | Raw.UpdateLangPack | Raw.UpdateFavedStickers | Raw.UpdateChannelReadMessagesContents | Raw.UpdateContactsReset | Raw.UpdateChannelAvailableMessages | Raw.UpdateDialogUnreadMark | Raw.UpdateMessagePoll | Raw.UpdateChatDefaultBannedRights | Raw.UpdateFolderPeers | Raw.UpdatePeerSettings | Raw.UpdatePeerLocated | Raw.UpdateNewScheduledMessage | Raw.UpdateDeleteScheduledMessages | Raw.UpdateTheme | Raw.UpdateGeoLiveViewed | Raw.UpdateLoginToken | Raw.UpdateMessagePollVote | Raw.UpdateDialogFilter | Raw.UpdateDialogFilterOrder | Raw.UpdateDialogFilters | Raw.UpdatePhoneCallSignalingData | Raw.UpdateChannelMessageForwards | Raw.UpdateReadChannelDiscussionInbox | Raw.UpdateReadChannelDiscussionOutbox | Raw.UpdatePeerBlocked | Raw.UpdateChannelUserTyping | Raw.UpdatePinnedMessages | Raw.UpdatePinnedChannelMessages | Raw.UpdateChat | Raw.UpdateGroupCallParticipants | Raw.UpdateGroupCall | Raw.UpdatePeerHistoryTTL | Raw.UpdateChatParticipant | Raw.UpdateChannelParticipant | Raw.UpdateBotStopped | Raw.UpdateGroupCallConnection | Raw.UpdateBotCommands | Raw.UpdatePendingJoinRequests | Raw.UpdateBotChatInviteRequester | Raw.UpdateMessageReactions | Raw.UpdateAttachMenuBots | Raw.UpdateWebViewResultSent | Raw.UpdateBotMenuButton | Raw.UpdateSavedRingtones | Raw.UpdateTranscribedAudio | Raw.UpdateReadFeaturedEmojiStickers | Raw.UpdateUserEmojiStatus | Raw.UpdateRecentEmojiStatuses | Raw.UpdateRecentReactions | Raw.UpdateMoveStickerSetToTop | Raw.UpdateMessageExtendedMedia | Raw.UpdateUser | Raw.UpdateAutoSaveSettings | Raw.UpdateStory | Raw.UpdateReadStories | Raw.UpdateStoryID | Raw.UpdateStoriesStealthMode | Raw.UpdateSentStoryReaction | Raw.UpdateBotChatBoost | Raw.UpdateChannelViewForumAsMessages | Raw.UpdatePeerWallpaper | Raw.UpdateBotMessageReaction | Raw.UpdateBotMessageReactions | Raw.UpdateSavedDialogPinned | Raw.UpdatePinnedSavedDialogs | Raw.UpdateSavedReactionTags | Raw.UpdateSmsJob | Raw.UpdateQuickReplies | Raw.UpdateNewQuickReply | Raw.UpdateDeleteQuickReply | Raw.UpdateQuickReplyMessage | Raw.UpdateDeleteQuickReplyMessages | Raw.UpdateBotBusinessConnect | Raw.UpdateBotNewBusinessMessage | Raw.UpdateBotEditBusinessMessage | Raw.UpdateBotDeleteBusinessMessage | Raw.UpdateNewStoryReaction | Raw.UpdateStarsBalance | Raw.UpdateBusinessBotCallbackQuery | Raw.UpdateStarsRevenueStatus | Raw.UpdateBotPurchasedPaidMedia | Raw.UpdatePaidReactionPrivacy | Raw.UpdateSentPhoneCode | Raw.UpdateGroupCallChainBlocks | Raw.UpdateReadMonoForumInbox | Raw.UpdateReadMonoForumOutbox | Raw.UpdateMonoForumNoPaidException | Raw.UpdateGroupCallMessage | Raw.UpdateGroupCallEncryptedMessage | Raw.UpdatePinnedForumTopic | Raw.UpdatePinnedForumTopics | Raw.UpdateDeleteGroupCallMessages | Raw.UpdateStarGiftAuctionState | Raw.UpdateStarGiftAuctionUserState | Raw.UpdateEmojiGameInfo | Raw.UpdateStarGiftCraftFail | Raw.UpdateChatParticipantRank | Raw.UpdateManagedBot | UpdateSecretChatMessage;
|
|
262
262
|
type TypeStarGiftAuctionUserState = Raw.StarGiftAuctionUserState;
|
|
263
263
|
type TypeStarGiftAuctionState = Raw.StarGiftAuctionStateNotModified | Raw.StarGiftAuctionState | Raw.StarGiftAuctionStateFinished;
|
|
264
264
|
type TypeGroupCallMessage = Raw.GroupCallMessage;
|
|
@@ -317,6 +317,7 @@ export declare namespace Raw {
|
|
|
317
317
|
type TypePhotoSize = Raw.PhotoSizeEmpty | Raw.PhotoSize | Raw.PhotoCachedSize | Raw.PhotoStrippedSize | Raw.PhotoSizeProgressive | Raw.PhotoPathSize | Raw.PhotoSize23 | Raw.PhotoCachedSize23;
|
|
318
318
|
type TypeFolder = Raw.Folder;
|
|
319
319
|
type TypeDraftMessage = Raw.DraftMessageEmpty | Raw.DraftMessage;
|
|
320
|
+
type TypePollAnswer = Raw.PollAnswer | Raw.InputPollAnswer;
|
|
320
321
|
type TypeBirthday = Raw.Birthday;
|
|
321
322
|
type TypeTodoItem = Raw.TodoItem;
|
|
322
323
|
type TypeStarsAmount = Raw.StarsAmount | Raw.StarsTonAmount;
|
|
@@ -337,9 +338,9 @@ export declare namespace Raw {
|
|
|
337
338
|
type TypeWebDocument = Raw.WebDocument | Raw.WebDocumentNoProxy;
|
|
338
339
|
type TypeGame = Raw.Game;
|
|
339
340
|
type TypeWebPage = Raw.WebPageEmpty | Raw.WebPagePending | Raw.WebPage | Raw.WebPageNotModified;
|
|
340
|
-
type TypeDocument = Raw.DocumentEmpty | Raw.Document;
|
|
341
341
|
type TypeGeoPoint = Raw.GeoPointEmpty | Raw.GeoPoint;
|
|
342
|
-
type
|
|
342
|
+
type TypeDocument = Raw.DocumentEmpty | Raw.Document;
|
|
343
|
+
type TypeMessageAction = Raw.MessageActionEmpty | Raw.MessageActionChatCreate | Raw.MessageActionChatEditTitle | Raw.MessageActionChatEditPhoto | Raw.MessageActionChatDeletePhoto | Raw.MessageActionChatAddUser | Raw.MessageActionChatDeleteUser | Raw.MessageActionChatJoinedByLink | Raw.MessageActionChannelCreate | Raw.MessageActionChatMigrateTo | Raw.MessageActionChannelMigrateFrom | Raw.MessageActionPinMessage | Raw.MessageActionHistoryClear | Raw.MessageActionGameScore | Raw.MessageActionPaymentSentMe | Raw.MessageActionPaymentSent | Raw.MessageActionPhoneCall | Raw.MessageActionScreenshotTaken | Raw.MessageActionCustomAction | Raw.MessageActionBotAllowed | Raw.MessageActionSecureValuesSentMe | Raw.MessageActionSecureValuesSent | Raw.MessageActionContactSignUp | Raw.MessageActionGeoProximityReached | Raw.MessageActionGroupCall | Raw.MessageActionInviteToGroupCall | Raw.MessageActionSetMessagesTTL | Raw.MessageActionGroupCallScheduled | Raw.MessageActionSetChatTheme | Raw.MessageActionChatJoinedByRequest | Raw.MessageActionWebViewDataSentMe | Raw.MessageActionWebViewDataSent | Raw.MessageActionGiftPremium | Raw.MessageActionTopicCreate | Raw.MessageActionTopicEdit | Raw.MessageActionSuggestProfilePhoto | Raw.MessageActionRequestedPeer | Raw.MessageActionSetChatWallPaper | Raw.MessageActionGiftCode | Raw.MessageActionGiveawayLaunch | Raw.MessageActionGiveawayResults | Raw.MessageActionBoostApply | Raw.MessageActionRequestedPeerSentMe | Raw.MessageActionPaymentRefunded | Raw.MessageActionGiftStars | Raw.MessageActionPrizeStars | Raw.MessageActionStarGift | Raw.MessageActionStarGiftUnique | Raw.MessageActionPaidMessagesRefunded | Raw.MessageActionPaidMessagesPrice | Raw.MessageActionConferenceCall | Raw.MessageActionTodoCompletions | Raw.MessageActionTodoAppendTasks | Raw.MessageActionSuggestedPostApproval | Raw.MessageActionSuggestedPostSuccess | Raw.MessageActionSuggestedPostRefund | Raw.MessageActionGiftTon | Raw.MessageActionSuggestBirthday | Raw.MessageActionStarGiftPurchaseOffer | Raw.MessageActionStarGiftPurchaseOfferDeclined | Raw.MessageActionNewCreatorPending | Raw.MessageActionChangeCreator | Raw.MessageActionNoForwardsToggle | Raw.MessageActionNoForwardsRequest | Raw.MessageActionPollAppendAnswer | Raw.MessageActionPollDeleteAnswer | Raw.MessageActionManagedBotCreated;
|
|
343
344
|
type TypeSuggestedPost = Raw.SuggestedPost;
|
|
344
345
|
type TypeFactCheck = Raw.FactCheck;
|
|
345
346
|
type TypeMessageReactions = Raw.MessageReactions;
|
|
@@ -377,7 +378,7 @@ export declare namespace Raw {
|
|
|
377
378
|
type TypeInputStickerSet = Raw.InputStickerSetEmpty | Raw.InputStickerSetID | Raw.InputStickerSetShortName | Raw.InputStickerSetAnimatedEmoji | Raw.InputStickerSetDice | Raw.InputStickerSetAnimatedEmojiAnimations | Raw.InputStickerSetPremiumGifts | Raw.InputStickerSetEmojiGenericAnimations | Raw.InputStickerSetEmojiDefaultStatuses | Raw.InputStickerSetEmojiDefaultTopicIcons | Raw.InputStickerSetEmojiChannelDefaultStatuses | Raw.InputStickerSetTonGifts;
|
|
378
379
|
type TypeVideoSize = Raw.VideoSize | Raw.VideoSizeEmojiMarkup | Raw.VideoSizeStickerMarkup;
|
|
379
380
|
type TypeTodoList = Raw.TodoList;
|
|
380
|
-
type TypeMessageEntity = Raw.MessageEntityUnknown | Raw.MessageEntityMention | Raw.MessageEntityHashtag | Raw.MessageEntityBotCommand | Raw.MessageEntityUrl | Raw.MessageEntityEmail | Raw.MessageEntityBold | Raw.MessageEntityItalic | Raw.MessageEntityCode | Raw.MessageEntityPre | Raw.MessageEntityTextUrl | Raw.MessageEntityMentionName | Raw.InputMessageEntityMentionName | Raw.MessageEntityPhone | Raw.MessageEntityCashtag | Raw.MessageEntityUnderline | Raw.MessageEntityStrike | Raw.MessageEntityBankCard | Raw.MessageEntitySpoiler | Raw.MessageEntityCustomEmoji | Raw.MessageEntityBlockquote | Raw.MessageEntityFormattedDate | Raw.MessageEntityBlockquote101;
|
|
381
|
+
type TypeMessageEntity = Raw.MessageEntityUnknown | Raw.MessageEntityMention | Raw.MessageEntityHashtag | Raw.MessageEntityBotCommand | Raw.MessageEntityUrl | Raw.MessageEntityEmail | Raw.MessageEntityBold | Raw.MessageEntityItalic | Raw.MessageEntityCode | Raw.MessageEntityPre | Raw.MessageEntityTextUrl | Raw.MessageEntityMentionName | Raw.InputMessageEntityMentionName | Raw.MessageEntityPhone | Raw.MessageEntityCashtag | Raw.MessageEntityUnderline | Raw.MessageEntityStrike | Raw.MessageEntityBankCard | Raw.MessageEntitySpoiler | Raw.MessageEntityCustomEmoji | Raw.MessageEntityBlockquote | Raw.MessageEntityFormattedDate | Raw.MessageEntityDiffInsert | Raw.MessageEntityDiffReplace | Raw.MessageEntityDiffDelete | Raw.MessageEntityBlockquote101;
|
|
381
382
|
type TypePoll = Raw.Poll;
|
|
382
383
|
type TypeInputMedia = Raw.InputMediaEmpty | Raw.InputMediaUploadedPhoto | Raw.InputMediaPhoto | Raw.InputMediaGeoPoint | Raw.InputMediaContact | Raw.InputMediaUploadedDocument | Raw.InputMediaDocument | Raw.InputMediaVenue | Raw.InputMediaPhotoExternal | Raw.InputMediaDocumentExternal | Raw.InputMediaGame | Raw.InputMediaInvoice | Raw.InputMediaGeoLive | Raw.InputMediaPoll | Raw.InputMediaDice | Raw.InputMediaStory | Raw.InputMediaWebPage | Raw.InputMediaPaidMedia | Raw.InputMediaTodo | Raw.InputMediaStakeDice;
|
|
383
384
|
type TypeDataJSON = Raw.DataJSON;
|
|
@@ -1119,26 +1120,34 @@ export declare namespace Raw {
|
|
|
1119
1120
|
}
|
|
1120
1121
|
class InputMediaUploadedPhoto extends TLObject {
|
|
1121
1122
|
spoiler?: boolean;
|
|
1123
|
+
livePhoto?: boolean;
|
|
1122
1124
|
file: Raw.TypeInputFile;
|
|
1123
1125
|
stickers?: Vector<Raw.TypeInputDocument>;
|
|
1124
1126
|
ttlSeconds?: int;
|
|
1127
|
+
video?: Raw.TypeInputDocument;
|
|
1125
1128
|
constructor(params: {
|
|
1126
1129
|
spoiler?: boolean;
|
|
1130
|
+
livePhoto?: boolean;
|
|
1127
1131
|
file: Raw.TypeInputFile;
|
|
1128
1132
|
stickers?: Vector<Raw.TypeInputDocument>;
|
|
1129
1133
|
ttlSeconds?: int;
|
|
1134
|
+
video?: Raw.TypeInputDocument;
|
|
1130
1135
|
});
|
|
1131
1136
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.InputMediaUploadedPhoto>;
|
|
1132
1137
|
write(): Buffer;
|
|
1133
1138
|
}
|
|
1134
1139
|
class InputMediaPhoto extends TLObject {
|
|
1135
1140
|
spoiler?: boolean;
|
|
1141
|
+
livePhoto?: boolean;
|
|
1136
1142
|
id: Raw.TypeInputPhoto;
|
|
1137
1143
|
ttlSeconds?: int;
|
|
1144
|
+
video?: Raw.TypeInputDocument;
|
|
1138
1145
|
constructor(params: {
|
|
1139
1146
|
spoiler?: boolean;
|
|
1147
|
+
livePhoto?: boolean;
|
|
1140
1148
|
id: Raw.TypeInputPhoto;
|
|
1141
1149
|
ttlSeconds?: int;
|
|
1150
|
+
video?: Raw.TypeInputDocument;
|
|
1142
1151
|
});
|
|
1143
1152
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.InputMediaPhoto>;
|
|
1144
1153
|
write(): Buffer;
|
|
@@ -1307,14 +1316,18 @@ export declare namespace Raw {
|
|
|
1307
1316
|
}
|
|
1308
1317
|
class InputMediaPoll extends TLObject {
|
|
1309
1318
|
poll: Raw.TypePoll;
|
|
1310
|
-
correctAnswers?: Vector<
|
|
1319
|
+
correctAnswers?: Vector<int>;
|
|
1320
|
+
attachedMedia?: Raw.TypeInputMedia;
|
|
1311
1321
|
solution?: string;
|
|
1312
1322
|
solutionEntities?: Vector<Raw.TypeMessageEntity>;
|
|
1323
|
+
solutionMedia?: Raw.TypeInputMedia;
|
|
1313
1324
|
constructor(params: {
|
|
1314
1325
|
poll: Raw.TypePoll;
|
|
1315
|
-
correctAnswers?: Vector<
|
|
1326
|
+
correctAnswers?: Vector<int>;
|
|
1327
|
+
attachedMedia?: Raw.TypeInputMedia;
|
|
1316
1328
|
solution?: string;
|
|
1317
1329
|
solutionEntities?: Vector<Raw.TypeMessageEntity>;
|
|
1330
|
+
solutionMedia?: Raw.TypeInputMedia;
|
|
1318
1331
|
});
|
|
1319
1332
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.InputMediaPoll>;
|
|
1320
1333
|
write(): Buffer;
|
|
@@ -1627,6 +1640,7 @@ export declare namespace Raw {
|
|
|
1627
1640
|
botHasMainApp?: boolean;
|
|
1628
1641
|
botForumView?: boolean;
|
|
1629
1642
|
botForumCanManageTopics?: boolean;
|
|
1643
|
+
botCanManageBots?: boolean;
|
|
1630
1644
|
id: long;
|
|
1631
1645
|
accessHash?: long;
|
|
1632
1646
|
firstName?: string;
|
|
@@ -1675,6 +1689,7 @@ export declare namespace Raw {
|
|
|
1675
1689
|
botHasMainApp?: boolean;
|
|
1676
1690
|
botForumView?: boolean;
|
|
1677
1691
|
botForumCanManageTopics?: boolean;
|
|
1692
|
+
botCanManageBots?: boolean;
|
|
1678
1693
|
id: long;
|
|
1679
1694
|
accessHash?: long;
|
|
1680
1695
|
firstName?: string;
|
|
@@ -2361,12 +2376,16 @@ export declare namespace Raw {
|
|
|
2361
2376
|
}
|
|
2362
2377
|
class MessageMediaPhoto extends TLObject {
|
|
2363
2378
|
spoiler?: boolean;
|
|
2379
|
+
livePhoto?: boolean;
|
|
2364
2380
|
photo?: Raw.TypePhoto;
|
|
2365
2381
|
ttlSeconds?: int;
|
|
2382
|
+
video?: Raw.TypeDocument;
|
|
2366
2383
|
constructor(params: {
|
|
2367
2384
|
spoiler?: boolean;
|
|
2385
|
+
livePhoto?: boolean;
|
|
2368
2386
|
photo?: Raw.TypePhoto;
|
|
2369
2387
|
ttlSeconds?: int;
|
|
2388
|
+
video?: Raw.TypeDocument;
|
|
2370
2389
|
});
|
|
2371
2390
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.MessageMediaPhoto>;
|
|
2372
2391
|
write(): Buffer;
|
|
@@ -2511,9 +2530,11 @@ export declare namespace Raw {
|
|
|
2511
2530
|
class MessageMediaPoll extends TLObject {
|
|
2512
2531
|
poll: Raw.TypePoll;
|
|
2513
2532
|
results: Raw.TypePollResults;
|
|
2533
|
+
attachedMedia?: Raw.TypeMessageMedia;
|
|
2514
2534
|
constructor(params: {
|
|
2515
2535
|
poll: Raw.TypePoll;
|
|
2516
2536
|
results: Raw.TypePollResults;
|
|
2537
|
+
attachedMedia?: Raw.TypeMessageMedia;
|
|
2517
2538
|
});
|
|
2518
2539
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.MessageMediaPoll>;
|
|
2519
2540
|
write(): Buffer;
|
|
@@ -3383,6 +3404,30 @@ export declare namespace Raw {
|
|
|
3383
3404
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.MessageActionNoForwardsRequest>;
|
|
3384
3405
|
write(): Buffer;
|
|
3385
3406
|
}
|
|
3407
|
+
class MessageActionPollAppendAnswer extends TLObject {
|
|
3408
|
+
answer: Raw.TypePollAnswer;
|
|
3409
|
+
constructor(params: {
|
|
3410
|
+
answer: Raw.TypePollAnswer;
|
|
3411
|
+
});
|
|
3412
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.MessageActionPollAppendAnswer>;
|
|
3413
|
+
write(): Buffer;
|
|
3414
|
+
}
|
|
3415
|
+
class MessageActionPollDeleteAnswer extends TLObject {
|
|
3416
|
+
answer: Raw.TypePollAnswer;
|
|
3417
|
+
constructor(params: {
|
|
3418
|
+
answer: Raw.TypePollAnswer;
|
|
3419
|
+
});
|
|
3420
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.MessageActionPollDeleteAnswer>;
|
|
3421
|
+
write(): Buffer;
|
|
3422
|
+
}
|
|
3423
|
+
class MessageActionManagedBotCreated extends TLObject {
|
|
3424
|
+
botId: long;
|
|
3425
|
+
constructor(params: {
|
|
3426
|
+
botId: long;
|
|
3427
|
+
});
|
|
3428
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.MessageActionManagedBotCreated>;
|
|
3429
|
+
write(): Buffer;
|
|
3430
|
+
}
|
|
3386
3431
|
class Dialog extends TLObject {
|
|
3387
3432
|
pinned?: boolean;
|
|
3388
3433
|
unreadMark?: boolean;
|
|
@@ -3394,6 +3439,7 @@ export declare namespace Raw {
|
|
|
3394
3439
|
unreadCount: int;
|
|
3395
3440
|
unreadMentionsCount: int;
|
|
3396
3441
|
unreadReactionsCount: int;
|
|
3442
|
+
unreadPollVotesCount: int;
|
|
3397
3443
|
notifySettings: Raw.TypePeerNotifySettings;
|
|
3398
3444
|
pts?: int;
|
|
3399
3445
|
draft?: Raw.TypeDraftMessage;
|
|
@@ -3410,6 +3456,7 @@ export declare namespace Raw {
|
|
|
3410
3456
|
unreadCount: int;
|
|
3411
3457
|
unreadMentionsCount: int;
|
|
3412
3458
|
unreadReactionsCount: int;
|
|
3459
|
+
unreadPollVotesCount: int;
|
|
3413
3460
|
notifySettings: Raw.TypePeerNotifySettings;
|
|
3414
3461
|
pts?: int;
|
|
3415
3462
|
draft?: Raw.TypeDraftMessage;
|
|
@@ -3797,6 +3844,7 @@ export declare namespace Raw {
|
|
|
3797
3844
|
displayGiftsButton?: boolean;
|
|
3798
3845
|
noforwardsMyEnabled?: boolean;
|
|
3799
3846
|
noforwardsPeerEnabled?: boolean;
|
|
3847
|
+
unofficialSecurityRisk?: boolean;
|
|
3800
3848
|
id: long;
|
|
3801
3849
|
about?: string;
|
|
3802
3850
|
settings: Raw.TypePeerSettings;
|
|
@@ -3834,6 +3882,7 @@ export declare namespace Raw {
|
|
|
3834
3882
|
mainTab?: Raw.TypeProfileTab;
|
|
3835
3883
|
savedMusic?: Raw.TypeDocument;
|
|
3836
3884
|
note?: Raw.TypeTextWithEntities;
|
|
3885
|
+
botManagerId?: long;
|
|
3837
3886
|
constructor(params: {
|
|
3838
3887
|
blocked?: boolean;
|
|
3839
3888
|
phoneCallsAvailable?: boolean;
|
|
@@ -3854,6 +3903,7 @@ export declare namespace Raw {
|
|
|
3854
3903
|
displayGiftsButton?: boolean;
|
|
3855
3904
|
noforwardsMyEnabled?: boolean;
|
|
3856
3905
|
noforwardsPeerEnabled?: boolean;
|
|
3906
|
+
unofficialSecurityRisk?: boolean;
|
|
3857
3907
|
id: long;
|
|
3858
3908
|
about?: string;
|
|
3859
3909
|
settings: Raw.TypePeerSettings;
|
|
@@ -3891,6 +3941,7 @@ export declare namespace Raw {
|
|
|
3891
3941
|
mainTab?: Raw.TypeProfileTab;
|
|
3892
3942
|
savedMusic?: Raw.TypeDocument;
|
|
3893
3943
|
note?: Raw.TypeTextWithEntities;
|
|
3944
|
+
botManagerId?: long;
|
|
3894
3945
|
});
|
|
3895
3946
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.UserFull>;
|
|
3896
3947
|
write(): Buffer;
|
|
@@ -4013,6 +4064,11 @@ export declare namespace Raw {
|
|
|
4013
4064
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.InputMessagesFilterPinned>;
|
|
4014
4065
|
write(): Buffer;
|
|
4015
4066
|
}
|
|
4067
|
+
class InputMessagesFilterPoll extends TLObject {
|
|
4068
|
+
constructor();
|
|
4069
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.InputMessagesFilterPoll>;
|
|
4070
|
+
write(): Buffer;
|
|
4071
|
+
}
|
|
4016
4072
|
class UpdateNewMessage extends TLObject {
|
|
4017
4073
|
message: Raw.TypeMessage;
|
|
4018
4074
|
pts: int;
|
|
@@ -4727,10 +4783,16 @@ export declare namespace Raw {
|
|
|
4727
4783
|
write(): Buffer;
|
|
4728
4784
|
}
|
|
4729
4785
|
class UpdateMessagePoll extends TLObject {
|
|
4786
|
+
peer?: Raw.TypePeer;
|
|
4787
|
+
msgId?: int;
|
|
4788
|
+
topMsgId?: int;
|
|
4730
4789
|
pollId: long;
|
|
4731
4790
|
poll?: Raw.TypePoll;
|
|
4732
4791
|
results: Raw.TypePollResults;
|
|
4733
4792
|
constructor(params: {
|
|
4793
|
+
peer?: Raw.TypePeer;
|
|
4794
|
+
msgId?: int;
|
|
4795
|
+
topMsgId?: int;
|
|
4734
4796
|
pollId: long;
|
|
4735
4797
|
poll?: Raw.TypePoll;
|
|
4736
4798
|
results: Raw.TypePollResults;
|
|
@@ -4827,11 +4889,13 @@ export declare namespace Raw {
|
|
|
4827
4889
|
pollId: long;
|
|
4828
4890
|
peer: Raw.TypePeer;
|
|
4829
4891
|
options: Vector<bytes>;
|
|
4892
|
+
positions: Vector<int>;
|
|
4830
4893
|
qts: int;
|
|
4831
4894
|
constructor(params: {
|
|
4832
4895
|
pollId: long;
|
|
4833
4896
|
peer: Raw.TypePeer;
|
|
4834
4897
|
options: Vector<bytes>;
|
|
4898
|
+
positions: Vector<int>;
|
|
4835
4899
|
qts: int;
|
|
4836
4900
|
});
|
|
4837
4901
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.UpdateMessagePollVote>;
|
|
@@ -5718,6 +5782,18 @@ export declare namespace Raw {
|
|
|
5718
5782
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.UpdateChatParticipantRank>;
|
|
5719
5783
|
write(): Buffer;
|
|
5720
5784
|
}
|
|
5785
|
+
class UpdateManagedBot extends TLObject {
|
|
5786
|
+
userId: long;
|
|
5787
|
+
botId: long;
|
|
5788
|
+
qts: int;
|
|
5789
|
+
constructor(params: {
|
|
5790
|
+
userId: long;
|
|
5791
|
+
botId: long;
|
|
5792
|
+
qts: int;
|
|
5793
|
+
});
|
|
5794
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.UpdateManagedBot>;
|
|
5795
|
+
write(): Buffer;
|
|
5796
|
+
}
|
|
5721
5797
|
class UpdatesTooLong extends TLObject {
|
|
5722
5798
|
constructor();
|
|
5723
5799
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.UpdatesTooLong>;
|
|
@@ -7699,6 +7775,38 @@ export declare namespace Raw {
|
|
|
7699
7775
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.MessageEntityFormattedDate>;
|
|
7700
7776
|
write(): Buffer;
|
|
7701
7777
|
}
|
|
7778
|
+
class MessageEntityDiffInsert extends TLObject {
|
|
7779
|
+
offset: int;
|
|
7780
|
+
length: int;
|
|
7781
|
+
constructor(params: {
|
|
7782
|
+
offset: int;
|
|
7783
|
+
length: int;
|
|
7784
|
+
});
|
|
7785
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.MessageEntityDiffInsert>;
|
|
7786
|
+
write(): Buffer;
|
|
7787
|
+
}
|
|
7788
|
+
class MessageEntityDiffReplace extends TLObject {
|
|
7789
|
+
offset: int;
|
|
7790
|
+
length: int;
|
|
7791
|
+
oldText: string;
|
|
7792
|
+
constructor(params: {
|
|
7793
|
+
offset: int;
|
|
7794
|
+
length: int;
|
|
7795
|
+
oldText: string;
|
|
7796
|
+
});
|
|
7797
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.MessageEntityDiffReplace>;
|
|
7798
|
+
write(): Buffer;
|
|
7799
|
+
}
|
|
7800
|
+
class MessageEntityDiffDelete extends TLObject {
|
|
7801
|
+
offset: int;
|
|
7802
|
+
length: int;
|
|
7803
|
+
constructor(params: {
|
|
7804
|
+
offset: int;
|
|
7805
|
+
length: int;
|
|
7806
|
+
});
|
|
7807
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.MessageEntityDiffDelete>;
|
|
7808
|
+
write(): Buffer;
|
|
7809
|
+
}
|
|
7702
7810
|
class InputChannelEmpty extends TLObject {
|
|
7703
7811
|
constructor();
|
|
7704
7812
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.InputChannelEmpty>;
|
|
@@ -10904,33 +11012,61 @@ export declare namespace Raw {
|
|
|
10904
11012
|
class PollAnswer extends TLObject {
|
|
10905
11013
|
text: Raw.TypeTextWithEntities;
|
|
10906
11014
|
option: bytes;
|
|
11015
|
+
media?: Raw.TypeMessageMedia;
|
|
11016
|
+
addedBy?: Raw.TypePeer;
|
|
11017
|
+
date?: int;
|
|
10907
11018
|
constructor(params: {
|
|
10908
11019
|
text: Raw.TypeTextWithEntities;
|
|
10909
11020
|
option: bytes;
|
|
11021
|
+
media?: Raw.TypeMessageMedia;
|
|
11022
|
+
addedBy?: Raw.TypePeer;
|
|
11023
|
+
date?: int;
|
|
10910
11024
|
});
|
|
10911
11025
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.PollAnswer>;
|
|
10912
11026
|
write(): Buffer;
|
|
10913
11027
|
}
|
|
11028
|
+
class InputPollAnswer extends TLObject {
|
|
11029
|
+
text: Raw.TypeTextWithEntities;
|
|
11030
|
+
media?: Raw.TypeInputMedia;
|
|
11031
|
+
constructor(params: {
|
|
11032
|
+
text: Raw.TypeTextWithEntities;
|
|
11033
|
+
media?: Raw.TypeInputMedia;
|
|
11034
|
+
});
|
|
11035
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.InputPollAnswer>;
|
|
11036
|
+
write(): Buffer;
|
|
11037
|
+
}
|
|
10914
11038
|
class Poll extends TLObject {
|
|
10915
11039
|
id: long;
|
|
10916
11040
|
closed?: boolean;
|
|
10917
11041
|
publicVoters?: boolean;
|
|
10918
11042
|
multipleChoice?: boolean;
|
|
10919
11043
|
quiz?: boolean;
|
|
11044
|
+
openAnswers?: boolean;
|
|
11045
|
+
revotingDisabled?: boolean;
|
|
11046
|
+
shuffleAnswers?: boolean;
|
|
11047
|
+
hideResultsUntilClose?: boolean;
|
|
11048
|
+
creator?: boolean;
|
|
10920
11049
|
question: Raw.TypeTextWithEntities;
|
|
10921
11050
|
answers: Vector<Raw.TypePollAnswer>;
|
|
10922
11051
|
closePeriod?: int;
|
|
10923
11052
|
closeDate?: int;
|
|
11053
|
+
hash: long;
|
|
10924
11054
|
constructor(params: {
|
|
10925
11055
|
id: long;
|
|
10926
11056
|
closed?: boolean;
|
|
10927
11057
|
publicVoters?: boolean;
|
|
10928
11058
|
multipleChoice?: boolean;
|
|
10929
11059
|
quiz?: boolean;
|
|
11060
|
+
openAnswers?: boolean;
|
|
11061
|
+
revotingDisabled?: boolean;
|
|
11062
|
+
shuffleAnswers?: boolean;
|
|
11063
|
+
hideResultsUntilClose?: boolean;
|
|
11064
|
+
creator?: boolean;
|
|
10930
11065
|
question: Raw.TypeTextWithEntities;
|
|
10931
11066
|
answers: Vector<Raw.TypePollAnswer>;
|
|
10932
11067
|
closePeriod?: int;
|
|
10933
11068
|
closeDate?: int;
|
|
11069
|
+
hash: long;
|
|
10934
11070
|
});
|
|
10935
11071
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.Poll>;
|
|
10936
11072
|
write(): Buffer;
|
|
@@ -10939,30 +11075,36 @@ export declare namespace Raw {
|
|
|
10939
11075
|
chosen?: boolean;
|
|
10940
11076
|
correct?: boolean;
|
|
10941
11077
|
option: bytes;
|
|
10942
|
-
voters
|
|
11078
|
+
voters?: int;
|
|
11079
|
+
recentVoters?: Vector<Raw.TypePeer>;
|
|
10943
11080
|
constructor(params: {
|
|
10944
11081
|
chosen?: boolean;
|
|
10945
11082
|
correct?: boolean;
|
|
10946
11083
|
option: bytes;
|
|
10947
|
-
voters
|
|
11084
|
+
voters?: int;
|
|
11085
|
+
recentVoters?: Vector<Raw.TypePeer>;
|
|
10948
11086
|
});
|
|
10949
11087
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.PollAnswerVoters>;
|
|
10950
11088
|
write(): Buffer;
|
|
10951
11089
|
}
|
|
10952
11090
|
class PollResults extends TLObject {
|
|
10953
11091
|
min?: boolean;
|
|
11092
|
+
hasUnreadVotes?: boolean;
|
|
10954
11093
|
results?: Vector<Raw.TypePollAnswerVoters>;
|
|
10955
11094
|
totalVoters?: int;
|
|
10956
11095
|
recentVoters?: Vector<Raw.TypePeer>;
|
|
10957
11096
|
solution?: string;
|
|
10958
11097
|
solutionEntities?: Vector<Raw.TypeMessageEntity>;
|
|
11098
|
+
solutionMedia?: Raw.TypeMessageMedia;
|
|
10959
11099
|
constructor(params: {
|
|
10960
11100
|
min?: boolean;
|
|
11101
|
+
hasUnreadVotes?: boolean;
|
|
10961
11102
|
results?: Vector<Raw.TypePollAnswerVoters>;
|
|
10962
11103
|
totalVoters?: int;
|
|
10963
11104
|
recentVoters?: Vector<Raw.TypePeer>;
|
|
10964
11105
|
solution?: string;
|
|
10965
11106
|
solutionEntities?: Vector<Raw.TypeMessageEntity>;
|
|
11107
|
+
solutionMedia?: Raw.TypeMessageMedia;
|
|
10966
11108
|
});
|
|
10967
11109
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.PollResults>;
|
|
10968
11110
|
write(): Buffer;
|
|
@@ -11267,6 +11409,7 @@ export declare namespace Raw {
|
|
|
11267
11409
|
requestWriteAccess?: boolean;
|
|
11268
11410
|
requestPhoneNumber?: boolean;
|
|
11269
11411
|
matchCodesFirst?: boolean;
|
|
11412
|
+
isApp?: boolean;
|
|
11270
11413
|
bot: Raw.TypeUser;
|
|
11271
11414
|
domain: string;
|
|
11272
11415
|
browser?: string;
|
|
@@ -11275,10 +11418,12 @@ export declare namespace Raw {
|
|
|
11275
11418
|
region?: string;
|
|
11276
11419
|
matchCodes?: Vector<string>;
|
|
11277
11420
|
userIdHint?: long;
|
|
11421
|
+
verifiedAppName?: string;
|
|
11278
11422
|
constructor(params: {
|
|
11279
11423
|
requestWriteAccess?: boolean;
|
|
11280
11424
|
requestPhoneNumber?: boolean;
|
|
11281
11425
|
matchCodesFirst?: boolean;
|
|
11426
|
+
isApp?: boolean;
|
|
11282
11427
|
bot: Raw.TypeUser;
|
|
11283
11428
|
domain: string;
|
|
11284
11429
|
browser?: string;
|
|
@@ -11287,6 +11432,7 @@ export declare namespace Raw {
|
|
|
11287
11432
|
region?: string;
|
|
11288
11433
|
matchCodes?: Vector<string>;
|
|
11289
11434
|
userIdHint?: long;
|
|
11435
|
+
verifiedAppName?: string;
|
|
11290
11436
|
});
|
|
11291
11437
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.UrlAuthResultRequest>;
|
|
11292
11438
|
write(): Buffer;
|
|
@@ -11782,6 +11928,7 @@ export declare namespace Raw {
|
|
|
11782
11928
|
quoteEntities?: Vector<Raw.TypeMessageEntity>;
|
|
11783
11929
|
quoteOffset?: int;
|
|
11784
11930
|
todoItemId?: int;
|
|
11931
|
+
pollOption?: bytes;
|
|
11785
11932
|
constructor(params: {
|
|
11786
11933
|
replyToScheduled?: boolean;
|
|
11787
11934
|
forumTopic?: boolean;
|
|
@@ -11795,6 +11942,7 @@ export declare namespace Raw {
|
|
|
11795
11942
|
quoteEntities?: Vector<Raw.TypeMessageEntity>;
|
|
11796
11943
|
quoteOffset?: int;
|
|
11797
11944
|
todoItemId?: int;
|
|
11945
|
+
pollOption?: bytes;
|
|
11798
11946
|
});
|
|
11799
11947
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.MessageReplyHeader>;
|
|
11800
11948
|
write(): Buffer;
|
|
@@ -13000,6 +13148,7 @@ export declare namespace Raw {
|
|
|
13000
13148
|
unreadCount: int;
|
|
13001
13149
|
unreadMentionsCount: int;
|
|
13002
13150
|
unreadReactionsCount: int;
|
|
13151
|
+
unreadPollVotesCount: int;
|
|
13003
13152
|
fromId: Raw.TypePeer;
|
|
13004
13153
|
notifySettings: Raw.TypePeerNotifySettings;
|
|
13005
13154
|
draft?: Raw.TypeDraftMessage;
|
|
@@ -13022,6 +13171,7 @@ export declare namespace Raw {
|
|
|
13022
13171
|
unreadCount: int;
|
|
13023
13172
|
unreadMentionsCount: int;
|
|
13024
13173
|
unreadReactionsCount: int;
|
|
13174
|
+
unreadPollVotesCount: int;
|
|
13025
13175
|
fromId: Raw.TypePeer;
|
|
13026
13176
|
notifySettings: Raw.TypePeerNotifySettings;
|
|
13027
13177
|
draft?: Raw.TypeDraftMessage;
|
|
@@ -13089,6 +13239,18 @@ export declare namespace Raw {
|
|
|
13089
13239
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.RequestPeerTypeBroadcast>;
|
|
13090
13240
|
write(): Buffer;
|
|
13091
13241
|
}
|
|
13242
|
+
class RequestPeerTypeCreateBot extends TLObject {
|
|
13243
|
+
botManaged?: boolean;
|
|
13244
|
+
suggestedName?: string;
|
|
13245
|
+
suggestedUsername?: string;
|
|
13246
|
+
constructor(params: {
|
|
13247
|
+
botManaged?: boolean;
|
|
13248
|
+
suggestedName?: string;
|
|
13249
|
+
suggestedUsername?: string;
|
|
13250
|
+
});
|
|
13251
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.RequestPeerTypeCreateBot>;
|
|
13252
|
+
write(): Buffer;
|
|
13253
|
+
}
|
|
13092
13254
|
class EmojiListNotModified extends TLObject {
|
|
13093
13255
|
constructor();
|
|
13094
13256
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.EmojiListNotModified>;
|
|
@@ -13356,6 +13518,7 @@ export declare namespace Raw {
|
|
|
13356
13518
|
views?: Raw.TypeStoryViews;
|
|
13357
13519
|
sentReaction?: Raw.TypeReaction;
|
|
13358
13520
|
albums?: Vector<int>;
|
|
13521
|
+
music?: Raw.TypeDocument;
|
|
13359
13522
|
constructor(params: {
|
|
13360
13523
|
pinned?: boolean;
|
|
13361
13524
|
public?: boolean;
|
|
@@ -13379,6 +13542,7 @@ export declare namespace Raw {
|
|
|
13379
13542
|
views?: Raw.TypeStoryViews;
|
|
13380
13543
|
sentReaction?: Raw.TypeReaction;
|
|
13381
13544
|
albums?: Vector<int>;
|
|
13545
|
+
music?: Raw.TypeDocument;
|
|
13382
13546
|
});
|
|
13383
13547
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.StoryItem>;
|
|
13384
13548
|
write(): Buffer;
|
|
@@ -13434,6 +13598,7 @@ export declare namespace Raw {
|
|
|
13434
13598
|
quoteOffset?: int;
|
|
13435
13599
|
monoforumPeerId?: Raw.TypeInputPeer;
|
|
13436
13600
|
todoItemId?: int;
|
|
13601
|
+
pollOption?: bytes;
|
|
13437
13602
|
constructor(params: {
|
|
13438
13603
|
replyToMsgId: int;
|
|
13439
13604
|
topMsgId?: int;
|
|
@@ -13443,6 +13608,7 @@ export declare namespace Raw {
|
|
|
13443
13608
|
quoteOffset?: int;
|
|
13444
13609
|
monoforumPeerId?: Raw.TypeInputPeer;
|
|
13445
13610
|
todoItemId?: int;
|
|
13611
|
+
pollOption?: bytes;
|
|
13446
13612
|
});
|
|
13447
13613
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.InputReplyToMessage>;
|
|
13448
13614
|
write(): Buffer;
|
|
@@ -14336,11 +14502,13 @@ export declare namespace Raw {
|
|
|
14336
14502
|
class ReactionsNotifySettings extends TLObject {
|
|
14337
14503
|
messagesNotifyFrom?: Raw.TypeReactionNotificationsFrom;
|
|
14338
14504
|
storiesNotifyFrom?: Raw.TypeReactionNotificationsFrom;
|
|
14505
|
+
pollVotesNotifyFrom?: Raw.TypeReactionNotificationsFrom;
|
|
14339
14506
|
sound: Raw.TypeNotificationSound;
|
|
14340
14507
|
showPreviews: Bool;
|
|
14341
14508
|
constructor(params: {
|
|
14342
14509
|
messagesNotifyFrom?: Raw.TypeReactionNotificationsFrom;
|
|
14343
14510
|
storiesNotifyFrom?: Raw.TypeReactionNotificationsFrom;
|
|
14511
|
+
pollVotesNotifyFrom?: Raw.TypeReactionNotificationsFrom;
|
|
14344
14512
|
sound: Raw.TypeNotificationSound;
|
|
14345
14513
|
showPreviews: Bool;
|
|
14346
14514
|
});
|
|
@@ -15719,6 +15887,24 @@ export declare namespace Raw {
|
|
|
15719
15887
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.KeyboardButtonStyle>;
|
|
15720
15888
|
write(): Buffer;
|
|
15721
15889
|
}
|
|
15890
|
+
class InputMessageReadMetric extends TLObject {
|
|
15891
|
+
msgId: int;
|
|
15892
|
+
viewId: long;
|
|
15893
|
+
timeInViewMs: int;
|
|
15894
|
+
activeTimeInViewMs: int;
|
|
15895
|
+
heightToViewportRatioPermille: int;
|
|
15896
|
+
seenRangeRatioPermille: int;
|
|
15897
|
+
constructor(params: {
|
|
15898
|
+
msgId: int;
|
|
15899
|
+
viewId: long;
|
|
15900
|
+
timeInViewMs: int;
|
|
15901
|
+
activeTimeInViewMs: int;
|
|
15902
|
+
heightToViewportRatioPermille: int;
|
|
15903
|
+
seenRangeRatioPermille: int;
|
|
15904
|
+
});
|
|
15905
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.InputMessageReadMetric>;
|
|
15906
|
+
write(): Buffer;
|
|
15907
|
+
}
|
|
15722
15908
|
class InvokeAfterMsg extends TLObject {
|
|
15723
15909
|
__response__: X;
|
|
15724
15910
|
msgId: long;
|
|
@@ -18174,6 +18360,7 @@ export declare namespace Raw {
|
|
|
18174
18360
|
}
|
|
18175
18361
|
namespace messages {
|
|
18176
18362
|
type TypeInactiveChats = Raw.messages.InactiveChats;
|
|
18363
|
+
type TypeComposedMessageWithAI = Raw.messages.ComposedMessageWithAI;
|
|
18177
18364
|
type TypeForumTopics = Raw.messages.ForumTopics;
|
|
18178
18365
|
type TypeFoundStickers = Raw.messages.FoundStickersNotModified | Raw.messages.FoundStickers;
|
|
18179
18366
|
type TypePreparedInlineMessage = Raw.messages.PreparedInlineMessage;
|
|
@@ -19249,6 +19436,16 @@ export declare namespace Raw {
|
|
|
19249
19436
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.messages.EmojiGameDiceInfo>;
|
|
19250
19437
|
write(): Buffer;
|
|
19251
19438
|
}
|
|
19439
|
+
class ComposedMessageWithAI extends TLObject {
|
|
19440
|
+
resultText: Raw.TypeTextWithEntities;
|
|
19441
|
+
diffText?: Raw.TypeTextWithEntities;
|
|
19442
|
+
constructor(params: {
|
|
19443
|
+
resultText: Raw.TypeTextWithEntities;
|
|
19444
|
+
diffText?: Raw.TypeTextWithEntities;
|
|
19445
|
+
});
|
|
19446
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.messages.ComposedMessageWithAI>;
|
|
19447
|
+
write(): Buffer;
|
|
19448
|
+
}
|
|
19252
19449
|
class GetMessages extends TLObject {
|
|
19253
19450
|
__response__: Raw.messages.TypeMessages;
|
|
19254
19451
|
id: Vector<Raw.TypeInputMessage>;
|
|
@@ -20686,9 +20883,11 @@ export declare namespace Raw {
|
|
|
20686
20883
|
__response__: Raw.TypeUpdates;
|
|
20687
20884
|
peer: Raw.TypeInputPeer;
|
|
20688
20885
|
msgId: int;
|
|
20886
|
+
pollHash: long;
|
|
20689
20887
|
constructor(params: {
|
|
20690
20888
|
peer: Raw.TypeInputPeer;
|
|
20691
20889
|
msgId: int;
|
|
20890
|
+
pollHash: long;
|
|
20692
20891
|
});
|
|
20693
20892
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.messages.GetPollResults>;
|
|
20694
20893
|
write(): Buffer;
|
|
@@ -21388,11 +21587,13 @@ export declare namespace Raw {
|
|
|
21388
21587
|
id?: Vector<int>;
|
|
21389
21588
|
text?: Vector<Raw.TypeTextWithEntities>;
|
|
21390
21589
|
toLang: string;
|
|
21590
|
+
tone?: string;
|
|
21391
21591
|
constructor(params: {
|
|
21392
21592
|
peer?: Raw.TypeInputPeer;
|
|
21393
21593
|
id?: Vector<int>;
|
|
21394
21594
|
text?: Vector<Raw.TypeTextWithEntities>;
|
|
21395
21595
|
toLang: string;
|
|
21596
|
+
tone?: string;
|
|
21396
21597
|
});
|
|
21397
21598
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.messages.TranslateText>;
|
|
21398
21599
|
write(): Buffer;
|
|
@@ -21701,12 +21902,14 @@ export declare namespace Raw {
|
|
|
21701
21902
|
class SendBotRequestedPeer extends TLObject {
|
|
21702
21903
|
__response__: Raw.TypeUpdates;
|
|
21703
21904
|
peer: Raw.TypeInputPeer;
|
|
21704
|
-
msgId
|
|
21905
|
+
msgId?: int;
|
|
21906
|
+
webappReqId?: string;
|
|
21705
21907
|
buttonId: int;
|
|
21706
21908
|
requestedPeers: Vector<Raw.TypeInputPeer>;
|
|
21707
21909
|
constructor(params: {
|
|
21708
21910
|
peer: Raw.TypeInputPeer;
|
|
21709
|
-
msgId
|
|
21911
|
+
msgId?: int;
|
|
21912
|
+
webappReqId?: string;
|
|
21710
21913
|
buttonId: int;
|
|
21711
21914
|
requestedPeers: Vector<Raw.TypeInputPeer>;
|
|
21712
21915
|
});
|
|
@@ -22466,10 +22669,12 @@ export declare namespace Raw {
|
|
|
22466
22669
|
peer: Raw.TypeInputPeer;
|
|
22467
22670
|
id: int;
|
|
22468
22671
|
toLang?: string;
|
|
22672
|
+
tone?: string;
|
|
22469
22673
|
constructor(params: {
|
|
22470
22674
|
peer: Raw.TypeInputPeer;
|
|
22471
22675
|
id: int;
|
|
22472
22676
|
toLang?: string;
|
|
22677
|
+
tone?: string;
|
|
22473
22678
|
});
|
|
22474
22679
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.messages.SummarizeText>;
|
|
22475
22680
|
write(): Buffer;
|
|
@@ -22529,6 +22734,103 @@ export declare namespace Raw {
|
|
|
22529
22734
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.messages.CheckUrlAuthMatchCode>;
|
|
22530
22735
|
write(): Buffer;
|
|
22531
22736
|
}
|
|
22737
|
+
class ComposeMessageWithAI extends TLObject {
|
|
22738
|
+
__response__: Raw.messages.TypeComposedMessageWithAI;
|
|
22739
|
+
proofread?: boolean;
|
|
22740
|
+
emojify?: boolean;
|
|
22741
|
+
text: Raw.TypeTextWithEntities;
|
|
22742
|
+
translateToLang?: string;
|
|
22743
|
+
changeTone?: string;
|
|
22744
|
+
constructor(params: {
|
|
22745
|
+
proofread?: boolean;
|
|
22746
|
+
emojify?: boolean;
|
|
22747
|
+
text: Raw.TypeTextWithEntities;
|
|
22748
|
+
translateToLang?: string;
|
|
22749
|
+
changeTone?: string;
|
|
22750
|
+
});
|
|
22751
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.messages.ComposeMessageWithAI>;
|
|
22752
|
+
write(): Buffer;
|
|
22753
|
+
}
|
|
22754
|
+
class ReportReadMetrics extends TLObject {
|
|
22755
|
+
__response__: Bool;
|
|
22756
|
+
peer: Raw.TypeInputPeer;
|
|
22757
|
+
metrics: Vector<Raw.TypeInputMessageReadMetric>;
|
|
22758
|
+
constructor(params: {
|
|
22759
|
+
peer: Raw.TypeInputPeer;
|
|
22760
|
+
metrics: Vector<Raw.TypeInputMessageReadMetric>;
|
|
22761
|
+
});
|
|
22762
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.messages.ReportReadMetrics>;
|
|
22763
|
+
write(): Buffer;
|
|
22764
|
+
}
|
|
22765
|
+
class ReportMusicListen extends TLObject {
|
|
22766
|
+
__response__: Bool;
|
|
22767
|
+
id: Raw.TypeInputDocument;
|
|
22768
|
+
listenedDuration: int;
|
|
22769
|
+
constructor(params: {
|
|
22770
|
+
id: Raw.TypeInputDocument;
|
|
22771
|
+
listenedDuration: int;
|
|
22772
|
+
});
|
|
22773
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.messages.ReportMusicListen>;
|
|
22774
|
+
write(): Buffer;
|
|
22775
|
+
}
|
|
22776
|
+
class AddPollAnswer extends TLObject {
|
|
22777
|
+
__response__: Raw.TypeUpdates;
|
|
22778
|
+
peer: Raw.TypeInputPeer;
|
|
22779
|
+
msgId: int;
|
|
22780
|
+
answer: Raw.TypePollAnswer;
|
|
22781
|
+
constructor(params: {
|
|
22782
|
+
peer: Raw.TypeInputPeer;
|
|
22783
|
+
msgId: int;
|
|
22784
|
+
answer: Raw.TypePollAnswer;
|
|
22785
|
+
});
|
|
22786
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.messages.AddPollAnswer>;
|
|
22787
|
+
write(): Buffer;
|
|
22788
|
+
}
|
|
22789
|
+
class DeletePollAnswer extends TLObject {
|
|
22790
|
+
__response__: Raw.TypeUpdates;
|
|
22791
|
+
peer: Raw.TypeInputPeer;
|
|
22792
|
+
msgId: int;
|
|
22793
|
+
option: bytes;
|
|
22794
|
+
constructor(params: {
|
|
22795
|
+
peer: Raw.TypeInputPeer;
|
|
22796
|
+
msgId: int;
|
|
22797
|
+
option: bytes;
|
|
22798
|
+
});
|
|
22799
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.messages.DeletePollAnswer>;
|
|
22800
|
+
write(): Buffer;
|
|
22801
|
+
}
|
|
22802
|
+
class GetUnreadPollVotes extends TLObject {
|
|
22803
|
+
__response__: Raw.messages.TypeMessages;
|
|
22804
|
+
peer: Raw.TypeInputPeer;
|
|
22805
|
+
topMsgId?: int;
|
|
22806
|
+
offsetId: int;
|
|
22807
|
+
addOffset: int;
|
|
22808
|
+
limit: int;
|
|
22809
|
+
maxId: int;
|
|
22810
|
+
minId: int;
|
|
22811
|
+
constructor(params: {
|
|
22812
|
+
peer: Raw.TypeInputPeer;
|
|
22813
|
+
topMsgId?: int;
|
|
22814
|
+
offsetId: int;
|
|
22815
|
+
addOffset: int;
|
|
22816
|
+
limit: int;
|
|
22817
|
+
maxId: int;
|
|
22818
|
+
minId: int;
|
|
22819
|
+
});
|
|
22820
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.messages.GetUnreadPollVotes>;
|
|
22821
|
+
write(): Buffer;
|
|
22822
|
+
}
|
|
22823
|
+
class ReadPollVotes extends TLObject {
|
|
22824
|
+
__response__: Raw.messages.TypeAffectedHistory;
|
|
22825
|
+
peer: Raw.TypeInputPeer;
|
|
22826
|
+
topMsgId?: int;
|
|
22827
|
+
constructor(params: {
|
|
22828
|
+
peer: Raw.TypeInputPeer;
|
|
22829
|
+
topMsgId?: int;
|
|
22830
|
+
});
|
|
22831
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.messages.ReadPollVotes>;
|
|
22832
|
+
write(): Buffer;
|
|
22833
|
+
}
|
|
22532
22834
|
}
|
|
22533
22835
|
namespace updates {
|
|
22534
22836
|
type TypeChannelDifference = Raw.updates.ChannelDifferenceEmpty | Raw.updates.ChannelDifferenceTooLong | Raw.updates.ChannelDifference;
|
|
@@ -26501,6 +26803,7 @@ export declare namespace Raw {
|
|
|
26501
26803
|
sortByPrice?: boolean;
|
|
26502
26804
|
sortByNum?: boolean;
|
|
26503
26805
|
forCraft?: boolean;
|
|
26806
|
+
starsOnly?: boolean;
|
|
26504
26807
|
attributesHash?: long;
|
|
26505
26808
|
giftId: long;
|
|
26506
26809
|
attributes?: Vector<Raw.TypeStarGiftAttributeId>;
|
|
@@ -26510,6 +26813,7 @@ export declare namespace Raw {
|
|
|
26510
26813
|
sortByPrice?: boolean;
|
|
26511
26814
|
sortByNum?: boolean;
|
|
26512
26815
|
forCraft?: boolean;
|
|
26816
|
+
starsOnly?: boolean;
|
|
26513
26817
|
attributesHash?: long;
|
|
26514
26818
|
giftId: long;
|
|
26515
26819
|
attributes?: Vector<Raw.TypeStarGiftAttributeId>;
|
|
@@ -28052,6 +28356,8 @@ export declare namespace Raw {
|
|
|
28052
28356
|
}
|
|
28053
28357
|
}
|
|
28054
28358
|
namespace bots {
|
|
28359
|
+
type TypeRequestedButton = Raw.bots.RequestedButton;
|
|
28360
|
+
type TypeExportedBotToken = Raw.bots.ExportedBotToken;
|
|
28055
28361
|
type TypePreviewInfo = Raw.bots.PreviewInfo;
|
|
28056
28362
|
type TypePopularAppBots = Raw.bots.PopularAppBots;
|
|
28057
28363
|
type TypeBotInfo = Raw.bots.BotInfo;
|
|
@@ -28087,6 +28393,22 @@ export declare namespace Raw {
|
|
|
28087
28393
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.bots.PreviewInfo>;
|
|
28088
28394
|
write(): Buffer;
|
|
28089
28395
|
}
|
|
28396
|
+
class ExportedBotToken extends TLObject {
|
|
28397
|
+
token: string;
|
|
28398
|
+
constructor(params: {
|
|
28399
|
+
token: string;
|
|
28400
|
+
});
|
|
28401
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.bots.ExportedBotToken>;
|
|
28402
|
+
write(): Buffer;
|
|
28403
|
+
}
|
|
28404
|
+
class RequestedButton extends TLObject {
|
|
28405
|
+
webappReqId: string;
|
|
28406
|
+
constructor(params: {
|
|
28407
|
+
webappReqId: string;
|
|
28408
|
+
});
|
|
28409
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.bots.RequestedButton>;
|
|
28410
|
+
write(): Buffer;
|
|
28411
|
+
}
|
|
28090
28412
|
class SendCustomRequest extends TLObject {
|
|
28091
28413
|
__response__: Raw.TypeDataJSON;
|
|
28092
28414
|
customMethod: string;
|
|
@@ -28428,6 +28750,63 @@ export declare namespace Raw {
|
|
|
28428
28750
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.bots.GetBotRecommendations>;
|
|
28429
28751
|
write(): Buffer;
|
|
28430
28752
|
}
|
|
28753
|
+
class CheckUsername extends TLObject {
|
|
28754
|
+
__response__: Bool;
|
|
28755
|
+
username: string;
|
|
28756
|
+
constructor(params: {
|
|
28757
|
+
username: string;
|
|
28758
|
+
});
|
|
28759
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.bots.CheckUsername>;
|
|
28760
|
+
write(): Buffer;
|
|
28761
|
+
}
|
|
28762
|
+
class CreateBot extends TLObject {
|
|
28763
|
+
__response__: Raw.TypeUser;
|
|
28764
|
+
viaDeeplink?: boolean;
|
|
28765
|
+
name: string;
|
|
28766
|
+
username: string;
|
|
28767
|
+
managerId: Raw.TypeInputUser;
|
|
28768
|
+
constructor(params: {
|
|
28769
|
+
viaDeeplink?: boolean;
|
|
28770
|
+
name: string;
|
|
28771
|
+
username: string;
|
|
28772
|
+
managerId: Raw.TypeInputUser;
|
|
28773
|
+
});
|
|
28774
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.bots.CreateBot>;
|
|
28775
|
+
write(): Buffer;
|
|
28776
|
+
}
|
|
28777
|
+
class ExportBotToken extends TLObject {
|
|
28778
|
+
__response__: Raw.bots.TypeExportedBotToken;
|
|
28779
|
+
bot: Raw.TypeInputUser;
|
|
28780
|
+
revoke: Bool;
|
|
28781
|
+
constructor(params: {
|
|
28782
|
+
bot: Raw.TypeInputUser;
|
|
28783
|
+
revoke: Bool;
|
|
28784
|
+
});
|
|
28785
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.bots.ExportBotToken>;
|
|
28786
|
+
write(): Buffer;
|
|
28787
|
+
}
|
|
28788
|
+
class RequestWebViewButton extends TLObject {
|
|
28789
|
+
__response__: Raw.bots.TypeRequestedButton;
|
|
28790
|
+
userId: Raw.TypeInputUser;
|
|
28791
|
+
button: Raw.TypeKeyboardButton;
|
|
28792
|
+
constructor(params: {
|
|
28793
|
+
userId: Raw.TypeInputUser;
|
|
28794
|
+
button: Raw.TypeKeyboardButton;
|
|
28795
|
+
});
|
|
28796
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.bots.RequestWebViewButton>;
|
|
28797
|
+
write(): Buffer;
|
|
28798
|
+
}
|
|
28799
|
+
class GetRequestedWebViewButton extends TLObject {
|
|
28800
|
+
__response__: Raw.TypeKeyboardButton;
|
|
28801
|
+
bot: Raw.TypeInputUser;
|
|
28802
|
+
webappReqId: string;
|
|
28803
|
+
constructor(params: {
|
|
28804
|
+
bot: Raw.TypeInputUser;
|
|
28805
|
+
webappReqId: string;
|
|
28806
|
+
});
|
|
28807
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.bots.GetRequestedWebViewButton>;
|
|
28808
|
+
write(): Buffer;
|
|
28809
|
+
}
|
|
28431
28810
|
}
|
|
28432
28811
|
namespace stories {
|
|
28433
28812
|
type TypeAlbums = Raw.stories.AlbumsNotModified | Raw.stories.Albums;
|
|
@@ -28609,6 +28988,7 @@ export declare namespace Raw {
|
|
|
28609
28988
|
fwdFromId?: Raw.TypeInputPeer;
|
|
28610
28989
|
fwdFromStory?: int;
|
|
28611
28990
|
albums?: Vector<int>;
|
|
28991
|
+
music?: Raw.TypeInputDocument;
|
|
28612
28992
|
constructor(params: {
|
|
28613
28993
|
pinned?: boolean;
|
|
28614
28994
|
noforwards?: boolean;
|
|
@@ -28624,6 +29004,7 @@ export declare namespace Raw {
|
|
|
28624
29004
|
fwdFromId?: Raw.TypeInputPeer;
|
|
28625
29005
|
fwdFromStory?: int;
|
|
28626
29006
|
albums?: Vector<int>;
|
|
29007
|
+
music?: Raw.TypeInputDocument;
|
|
28627
29008
|
});
|
|
28628
29009
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.stories.SendStory>;
|
|
28629
29010
|
write(): Buffer;
|
|
@@ -28637,6 +29018,7 @@ export declare namespace Raw {
|
|
|
28637
29018
|
caption?: string;
|
|
28638
29019
|
entities?: Vector<Raw.TypeMessageEntity>;
|
|
28639
29020
|
privacyRules?: Vector<Raw.TypeInputPrivacyRule>;
|
|
29021
|
+
music?: Raw.TypeInputDocument;
|
|
28640
29022
|
constructor(params: {
|
|
28641
29023
|
peer: Raw.TypeInputPeer;
|
|
28642
29024
|
id: int;
|
|
@@ -28645,6 +29027,7 @@ export declare namespace Raw {
|
|
|
28645
29027
|
caption?: string;
|
|
28646
29028
|
entities?: Vector<Raw.TypeMessageEntity>;
|
|
28647
29029
|
privacyRules?: Vector<Raw.TypeInputPrivacyRule>;
|
|
29030
|
+
music?: Raw.TypeInputDocument;
|
|
28648
29031
|
});
|
|
28649
29032
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.stories.EditStory>;
|
|
28650
29033
|
write(): Buffer;
|