Search
Preparing search index...
The search index is not available
telegram
Options
All
Public
Public/Protected
All
Inherited
Menu
telegram
Api
Request
Class Request<Args, Response>
Type Parameters
Args
Response
Hierarchy
VirtualClass
<
Partial
<
Args
>
>
Request
InvokeAfterMsg
InvokeAfterMsgs
InitConnection
InvokeWithLayer
InvokeWithoutUpdates
InvokeWithMessagesRange
InvokeWithTakeout
ReqPq
ReqPqMulti
ReqDHParams
SetClientDHParams
DestroyAuthKey
RpcDropAnswer
GetFutureSalts
Ping
PingDelayDisconnect
DestroySession
SendCode
SignUp
SignIn
LogOut
ResetAuthorizations
ExportAuthorization
ImportAuthorization
BindTempAuthKey
ImportBotAuthorization
CheckPassword
RequestPasswordRecovery
RecoverPassword
ResendCode
CancelCode
DropTempAuthKeys
ExportLoginToken
ImportLoginToken
AcceptLoginToken
CheckRecoveryPassword
ImportWebTokenAuthorization
RequestFirebaseSms
ResetLoginEmail
GetContactIDs
GetStatuses
GetContacts
ImportContacts
DeleteContacts
DeleteByPhones
Block
Unblock
GetBlocked
Api
.
contacts
.
Search
ResolveUsername
GetTopPeers
ResetTopPeerRating
ResetSaved
GetSaved
ToggleTopPeers
AddContact
AcceptContact
GetLocated
BlockFromReplies
ResolvePhone
ExportContactToken
ImportContactToken
EditCloseFriends
SetBlocked
Api
.
messages
.
GetMessages
GetDialogs
GetHistory
Api
.
messages
.
Search
Api
.
messages
.
ReadHistory
Api
.
messages
.
DeleteHistory
Api
.
messages
.
DeleteMessages
ReceivedMessages
SetTyping
SendMessage
SendMedia
ForwardMessages
Api
.
messages
.
ReportSpam
GetPeerSettings
Api
.
messages
.
Report
GetChats
GetFullChat
EditChatTitle
EditChatPhoto
AddChatUser
DeleteChatUser
CreateChat
GetDhConfig
RequestEncryption
AcceptEncryption
DiscardEncryption
SetEncryptedTyping
ReadEncryptedHistory
SendEncrypted
SendEncryptedFile
SendEncryptedService
ReceivedQueue
ReportEncryptedSpam
Api
.
messages
.
ReadMessageContents
GetStickers
GetAllStickers
GetWebPagePreview
ExportChatInvite
CheckChatInvite
ImportChatInvite
GetStickerSet
InstallStickerSet
UninstallStickerSet
StartBot
GetMessagesViews
EditChatAdmin
MigrateChat
SearchGlobal
ReorderStickerSets
GetDocumentByHash
GetSavedGifs
SaveGif
GetInlineBotResults
SetInlineBotResults
SendInlineBotResult
GetMessageEditData
EditMessage
EditInlineBotMessage
GetBotCallbackAnswer
SetBotCallbackAnswer
GetPeerDialogs
SaveDraft
GetAllDrafts
GetFeaturedStickers
ReadFeaturedStickers
GetRecentStickers
SaveRecentSticker
ClearRecentStickers
GetArchivedStickers
GetMaskStickers
GetAttachedStickers
SetGameScore
SetInlineGameScore
GetGameHighScores
GetInlineGameHighScores
GetCommonChats
GetWebPage
ToggleDialogPin
ReorderPinnedDialogs
GetPinnedDialogs
SetBotShippingResults
SetBotPrecheckoutResults
UploadMedia
SendScreenshotNotification
GetFavedStickers
FaveSticker
GetUnreadMentions
ReadMentions
GetRecentLocations
SendMultiMedia
UploadEncryptedFile
SearchStickerSets
GetSplitRanges
MarkDialogUnread
GetDialogUnreadMarks
ClearAllDrafts
UpdatePinnedMessage
SendVote
GetPollResults
GetOnlines
EditChatAbout
EditChatDefaultBannedRights
GetEmojiKeywords
GetEmojiKeywordsDifference
GetEmojiKeywordsLanguages
GetEmojiURL
GetSearchCounters
RequestUrlAuth
AcceptUrlAuth
HidePeerSettingsBar
GetScheduledHistory
GetScheduledMessages
SendScheduledMessages
DeleteScheduledMessages
GetPollVotes
ToggleStickerSets
GetDialogFilters
GetSuggestedDialogFilters
Api
.
messages
.
UpdateDialogFilter
UpdateDialogFiltersOrder
GetOldFeaturedStickers
GetReplies
GetDiscussionMessage
ReadDiscussion
UnpinAllMessages
DeleteChat
DeletePhoneCallHistory
CheckHistoryImport
InitHistoryImport
UploadImportedMedia
StartHistoryImport
GetExportedChatInvites
GetExportedChatInvite
EditExportedChatInvite
DeleteRevokedExportedChatInvites
DeleteExportedChatInvite
GetAdminsWithInvites
GetChatInviteImporters
SetHistoryTTL
CheckHistoryImportPeer
SetChatTheme
GetMessageReadParticipants
GetSearchResultsCalendar
GetSearchResultsPositions
HideChatJoinRequest
HideAllChatJoinRequests
ToggleNoForwards
SaveDefaultSendAs
Api
.
messages
.
SendReaction
GetMessagesReactions
GetMessageReactionsList
SetChatAvailableReactions
GetAvailableReactions
SetDefaultReaction
TranslateText
GetUnreadReactions
ReadReactions
SearchSentMedia
GetAttachMenuBots
GetAttachMenuBot
ToggleBotInAttachMenu
RequestWebView
ProlongWebView
RequestSimpleWebView
SendWebViewResultMessage
SendWebViewData
TranscribeAudio
RateTranscribedAudio
GetCustomEmojiDocuments
GetEmojiStickers
GetFeaturedEmojiStickers
ReportReaction
GetTopReactions
GetRecentReactions
ClearRecentReactions
GetExtendedMedia
SetDefaultHistoryTTL
GetDefaultHistoryTTL
SendBotRequestedPeer
GetEmojiGroups
GetEmojiStatusGroups
GetEmojiProfilePhotoGroups
SearchCustomEmoji
TogglePeerTranslations
GetBotApp
RequestAppWebView
SetChatWallPaper
SearchEmojiStickerSets
GetSavedDialogs
GetSavedHistory
DeleteSavedHistory
GetPinnedSavedDialogs
ToggleSavedDialogPin
ReorderPinnedSavedDialogs
GetSavedReactionTags
UpdateSavedReactionTag
GetDefaultTagReactions
GetOutboxReadDate
GetState
Api
.
updates
.
GetDifference
GetChannelDifference
UpdateProfilePhoto
UploadProfilePhoto
DeletePhotos
GetUserPhotos
UploadContactProfilePhoto
SaveFilePart
GetFile
SaveBigFilePart
GetWebFile
GetCdnFile
ReuploadCdnFile
GetCdnFileHashes
GetFileHashes
GetConfig
GetNearestDc
GetAppUpdate
GetInviteText
GetSupport
SetBotUpdatesStatus
GetCdnConfig
GetRecentMeUrls
GetTermsOfServiceUpdate
AcceptTermsOfService
GetDeepLinkInfo
GetAppConfig
SaveAppLog
GetPassportConfig
GetSupportName
GetUserInfo
EditUserInfo
GetPromoData
HidePromoData
DismissSuggestion
GetCountriesList
GetPremiumPromo
GetPeerColors
GetPeerProfileColors
RegisterDevice
UnregisterDevice
Api
.
account
.
UpdateNotifySettings
GetNotifySettings
ResetNotifySettings
UpdateProfile
UpdateStatus
GetWallPapers
ReportPeer
Api
.
account
.
CheckUsername
Api
.
account
.
UpdateUsername
GetPrivacy
SetPrivacy
DeleteAccount
GetAccountTTL
SetAccountTTL
SendChangePhoneCode
ChangePhone
UpdateDeviceLocked
GetAuthorizations
ResetAuthorization
GetPassword
GetPasswordSettings
UpdatePasswordSettings
SendConfirmPhoneCode
ConfirmPhone
GetTmpPassword
GetWebAuthorizations
ResetWebAuthorization
ResetWebAuthorizations
GetAllSecureValues
GetSecureValue
SaveSecureValue
DeleteSecureValue
GetAuthorizationForm
AcceptAuthorization
SendVerifyPhoneCode
VerifyPhone
SendVerifyEmailCode
VerifyEmail
InitTakeoutSession
FinishTakeoutSession
ConfirmPasswordEmail
ResendPasswordEmail
CancelPasswordEmail
GetContactSignUpNotification
SetContactSignUpNotification
GetNotifyExceptions
GetWallPaper
UploadWallPaper
SaveWallPaper
InstallWallPaper
ResetWallPapers
GetAutoDownloadSettings
SaveAutoDownloadSettings
UploadTheme
CreateTheme
Api
.
account
.
UpdateTheme
SaveTheme
InstallTheme
GetTheme
GetThemes
SetContentSettings
GetContentSettings
GetMultiWallPapers
GetGlobalPrivacySettings
SetGlobalPrivacySettings
ReportProfilePhoto
ResetPassword
DeclinePasswordReset
GetChatThemes
SetAuthorizationTTL
ChangeAuthorizationSettings
GetSavedRingtones
SaveRingtone
UploadRingtone
Api
.
account
.
UpdateEmojiStatus
GetDefaultEmojiStatuses
GetRecentEmojiStatuses
ClearRecentEmojiStatuses
Api
.
account
.
ReorderUsernames
Api
.
account
.
ToggleUsername
GetDefaultProfilePhotoEmojis
GetDefaultGroupPhotoEmojis
GetAutoSaveSettings
SaveAutoSaveSettings
DeleteAutoSaveExceptions
InvalidateSignInCodes
Api
.
account
.
UpdateColor
GetDefaultBackgroundEmojis
GetChannelDefaultEmojiStatuses
GetChannelRestrictedStatusEmojis
Api
.
channels
.
ReadHistory
Api
.
channels
.
DeleteMessages
Api
.
channels
.
ReportSpam
Api
.
channels
.
GetMessages
GetParticipants
GetParticipant
GetChannels
GetFullChannel
CreateChannel
EditAdmin
EditTitle
EditPhoto
Api
.
channels
.
CheckUsername
Api
.
channels
.
UpdateUsername
JoinChannel
LeaveChannel
InviteToChannel
DeleteChannel
ExportMessageLink
ToggleSignatures
GetAdminedPublicChannels
EditBanned
GetAdminLog
SetStickers
Api
.
channels
.
ReadMessageContents
Api
.
channels
.
DeleteHistory
TogglePreHistoryHidden
GetLeftChannels
GetGroupsForDiscussion
SetDiscussionGroup
EditCreator
EditLocation
ToggleSlowMode
GetInactiveChannels
ConvertToGigagroup
ViewSponsoredMessage
GetSponsoredMessages
GetSendAs
DeleteParticipantHistory
ToggleJoinToSend
ToggleJoinRequest
Api
.
channels
.
ReorderUsernames
Api
.
channels
.
ToggleUsername
DeactivateAllUsernames
ToggleForum
CreateForumTopic
GetForumTopics
GetForumTopicsByID
EditForumTopic
UpdatePinnedForumTopic
DeleteTopicHistory
ReorderPinnedForumTopics
ToggleAntiSpam
ReportAntiSpamFalsePositive
ToggleParticipantsHidden
ClickSponsoredMessage
Api
.
channels
.
UpdateColor
ToggleViewForumAsMessages
GetChannelRecommendations
Api
.
channels
.
UpdateEmojiStatus
SetBoostsToUnblockRestrictions
SetEmojiStickers
GetPaymentForm
GetPaymentReceipt
ValidateRequestedInfo
SendPaymentForm
GetSavedInfo
ClearSavedInfo
GetBankCardData
ExportInvoice
AssignAppStoreTransaction
AssignPlayMarketTransaction
CanPurchasePremium
GetPremiumGiftCodeOptions
CheckGiftCode
ApplyGiftCode
GetGiveawayInfo
LaunchPrepaidGiveaway
GetCallConfig
RequestCall
AcceptCall
ConfirmCall
ReceivedCall
DiscardCall
SetCallRating
SaveCallDebug
SendSignalingData
CreateGroupCall
JoinGroupCall
LeaveGroupCall
InviteToGroupCall
DiscardGroupCall
ToggleGroupCallSettings
GetGroupCall
GetGroupParticipants
CheckGroupCall
ToggleGroupCallRecord
EditGroupCallParticipant
EditGroupCallTitle
GetGroupCallJoinAs
ExportGroupCallInvite
ToggleGroupCallStartSubscription
StartScheduledGroupCall
SaveDefaultGroupCallJoinAs
JoinGroupCallPresentation
LeaveGroupCallPresentation
GetGroupCallStreamChannels
GetGroupCallStreamRtmpUrl
SaveCallLog
GetBroadcastStats
LoadAsyncGraph
GetMegagroupStats
GetMessagePublicForwards
GetMessageStats
GetStoryStats
GetStoryPublicForwards
CreateStickerSet
RemoveStickerFromSet
ChangeStickerPosition
AddStickerToSet
SetStickerSetThumb
CheckShortName
SuggestShortName
ChangeSticker
RenameStickerSet
DeleteStickerSet
GetUsers
GetFullUser
SetSecureValueErrors
GetIsPremiumRequiredToContact
ExportChatlistInvite
DeleteExportedInvite
EditExportedInvite
GetExportedInvites
CheckChatlistInvite
JoinChatlistInvite
GetChatlistUpdates
JoinChatlistUpdates
HideChatlistUpdates
GetLeaveChatlistSuggestions
LeaveChatlist
SendCustomRequest
AnswerWebhookJSONQuery
SetBotCommands
ResetBotCommands
GetBotCommands
SetBotMenuButton
GetBotMenuButton
SetBotBroadcastDefaultAdminRights
SetBotGroupDefaultAdminRights
SetBotInfo
GetBotInfo
Api
.
bots
.
ReorderUsernames
Api
.
bots
.
ToggleUsername
CanSendMessage
AllowSendMessage
InvokeWebViewCustomMethod
CanSendStory
SendStory
EditStory
DeleteStories
TogglePinned
GetAllStories
GetPinnedStories
GetStoriesArchive
GetStoriesByID
ToggleAllStoriesHidden
ReadStories
IncrementStoryViews
GetStoryViewsList
GetStoriesViews
ExportStoryLink
Api
.
stories
.
Report
ActivateStealthMode
Api
.
stories
.
SendReaction
GetPeerStories
GetAllReadPeerStories
GetPeerMaxIDs
GetChatsToSend
TogglePeerStoriesHidden
GetStoryReactionsList
GetBoostsList
GetMyBoosts
ApplyBoost
GetBoostsStatus
GetUserBoosts
GetLangPack
GetStrings
Api
.
langpack
.
GetDifference
GetLanguages
GetLanguage
EditPeerFolders
Index
Properties
CONSTRUCTOR_
ID
SUBCLASS_
OF_
ID
class
Name
class
Type
CONSTRUCTOR_
ID
SUBCLASS_
OF_
ID
class
Name
class
Type
original
Args
__response
Methods
serialize
Bytes
serialize
Date
get
Bytes
toJSON
read
Result
resolve
Constructors
constructor
Properties
Static
CONSTRUCTOR_
ID
CONSTRUCTOR_
ID
:
number
Static
SUBCLASS_
OF_
ID
SUBCLASS_
OF_
ID
:
number
Static
class
Name
class
Name
:
string
Static
class
Type
class
Type
:
"constructor"
|
"request"
CONSTRUCTOR_
ID
CONSTRUCTOR_
ID
:
number
SUBCLASS_
OF_
ID
SUBCLASS_
OF_
ID
:
number
class
Name
class
Name
:
string
class
Type
class
Type
:
"constructor"
|
"request"
original
Args
original
Args
:
Partial
<
Args
>
__response
__response
:
Response
Methods
Static
serialize
Bytes
serialize
Bytes
(
data
:
string
|
Buffer
)
:
Buffer
Parameters
data:
string
|
Buffer
Returns
Buffer
Static
serialize
Date
serialize
Date
(
date
:
number
|
Date
)
:
Buffer
Parameters
date:
number
|
Date
Returns
Buffer
get
Bytes
get
Bytes
(
)
:
Buffer
Returns
Buffer
toJSON
toJSON
(
)
:
Partial
<
Args
>
Returns
Partial
<
Args
>
Static
read
Result
read
Result
(
reader
:
any
)
:
Buffer
Parameters
reader:
any
Returns
Buffer
resolve
resolve
(
client
:
any
, utils
:
any
)
:
Promise
<
void
>
Parameters
client:
any
utils:
any
Returns
Promise
<
void
>
Constructors
constructor
new
Request
<
Args
,
Response
>
(
args
:
Partial
<
Args
>
)
:
Request
<
Args
,
Response
>
Type Parameters
Args
Response
Parameters
args:
Partial
<
Args
>
Returns
Request
<
Args
,
Response
>
Exports
helpers
password
utils
client
errors
extensions
sessions
Api
storage
auth
contacts
messages
updates
photos
upload
help
account
channels
payments
phone
stats
stickers
users
chatlists
bots
stories
premium
langpack
folders
tl
custom
Request
CONSTRUCTOR_
ID
SUBCLASS_
OF_
ID
class
Name
class
Type
serialize
Bytes
serialize
Date
get
Bytes
CONSTRUCTOR_
ID
SUBCLASS_
OF_
ID
class
Name
class
Type
constructor
original
Args
toJSON
read
Result
resolve
__response
Generated using
TypeDoc