@tgsnake/skema 1.6.0 → 1.9.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/LICENSE +0 -0
- package/README.md +1 -1
- package/dist/errors/exceptions/All.d.ts +74 -1
- package/dist/errors/exceptions/All.js +74 -1
- package/dist/errors/exceptions/BadRequest400.d.ts +232 -0
- package/dist/errors/exceptions/BadRequest400.js +311 -20
- package/dist/errors/exceptions/Flood420.d.ts +4 -0
- package/dist/errors/exceptions/Flood420.js +6 -1
- package/dist/errors/exceptions/Forbidden403.d.ts +20 -0
- package/dist/errors/exceptions/Forbidden403.js +27 -2
- package/dist/errors/exceptions/InternalServerError500.d.ts +4 -0
- package/dist/errors/exceptions/InternalServerError500.js +6 -1
- package/dist/errors/exceptions/NotAcceptable406.d.ts +28 -0
- package/dist/errors/exceptions/NotAcceptable406.js +37 -2
- package/dist/errors/exceptions/NotFound404.d.ts +4 -0
- package/dist/errors/exceptions/NotFound404.js +6 -1
- package/dist/raw/All.d.ts +79 -37
- package/dist/raw/All.js +79 -37
- package/dist/raw/Raw.d.ts +548 -20
- package/dist/raw/Raw.js +1966 -141
- 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.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.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.updates.GetState | Raw.updates.GetDifference | Raw.updates.GetChannelDifference | Raw.photos.UpdateProfilePhoto | Raw.photos.UploadProfilePhoto | Raw.photos.DeletePhotos | Raw.photos.GetUserPhotos | Raw.photos.UploadContactProfilePhoto | Raw.upload.SaveFilePart | Raw.upload.GetFile | Raw.upload.SaveBigFilePart | Raw.upload.GetWebFile | Raw.upload.GetCdnFile | Raw.upload.ReuploadCdnFile | Raw.upload.GetCdnFileHashes | Raw.upload.GetFileHashes | Raw.help.GetConfig | Raw.help.GetNearestDc | Raw.help.GetAppUpdate | Raw.help.GetInviteText | Raw.help.GetSupport | Raw.help.SetBotUpdatesStatus | Raw.help.GetCdnConfig | Raw.help.GetRecentMeUrls | Raw.help.GetTermsOfServiceUpdate | Raw.help.AcceptTermsOfService | Raw.help.GetDeepLinkInfo | Raw.help.GetAppConfig | Raw.help.SaveAppLog | Raw.help.GetPassportConfig | Raw.help.GetSupportName | Raw.help.GetUserInfo | Raw.help.EditUserInfo | Raw.help.GetPromoData | Raw.help.HidePromoData | Raw.help.DismissSuggestion | Raw.help.GetCountriesList | Raw.help.GetPremiumPromo | Raw.help.GetPeerColors | Raw.help.GetPeerProfileColors | Raw.help.GetTimezonesList | Raw.channels.ReadHistory | Raw.channels.DeleteMessages | Raw.channels.ReportSpam | Raw.channels.GetMessages | Raw.channels.GetParticipants | Raw.channels.GetParticipant | Raw.channels.GetChannels | Raw.channels.GetFullChannel | Raw.channels.CreateChannel | Raw.channels.EditAdmin | Raw.channels.EditTitle | Raw.channels.EditPhoto | Raw.channels.CheckUsername | Raw.channels.UpdateUsername | Raw.channels.JoinChannel | Raw.channels.LeaveChannel | Raw.channels.InviteToChannel | Raw.channels.DeleteChannel | Raw.channels.ExportMessageLink | Raw.channels.ToggleSignatures | Raw.channels.GetAdminedPublicChannels | Raw.channels.EditBanned | Raw.channels.GetAdminLog | Raw.channels.SetStickers | Raw.channels.ReadMessageContents | Raw.channels.DeleteHistory | Raw.channels.TogglePreHistoryHidden | Raw.channels.GetLeftChannels | Raw.channels.GetGroupsForDiscussion | Raw.channels.SetDiscussionGroup | Raw.channels.EditCreator | Raw.channels.EditLocation | Raw.channels.ToggleSlowMode | Raw.channels.GetInactiveChannels | Raw.channels.ConvertToGigagroup | Raw.channels.GetSendAs | Raw.channels.DeleteParticipantHistory | Raw.channels.ToggleJoinToSend | Raw.channels.ToggleJoinRequest | Raw.channels.ReorderUsernames | Raw.channels.ToggleUsername | Raw.channels.DeactivateAllUsernames | Raw.channels.ToggleForum | Raw.channels.ToggleAntiSpam | Raw.channels.ReportAntiSpamFalsePositive | Raw.channels.ToggleParticipantsHidden | Raw.channels.UpdateColor | Raw.channels.ToggleViewForumAsMessages | Raw.channels.GetChannelRecommendations | Raw.channels.UpdateEmojiStatus | Raw.channels.SetBoostsToUnblockRestrictions | Raw.channels.SetEmojiStickers | Raw.channels.RestrictSponsoredMessages | Raw.channels.SearchPosts | Raw.channels.UpdatePaidMessagesPrice | Raw.channels.ToggleAutotranslation | Raw.channels.GetMessageAuthor | Raw.channels.CheckSearchPostsFlood | Raw.channels.SetMainProfileTab | Raw.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.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.updates.GetState | Raw.updates.GetDifference | Raw.updates.GetChannelDifference | Raw.photos.UpdateProfilePhoto | Raw.photos.UploadProfilePhoto | Raw.photos.DeletePhotos | Raw.photos.GetUserPhotos | Raw.photos.UploadContactProfilePhoto | Raw.upload.SaveFilePart | Raw.upload.GetFile | Raw.upload.SaveBigFilePart | Raw.upload.GetWebFile | Raw.upload.GetCdnFile | Raw.upload.ReuploadCdnFile | Raw.upload.GetCdnFileHashes | Raw.upload.GetFileHashes | Raw.help.GetConfig | Raw.help.GetNearestDc | Raw.help.GetAppUpdate | Raw.help.GetInviteText | Raw.help.GetSupport | Raw.help.SetBotUpdatesStatus | Raw.help.GetCdnConfig | Raw.help.GetRecentMeUrls | Raw.help.GetTermsOfServiceUpdate | Raw.help.AcceptTermsOfService | Raw.help.GetDeepLinkInfo | Raw.help.GetAppConfig | Raw.help.SaveAppLog | Raw.help.GetPassportConfig | Raw.help.GetSupportName | Raw.help.GetUserInfo | Raw.help.EditUserInfo | Raw.help.GetPromoData | Raw.help.HidePromoData | Raw.help.DismissSuggestion | Raw.help.GetCountriesList | Raw.help.GetPremiumPromo | Raw.help.GetPeerColors | Raw.help.GetPeerProfileColors | Raw.help.GetTimezonesList | Raw.channels.ReadHistory | Raw.channels.DeleteMessages | Raw.channels.ReportSpam | Raw.channels.GetMessages | Raw.channels.GetParticipants | Raw.channels.GetParticipant | Raw.channels.GetChannels | Raw.channels.GetFullChannel | Raw.channels.CreateChannel | Raw.channels.EditAdmin | Raw.channels.EditTitle | Raw.channels.EditPhoto | Raw.channels.CheckUsername | Raw.channels.UpdateUsername | Raw.channels.JoinChannel | Raw.channels.LeaveChannel | Raw.channels.InviteToChannel | Raw.channels.DeleteChannel | Raw.channels.ExportMessageLink | Raw.channels.ToggleSignatures | Raw.channels.GetAdminedPublicChannels | Raw.channels.EditBanned | Raw.channels.GetAdminLog | Raw.channels.SetStickers | Raw.channels.ReadMessageContents | Raw.channels.DeleteHistory | Raw.channels.TogglePreHistoryHidden | Raw.channels.GetLeftChannels | Raw.channels.GetGroupsForDiscussion | Raw.channels.SetDiscussionGroup | Raw.channels.EditCreator | Raw.channels.EditLocation | Raw.channels.ToggleSlowMode | Raw.channels.GetInactiveChannels | Raw.channels.ConvertToGigagroup | Raw.channels.GetSendAs | Raw.channels.DeleteParticipantHistory | Raw.channels.ToggleJoinToSend | Raw.channels.ToggleJoinRequest | Raw.channels.ReorderUsernames | Raw.channels.ToggleUsername | Raw.channels.DeactivateAllUsernames | Raw.channels.ToggleForum | Raw.channels.ToggleAntiSpam | Raw.channels.ReportAntiSpamFalsePositive | Raw.channels.ToggleParticipantsHidden | Raw.channels.UpdateColor | Raw.channels.ToggleViewForumAsMessages | Raw.channels.GetChannelRecommendations | Raw.channels.UpdateEmojiStatus | Raw.channels.SetBoostsToUnblockRestrictions | Raw.channels.SetEmojiStickers | Raw.channels.RestrictSponsoredMessages | Raw.channels.SearchPosts | Raw.channels.UpdatePaidMessagesPrice | Raw.channels.ToggleAutotranslation | Raw.channels.GetMessageAuthor | Raw.channels.CheckSearchPostsFlood | Raw.channels.SetMainProfileTab | Raw.channels.GetFutureCreatorAfterLeave | Raw.bots.SendCustomRequest | Raw.bots.AnswerWebhookJSONQuery | Raw.bots.SetBotCommands | Raw.bots.ResetBotCommands | Raw.bots.GetBotCommands | Raw.bots.SetBotMenuButton | Raw.bots.GetBotMenuButton | Raw.bots.SetBotBroadcastDefaultAdminRights | Raw.bots.SetBotGroupDefaultAdminRights | Raw.bots.SetBotInfo | Raw.bots.GetBotInfo | Raw.bots.ReorderUsernames | Raw.bots.ToggleUsername | Raw.bots.CanSendMessage | Raw.bots.AllowSendMessage | Raw.bots.InvokeWebViewCustomMethod | Raw.bots.GetPopularAppBots | Raw.bots.AddPreviewMedia | Raw.bots.EditPreviewMedia | Raw.bots.DeletePreviewMedia | Raw.bots.ReorderPreviewMedias | Raw.bots.GetPreviewInfo | Raw.bots.GetPreviewMedias | Raw.bots.UpdateUserEmojiStatus | Raw.bots.ToggleUserEmojiStatusPermission | Raw.bots.CheckDownloadFileParams | Raw.bots.GetAdminedBots | Raw.bots.UpdateStarRefProgram | Raw.bots.SetCustomVerification | Raw.bots.GetBotRecommendations | Raw.payments.GetPaymentForm | Raw.payments.GetPaymentReceipt | Raw.payments.ValidateRequestedInfo | Raw.payments.SendPaymentForm | Raw.payments.GetSavedInfo | Raw.payments.ClearSavedInfo | Raw.payments.GetBankCardData | Raw.payments.ExportInvoice | Raw.payments.AssignAppStoreTransaction | Raw.payments.AssignPlayMarketTransaction | Raw.payments.GetPremiumGiftCodeOptions | Raw.payments.CheckGiftCode | Raw.payments.ApplyGiftCode | Raw.payments.GetGiveawayInfo | Raw.payments.LaunchPrepaidGiveaway | Raw.payments.GetStarsTopupOptions | Raw.payments.GetStarsStatus | Raw.payments.GetStarsTransactions | Raw.payments.SendStarsForm | Raw.payments.RefundStarsCharge | Raw.payments.GetStarsRevenueStats | Raw.payments.GetStarsRevenueWithdrawalUrl | Raw.payments.GetStarsRevenueAdsAccountUrl | Raw.payments.GetStarsTransactionsByID | Raw.payments.GetStarsGiftOptions | Raw.payments.GetStarsSubscriptions | Raw.payments.ChangeStarsSubscription | Raw.payments.FulfillStarsSubscription | Raw.payments.GetStarsGiveawayOptions | Raw.payments.GetStarGifts | Raw.payments.SaveStarGift | Raw.payments.ConvertStarGift | Raw.payments.BotCancelStarsSubscription | Raw.payments.GetConnectedStarRefBots | Raw.payments.GetConnectedStarRefBot | Raw.payments.GetSuggestedStarRefBots | Raw.payments.ConnectStarRefBot | Raw.payments.EditConnectedStarRefBot | Raw.payments.GetStarGiftUpgradePreview | Raw.payments.UpgradeStarGift | Raw.payments.TransferStarGift | Raw.payments.GetUniqueStarGift | Raw.payments.GetSavedStarGifts | Raw.payments.GetSavedStarGift | Raw.payments.GetStarGiftWithdrawalUrl | Raw.payments.ToggleChatStarGiftNotifications | Raw.payments.ToggleStarGiftsPinnedToTop | Raw.payments.CanPurchaseStore | Raw.payments.GetResaleStarGifts | Raw.payments.UpdateStarGiftPrice | Raw.payments.CreateStarGiftCollection | Raw.payments.UpdateStarGiftCollection | Raw.payments.ReorderStarGiftCollections | Raw.payments.DeleteStarGiftCollection | Raw.payments.GetStarGiftCollections | Raw.payments.GetUniqueStarGiftValueInfo | Raw.payments.CheckCanSendGift | Raw.payments.GetStarGiftAuctionState | Raw.payments.GetStarGiftAuctionAcquiredGifts | Raw.payments.GetStarGiftActiveAuctions | Raw.payments.ResolveStarGiftOffer | Raw.payments.SendStarGiftOffer | Raw.payments.GetStarGiftUpgradeAttributes | Raw.payments.GetCraftStarGifts | Raw.payments.CraftStarGift | Raw.stickers.CreateStickerSet | Raw.stickers.RemoveStickerFromSet | Raw.stickers.ChangeStickerPosition | Raw.stickers.AddStickerToSet | Raw.stickers.SetStickerSetThumb | Raw.stickers.CheckShortName | Raw.stickers.SuggestShortName | Raw.stickers.ChangeSticker | Raw.stickers.RenameStickerSet | Raw.stickers.DeleteStickerSet | Raw.stickers.ReplaceSticker | Raw.phone.GetCallConfig | Raw.phone.RequestCall | Raw.phone.AcceptCall | Raw.phone.ConfirmCall | Raw.phone.ReceivedCall | Raw.phone.DiscardCall | Raw.phone.SetCallRating | Raw.phone.SaveCallDebug | Raw.phone.SendSignalingData | Raw.phone.CreateGroupCall | Raw.phone.JoinGroupCall | Raw.phone.LeaveGroupCall | Raw.phone.InviteToGroupCall | Raw.phone.DiscardGroupCall | Raw.phone.ToggleGroupCallSettings | Raw.phone.GetGroupCall | Raw.phone.GetGroupParticipants | Raw.phone.CheckGroupCall | Raw.phone.ToggleGroupCallRecord | Raw.phone.EditGroupCallParticipant | Raw.phone.EditGroupCallTitle | Raw.phone.GetGroupCallJoinAs | Raw.phone.ExportGroupCallInvite | Raw.phone.ToggleGroupCallStartSubscription | Raw.phone.StartScheduledGroupCall | Raw.phone.SaveDefaultGroupCallJoinAs | Raw.phone.JoinGroupCallPresentation | Raw.phone.LeaveGroupCallPresentation | Raw.phone.GetGroupCallStreamChannels | Raw.phone.GetGroupCallStreamRtmpUrl | Raw.phone.SaveCallLog | Raw.phone.CreateConferenceCall | Raw.phone.DeleteConferenceCallParticipants | Raw.phone.SendConferenceCallBroadcast | Raw.phone.InviteConferenceCallParticipant | Raw.phone.DeclineConferenceCallInvite | Raw.phone.GetGroupCallChainBlocks | Raw.phone.SendGroupCallMessage | Raw.phone.SendGroupCallEncryptedMessage | Raw.phone.DeleteGroupCallMessages | Raw.phone.DeleteGroupCallParticipantMessages | Raw.phone.GetGroupCallStars | Raw.phone.SaveDefaultSendAs | Raw.langpack.GetLangPack | Raw.langpack.GetStrings | Raw.langpack.GetDifference | Raw.langpack.GetLanguages | Raw.langpack.GetLanguage | Raw.folders.EditPeerFolders | Raw.stats.GetBroadcastStats | Raw.stats.LoadAsyncGraph | Raw.stats.GetMegagroupStats | Raw.stats.GetMessagePublicForwards | Raw.stats.GetMessageStats | Raw.stats.GetStoryStats | Raw.stats.GetStoryPublicForwards | Raw.chatlists.ExportChatlistInvite | Raw.chatlists.DeleteExportedInvite | Raw.chatlists.EditExportedInvite | Raw.chatlists.GetExportedInvites | Raw.chatlists.CheckChatlistInvite | Raw.chatlists.JoinChatlistInvite | Raw.chatlists.GetChatlistUpdates | Raw.chatlists.JoinChatlistUpdates | Raw.chatlists.HideChatlistUpdates | Raw.chatlists.GetLeaveChatlistSuggestions | Raw.chatlists.LeaveChatlist | Raw.stories.CanSendStory | Raw.stories.SendStory | Raw.stories.EditStory | Raw.stories.DeleteStories | Raw.stories.TogglePinned | Raw.stories.GetAllStories | Raw.stories.GetPinnedStories | Raw.stories.GetStoriesArchive | Raw.stories.GetStoriesByID | Raw.stories.ToggleAllStoriesHidden | Raw.stories.ReadStories | Raw.stories.IncrementStoryViews | Raw.stories.GetStoryViewsList | Raw.stories.GetStoriesViews | Raw.stories.ExportStoryLink | Raw.stories.Report | Raw.stories.ActivateStealthMode | Raw.stories.SendReaction | Raw.stories.GetPeerStories | Raw.stories.GetAllReadPeerStories | Raw.stories.GetPeerMaxIDs | Raw.stories.GetChatsToSend | Raw.stories.TogglePeerStoriesHidden | Raw.stories.GetStoryReactionsList | Raw.stories.TogglePinnedToTop | Raw.stories.SearchPosts | Raw.stories.CreateAlbum | Raw.stories.UpdateAlbum | Raw.stories.ReorderAlbums | Raw.stories.DeleteAlbum | Raw.stories.GetAlbums | Raw.stories.GetAlbumStories | Raw.stories.StartLive | Raw.premium.GetBoostsList | Raw.premium.GetMyBoosts | Raw.premium.ApplyBoost | Raw.premium.GetBoostsStatus | Raw.premium.GetUserBoosts | Raw.smsjobs.IsEligibleToJoin | Raw.smsjobs.Join | Raw.smsjobs.Leave | Raw.smsjobs.UpdateSettings | Raw.smsjobs.GetStatus | Raw.smsjobs.GetSmsJob | Raw.smsjobs.FinishJob | Raw.fragment.GetCollectibleInfo;
|
|
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;
|
|
@@ -96,12 +96,16 @@ export declare namespace Raw {
|
|
|
96
96
|
type TypeReportReason = Raw.InputReportReasonSpam | Raw.InputReportReasonViolence | Raw.InputReportReasonPornography | Raw.InputReportReasonChildAbuse | Raw.InputReportReasonOther | Raw.InputReportReasonCopyright | Raw.InputReportReasonGeoIrrelevant | Raw.InputReportReasonFake | Raw.InputReportReasonIllegalDrugs | Raw.InputReportReasonPersonalDetails;
|
|
97
97
|
type TypeInputPeerNotifySettings = Raw.InputPeerNotifySettings;
|
|
98
98
|
type TypeInputNotifyPeer = Raw.InputNotifyPeer | Raw.InputNotifyUsers | Raw.InputNotifyChats | Raw.InputNotifyBroadcasts | Raw.InputNotifyForumTopic;
|
|
99
|
+
type TypeInputPasskeyCredential = Raw.InputPasskeyCredentialPublicKey | Raw.InputPasskeyCredentialFirebasePNV;
|
|
99
100
|
type TypeInputCheckPasswordSRP = Raw.InputCheckPasswordEmpty | Raw.InputCheckPasswordSRP;
|
|
100
101
|
type TypeEmailVerification = Raw.EmailVerificationCode | Raw.EmailVerificationGoogle | Raw.EmailVerificationApple;
|
|
101
102
|
type TypeCodeSettings = Raw.CodeSettings;
|
|
102
103
|
type TypeInputClientProxy = Raw.InputClientProxy;
|
|
104
|
+
type TypeInputPasskeyResponse = Raw.InputPasskeyResponseRegister | Raw.InputPasskeyResponseLogin;
|
|
105
|
+
type TypePasskey = Raw.Passkey;
|
|
103
106
|
type TypeStarGiftActiveAuctionState = Raw.StarGiftActiveAuctionState;
|
|
104
107
|
type TypeStarGiftAuctionAcquiredGift = Raw.StarGiftAuctionAcquiredGift;
|
|
108
|
+
type TypeStarGiftAuctionRound = Raw.StarGiftAuctionRound | Raw.StarGiftAuctionRoundExtendable;
|
|
105
109
|
type TypeAuctionBidLevel = Raw.AuctionBidLevel;
|
|
106
110
|
type TypeGroupCallDonor = Raw.GroupCallDonor;
|
|
107
111
|
type TypeStoryAlbum = Raw.StoryAlbum;
|
|
@@ -111,9 +115,11 @@ export declare namespace Raw {
|
|
|
111
115
|
type TypeSponsoredPeer = Raw.SponsoredPeer;
|
|
112
116
|
type TypeSavedStarGift = Raw.SavedStarGift;
|
|
113
117
|
type TypeStarGiftUpgradePrice = Raw.StarGiftUpgradePrice;
|
|
118
|
+
type TypeStarGiftAttributeRarity = Raw.StarGiftAttributeRarity | Raw.StarGiftAttributeRarityUncommon | Raw.StarGiftAttributeRarityRare | Raw.StarGiftAttributeRarityEpic | Raw.StarGiftAttributeRarityLegendary;
|
|
114
119
|
type TypeConnectedBotStarRef = Raw.ConnectedBotStarRef;
|
|
115
120
|
type TypeMessageReportOption = Raw.MessageReportOption;
|
|
116
121
|
type TypeStarGiftAttribute = Raw.StarGiftAttributeModel | Raw.StarGiftAttributePattern | Raw.StarGiftAttributeBackdrop | Raw.StarGiftAttributeOriginalDetails;
|
|
122
|
+
type TypeStarGiftBackground = Raw.StarGiftBackground;
|
|
117
123
|
type TypeStarsGiveawayWinnersOption = Raw.StarsGiveawayWinnersOption;
|
|
118
124
|
type TypeBotPreviewMedia = Raw.BotPreviewMedia;
|
|
119
125
|
type TypeFoundStory = Raw.FoundStory;
|
|
@@ -236,6 +242,7 @@ export declare namespace Raw {
|
|
|
236
242
|
type TypeKeyboardButtonRow = Raw.KeyboardButtonRow;
|
|
237
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;
|
|
238
244
|
type TypeRequestPeerType = Raw.RequestPeerTypeUser | Raw.RequestPeerTypeChat | Raw.RequestPeerTypeBroadcast;
|
|
245
|
+
type TypeKeyboardButtonStyle = Raw.KeyboardButtonStyle;
|
|
239
246
|
type TypeBotVerifierSettings = Raw.BotVerifierSettings;
|
|
240
247
|
type TypeBotAppSettings = Raw.BotAppSettings;
|
|
241
248
|
type TypeStickerKeyword = Raw.StickerKeyword;
|
|
@@ -251,7 +258,7 @@ export declare namespace Raw {
|
|
|
251
258
|
type TypeInputUser = Raw.InputUserEmpty | Raw.InputUserSelf | Raw.InputUser | Raw.InputUserFromMessage;
|
|
252
259
|
type TypeEncryptedFile = Raw.EncryptedFileEmpty | Raw.EncryptedFile;
|
|
253
260
|
type TypeFileHash = Raw.FileHash;
|
|
254
|
-
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 | 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 | UpdateSecretChatMessage;
|
|
255
262
|
type TypeStarGiftAuctionUserState = Raw.StarGiftAuctionUserState;
|
|
256
263
|
type TypeStarGiftAuctionState = Raw.StarGiftAuctionStateNotModified | Raw.StarGiftAuctionState | Raw.StarGiftAuctionStateFinished;
|
|
257
264
|
type TypeGroupCallMessage = Raw.GroupCallMessage;
|
|
@@ -332,7 +339,7 @@ export declare namespace Raw {
|
|
|
332
339
|
type TypeWebPage = Raw.WebPageEmpty | Raw.WebPagePending | Raw.WebPage | Raw.WebPageNotModified;
|
|
333
340
|
type TypeDocument = Raw.DocumentEmpty | Raw.Document;
|
|
334
341
|
type TypeGeoPoint = Raw.GeoPointEmpty | Raw.GeoPoint;
|
|
335
|
-
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;
|
|
342
|
+
type TypeMessageAction = Raw.MessageActionEmpty | Raw.MessageActionChatCreate | Raw.MessageActionChatEditTitle | Raw.MessageActionChatEditPhoto | Raw.MessageActionChatDeletePhoto | Raw.MessageActionChatAddUser | Raw.MessageActionChatDeleteUser | Raw.MessageActionChatJoinedByLink | Raw.MessageActionChannelCreate | Raw.MessageActionChatMigrateTo | Raw.MessageActionChannelMigrateFrom | Raw.MessageActionPinMessage | Raw.MessageActionHistoryClear | Raw.MessageActionGameScore | Raw.MessageActionPaymentSentMe | Raw.MessageActionPaymentSent | Raw.MessageActionPhoneCall | Raw.MessageActionScreenshotTaken | Raw.MessageActionCustomAction | Raw.MessageActionBotAllowed | Raw.MessageActionSecureValuesSentMe | Raw.MessageActionSecureValuesSent | Raw.MessageActionContactSignUp | Raw.MessageActionGeoProximityReached | Raw.MessageActionGroupCall | Raw.MessageActionInviteToGroupCall | Raw.MessageActionSetMessagesTTL | Raw.MessageActionGroupCallScheduled | Raw.MessageActionSetChatTheme | Raw.MessageActionChatJoinedByRequest | Raw.MessageActionWebViewDataSentMe | Raw.MessageActionWebViewDataSent | Raw.MessageActionGiftPremium | Raw.MessageActionTopicCreate | Raw.MessageActionTopicEdit | Raw.MessageActionSuggestProfilePhoto | Raw.MessageActionRequestedPeer | Raw.MessageActionSetChatWallPaper | Raw.MessageActionGiftCode | Raw.MessageActionGiveawayLaunch | Raw.MessageActionGiveawayResults | Raw.MessageActionBoostApply | Raw.MessageActionRequestedPeerSentMe | Raw.MessageActionPaymentRefunded | Raw.MessageActionGiftStars | Raw.MessageActionPrizeStars | Raw.MessageActionStarGift | Raw.MessageActionStarGiftUnique | Raw.MessageActionPaidMessagesRefunded | Raw.MessageActionPaidMessagesPrice | Raw.MessageActionConferenceCall | Raw.MessageActionTodoCompletions | Raw.MessageActionTodoAppendTasks | Raw.MessageActionSuggestedPostApproval | Raw.MessageActionSuggestedPostSuccess | Raw.MessageActionSuggestedPostRefund | Raw.MessageActionGiftTon | Raw.MessageActionSuggestBirthday | Raw.MessageActionStarGiftPurchaseOffer | Raw.MessageActionStarGiftPurchaseOfferDeclined | Raw.MessageActionNewCreatorPending | Raw.MessageActionChangeCreator;
|
|
336
343
|
type TypeSuggestedPost = Raw.SuggestedPost;
|
|
337
344
|
type TypeFactCheck = Raw.FactCheck;
|
|
338
345
|
type TypeMessageReactions = Raw.MessageReactions;
|
|
@@ -372,7 +379,7 @@ export declare namespace Raw {
|
|
|
372
379
|
type TypeTodoList = Raw.TodoList;
|
|
373
380
|
type TypeMessageEntity = Raw.MessageEntityUnknown | Raw.MessageEntityMention | Raw.MessageEntityHashtag | Raw.MessageEntityBotCommand | Raw.MessageEntityUrl | Raw.MessageEntityEmail | Raw.MessageEntityBold | Raw.MessageEntityItalic | Raw.MessageEntityCode | Raw.MessageEntityPre | Raw.MessageEntityTextUrl | Raw.MessageEntityMentionName | Raw.InputMessageEntityMentionName | Raw.MessageEntityPhone | Raw.MessageEntityCashtag | Raw.MessageEntityUnderline | Raw.MessageEntityStrike | Raw.MessageEntityBankCard | Raw.MessageEntitySpoiler | Raw.MessageEntityCustomEmoji | Raw.MessageEntityBlockquote | Raw.MessageEntityBlockquote101;
|
|
374
381
|
type TypePoll = Raw.Poll;
|
|
375
|
-
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;
|
|
382
|
+
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;
|
|
376
383
|
type TypeDataJSON = Raw.DataJSON;
|
|
377
384
|
type TypeInvoice = Raw.Invoice;
|
|
378
385
|
type TypeInputWebDocument = Raw.InputWebDocument;
|
|
@@ -1364,6 +1371,18 @@ export declare namespace Raw {
|
|
|
1364
1371
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.InputMediaTodo>;
|
|
1365
1372
|
write(): Buffer;
|
|
1366
1373
|
}
|
|
1374
|
+
class InputMediaStakeDice extends TLObject {
|
|
1375
|
+
gameHash: string;
|
|
1376
|
+
tonAmount: long;
|
|
1377
|
+
clientSeed: bytes;
|
|
1378
|
+
constructor(params: {
|
|
1379
|
+
gameHash: string;
|
|
1380
|
+
tonAmount: long;
|
|
1381
|
+
clientSeed: bytes;
|
|
1382
|
+
});
|
|
1383
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.InputMediaStakeDice>;
|
|
1384
|
+
write(): Buffer;
|
|
1385
|
+
}
|
|
1367
1386
|
class InputChatPhotoEmpty extends TLObject {
|
|
1368
1387
|
constructor();
|
|
1369
1388
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.InputChatPhotoEmpty>;
|
|
@@ -1607,6 +1626,7 @@ export declare namespace Raw {
|
|
|
1607
1626
|
botBusiness?: boolean;
|
|
1608
1627
|
botHasMainApp?: boolean;
|
|
1609
1628
|
botForumView?: boolean;
|
|
1629
|
+
botForumCanManageTopics?: boolean;
|
|
1610
1630
|
id: long;
|
|
1611
1631
|
accessHash?: long;
|
|
1612
1632
|
firstName?: string;
|
|
@@ -1654,6 +1674,7 @@ export declare namespace Raw {
|
|
|
1654
1674
|
botBusiness?: boolean;
|
|
1655
1675
|
botHasMainApp?: boolean;
|
|
1656
1676
|
botForumView?: boolean;
|
|
1677
|
+
botForumCanManageTopics?: boolean;
|
|
1657
1678
|
id: long;
|
|
1658
1679
|
accessHash?: long;
|
|
1659
1680
|
firstName?: string;
|
|
@@ -1905,6 +1926,7 @@ export declare namespace Raw {
|
|
|
1905
1926
|
class ChannelForbidden extends TLObject {
|
|
1906
1927
|
broadcast?: boolean;
|
|
1907
1928
|
megagroup?: boolean;
|
|
1929
|
+
monoforum?: boolean;
|
|
1908
1930
|
id: long;
|
|
1909
1931
|
accessHash: long;
|
|
1910
1932
|
title: string;
|
|
@@ -1912,6 +1934,7 @@ export declare namespace Raw {
|
|
|
1912
1934
|
constructor(params: {
|
|
1913
1935
|
broadcast?: boolean;
|
|
1914
1936
|
megagroup?: boolean;
|
|
1937
|
+
monoforum?: boolean;
|
|
1915
1938
|
id: long;
|
|
1916
1939
|
accessHash: long;
|
|
1917
1940
|
title: string;
|
|
@@ -2233,6 +2256,7 @@ export declare namespace Raw {
|
|
|
2233
2256
|
paidMessageStars?: long;
|
|
2234
2257
|
suggestedPost?: Raw.TypeSuggestedPost;
|
|
2235
2258
|
scheduleRepeatPeriod?: int;
|
|
2259
|
+
summaryFromLanguage?: string;
|
|
2236
2260
|
constructor(params: {
|
|
2237
2261
|
out?: boolean;
|
|
2238
2262
|
mentioned?: boolean;
|
|
@@ -2279,6 +2303,7 @@ export declare namespace Raw {
|
|
|
2279
2303
|
paidMessageStars?: long;
|
|
2280
2304
|
suggestedPost?: Raw.TypeSuggestedPost;
|
|
2281
2305
|
scheduleRepeatPeriod?: int;
|
|
2306
|
+
summaryFromLanguage?: string;
|
|
2282
2307
|
});
|
|
2283
2308
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.Message>;
|
|
2284
2309
|
write(): Buffer;
|
|
@@ -2488,9 +2513,11 @@ export declare namespace Raw {
|
|
|
2488
2513
|
class MessageMediaDice extends TLObject {
|
|
2489
2514
|
value: int;
|
|
2490
2515
|
emoticon: string;
|
|
2516
|
+
gameOutcome?: Raw.messages.TypeEmojiGameOutcome;
|
|
2491
2517
|
constructor(params: {
|
|
2492
2518
|
value: int;
|
|
2493
2519
|
emoticon: string;
|
|
2520
|
+
gameOutcome?: Raw.messages.TypeEmojiGameOutcome;
|
|
2494
2521
|
});
|
|
2495
2522
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.MessageMediaDice>;
|
|
2496
2523
|
write(): Buffer;
|
|
@@ -3099,6 +3126,7 @@ export declare namespace Raw {
|
|
|
3099
3126
|
prepaidUpgradeHash?: string;
|
|
3100
3127
|
giftMsgId?: int;
|
|
3101
3128
|
toId?: Raw.TypePeer;
|
|
3129
|
+
giftNum?: int;
|
|
3102
3130
|
constructor(params: {
|
|
3103
3131
|
nameHidden?: boolean;
|
|
3104
3132
|
saved?: boolean;
|
|
@@ -3120,6 +3148,7 @@ export declare namespace Raw {
|
|
|
3120
3148
|
prepaidUpgradeHash?: string;
|
|
3121
3149
|
giftMsgId?: int;
|
|
3122
3150
|
toId?: Raw.TypePeer;
|
|
3151
|
+
giftNum?: int;
|
|
3123
3152
|
});
|
|
3124
3153
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.MessageActionStarGift>;
|
|
3125
3154
|
write(): Buffer;
|
|
@@ -3131,6 +3160,8 @@ export declare namespace Raw {
|
|
|
3131
3160
|
refunded?: boolean;
|
|
3132
3161
|
prepaidUpgrade?: boolean;
|
|
3133
3162
|
assigned?: boolean;
|
|
3163
|
+
fromOffer?: boolean;
|
|
3164
|
+
craft?: boolean;
|
|
3134
3165
|
gift: Raw.TypeStarGift;
|
|
3135
3166
|
canExportAt?: int;
|
|
3136
3167
|
transferStars?: long;
|
|
@@ -3141,6 +3172,7 @@ export declare namespace Raw {
|
|
|
3141
3172
|
canTransferAt?: int;
|
|
3142
3173
|
canResellAt?: int;
|
|
3143
3174
|
dropOriginalDetailsStars?: long;
|
|
3175
|
+
canCraftAt?: int;
|
|
3144
3176
|
constructor(params: {
|
|
3145
3177
|
upgrade?: boolean;
|
|
3146
3178
|
transferred?: boolean;
|
|
@@ -3148,6 +3180,8 @@ export declare namespace Raw {
|
|
|
3148
3180
|
refunded?: boolean;
|
|
3149
3181
|
prepaidUpgrade?: boolean;
|
|
3150
3182
|
assigned?: boolean;
|
|
3183
|
+
fromOffer?: boolean;
|
|
3184
|
+
craft?: boolean;
|
|
3151
3185
|
gift: Raw.TypeStarGift;
|
|
3152
3186
|
canExportAt?: int;
|
|
3153
3187
|
transferStars?: long;
|
|
@@ -3158,6 +3192,7 @@ export declare namespace Raw {
|
|
|
3158
3192
|
canTransferAt?: int;
|
|
3159
3193
|
canResellAt?: int;
|
|
3160
3194
|
dropOriginalDetailsStars?: long;
|
|
3195
|
+
canCraftAt?: int;
|
|
3161
3196
|
});
|
|
3162
3197
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.MessageActionStarGiftUnique>;
|
|
3163
3198
|
write(): Buffer;
|
|
@@ -3274,6 +3309,50 @@ export declare namespace Raw {
|
|
|
3274
3309
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.MessageActionSuggestBirthday>;
|
|
3275
3310
|
write(): Buffer;
|
|
3276
3311
|
}
|
|
3312
|
+
class MessageActionStarGiftPurchaseOffer extends TLObject {
|
|
3313
|
+
accepted?: boolean;
|
|
3314
|
+
declined?: boolean;
|
|
3315
|
+
gift: Raw.TypeStarGift;
|
|
3316
|
+
price: Raw.TypeStarsAmount;
|
|
3317
|
+
expiresAt: int;
|
|
3318
|
+
constructor(params: {
|
|
3319
|
+
accepted?: boolean;
|
|
3320
|
+
declined?: boolean;
|
|
3321
|
+
gift: Raw.TypeStarGift;
|
|
3322
|
+
price: Raw.TypeStarsAmount;
|
|
3323
|
+
expiresAt: int;
|
|
3324
|
+
});
|
|
3325
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.MessageActionStarGiftPurchaseOffer>;
|
|
3326
|
+
write(): Buffer;
|
|
3327
|
+
}
|
|
3328
|
+
class MessageActionStarGiftPurchaseOfferDeclined extends TLObject {
|
|
3329
|
+
expired?: boolean;
|
|
3330
|
+
gift: Raw.TypeStarGift;
|
|
3331
|
+
price: Raw.TypeStarsAmount;
|
|
3332
|
+
constructor(params: {
|
|
3333
|
+
expired?: boolean;
|
|
3334
|
+
gift: Raw.TypeStarGift;
|
|
3335
|
+
price: Raw.TypeStarsAmount;
|
|
3336
|
+
});
|
|
3337
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.MessageActionStarGiftPurchaseOfferDeclined>;
|
|
3338
|
+
write(): Buffer;
|
|
3339
|
+
}
|
|
3340
|
+
class MessageActionNewCreatorPending extends TLObject {
|
|
3341
|
+
newCreatorId: long;
|
|
3342
|
+
constructor(params: {
|
|
3343
|
+
newCreatorId: long;
|
|
3344
|
+
});
|
|
3345
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.MessageActionNewCreatorPending>;
|
|
3346
|
+
write(): Buffer;
|
|
3347
|
+
}
|
|
3348
|
+
class MessageActionChangeCreator extends TLObject {
|
|
3349
|
+
newCreatorId: long;
|
|
3350
|
+
constructor(params: {
|
|
3351
|
+
newCreatorId: long;
|
|
3352
|
+
});
|
|
3353
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.MessageActionChangeCreator>;
|
|
3354
|
+
write(): Buffer;
|
|
3355
|
+
}
|
|
3277
3356
|
class Dialog extends TLObject {
|
|
3278
3357
|
pinned?: boolean;
|
|
3279
3358
|
unreadMark?: boolean;
|
|
@@ -5578,6 +5657,19 @@ export declare namespace Raw {
|
|
|
5578
5657
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.UpdateStarGiftAuctionUserState>;
|
|
5579
5658
|
write(): Buffer;
|
|
5580
5659
|
}
|
|
5660
|
+
class UpdateEmojiGameInfo extends TLObject {
|
|
5661
|
+
info: Raw.messages.TypeEmojiGameInfo;
|
|
5662
|
+
constructor(params: {
|
|
5663
|
+
info: Raw.messages.TypeEmojiGameInfo;
|
|
5664
|
+
});
|
|
5665
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.UpdateEmojiGameInfo>;
|
|
5666
|
+
write(): Buffer;
|
|
5667
|
+
}
|
|
5668
|
+
class UpdateStarGiftCraftFail extends TLObject {
|
|
5669
|
+
constructor();
|
|
5670
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.UpdateStarGiftCraftFail>;
|
|
5671
|
+
write(): Buffer;
|
|
5672
|
+
}
|
|
5581
5673
|
class UpdatesTooLong extends TLObject {
|
|
5582
5674
|
constructor();
|
|
5583
5675
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.UpdatesTooLong>;
|
|
@@ -7024,17 +7116,21 @@ export declare namespace Raw {
|
|
|
7024
7116
|
write(): Buffer;
|
|
7025
7117
|
}
|
|
7026
7118
|
class KeyboardButton extends TLObject {
|
|
7119
|
+
style?: Raw.TypeKeyboardButtonStyle;
|
|
7027
7120
|
text: string;
|
|
7028
7121
|
constructor(params: {
|
|
7122
|
+
style?: Raw.TypeKeyboardButtonStyle;
|
|
7029
7123
|
text: string;
|
|
7030
7124
|
});
|
|
7031
7125
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.KeyboardButton>;
|
|
7032
7126
|
write(): Buffer;
|
|
7033
7127
|
}
|
|
7034
7128
|
class KeyboardButtonUrl extends TLObject {
|
|
7129
|
+
style?: Raw.TypeKeyboardButtonStyle;
|
|
7035
7130
|
text: string;
|
|
7036
7131
|
url: string;
|
|
7037
7132
|
constructor(params: {
|
|
7133
|
+
style?: Raw.TypeKeyboardButtonStyle;
|
|
7038
7134
|
text: string;
|
|
7039
7135
|
url: string;
|
|
7040
7136
|
});
|
|
@@ -7043,10 +7139,12 @@ export declare namespace Raw {
|
|
|
7043
7139
|
}
|
|
7044
7140
|
class KeyboardButtonCallback extends TLObject {
|
|
7045
7141
|
requiresPassword?: boolean;
|
|
7142
|
+
style?: Raw.TypeKeyboardButtonStyle;
|
|
7046
7143
|
text: string;
|
|
7047
7144
|
data: bytes;
|
|
7048
7145
|
constructor(params: {
|
|
7049
7146
|
requiresPassword?: boolean;
|
|
7147
|
+
style?: Raw.TypeKeyboardButtonStyle;
|
|
7050
7148
|
text: string;
|
|
7051
7149
|
data: bytes;
|
|
7052
7150
|
});
|
|
@@ -7054,16 +7152,20 @@ export declare namespace Raw {
|
|
|
7054
7152
|
write(): Buffer;
|
|
7055
7153
|
}
|
|
7056
7154
|
class KeyboardButtonRequestPhone extends TLObject {
|
|
7155
|
+
style?: Raw.TypeKeyboardButtonStyle;
|
|
7057
7156
|
text: string;
|
|
7058
7157
|
constructor(params: {
|
|
7158
|
+
style?: Raw.TypeKeyboardButtonStyle;
|
|
7059
7159
|
text: string;
|
|
7060
7160
|
});
|
|
7061
7161
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.KeyboardButtonRequestPhone>;
|
|
7062
7162
|
write(): Buffer;
|
|
7063
7163
|
}
|
|
7064
7164
|
class KeyboardButtonRequestGeoLocation extends TLObject {
|
|
7165
|
+
style?: Raw.TypeKeyboardButtonStyle;
|
|
7065
7166
|
text: string;
|
|
7066
7167
|
constructor(params: {
|
|
7168
|
+
style?: Raw.TypeKeyboardButtonStyle;
|
|
7067
7169
|
text: string;
|
|
7068
7170
|
});
|
|
7069
7171
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.KeyboardButtonRequestGeoLocation>;
|
|
@@ -7071,11 +7173,13 @@ export declare namespace Raw {
|
|
|
7071
7173
|
}
|
|
7072
7174
|
class KeyboardButtonSwitchInline extends TLObject {
|
|
7073
7175
|
samePeer?: boolean;
|
|
7176
|
+
style?: Raw.TypeKeyboardButtonStyle;
|
|
7074
7177
|
text: string;
|
|
7075
7178
|
query: string;
|
|
7076
7179
|
peerTypes?: Vector<Raw.TypeInlineQueryPeerType>;
|
|
7077
7180
|
constructor(params: {
|
|
7078
7181
|
samePeer?: boolean;
|
|
7182
|
+
style?: Raw.TypeKeyboardButtonStyle;
|
|
7079
7183
|
text: string;
|
|
7080
7184
|
query: string;
|
|
7081
7185
|
peerTypes?: Vector<Raw.TypeInlineQueryPeerType>;
|
|
@@ -7084,27 +7188,33 @@ export declare namespace Raw {
|
|
|
7084
7188
|
write(): Buffer;
|
|
7085
7189
|
}
|
|
7086
7190
|
class KeyboardButtonGame extends TLObject {
|
|
7191
|
+
style?: Raw.TypeKeyboardButtonStyle;
|
|
7087
7192
|
text: string;
|
|
7088
7193
|
constructor(params: {
|
|
7194
|
+
style?: Raw.TypeKeyboardButtonStyle;
|
|
7089
7195
|
text: string;
|
|
7090
7196
|
});
|
|
7091
7197
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.KeyboardButtonGame>;
|
|
7092
7198
|
write(): Buffer;
|
|
7093
7199
|
}
|
|
7094
7200
|
class KeyboardButtonBuy extends TLObject {
|
|
7201
|
+
style?: Raw.TypeKeyboardButtonStyle;
|
|
7095
7202
|
text: string;
|
|
7096
7203
|
constructor(params: {
|
|
7204
|
+
style?: Raw.TypeKeyboardButtonStyle;
|
|
7097
7205
|
text: string;
|
|
7098
7206
|
});
|
|
7099
7207
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.KeyboardButtonBuy>;
|
|
7100
7208
|
write(): Buffer;
|
|
7101
7209
|
}
|
|
7102
7210
|
class KeyboardButtonUrlAuth extends TLObject {
|
|
7211
|
+
style?: Raw.TypeKeyboardButtonStyle;
|
|
7103
7212
|
text: string;
|
|
7104
7213
|
fwdText?: string;
|
|
7105
7214
|
url: string;
|
|
7106
7215
|
buttonId: int;
|
|
7107
7216
|
constructor(params: {
|
|
7217
|
+
style?: Raw.TypeKeyboardButtonStyle;
|
|
7108
7218
|
text: string;
|
|
7109
7219
|
fwdText?: string;
|
|
7110
7220
|
url: string;
|
|
@@ -7115,12 +7225,14 @@ export declare namespace Raw {
|
|
|
7115
7225
|
}
|
|
7116
7226
|
class InputKeyboardButtonUrlAuth extends TLObject {
|
|
7117
7227
|
requestWriteAccess?: boolean;
|
|
7228
|
+
style?: Raw.TypeKeyboardButtonStyle;
|
|
7118
7229
|
text: string;
|
|
7119
7230
|
fwdText?: string;
|
|
7120
7231
|
url: string;
|
|
7121
7232
|
bot: Raw.TypeInputUser;
|
|
7122
7233
|
constructor(params: {
|
|
7123
7234
|
requestWriteAccess?: boolean;
|
|
7235
|
+
style?: Raw.TypeKeyboardButtonStyle;
|
|
7124
7236
|
text: string;
|
|
7125
7237
|
fwdText?: string;
|
|
7126
7238
|
url: string;
|
|
@@ -7130,9 +7242,11 @@ export declare namespace Raw {
|
|
|
7130
7242
|
write(): Buffer;
|
|
7131
7243
|
}
|
|
7132
7244
|
class KeyboardButtonRequestPoll extends TLObject {
|
|
7245
|
+
style?: Raw.TypeKeyboardButtonStyle;
|
|
7133
7246
|
quiz?: Bool;
|
|
7134
7247
|
text: string;
|
|
7135
7248
|
constructor(params: {
|
|
7249
|
+
style?: Raw.TypeKeyboardButtonStyle;
|
|
7136
7250
|
quiz?: Bool;
|
|
7137
7251
|
text: string;
|
|
7138
7252
|
});
|
|
@@ -7140,9 +7254,11 @@ export declare namespace Raw {
|
|
|
7140
7254
|
write(): Buffer;
|
|
7141
7255
|
}
|
|
7142
7256
|
class InputKeyboardButtonUserProfile extends TLObject {
|
|
7257
|
+
style?: Raw.TypeKeyboardButtonStyle;
|
|
7143
7258
|
text: string;
|
|
7144
7259
|
userId: Raw.TypeInputUser;
|
|
7145
7260
|
constructor(params: {
|
|
7261
|
+
style?: Raw.TypeKeyboardButtonStyle;
|
|
7146
7262
|
text: string;
|
|
7147
7263
|
userId: Raw.TypeInputUser;
|
|
7148
7264
|
});
|
|
@@ -7150,9 +7266,11 @@ export declare namespace Raw {
|
|
|
7150
7266
|
write(): Buffer;
|
|
7151
7267
|
}
|
|
7152
7268
|
class KeyboardButtonUserProfile extends TLObject {
|
|
7269
|
+
style?: Raw.TypeKeyboardButtonStyle;
|
|
7153
7270
|
text: string;
|
|
7154
7271
|
userId: long;
|
|
7155
7272
|
constructor(params: {
|
|
7273
|
+
style?: Raw.TypeKeyboardButtonStyle;
|
|
7156
7274
|
text: string;
|
|
7157
7275
|
userId: long;
|
|
7158
7276
|
});
|
|
@@ -7160,9 +7278,11 @@ export declare namespace Raw {
|
|
|
7160
7278
|
write(): Buffer;
|
|
7161
7279
|
}
|
|
7162
7280
|
class KeyboardButtonWebView extends TLObject {
|
|
7281
|
+
style?: Raw.TypeKeyboardButtonStyle;
|
|
7163
7282
|
text: string;
|
|
7164
7283
|
url: string;
|
|
7165
7284
|
constructor(params: {
|
|
7285
|
+
style?: Raw.TypeKeyboardButtonStyle;
|
|
7166
7286
|
text: string;
|
|
7167
7287
|
url: string;
|
|
7168
7288
|
});
|
|
@@ -7170,9 +7290,11 @@ export declare namespace Raw {
|
|
|
7170
7290
|
write(): Buffer;
|
|
7171
7291
|
}
|
|
7172
7292
|
class KeyboardButtonSimpleWebView extends TLObject {
|
|
7293
|
+
style?: Raw.TypeKeyboardButtonStyle;
|
|
7173
7294
|
text: string;
|
|
7174
7295
|
url: string;
|
|
7175
7296
|
constructor(params: {
|
|
7297
|
+
style?: Raw.TypeKeyboardButtonStyle;
|
|
7176
7298
|
text: string;
|
|
7177
7299
|
url: string;
|
|
7178
7300
|
});
|
|
@@ -7180,11 +7302,13 @@ export declare namespace Raw {
|
|
|
7180
7302
|
write(): Buffer;
|
|
7181
7303
|
}
|
|
7182
7304
|
class KeyboardButtonRequestPeer extends TLObject {
|
|
7305
|
+
style?: Raw.TypeKeyboardButtonStyle;
|
|
7183
7306
|
text: string;
|
|
7184
7307
|
buttonId: int;
|
|
7185
7308
|
peerType: Raw.TypeRequestPeerType;
|
|
7186
7309
|
maxQuantity: int;
|
|
7187
7310
|
constructor(params: {
|
|
7311
|
+
style?: Raw.TypeKeyboardButtonStyle;
|
|
7188
7312
|
text: string;
|
|
7189
7313
|
buttonId: int;
|
|
7190
7314
|
peerType: Raw.TypeRequestPeerType;
|
|
@@ -7197,6 +7321,7 @@ export declare namespace Raw {
|
|
|
7197
7321
|
nameRequested?: boolean;
|
|
7198
7322
|
usernameRequested?: boolean;
|
|
7199
7323
|
photoRequested?: boolean;
|
|
7324
|
+
style?: Raw.TypeKeyboardButtonStyle;
|
|
7200
7325
|
text: string;
|
|
7201
7326
|
buttonId: int;
|
|
7202
7327
|
peerType: Raw.TypeRequestPeerType;
|
|
@@ -7205,6 +7330,7 @@ export declare namespace Raw {
|
|
|
7205
7330
|
nameRequested?: boolean;
|
|
7206
7331
|
usernameRequested?: boolean;
|
|
7207
7332
|
photoRequested?: boolean;
|
|
7333
|
+
style?: Raw.TypeKeyboardButtonStyle;
|
|
7208
7334
|
text: string;
|
|
7209
7335
|
buttonId: int;
|
|
7210
7336
|
peerType: Raw.TypeRequestPeerType;
|
|
@@ -7214,9 +7340,11 @@ export declare namespace Raw {
|
|
|
7214
7340
|
write(): Buffer;
|
|
7215
7341
|
}
|
|
7216
7342
|
class KeyboardButtonCopy extends TLObject {
|
|
7343
|
+
style?: Raw.TypeKeyboardButtonStyle;
|
|
7217
7344
|
text: string;
|
|
7218
7345
|
copyText: string;
|
|
7219
7346
|
constructor(params: {
|
|
7347
|
+
style?: Raw.TypeKeyboardButtonStyle;
|
|
7220
7348
|
text: string;
|
|
7221
7349
|
copyText: string;
|
|
7222
7350
|
});
|
|
@@ -11041,20 +11169,30 @@ export declare namespace Raw {
|
|
|
11041
11169
|
}
|
|
11042
11170
|
class UrlAuthResultRequest extends TLObject {
|
|
11043
11171
|
requestWriteAccess?: boolean;
|
|
11172
|
+
requestPhoneNumber?: boolean;
|
|
11044
11173
|
bot: Raw.TypeUser;
|
|
11045
11174
|
domain: string;
|
|
11175
|
+
browser?: string;
|
|
11176
|
+
platform?: string;
|
|
11177
|
+
ip?: string;
|
|
11178
|
+
region?: string;
|
|
11046
11179
|
constructor(params: {
|
|
11047
11180
|
requestWriteAccess?: boolean;
|
|
11181
|
+
requestPhoneNumber?: boolean;
|
|
11048
11182
|
bot: Raw.TypeUser;
|
|
11049
11183
|
domain: string;
|
|
11184
|
+
browser?: string;
|
|
11185
|
+
platform?: string;
|
|
11186
|
+
ip?: string;
|
|
11187
|
+
region?: string;
|
|
11050
11188
|
});
|
|
11051
11189
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.UrlAuthResultRequest>;
|
|
11052
11190
|
write(): Buffer;
|
|
11053
11191
|
}
|
|
11054
11192
|
class UrlAuthResultAccepted extends TLObject {
|
|
11055
|
-
url
|
|
11193
|
+
url?: string;
|
|
11056
11194
|
constructor(params: {
|
|
11057
|
-
url
|
|
11195
|
+
url?: string;
|
|
11058
11196
|
});
|
|
11059
11197
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.UrlAuthResultAccepted>;
|
|
11060
11198
|
write(): Buffer;
|
|
@@ -11273,15 +11411,9 @@ export declare namespace Raw {
|
|
|
11273
11411
|
class WebPageAttributeStarGiftAuction extends TLObject {
|
|
11274
11412
|
gift: Raw.TypeStarGift;
|
|
11275
11413
|
endDate: int;
|
|
11276
|
-
centerColor: int;
|
|
11277
|
-
edgeColor: int;
|
|
11278
|
-
textColor: int;
|
|
11279
11414
|
constructor(params: {
|
|
11280
11415
|
gift: Raw.TypeStarGift;
|
|
11281
11416
|
endDate: int;
|
|
11282
|
-
centerColor: int;
|
|
11283
|
-
edgeColor: int;
|
|
11284
|
-
textColor: int;
|
|
11285
11417
|
});
|
|
11286
11418
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.WebPageAttributeStarGiftAuction>;
|
|
11287
11419
|
write(): Buffer;
|
|
@@ -14218,6 +14350,7 @@ export declare namespace Raw {
|
|
|
14218
14350
|
stargiftDropOriginalDetails?: boolean;
|
|
14219
14351
|
phonegroupMessage?: boolean;
|
|
14220
14352
|
stargiftAuctionBid?: boolean;
|
|
14353
|
+
offer?: boolean;
|
|
14221
14354
|
id: string;
|
|
14222
14355
|
amount: Raw.TypeStarsAmount;
|
|
14223
14356
|
date: int;
|
|
@@ -14255,6 +14388,7 @@ export declare namespace Raw {
|
|
|
14255
14388
|
stargiftDropOriginalDetails?: boolean;
|
|
14256
14389
|
phonegroupMessage?: boolean;
|
|
14257
14390
|
stargiftAuctionBid?: boolean;
|
|
14391
|
+
offer?: boolean;
|
|
14258
14392
|
id: string;
|
|
14259
14393
|
amount: Raw.TypeStarsAmount;
|
|
14260
14394
|
date: int;
|
|
@@ -14474,6 +14608,9 @@ export declare namespace Raw {
|
|
|
14474
14608
|
lockedUntilDate?: int;
|
|
14475
14609
|
auctionSlug?: string;
|
|
14476
14610
|
giftsPerRound?: int;
|
|
14611
|
+
auctionStartDate?: int;
|
|
14612
|
+
upgradeVariants?: int;
|
|
14613
|
+
background?: Raw.TypeStarGiftBackground;
|
|
14477
14614
|
constructor(params: {
|
|
14478
14615
|
limited?: boolean;
|
|
14479
14616
|
soldOut?: boolean;
|
|
@@ -14500,6 +14637,9 @@ export declare namespace Raw {
|
|
|
14500
14637
|
lockedUntilDate?: int;
|
|
14501
14638
|
auctionSlug?: string;
|
|
14502
14639
|
giftsPerRound?: int;
|
|
14640
|
+
auctionStartDate?: int;
|
|
14641
|
+
upgradeVariants?: int;
|
|
14642
|
+
background?: Raw.TypeStarGiftBackground;
|
|
14503
14643
|
});
|
|
14504
14644
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.StarGift>;
|
|
14505
14645
|
write(): Buffer;
|
|
@@ -14508,6 +14648,8 @@ export declare namespace Raw {
|
|
|
14508
14648
|
requirePremium?: boolean;
|
|
14509
14649
|
resaleTonOnly?: boolean;
|
|
14510
14650
|
themeAvailable?: boolean;
|
|
14651
|
+
burned?: boolean;
|
|
14652
|
+
crafted?: boolean;
|
|
14511
14653
|
id: long;
|
|
14512
14654
|
giftId: long;
|
|
14513
14655
|
title: string;
|
|
@@ -14524,13 +14666,18 @@ export declare namespace Raw {
|
|
|
14524
14666
|
releasedBy?: Raw.TypePeer;
|
|
14525
14667
|
valueAmount?: long;
|
|
14526
14668
|
valueCurrency?: string;
|
|
14669
|
+
valueUsdAmount?: long;
|
|
14527
14670
|
themePeer?: Raw.TypePeer;
|
|
14528
14671
|
peerColor?: Raw.TypePeerColor;
|
|
14529
14672
|
hostId?: Raw.TypePeer;
|
|
14673
|
+
offerMinStars?: int;
|
|
14674
|
+
craftChancePermille?: int;
|
|
14530
14675
|
constructor(params: {
|
|
14531
14676
|
requirePremium?: boolean;
|
|
14532
14677
|
resaleTonOnly?: boolean;
|
|
14533
14678
|
themeAvailable?: boolean;
|
|
14679
|
+
burned?: boolean;
|
|
14680
|
+
crafted?: boolean;
|
|
14534
14681
|
id: long;
|
|
14535
14682
|
giftId: long;
|
|
14536
14683
|
title: string;
|
|
@@ -14547,9 +14694,12 @@ export declare namespace Raw {
|
|
|
14547
14694
|
releasedBy?: Raw.TypePeer;
|
|
14548
14695
|
valueAmount?: long;
|
|
14549
14696
|
valueCurrency?: string;
|
|
14697
|
+
valueUsdAmount?: long;
|
|
14550
14698
|
themePeer?: Raw.TypePeer;
|
|
14551
14699
|
peerColor?: Raw.TypePeerColor;
|
|
14552
14700
|
hostId?: Raw.TypePeer;
|
|
14701
|
+
offerMinStars?: int;
|
|
14702
|
+
craftChancePermille?: int;
|
|
14553
14703
|
});
|
|
14554
14704
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.StarGiftUnique>;
|
|
14555
14705
|
write(): Buffer;
|
|
@@ -14688,13 +14838,15 @@ export declare namespace Raw {
|
|
|
14688
14838
|
write(): Buffer;
|
|
14689
14839
|
}
|
|
14690
14840
|
class StarGiftAttributeModel extends TLObject {
|
|
14841
|
+
crafted?: boolean;
|
|
14691
14842
|
name: string;
|
|
14692
14843
|
document: Raw.TypeDocument;
|
|
14693
|
-
|
|
14844
|
+
rarity: Raw.TypeStarGiftAttributeRarity;
|
|
14694
14845
|
constructor(params: {
|
|
14846
|
+
crafted?: boolean;
|
|
14695
14847
|
name: string;
|
|
14696
14848
|
document: Raw.TypeDocument;
|
|
14697
|
-
|
|
14849
|
+
rarity: Raw.TypeStarGiftAttributeRarity;
|
|
14698
14850
|
});
|
|
14699
14851
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.StarGiftAttributeModel>;
|
|
14700
14852
|
write(): Buffer;
|
|
@@ -14702,11 +14854,11 @@ export declare namespace Raw {
|
|
|
14702
14854
|
class StarGiftAttributePattern extends TLObject {
|
|
14703
14855
|
name: string;
|
|
14704
14856
|
document: Raw.TypeDocument;
|
|
14705
|
-
|
|
14857
|
+
rarity: Raw.TypeStarGiftAttributeRarity;
|
|
14706
14858
|
constructor(params: {
|
|
14707
14859
|
name: string;
|
|
14708
14860
|
document: Raw.TypeDocument;
|
|
14709
|
-
|
|
14861
|
+
rarity: Raw.TypeStarGiftAttributeRarity;
|
|
14710
14862
|
});
|
|
14711
14863
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.StarGiftAttributePattern>;
|
|
14712
14864
|
write(): Buffer;
|
|
@@ -14718,7 +14870,7 @@ export declare namespace Raw {
|
|
|
14718
14870
|
edgeColor: int;
|
|
14719
14871
|
patternColor: int;
|
|
14720
14872
|
textColor: int;
|
|
14721
|
-
|
|
14873
|
+
rarity: Raw.TypeStarGiftAttributeRarity;
|
|
14722
14874
|
constructor(params: {
|
|
14723
14875
|
name: string;
|
|
14724
14876
|
backdropId: int;
|
|
@@ -14726,7 +14878,7 @@ export declare namespace Raw {
|
|
|
14726
14878
|
edgeColor: int;
|
|
14727
14879
|
patternColor: int;
|
|
14728
14880
|
textColor: int;
|
|
14729
|
-
|
|
14881
|
+
rarity: Raw.TypeStarGiftAttributeRarity;
|
|
14730
14882
|
});
|
|
14731
14883
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.StarGiftAttributeBackdrop>;
|
|
14732
14884
|
write(): Buffer;
|
|
@@ -14767,6 +14919,8 @@ export declare namespace Raw {
|
|
|
14767
14919
|
collectionId?: Vector<int>;
|
|
14768
14920
|
prepaidUpgradeHash?: string;
|
|
14769
14921
|
dropOriginalDetailsStars?: long;
|
|
14922
|
+
giftNum?: int;
|
|
14923
|
+
canCraftAt?: int;
|
|
14770
14924
|
constructor(params: {
|
|
14771
14925
|
nameHidden?: boolean;
|
|
14772
14926
|
unsaved?: boolean;
|
|
@@ -14789,6 +14943,8 @@ export declare namespace Raw {
|
|
|
14789
14943
|
collectionId?: Vector<int>;
|
|
14790
14944
|
prepaidUpgradeHash?: string;
|
|
14791
14945
|
dropOriginalDetailsStars?: long;
|
|
14946
|
+
giftNum?: int;
|
|
14947
|
+
canCraftAt?: int;
|
|
14792
14948
|
});
|
|
14793
14949
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.SavedStarGift>;
|
|
14794
14950
|
write(): Buffer;
|
|
@@ -15169,13 +15325,11 @@ export declare namespace Raw {
|
|
|
15169
15325
|
class GroupCallDonor extends TLObject {
|
|
15170
15326
|
top?: boolean;
|
|
15171
15327
|
my?: boolean;
|
|
15172
|
-
anonymous?: boolean;
|
|
15173
15328
|
peerId?: Raw.TypePeer;
|
|
15174
15329
|
stars: long;
|
|
15175
15330
|
constructor(params: {
|
|
15176
15331
|
top?: boolean;
|
|
15177
15332
|
my?: boolean;
|
|
15178
|
-
anonymous?: boolean;
|
|
15179
15333
|
peerId?: Raw.TypePeer;
|
|
15180
15334
|
stars: long;
|
|
15181
15335
|
});
|
|
@@ -15217,9 +15371,11 @@ export declare namespace Raw {
|
|
|
15217
15371
|
bidLevels: Vector<Raw.TypeAuctionBidLevel>;
|
|
15218
15372
|
topBidders: Vector<long>;
|
|
15219
15373
|
nextRoundAt: int;
|
|
15374
|
+
lastGiftNum: int;
|
|
15220
15375
|
giftsLeft: int;
|
|
15221
15376
|
currentRound: int;
|
|
15222
15377
|
totalRounds: int;
|
|
15378
|
+
rounds: Vector<Raw.TypeStarGiftAuctionRound>;
|
|
15223
15379
|
constructor(params: {
|
|
15224
15380
|
version: int;
|
|
15225
15381
|
startDate: int;
|
|
@@ -15228,9 +15384,11 @@ export declare namespace Raw {
|
|
|
15228
15384
|
bidLevels: Vector<Raw.TypeAuctionBidLevel>;
|
|
15229
15385
|
topBidders: Vector<long>;
|
|
15230
15386
|
nextRoundAt: int;
|
|
15387
|
+
lastGiftNum: int;
|
|
15231
15388
|
giftsLeft: int;
|
|
15232
15389
|
currentRound: int;
|
|
15233
15390
|
totalRounds: int;
|
|
15391
|
+
rounds: Vector<Raw.TypeStarGiftAuctionRound>;
|
|
15234
15392
|
});
|
|
15235
15393
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.StarGiftAuctionState>;
|
|
15236
15394
|
write(): Buffer;
|
|
@@ -15239,10 +15397,16 @@ export declare namespace Raw {
|
|
|
15239
15397
|
startDate: int;
|
|
15240
15398
|
endDate: int;
|
|
15241
15399
|
averagePrice: long;
|
|
15400
|
+
listedCount?: int;
|
|
15401
|
+
fragmentListedCount?: int;
|
|
15402
|
+
fragmentListedUrl?: string;
|
|
15242
15403
|
constructor(params: {
|
|
15243
15404
|
startDate: int;
|
|
15244
15405
|
endDate: int;
|
|
15245
15406
|
averagePrice: long;
|
|
15407
|
+
listedCount?: int;
|
|
15408
|
+
fragmentListedCount?: int;
|
|
15409
|
+
fragmentListedUrl?: string;
|
|
15246
15410
|
});
|
|
15247
15411
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.StarGiftAuctionStateFinished>;
|
|
15248
15412
|
write(): Buffer;
|
|
@@ -15273,6 +15437,7 @@ export declare namespace Raw {
|
|
|
15273
15437
|
round: int;
|
|
15274
15438
|
pos: int;
|
|
15275
15439
|
message?: Raw.TypeTextWithEntities;
|
|
15440
|
+
giftNum?: int;
|
|
15276
15441
|
constructor(params: {
|
|
15277
15442
|
nameHidden?: boolean;
|
|
15278
15443
|
peer: Raw.TypePeer;
|
|
@@ -15281,6 +15446,7 @@ export declare namespace Raw {
|
|
|
15281
15446
|
round: int;
|
|
15282
15447
|
pos: int;
|
|
15283
15448
|
message?: Raw.TypeTextWithEntities;
|
|
15449
|
+
giftNum?: int;
|
|
15284
15450
|
});
|
|
15285
15451
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.StarGiftAuctionAcquiredGift>;
|
|
15286
15452
|
write(): Buffer;
|
|
@@ -15313,6 +15479,144 @@ export declare namespace Raw {
|
|
|
15313
15479
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.InputStarGiftAuctionSlug>;
|
|
15314
15480
|
write(): Buffer;
|
|
15315
15481
|
}
|
|
15482
|
+
class Passkey extends TLObject {
|
|
15483
|
+
id: string;
|
|
15484
|
+
name: string;
|
|
15485
|
+
date: int;
|
|
15486
|
+
softwareEmojiId?: long;
|
|
15487
|
+
lastUsageDate?: int;
|
|
15488
|
+
constructor(params: {
|
|
15489
|
+
id: string;
|
|
15490
|
+
name: string;
|
|
15491
|
+
date: int;
|
|
15492
|
+
softwareEmojiId?: long;
|
|
15493
|
+
lastUsageDate?: int;
|
|
15494
|
+
});
|
|
15495
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.Passkey>;
|
|
15496
|
+
write(): Buffer;
|
|
15497
|
+
}
|
|
15498
|
+
class InputPasskeyResponseRegister extends TLObject {
|
|
15499
|
+
clientData: Raw.TypeDataJSON;
|
|
15500
|
+
attestationData: bytes;
|
|
15501
|
+
constructor(params: {
|
|
15502
|
+
clientData: Raw.TypeDataJSON;
|
|
15503
|
+
attestationData: bytes;
|
|
15504
|
+
});
|
|
15505
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.InputPasskeyResponseRegister>;
|
|
15506
|
+
write(): Buffer;
|
|
15507
|
+
}
|
|
15508
|
+
class InputPasskeyResponseLogin extends TLObject {
|
|
15509
|
+
clientData: Raw.TypeDataJSON;
|
|
15510
|
+
authenticatorData: bytes;
|
|
15511
|
+
signature: bytes;
|
|
15512
|
+
userHandle: string;
|
|
15513
|
+
constructor(params: {
|
|
15514
|
+
clientData: Raw.TypeDataJSON;
|
|
15515
|
+
authenticatorData: bytes;
|
|
15516
|
+
signature: bytes;
|
|
15517
|
+
userHandle: string;
|
|
15518
|
+
});
|
|
15519
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.InputPasskeyResponseLogin>;
|
|
15520
|
+
write(): Buffer;
|
|
15521
|
+
}
|
|
15522
|
+
class InputPasskeyCredentialPublicKey extends TLObject {
|
|
15523
|
+
id: string;
|
|
15524
|
+
rawId: string;
|
|
15525
|
+
response: Raw.TypeInputPasskeyResponse;
|
|
15526
|
+
constructor(params: {
|
|
15527
|
+
id: string;
|
|
15528
|
+
rawId: string;
|
|
15529
|
+
response: Raw.TypeInputPasskeyResponse;
|
|
15530
|
+
});
|
|
15531
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.InputPasskeyCredentialPublicKey>;
|
|
15532
|
+
write(): Buffer;
|
|
15533
|
+
}
|
|
15534
|
+
class InputPasskeyCredentialFirebasePNV extends TLObject {
|
|
15535
|
+
pnvToken: string;
|
|
15536
|
+
constructor(params: {
|
|
15537
|
+
pnvToken: string;
|
|
15538
|
+
});
|
|
15539
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.InputPasskeyCredentialFirebasePNV>;
|
|
15540
|
+
write(): Buffer;
|
|
15541
|
+
}
|
|
15542
|
+
class StarGiftBackground extends TLObject {
|
|
15543
|
+
centerColor: int;
|
|
15544
|
+
edgeColor: int;
|
|
15545
|
+
textColor: int;
|
|
15546
|
+
constructor(params: {
|
|
15547
|
+
centerColor: int;
|
|
15548
|
+
edgeColor: int;
|
|
15549
|
+
textColor: int;
|
|
15550
|
+
});
|
|
15551
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.StarGiftBackground>;
|
|
15552
|
+
write(): Buffer;
|
|
15553
|
+
}
|
|
15554
|
+
class StarGiftAuctionRound extends TLObject {
|
|
15555
|
+
num: int;
|
|
15556
|
+
duration: int;
|
|
15557
|
+
constructor(params: {
|
|
15558
|
+
num: int;
|
|
15559
|
+
duration: int;
|
|
15560
|
+
});
|
|
15561
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.StarGiftAuctionRound>;
|
|
15562
|
+
write(): Buffer;
|
|
15563
|
+
}
|
|
15564
|
+
class StarGiftAuctionRoundExtendable extends TLObject {
|
|
15565
|
+
num: int;
|
|
15566
|
+
duration: int;
|
|
15567
|
+
extendTop: int;
|
|
15568
|
+
extendWindow: int;
|
|
15569
|
+
constructor(params: {
|
|
15570
|
+
num: int;
|
|
15571
|
+
duration: int;
|
|
15572
|
+
extendTop: int;
|
|
15573
|
+
extendWindow: int;
|
|
15574
|
+
});
|
|
15575
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.StarGiftAuctionRoundExtendable>;
|
|
15576
|
+
write(): Buffer;
|
|
15577
|
+
}
|
|
15578
|
+
class StarGiftAttributeRarity extends TLObject {
|
|
15579
|
+
permille: int;
|
|
15580
|
+
constructor(params: {
|
|
15581
|
+
permille: int;
|
|
15582
|
+
});
|
|
15583
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.StarGiftAttributeRarity>;
|
|
15584
|
+
write(): Buffer;
|
|
15585
|
+
}
|
|
15586
|
+
class StarGiftAttributeRarityUncommon extends TLObject {
|
|
15587
|
+
constructor();
|
|
15588
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.StarGiftAttributeRarityUncommon>;
|
|
15589
|
+
write(): Buffer;
|
|
15590
|
+
}
|
|
15591
|
+
class StarGiftAttributeRarityRare extends TLObject {
|
|
15592
|
+
constructor();
|
|
15593
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.StarGiftAttributeRarityRare>;
|
|
15594
|
+
write(): Buffer;
|
|
15595
|
+
}
|
|
15596
|
+
class StarGiftAttributeRarityEpic extends TLObject {
|
|
15597
|
+
constructor();
|
|
15598
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.StarGiftAttributeRarityEpic>;
|
|
15599
|
+
write(): Buffer;
|
|
15600
|
+
}
|
|
15601
|
+
class StarGiftAttributeRarityLegendary extends TLObject {
|
|
15602
|
+
constructor();
|
|
15603
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.StarGiftAttributeRarityLegendary>;
|
|
15604
|
+
write(): Buffer;
|
|
15605
|
+
}
|
|
15606
|
+
class KeyboardButtonStyle extends TLObject {
|
|
15607
|
+
bgPrimary?: boolean;
|
|
15608
|
+
bgDanger?: boolean;
|
|
15609
|
+
bgSuccess?: boolean;
|
|
15610
|
+
icon?: long;
|
|
15611
|
+
constructor(params: {
|
|
15612
|
+
bgPrimary?: boolean;
|
|
15613
|
+
bgDanger?: boolean;
|
|
15614
|
+
bgSuccess?: boolean;
|
|
15615
|
+
icon?: long;
|
|
15616
|
+
});
|
|
15617
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.KeyboardButtonStyle>;
|
|
15618
|
+
write(): Buffer;
|
|
15619
|
+
}
|
|
15316
15620
|
class InvokeAfterMsg extends TLObject {
|
|
15317
15621
|
__response__: X;
|
|
15318
15622
|
msgId: long;
|
|
@@ -16751,6 +17055,7 @@ export declare namespace Raw {
|
|
|
16751
17055
|
}
|
|
16752
17056
|
}
|
|
16753
17057
|
namespace auth {
|
|
17058
|
+
type TypePasskeyLoginOptions = Raw.auth.PasskeyLoginOptions;
|
|
16754
17059
|
type TypeLoginToken = Raw.auth.LoginToken | Raw.auth.LoginTokenMigrateTo | Raw.auth.LoginTokenSuccess;
|
|
16755
17060
|
type TypePasswordRecovery = Raw.auth.PasswordRecovery;
|
|
16756
17061
|
type TypeExportedAuthorization = Raw.auth.ExportedAuthorization;
|
|
@@ -17016,6 +17321,14 @@ export declare namespace Raw {
|
|
|
17016
17321
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.auth.LoggedOut>;
|
|
17017
17322
|
write(): Buffer;
|
|
17018
17323
|
}
|
|
17324
|
+
class PasskeyLoginOptions extends TLObject {
|
|
17325
|
+
options: Raw.TypeDataJSON;
|
|
17326
|
+
constructor(params: {
|
|
17327
|
+
options: Raw.TypeDataJSON;
|
|
17328
|
+
});
|
|
17329
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.auth.PasskeyLoginOptions>;
|
|
17330
|
+
write(): Buffer;
|
|
17331
|
+
}
|
|
17019
17332
|
class SendCode extends TLObject {
|
|
17020
17333
|
__response__: Raw.auth.TypeSentCode;
|
|
17021
17334
|
phoneNumber: string;
|
|
@@ -17291,6 +17604,30 @@ export declare namespace Raw {
|
|
|
17291
17604
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.auth.CheckPaidAuth>;
|
|
17292
17605
|
write(): Buffer;
|
|
17293
17606
|
}
|
|
17607
|
+
class InitPasskeyLogin extends TLObject {
|
|
17608
|
+
__response__: Raw.auth.TypePasskeyLoginOptions;
|
|
17609
|
+
apiId: int;
|
|
17610
|
+
apiHash: string;
|
|
17611
|
+
constructor(params: {
|
|
17612
|
+
apiId: int;
|
|
17613
|
+
apiHash: string;
|
|
17614
|
+
});
|
|
17615
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.auth.InitPasskeyLogin>;
|
|
17616
|
+
write(): Buffer;
|
|
17617
|
+
}
|
|
17618
|
+
class FinishPasskeyLogin extends TLObject {
|
|
17619
|
+
__response__: Raw.auth.TypeAuthorization;
|
|
17620
|
+
credential: Raw.TypeInputPasskeyCredential;
|
|
17621
|
+
fromDcId?: int;
|
|
17622
|
+
fromAuthKeyId?: long;
|
|
17623
|
+
constructor(params: {
|
|
17624
|
+
credential: Raw.TypeInputPasskeyCredential;
|
|
17625
|
+
fromDcId?: int;
|
|
17626
|
+
fromAuthKeyId?: long;
|
|
17627
|
+
});
|
|
17628
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.auth.FinishPasskeyLogin>;
|
|
17629
|
+
write(): Buffer;
|
|
17630
|
+
}
|
|
17294
17631
|
}
|
|
17295
17632
|
namespace contacts {
|
|
17296
17633
|
type TypeSponsoredPeers = Raw.contacts.SponsoredPeersEmpty | Raw.contacts.SponsoredPeers;
|
|
@@ -17793,7 +18130,9 @@ export declare namespace Raw {
|
|
|
17793
18130
|
type TypeAffectedMessages = Raw.messages.AffectedMessages;
|
|
17794
18131
|
type TypeDialogs = Raw.messages.Dialogs | Raw.messages.DialogsSlice | Raw.messages.DialogsNotModified;
|
|
17795
18132
|
type TypeMessages = Raw.messages.Messages | Raw.messages.MessagesSlice | Raw.messages.ChannelMessages | Raw.messages.MessagesNotModified;
|
|
18133
|
+
type TypeEmojiGameInfo = Raw.messages.EmojiGameUnavailable | Raw.messages.EmojiGameDiceInfo;
|
|
17796
18134
|
type TypeStickerSet = Raw.messages.StickerSet | Raw.messages.StickerSetNotModified;
|
|
18135
|
+
type TypeEmojiGameOutcome = Raw.messages.EmojiGameOutcome;
|
|
17797
18136
|
class Dialogs extends TLObject {
|
|
17798
18137
|
dialogs: Vector<Raw.TypeDialog>;
|
|
17799
18138
|
messages: Vector<Raw.TypeMessage>;
|
|
@@ -18775,6 +19114,39 @@ export declare namespace Raw {
|
|
|
18775
19114
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.messages.WebPagePreview>;
|
|
18776
19115
|
write(): Buffer;
|
|
18777
19116
|
}
|
|
19117
|
+
class EmojiGameOutcome extends TLObject {
|
|
19118
|
+
seed: bytes;
|
|
19119
|
+
stakeTonAmount: long;
|
|
19120
|
+
tonAmount: long;
|
|
19121
|
+
constructor(params: {
|
|
19122
|
+
seed: bytes;
|
|
19123
|
+
stakeTonAmount: long;
|
|
19124
|
+
tonAmount: long;
|
|
19125
|
+
});
|
|
19126
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.messages.EmojiGameOutcome>;
|
|
19127
|
+
write(): Buffer;
|
|
19128
|
+
}
|
|
19129
|
+
class EmojiGameUnavailable extends TLObject {
|
|
19130
|
+
constructor();
|
|
19131
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.messages.EmojiGameUnavailable>;
|
|
19132
|
+
write(): Buffer;
|
|
19133
|
+
}
|
|
19134
|
+
class EmojiGameDiceInfo extends TLObject {
|
|
19135
|
+
gameHash: string;
|
|
19136
|
+
prevStake: long;
|
|
19137
|
+
currentStreak: int;
|
|
19138
|
+
params: Vector<int>;
|
|
19139
|
+
playsLeft?: int;
|
|
19140
|
+
constructor(params: {
|
|
19141
|
+
gameHash: string;
|
|
19142
|
+
prevStake: long;
|
|
19143
|
+
currentStreak: int;
|
|
19144
|
+
params: Vector<int>;
|
|
19145
|
+
playsLeft?: int;
|
|
19146
|
+
});
|
|
19147
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.messages.EmojiGameDiceInfo>;
|
|
19148
|
+
write(): Buffer;
|
|
19149
|
+
}
|
|
18778
19150
|
class GetMessages extends TLObject {
|
|
18779
19151
|
__response__: Raw.messages.TypeMessages;
|
|
18780
19152
|
id: Vector<Raw.TypeInputMessage>;
|
|
@@ -19045,6 +19417,7 @@ export declare namespace Raw {
|
|
|
19045
19417
|
scheduleRepeatPeriod?: int;
|
|
19046
19418
|
sendAs?: Raw.TypeInputPeer;
|
|
19047
19419
|
quickReplyShortcut?: Raw.TypeInputQuickReplyShortcut;
|
|
19420
|
+
effect?: long;
|
|
19048
19421
|
videoTimestamp?: int;
|
|
19049
19422
|
allowPaidStars?: long;
|
|
19050
19423
|
suggestedPost?: Raw.TypeSuggestedPost;
|
|
@@ -19066,6 +19439,7 @@ export declare namespace Raw {
|
|
|
19066
19439
|
scheduleRepeatPeriod?: int;
|
|
19067
19440
|
sendAs?: Raw.TypeInputPeer;
|
|
19068
19441
|
quickReplyShortcut?: Raw.TypeInputQuickReplyShortcut;
|
|
19442
|
+
effect?: long;
|
|
19069
19443
|
videoTimestamp?: int;
|
|
19070
19444
|
allowPaidStars?: long;
|
|
19071
19445
|
suggestedPost?: Raw.TypeSuggestedPost;
|
|
@@ -20319,12 +20693,14 @@ export declare namespace Raw {
|
|
|
20319
20693
|
class AcceptUrlAuth extends TLObject {
|
|
20320
20694
|
__response__: Raw.TypeUrlAuthResult;
|
|
20321
20695
|
writeAllowed?: boolean;
|
|
20696
|
+
sharePhoneNumber?: boolean;
|
|
20322
20697
|
peer?: Raw.TypeInputPeer;
|
|
20323
20698
|
msgId?: int;
|
|
20324
20699
|
buttonId?: int;
|
|
20325
20700
|
url?: string;
|
|
20326
20701
|
constructor(params: {
|
|
20327
20702
|
writeAllowed?: boolean;
|
|
20703
|
+
sharePhoneNumber?: boolean;
|
|
20328
20704
|
peer?: Raw.TypeInputPeer;
|
|
20329
20705
|
msgId?: int;
|
|
20330
20706
|
buttonId?: int;
|
|
@@ -21971,6 +22347,25 @@ export declare namespace Raw {
|
|
|
21971
22347
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.messages.DeleteTopicHistory>;
|
|
21972
22348
|
write(): Buffer;
|
|
21973
22349
|
}
|
|
22350
|
+
class GetEmojiGameInfo extends TLObject {
|
|
22351
|
+
__response__: Raw.messages.TypeEmojiGameInfo;
|
|
22352
|
+
constructor();
|
|
22353
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.messages.GetEmojiGameInfo>;
|
|
22354
|
+
write(): Buffer;
|
|
22355
|
+
}
|
|
22356
|
+
class SummarizeText extends TLObject {
|
|
22357
|
+
__response__: Raw.TypeTextWithEntities;
|
|
22358
|
+
peer: Raw.TypeInputPeer;
|
|
22359
|
+
id: int;
|
|
22360
|
+
toLang?: string;
|
|
22361
|
+
constructor(params: {
|
|
22362
|
+
peer: Raw.TypeInputPeer;
|
|
22363
|
+
id: int;
|
|
22364
|
+
toLang?: string;
|
|
22365
|
+
});
|
|
22366
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.messages.SummarizeText>;
|
|
22367
|
+
write(): Buffer;
|
|
22368
|
+
}
|
|
21974
22369
|
}
|
|
21975
22370
|
namespace updates {
|
|
21976
22371
|
type TypeChannelDifference = Raw.updates.ChannelDifferenceEmpty | Raw.updates.ChannelDifferenceTooLong | Raw.updates.ChannelDifference;
|
|
@@ -22422,6 +22817,8 @@ export declare namespace Raw {
|
|
|
22422
22817
|
}
|
|
22423
22818
|
}
|
|
22424
22819
|
namespace account {
|
|
22820
|
+
type TypePasskeys = Raw.account.Passkeys;
|
|
22821
|
+
type TypePasskeyRegistrationOptions = Raw.account.PasskeyRegistrationOptions;
|
|
22425
22822
|
type TypeChatThemes = Raw.account.ChatThemesNotModified | Raw.account.ChatThemes;
|
|
22426
22823
|
type TypeSavedMusicIds = Raw.account.SavedMusicIdsNotModified | Raw.account.SavedMusicIds;
|
|
22427
22824
|
type TypePaidMessagesRevenue = Raw.account.PaidMessagesRevenue;
|
|
@@ -22814,6 +23211,22 @@ export declare namespace Raw {
|
|
|
22814
23211
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.account.SavedMusicIds>;
|
|
22815
23212
|
write(): Buffer;
|
|
22816
23213
|
}
|
|
23214
|
+
class Passkeys extends TLObject {
|
|
23215
|
+
passkeys: Vector<Raw.TypePasskey>;
|
|
23216
|
+
constructor(params: {
|
|
23217
|
+
passkeys: Vector<Raw.TypePasskey>;
|
|
23218
|
+
});
|
|
23219
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.account.Passkeys>;
|
|
23220
|
+
write(): Buffer;
|
|
23221
|
+
}
|
|
23222
|
+
class PasskeyRegistrationOptions extends TLObject {
|
|
23223
|
+
options: Raw.TypeDataJSON;
|
|
23224
|
+
constructor(params: {
|
|
23225
|
+
options: Raw.TypeDataJSON;
|
|
23226
|
+
});
|
|
23227
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.account.PasskeyRegistrationOptions>;
|
|
23228
|
+
write(): Buffer;
|
|
23229
|
+
}
|
|
22817
23230
|
class RegisterDevice extends TLObject {
|
|
22818
23231
|
__response__: Bool;
|
|
22819
23232
|
noMuted?: boolean;
|
|
@@ -24009,6 +24422,36 @@ export declare namespace Raw {
|
|
|
24009
24422
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.account.GetUniqueGiftChatThemes>;
|
|
24010
24423
|
write(): Buffer;
|
|
24011
24424
|
}
|
|
24425
|
+
class InitPasskeyRegistration extends TLObject {
|
|
24426
|
+
__response__: Raw.account.TypePasskeyRegistrationOptions;
|
|
24427
|
+
constructor();
|
|
24428
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.account.InitPasskeyRegistration>;
|
|
24429
|
+
write(): Buffer;
|
|
24430
|
+
}
|
|
24431
|
+
class RegisterPasskey extends TLObject {
|
|
24432
|
+
__response__: Raw.TypePasskey;
|
|
24433
|
+
credential: Raw.TypeInputPasskeyCredential;
|
|
24434
|
+
constructor(params: {
|
|
24435
|
+
credential: Raw.TypeInputPasskeyCredential;
|
|
24436
|
+
});
|
|
24437
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.account.RegisterPasskey>;
|
|
24438
|
+
write(): Buffer;
|
|
24439
|
+
}
|
|
24440
|
+
class GetPasskeys extends TLObject {
|
|
24441
|
+
__response__: Raw.account.TypePasskeys;
|
|
24442
|
+
constructor();
|
|
24443
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.account.GetPasskeys>;
|
|
24444
|
+
write(): Buffer;
|
|
24445
|
+
}
|
|
24446
|
+
class DeletePasskey extends TLObject {
|
|
24447
|
+
__response__: Bool;
|
|
24448
|
+
id: string;
|
|
24449
|
+
constructor(params: {
|
|
24450
|
+
id: string;
|
|
24451
|
+
});
|
|
24452
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.account.DeletePasskey>;
|
|
24453
|
+
write(): Buffer;
|
|
24454
|
+
}
|
|
24012
24455
|
}
|
|
24013
24456
|
namespace channels {
|
|
24014
24457
|
type TypeSendAsPeers = Raw.channels.SendAsPeers;
|
|
@@ -24784,8 +25227,18 @@ export declare namespace Raw {
|
|
|
24784
25227
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.channels.SetMainProfileTab>;
|
|
24785
25228
|
write(): Buffer;
|
|
24786
25229
|
}
|
|
25230
|
+
class GetFutureCreatorAfterLeave extends TLObject {
|
|
25231
|
+
__response__: Raw.TypeUser;
|
|
25232
|
+
channel: Raw.TypeInputChannel;
|
|
25233
|
+
constructor(params: {
|
|
25234
|
+
channel: Raw.TypeInputChannel;
|
|
25235
|
+
});
|
|
25236
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.channels.GetFutureCreatorAfterLeave>;
|
|
25237
|
+
write(): Buffer;
|
|
25238
|
+
}
|
|
24787
25239
|
}
|
|
24788
25240
|
namespace payments {
|
|
25241
|
+
type TypeStarGiftUpgradeAttributes = Raw.payments.StarGiftUpgradeAttributes;
|
|
24789
25242
|
type TypeStarGiftActiveAuctions = Raw.payments.StarGiftActiveAuctionsNotModified | Raw.payments.StarGiftActiveAuctions;
|
|
24790
25243
|
type TypeStarGiftAuctionAcquiredGifts = Raw.payments.StarGiftAuctionAcquiredGifts;
|
|
24791
25244
|
type TypeStarGiftAuctionState = Raw.payments.StarGiftAuctionState;
|
|
@@ -25294,12 +25747,14 @@ export declare namespace Raw {
|
|
|
25294
25747
|
userState: Raw.TypeStarGiftAuctionUserState;
|
|
25295
25748
|
timeout: int;
|
|
25296
25749
|
users: Vector<Raw.TypeUser>;
|
|
25750
|
+
chats: Vector<Raw.TypeChat>;
|
|
25297
25751
|
constructor(params: {
|
|
25298
25752
|
gift: Raw.TypeStarGift;
|
|
25299
25753
|
state: Raw.TypeStarGiftAuctionState;
|
|
25300
25754
|
userState: Raw.TypeStarGiftAuctionUserState;
|
|
25301
25755
|
timeout: int;
|
|
25302
25756
|
users: Vector<Raw.TypeUser>;
|
|
25757
|
+
chats: Vector<Raw.TypeChat>;
|
|
25303
25758
|
});
|
|
25304
25759
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.payments.StarGiftAuctionState>;
|
|
25305
25760
|
write(): Buffer;
|
|
@@ -25324,13 +25779,23 @@ export declare namespace Raw {
|
|
|
25324
25779
|
class StarGiftActiveAuctions extends TLObject {
|
|
25325
25780
|
auctions: Vector<Raw.TypeStarGiftActiveAuctionState>;
|
|
25326
25781
|
users: Vector<Raw.TypeUser>;
|
|
25782
|
+
chats: Vector<Raw.TypeChat>;
|
|
25327
25783
|
constructor(params: {
|
|
25328
25784
|
auctions: Vector<Raw.TypeStarGiftActiveAuctionState>;
|
|
25329
25785
|
users: Vector<Raw.TypeUser>;
|
|
25786
|
+
chats: Vector<Raw.TypeChat>;
|
|
25330
25787
|
});
|
|
25331
25788
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.payments.StarGiftActiveAuctions>;
|
|
25332
25789
|
write(): Buffer;
|
|
25333
25790
|
}
|
|
25791
|
+
class StarGiftUpgradeAttributes extends TLObject {
|
|
25792
|
+
attributes: Vector<Raw.TypeStarGiftAttribute>;
|
|
25793
|
+
constructor(params: {
|
|
25794
|
+
attributes: Vector<Raw.TypeStarGiftAttribute>;
|
|
25795
|
+
});
|
|
25796
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.payments.StarGiftUpgradeAttributes>;
|
|
25797
|
+
write(): Buffer;
|
|
25798
|
+
}
|
|
25334
25799
|
class GetPaymentForm extends TLObject {
|
|
25335
25800
|
__response__: Raw.payments.TypePaymentForm;
|
|
25336
25801
|
invoice: Raw.TypeInputInvoice;
|
|
@@ -25894,6 +26359,7 @@ export declare namespace Raw {
|
|
|
25894
26359
|
__response__: Raw.payments.TypeResaleStarGifts;
|
|
25895
26360
|
sortByPrice?: boolean;
|
|
25896
26361
|
sortByNum?: boolean;
|
|
26362
|
+
forCraft?: boolean;
|
|
25897
26363
|
attributesHash?: long;
|
|
25898
26364
|
giftId: long;
|
|
25899
26365
|
attributes?: Vector<Raw.TypeStarGiftAttributeId>;
|
|
@@ -25902,6 +26368,7 @@ export declare namespace Raw {
|
|
|
25902
26368
|
constructor(params: {
|
|
25903
26369
|
sortByPrice?: boolean;
|
|
25904
26370
|
sortByNum?: boolean;
|
|
26371
|
+
forCraft?: boolean;
|
|
25905
26372
|
attributesHash?: long;
|
|
25906
26373
|
giftId: long;
|
|
25907
26374
|
attributes?: Vector<Raw.TypeStarGiftAttributeId>;
|
|
@@ -26034,6 +26501,67 @@ export declare namespace Raw {
|
|
|
26034
26501
|
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.payments.GetStarGiftActiveAuctions>;
|
|
26035
26502
|
write(): Buffer;
|
|
26036
26503
|
}
|
|
26504
|
+
class ResolveStarGiftOffer extends TLObject {
|
|
26505
|
+
__response__: Raw.TypeUpdates;
|
|
26506
|
+
decline?: boolean;
|
|
26507
|
+
offerMsgId: int;
|
|
26508
|
+
constructor(params: {
|
|
26509
|
+
decline?: boolean;
|
|
26510
|
+
offerMsgId: int;
|
|
26511
|
+
});
|
|
26512
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.payments.ResolveStarGiftOffer>;
|
|
26513
|
+
write(): Buffer;
|
|
26514
|
+
}
|
|
26515
|
+
class SendStarGiftOffer extends TLObject {
|
|
26516
|
+
__response__: Raw.TypeUpdates;
|
|
26517
|
+
peer: Raw.TypeInputPeer;
|
|
26518
|
+
slug: string;
|
|
26519
|
+
price: Raw.TypeStarsAmount;
|
|
26520
|
+
duration: int;
|
|
26521
|
+
randomId: long;
|
|
26522
|
+
allowPaidStars?: long;
|
|
26523
|
+
constructor(params: {
|
|
26524
|
+
peer: Raw.TypeInputPeer;
|
|
26525
|
+
slug: string;
|
|
26526
|
+
price: Raw.TypeStarsAmount;
|
|
26527
|
+
duration: int;
|
|
26528
|
+
randomId: long;
|
|
26529
|
+
allowPaidStars?: long;
|
|
26530
|
+
});
|
|
26531
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.payments.SendStarGiftOffer>;
|
|
26532
|
+
write(): Buffer;
|
|
26533
|
+
}
|
|
26534
|
+
class GetStarGiftUpgradeAttributes extends TLObject {
|
|
26535
|
+
__response__: Raw.payments.TypeStarGiftUpgradeAttributes;
|
|
26536
|
+
giftId: long;
|
|
26537
|
+
constructor(params: {
|
|
26538
|
+
giftId: long;
|
|
26539
|
+
});
|
|
26540
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.payments.GetStarGiftUpgradeAttributes>;
|
|
26541
|
+
write(): Buffer;
|
|
26542
|
+
}
|
|
26543
|
+
class GetCraftStarGifts extends TLObject {
|
|
26544
|
+
__response__: Raw.payments.TypeSavedStarGifts;
|
|
26545
|
+
giftId: long;
|
|
26546
|
+
offset: string;
|
|
26547
|
+
limit: int;
|
|
26548
|
+
constructor(params: {
|
|
26549
|
+
giftId: long;
|
|
26550
|
+
offset: string;
|
|
26551
|
+
limit: int;
|
|
26552
|
+
});
|
|
26553
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.payments.GetCraftStarGifts>;
|
|
26554
|
+
write(): Buffer;
|
|
26555
|
+
}
|
|
26556
|
+
class CraftStarGift extends TLObject {
|
|
26557
|
+
__response__: Raw.TypeUpdates;
|
|
26558
|
+
stargift: Vector<Raw.TypeInputSavedStarGift>;
|
|
26559
|
+
constructor(params: {
|
|
26560
|
+
stargift: Vector<Raw.TypeInputSavedStarGift>;
|
|
26561
|
+
});
|
|
26562
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.payments.CraftStarGift>;
|
|
26563
|
+
write(): Buffer;
|
|
26564
|
+
}
|
|
26037
26565
|
}
|
|
26038
26566
|
namespace phone {
|
|
26039
26567
|
type TypeGroupCallStars = Raw.phone.GroupCallStars;
|