Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/grm/src/tl/mod.ts>Api.AnyRequest

MTProto API Client for Deno 🦕
Go to Latest
type alias Api.AnyRequest
import { type Api } from "https://deno.land/x/grm@0.5.1/src/tl/mod.ts";
const { AnyRequest } = Api;
definition:
| InvokeAfterMsg
| InvokeAfterMsgs
| InitConnection
| InvokeWithLayer
| InvokeWithoutUpdates
| InvokeWithMessagesRange
| InvokeWithTakeout
| ReqPq
| ReqPqMulti
| ReqDHParams
| SetClientDHParams
| DestroyAuthKey
| RpcDropAnswer
| GetFutureSalts
| Ping
| PingDelayDisconnect
| DestroySession
| auth.SendCode
| auth.SignUp
| auth.SignIn
| auth.LogOut
| auth.ResetAuthorizations
| auth.ExportAuthorization
| auth.ImportAuthorization
| auth.BindTempAuthKey
| auth.ImportBotAuthorization
| auth.CheckPassword
| auth.RequestPasswordRecovery
| auth.RecoverPassword
| auth.ResendCode
| auth.CancelCode
| auth.DropTempAuthKeys
| auth.ExportLoginToken
| auth.ImportLoginToken
| auth.AcceptLoginToken
| auth.CheckRecoveryPassword
| account.RegisterDevice
| account.UnregisterDevice
| account.UpdateNotifySettings
| account.GetNotifySettings
| account.ResetNotifySettings
| account.UpdateProfile
| account.UpdateStatus
| account.GetWallPapers
| account.ReportPeer
| account.CheckUsername
| account.UpdateUsername
| account.GetPrivacy
| account.SetPrivacy
| account.DeleteAccount
| account.GetAccountTTL
| account.SetAccountTTL
| account.SendChangePhoneCode
| account.ChangePhone
| account.UpdateDeviceLocked
| account.GetAuthorizations
| account.ResetAuthorization
| account.GetPassword
| account.GetPasswordSettings
| account.UpdatePasswordSettings
| account.SendConfirmPhoneCode
| account.ConfirmPhone
| account.GetTmpPassword
| account.GetWebAuthorizations
| account.ResetWebAuthorization
| account.ResetWebAuthorizations
| account.GetAllSecureValues
| account.GetSecureValue
| account.SaveSecureValue
| account.DeleteSecureValue
| account.GetAuthorizationForm
| account.AcceptAuthorization
| account.SendVerifyPhoneCode
| account.VerifyPhone
| account.SendVerifyEmailCode
| account.VerifyEmail
| account.InitTakeoutSession
| account.FinishTakeoutSession
| account.ConfirmPasswordEmail
| account.ResendPasswordEmail
| account.CancelPasswordEmail
| account.GetContactSignUpNotification
| account.SetContactSignUpNotification
| account.GetNotifyExceptions
| account.GetWallPaper
| account.UploadWallPaper
| account.SaveWallPaper
| account.InstallWallPaper
| account.ResetWallPapers
| account.GetAutoDownloadSettings
| account.SaveAutoDownloadSettings
| account.UploadTheme
| account.CreateTheme
| account.UpdateTheme
| account.SaveTheme
| account.InstallTheme
| account.GetTheme
| account.GetThemes
| account.SetContentSettings
| account.GetContentSettings
| account.GetMultiWallPapers
| account.GetGlobalPrivacySettings
| account.SetGlobalPrivacySettings
| account.ReportProfilePhoto
| account.ResetPassword
| account.DeclinePasswordReset
| account.GetChatThemes
| account.SetAuthorizationTTL
| account.ChangeAuthorizationSettings
| account.GetSavedRingtones
| account.SaveRingtone
| account.UploadRingtone
| account.UpdateEmojiStatus
| account.GetDefaultEmojiStatuses
| account.GetRecentEmojiStatuses
| account.ClearRecentEmojiStatuses
| users.GetUsers
| users.GetFullUser
| users.SetSecureValueErrors
| contacts.GetContactIDs
| contacts.GetStatuses
| contacts.GetContacts
| contacts.ImportContacts
| contacts.DeleteContacts
| contacts.DeleteByPhones
| contacts.Block
| contacts.Unblock
| contacts.GetBlocked
| contacts.Search
| contacts.ResolveUsername
| contacts.GetTopPeers
| contacts.ResetTopPeerRating
| contacts.ResetSaved
| contacts.GetSaved
| contacts.ToggleTopPeers
| contacts.AddContact
| contacts.AcceptContact
| contacts.GetLocated
| contacts.BlockFromReplies
| contacts.ResolvePhone
| messages.GetMessages
| messages.GetDialogs
| messages.GetHistory
| messages.Search
| messages.ReadHistory
| messages.DeleteHistory
| messages.DeleteMessages
| messages.ReceivedMessages
| messages.SetTyping
| messages.SendMessage
| messages.SendMedia
| messages.ForwardMessages
| messages.ReportSpam
| messages.GetPeerSettings
| messages.Report
| messages.GetChats
| messages.GetFullChat
| messages.EditChatTitle
| messages.EditChatPhoto
| messages.AddChatUser
| messages.DeleteChatUser
| messages.CreateChat
| messages.GetDhConfig
| messages.RequestEncryption
| messages.AcceptEncryption
| messages.DiscardEncryption
| messages.SetEncryptedTyping
| messages.ReadEncryptedHistory
| messages.SendEncrypted
| messages.SendEncryptedFile
| messages.SendEncryptedService
| messages.ReceivedQueue
| messages.ReportEncryptedSpam
| messages.ReadMessageContents
| messages.GetStickers
| messages.GetAllStickers
| messages.GetWebPagePreview
| messages.ExportChatInvite
| messages.CheckChatInvite
| messages.ImportChatInvite
| messages.GetStickerSet
| messages.InstallStickerSet
| messages.UninstallStickerSet
| messages.StartBot
| messages.GetMessagesViews
| messages.EditChatAdmin
| messages.MigrateChat
| messages.SearchGlobal
| messages.ReorderStickerSets
| messages.GetDocumentByHash
| messages.GetSavedGifs
| messages.SaveGif
| messages.GetInlineBotResults
| messages.SetInlineBotResults
| messages.SendInlineBotResult
| messages.GetMessageEditData
| messages.EditMessage
| messages.EditInlineBotMessage
| messages.GetBotCallbackAnswer
| messages.SetBotCallbackAnswer
| messages.GetPeerDialogs
| messages.SaveDraft
| messages.GetAllDrafts
| messages.GetFeaturedStickers
| messages.ReadFeaturedStickers
| messages.GetRecentStickers
| messages.SaveRecentSticker
| messages.ClearRecentStickers
| messages.GetArchivedStickers
| messages.GetMaskStickers
| messages.GetAttachedStickers
| messages.SetGameScore
| messages.SetInlineGameScore
| messages.GetGameHighScores
| messages.GetInlineGameHighScores
| messages.GetCommonChats
| messages.GetAllChats
| messages.GetWebPage
| messages.ToggleDialogPin
| messages.ReorderPinnedDialogs
| messages.GetPinnedDialogs
| messages.SetBotShippingResults
| messages.SetBotPrecheckoutResults
| messages.UploadMedia
| messages.SendScreenshotNotification
| messages.GetFavedStickers
| messages.FaveSticker
| messages.GetUnreadMentions
| messages.ReadMentions
| messages.GetRecentLocations
| messages.SendMultiMedia
| messages.UploadEncryptedFile
| messages.SearchStickerSets
| messages.GetSplitRanges
| messages.MarkDialogUnread
| messages.GetDialogUnreadMarks
| messages.ClearAllDrafts
| messages.UpdatePinnedMessage
| messages.SendVote
| messages.GetPollResults
| messages.GetOnlines
| messages.EditChatAbout
| messages.EditChatDefaultBannedRights
| messages.GetEmojiKeywords
| messages.GetEmojiKeywordsDifference
| messages.GetEmojiKeywordsLanguages
| messages.GetEmojiURL
| messages.GetSearchCounters
| messages.RequestUrlAuth
| messages.AcceptUrlAuth
| messages.HidePeerSettingsBar
| messages.GetScheduledHistory
| messages.GetScheduledMessages
| messages.SendScheduledMessages
| messages.DeleteScheduledMessages
| messages.GetPollVotes
| messages.ToggleStickerSets
| messages.GetDialogFilters
| messages.GetSuggestedDialogFilters
| messages.UpdateDialogFilter
| messages.UpdateDialogFiltersOrder
| messages.GetOldFeaturedStickers
| messages.GetReplies
| messages.GetDiscussionMessage
| messages.ReadDiscussion
| messages.UnpinAllMessages
| messages.DeleteChat
| messages.DeletePhoneCallHistory
| messages.CheckHistoryImport
| messages.InitHistoryImport
| messages.UploadImportedMedia
| messages.StartHistoryImport
| messages.GetExportedChatInvites
| messages.GetExportedChatInvite
| messages.EditExportedChatInvite
| messages.DeleteRevokedExportedChatInvites
| messages.DeleteExportedChatInvite
| messages.GetAdminsWithInvites
| messages.GetChatInviteImporters
| messages.SetHistoryTTL
| messages.CheckHistoryImportPeer
| messages.SetChatTheme
| messages.GetMessageReadParticipants
| messages.GetSearchResultsCalendar
| messages.GetSearchResultsPositions
| messages.HideChatJoinRequest
| messages.HideAllChatJoinRequests
| messages.ToggleNoForwards
| messages.SaveDefaultSendAs
| messages.SendReaction
| messages.GetMessagesReactions
| messages.GetMessageReactionsList
| messages.SetChatAvailableReactions
| messages.GetAvailableReactions
| messages.SetDefaultReaction
| messages.TranslateText
| messages.GetUnreadReactions
| messages.ReadReactions
| messages.SearchSentMedia
| messages.GetAttachMenuBots
| messages.GetAttachMenuBot
| messages.ToggleBotInAttachMenu
| messages.RequestWebView
| messages.ProlongWebView
| messages.RequestSimpleWebView
| messages.SendWebViewResultMessage
| messages.SendWebViewData
| messages.TranscribeAudio
| messages.RateTranscribedAudio
| messages.GetCustomEmojiDocuments
| messages.GetEmojiStickers
| messages.GetFeaturedEmojiStickers
| messages.ReportReaction
| messages.GetTopReactions
| messages.GetRecentReactions
| messages.ClearRecentReactions
| updates.GetState
| updates.GetDifference
| updates.GetChannelDifference
| photos.UpdateProfilePhoto
| photos.UploadProfilePhoto
| photos.DeletePhotos
| photos.GetUserPhotos
| upload.SaveFilePart
| upload.GetFile
| upload.SaveBigFilePart
| upload.GetWebFile
| upload.GetCdnFile
| upload.ReuploadCdnFile
| upload.GetCdnFileHashes
| upload.GetFileHashes
| help.GetConfig
| help.GetNearestDc
| help.GetAppUpdate
| help.GetInviteText
| help.GetSupport
| help.GetAppChangelog
| help.SetBotUpdatesStatus
| help.GetCdnConfig
| help.GetRecentMeUrls
| help.GetTermsOfServiceUpdate
| help.AcceptTermsOfService
| help.GetDeepLinkInfo
| help.GetAppConfig
| help.SaveAppLog
| help.GetPassportConfig
| help.GetSupportName
| help.GetUserInfo
| help.EditUserInfo
| help.GetPromoData
| help.HidePromoData
| help.DismissSuggestion
| help.GetCountriesList
| help.GetPremiumPromo
| channels.ReadHistory
| channels.DeleteMessages
| channels.ReportSpam
| channels.GetMessages
| channels.GetParticipants
| channels.GetParticipant
| channels.GetChannels
| channels.GetFullChannel
| channels.CreateChannel
| channels.EditAdmin
| channels.EditTitle
| channels.EditPhoto
| channels.CheckUsername
| channels.UpdateUsername
| channels.JoinChannel
| channels.LeaveChannel
| channels.InviteToChannel
| channels.DeleteChannel
| channels.ExportMessageLink
| channels.ToggleSignatures
| channels.GetAdminedPublicChannels
| channels.EditBanned
| channels.GetAdminLog
| channels.SetStickers
| channels.ReadMessageContents
| channels.DeleteHistory
| channels.TogglePreHistoryHidden
| channels.GetLeftChannels
| channels.GetGroupsForDiscussion
| channels.SetDiscussionGroup
| channels.EditCreator
| channels.EditLocation
| channels.ToggleSlowMode
| channels.GetInactiveChannels
| channels.ConvertToGigagroup
| channels.ViewSponsoredMessage
| channels.GetSponsoredMessages
| channels.GetSendAs
| channels.DeleteParticipantHistory
| channels.ToggleJoinToSend
| channels.ToggleJoinRequest
| bots.SendCustomRequest
| bots.AnswerWebhookJSONQuery
| bots.SetBotCommands
| bots.ResetBotCommands
| bots.GetBotCommands
| bots.SetBotMenuButton
| bots.GetBotMenuButton
| bots.SetBotBroadcastDefaultAdminRights
| bots.SetBotGroupDefaultAdminRights
| payments.GetPaymentForm
| payments.GetPaymentReceipt
| payments.ValidateRequestedInfo
| payments.SendPaymentForm
| payments.GetSavedInfo
| payments.ClearSavedInfo
| payments.GetBankCardData
| payments.ExportInvoice
| payments.AssignAppStoreTransaction
| payments.AssignPlayMarketTransaction
| payments.CanPurchasePremium
| stickers.CreateStickerSet
| stickers.RemoveStickerFromSet
| stickers.ChangeStickerPosition
| stickers.AddStickerToSet
| stickers.SetStickerSetThumb
| stickers.CheckShortName
| stickers.SuggestShortName
| phone.GetCallConfig
| phone.RequestCall
| phone.AcceptCall
| phone.ConfirmCall
| phone.ReceivedCall
| phone.DiscardCall
| phone.SetCallRating
| phone.SaveCallDebug
| phone.SendSignalingData
| phone.CreateGroupCall
| phone.JoinGroupCall
| phone.LeaveGroupCall
| phone.InviteToGroupCall
| phone.DiscardGroupCall
| phone.ToggleGroupCallSettings
| phone.GetGroupCall
| phone.GetGroupParticipants
| phone.CheckGroupCall
| phone.ToggleGroupCallRecord
| phone.EditGroupCallParticipant
| phone.EditGroupCallTitle
| phone.GetGroupCallJoinAs
| phone.ExportGroupCallInvite
| phone.ToggleGroupCallStartSubscription
| phone.StartScheduledGroupCall
| phone.SaveDefaultGroupCallJoinAs
| phone.JoinGroupCallPresentation
| phone.LeaveGroupCallPresentation
| phone.GetGroupCallStreamChannels
| phone.GetGroupCallStreamRtmpUrl
| phone.SaveCallLog
| langpack.GetLangPack
| langpack.GetStrings
| langpack.GetDifference
| langpack.GetLanguages
| langpack.GetLanguage
| folders.EditPeerFolders
| folders.DeleteFolder
| stats.GetBroadcastStats
| stats.LoadAsyncGraph
| stats.GetMegagroupStats
| stats.GetMessagePublicForwards
| stats.GetMessageStats