Methods
752 entries
AccountAcceptAuthorization
Sends a Telegram Passport authorization form, effectively sharing data with the service
AccountCancelPasswordEmail
Cancel the code that was sent to verify an email to use as 2 FA recovery method.
AccountChangeAuthorizationSettings
Change settings related to a session.
AccountChangePhone
Change the phone number of the current account
AccountCheckUsername
Validates a username and checks availability.
AccountClearRecentEmojiStatuses
Clears list of recently used emoji statuses
AccountConfirmBotConnection
Confirm a pending bot connection for the current account.
AccountConfirmPasswordEmail
Verify an email to use as 2 FA recovery method.
AccountConfirmPhone
Confirm a phone number to cancel account deletion, for more info click here
AccountCreateBusinessChatLink
Create a business chat deep link.
AccountCreateTheme
Create a theme
AccountDeclinePasswordReset
Abort a pending 2 FA password reset, see here for more info
AccountDeleteAccount
Delete the user's account from the telegram servers.
AccountDeleteAutoSaveExceptions
Clear all peer-specific autosave settings.
AccountDeleteBusinessChatLink
Delete a business chat deep link.
AccountDeletePasskey
Delete a passkey associated to the current account, see here for more info.
AccountDeleteSecureValue
Delete stored Telegram Passport documents, for more info see the passport docs
AccountDeleteWebBrowserSettingsExceptions
Clear all per-domain web browser settings exceptions for the account.
AccountDisablePeerConnectedBot
Permanently disconnect a specific chat from all business bots (equivalent to specifying it in reci
AccountEditBusinessChatLink
Edit a created business chat deep link.
AccountFinishTakeoutSession
Terminate a takeout session, see here for more info.
AccountGetAccountTtl
Get days to live of account
AccountGetAuthorizationForm
Returns a Telegram Passport authorization form for sharing data with a service
AccountGetAuthorizations
Get logged-in sessions
AccountGetAutoDownloadSettings
Get media autodownload settings
AccountGetAutoSaveSettings
Get autosave settings
AccountGetBotBusinessConnection
Bots may invoke this method to re-fetch the update Bot Business Connect constructor associated with a s
AccountGetBusinessChatLinks
List all created business chat deep links.
AccountGetChannelDefaultEmojiStatuses
Get a list of default suggested channel emoji statuses.
AccountGetChannelRestrictedStatusEmojis
Returns fetch the full list of custom emoji IDs that cannot be used in channel emoji statuses.
AccountGetChatThemes
Get all available chat themes.
AccountGetCollectibleEmojiStatuses
Obtain a list of emoji statuses for owned or hosted collectible gifts.
AccountGetConnectedBots
List all currently connected business bots
AccountGetContactSignUpNotification
Whether the user will receive notifications when contacts sign up
AccountGetContentSettings
Get sensitive content settings
AccountGetDefaultBackgroundEmojis
Get a set of suggested custom emoji stickers that can be used in an accent color pattern.
AccountGetDefaultEmojiStatuses
Get a list of default suggested emoji statuses
AccountGetDefaultGroupPhotoEmojis
Get a set of suggested custom emoji stickers that can be used as group picture
AccountGetDefaultProfilePhotoEmojis
Get a set of suggested custom emoji stickers that can be used as profile picture
AccountGetGlobalPrivacySettings
Get global privacy settings
AccountGetNotifyExceptions
Returns list of chats with non-default notification settings
AccountGetNotifySettings
Gets current notification settings for a given user/group, from all users/all groups.
AccountGetPaidMessagesRevenue
Get the number of stars we have received from the specified user thanks to paid messages; the rec
AccountGetPasskeys
List the passkeys associated to the current account that can be used to log in, see here for more
AccountGetPassword
Obtain configuration for two-factor authorization with password
AccountGetPasswordSettings
Get private info associated to the password info (recovery email, telegram passport info & so on)
AccountGetPrivacy
Get privacy settings of current account
AccountGetReactionsNotifySettings
Get the current reaction notification settings.
AccountGetRecentEmojiStatuses
Get recently used emoji statuses
AccountGetSavedMusicIds
Fetch the full list of only the IDs of songs currently added to the profile, see here for more inf
AccountGetSavedRingtones
Fetch saved notification sounds
AccountGetTheme
Get theme information
AccountGetThemes
Get installed themes
AccountGetTmpPassword
Get temporary payment password
AccountGetUniqueGiftChatThemes
Obtain all chat themes associated to owned or hosted collectible gifts.
AccountGetWallPaper
Get info about a certain wallpaper
AccountGetWallPapers
Returns a list of available wallpapers.
AccountGetWebAuthorizations
Get web login widget authorizations
AccountGetWebBrowserSettings
Fetch the current account's web browser settings (with hash-based caching).
AccountInitPasskeyRegistration
Initialize passkey registration for the current account, see here for more info on the full flow.
AccountInitTakeoutSession
Initialize a takeout session, see here for more info.
AccountInstallTheme
Install a theme
AccountInstallWallPaper
Install wallpaper
AccountInvalidateSignInCodes
Invalidate the specified login codes, see here for more info.
AccountRegisterDevice
Register device to receive PUSH notifications
AccountRegisterPasskey
Complete passkey registration for the current account, see here for more info on the full flow.
AccountReorderUsernames
Reorder usernames associated with the currently logged-in user.
AccountReportPeer
Report a peer for violation of telegram's Terms of Service
AccountReportProfilePhoto
Report a profile photo of a dialog
AccountResendPasswordEmail
Resend the code to verify an email to use as 2 FA recovery method.
AccountResetAuthorization
Log out an active authorized session by its hash
AccountResetNotifySettings
Resets all notification settings from users and groups.
AccountResetPassword
Initiate a 2 FA password reset: can only be used if the user is already logged-in, see here for more
AccountResetWallPapers
Delete all installed wallpapers, reverting to the default wallpaper set.
AccountResetWebAuthorization
Log out an active web telegram login session
AccountResetWebAuthorizations
Reset all active web telegram login sessions
AccountResolveBusinessChatLink
Resolve a business chat deep link.
AccountSaveAutoDownloadSettings
Change media autodownload settings
AccountSaveAutoSaveSettings
Modify autosave settings
AccountSaveMusic
Adds or removes a song from the current user's profile see here for more info on the music tab of
AccountSaveRingtone
Save or remove saved notification sound.
AccountSaveSecureValue
Securely save Telegram Passport document, for more info see the passport docs
AccountSaveTheme
Save a theme
AccountSaveWallPaper
Install/uninstall wallpaper
AccountSendChangePhoneCode
Verify a new phone number to associate to the current account
AccountSendConfirmPhoneCode
Send confirmation code to cancel account deletion, for more info click here
AccountSendVerifyEmailCode
Send an email verification code.
AccountSendVerifyPhoneCode
Send the verification phone code for telegram passport.
AccountSetAccountTtl
Set account self-destruction period
AccountSetAuthorizationTtl
Set time-to-live of current session
AccountSetContactSignUpNotification
Toggle contact sign up notifications
AccountSetContentSettings
Set sensitive content settings (for viewing or hiding NSFW content)
AccountSetGlobalPrivacySettings
Set global privacy settings
AccountSetMainProfileTab
Changes the main profile tab of the current user, see here for more info.
AccountSetPrivacy
Change privacy settings of current account
AccountSetReactionsNotifySettings
Change the reaction notification settings.
AccountToggleConnectedBotPaused
Pause or unpause a specific chat, temporarily disconnecting it from all business bots.
AccountToggleNoPaidMessagesException
Allow a user to send us messages without paying if paid messages are enabled.
AccountToggleSponsoredMessages
Disable or re-enable Telegram ads for the current Premium account.
AccountToggleUsername
Activate or deactivate a purchased fragment. com username associated to the currently logged-in user.
AccountToggleWebBrowserSettingsException
Add, update, or remove a per-domain web browser settings exception.
AccountUnregisterDevice
Deletes a device by its token, stops sending PUSH-notifications to it.
AccountUpdateBirthday
Update our birthday, see here for more info.
AccountUpdateBusinessAwayMessage
Set a list of Telegram Business away messages.
AccountUpdateBusinessGreetingMessage
Set a list of Telegram Business greeting messages.
AccountUpdateBusinessIntro
Set or remove the Telegram Business introduction.
AccountUpdateBusinessLocation
Businesses may advertise their location using this method, see here for more info.
AccountUpdateBusinessWorkHours
Specify a set of Telegram Business opening hours. This info will be contained in user Full. busines
AccountUpdateColor
Update the accent color and background custom emoji of the current account.
AccountUpdateConnectedBot
Connect a business bot to the current account, or to change the current connection settings.
AccountUpdateDeviceLocked
When client-side passcode lock feature is enabled, will not show message texts in incoming PUSH noti
AccountUpdateEmojiStatus
Set an emoji status
AccountUpdateNotifySettings
Edits notification settings from a given user/group, from all users/all groups.
AccountUpdatePasswordSettings
Set a new 2 FA password
AccountUpdatePersonalChannel
Associate (or remove) a personal channel, that will be listed on our personal profile page.
AccountUpdateProfile
Updates user profile.
AccountUpdateStatus
Updates online user status.
AccountUpdateTheme
Update theme
AccountUpdateUsername
Changes username for the current user.
AccountUpdateWebBrowserSettings
Update the account's global web browser settings.
AccountUploadRingtone
Upload notification sound, use account. save Ringtone to convert it and add it to the list of saved no
AccountUploadTheme
Upload theme
AccountUploadWallPaper
Create and upload a new wallpaper
AccountVerifyEmail
Verify an email address.
AccountVerifyPhone
Verify a phone number for telegram passport.
AicomposeCreateTone
Create a new custom AI composer tone.
AicomposeDeleteTone
Permanently delete a custom AI composer tone created by the current user.
AicomposeGetTone
Fetch information about a single AI composer tone, for example to resolve a shared tone deep link
AicomposeGetToneExample
Fetch an example showing how an AI composer tone rephrases a sample message, used as a preview in
AicomposeGetTones
Fetch the list of saved AI composer tones of the current user.
AicomposeSaveTone
Install or uninstall an AI composer tone, adding it to or removing it from the list of saved tone
AicomposeUpdateTone
Edit a custom AI composer tone previously created by the current user. Only the fields whose flag
AuthAcceptLoginToken
Accept QR code login token, logging in the app that generated it.
AuthBindTempAuthKey
Binds a temporary authorization key temp_auth_key_id to the permanent authorization key perm_auth_ke
AuthCancelCode
Cancel the login verification code
AuthCheckPaidAuth
Checks the status of a login payment.
AuthCheckPassword
Try logging to an account protected by a 2 FA password.
AuthCheckRecoveryPassword
Check if the 2 FA recovery code sent using auth. request Password Recovery is valid, before passing it t
AuthDropTempAuthKeys
Delete all temporary authorization keys except for the ones specified
AuthExportAuthorization
Returns data for copying authorization to another data-center.
AuthExportLoginToken
Generate a login token, for login via QR code. The generated login token should be encoded using ba
AuthFinishPasskeyLogin
Complete login with a passkey over an unauthenticated connection, see here for more info.
AuthImportAuthorization
Logs in a user using a key transmitted from his native data-center.
AuthImportBotAuthorization
Login as a bot
AuthImportLoginToken
Login using a redirected login token, generated in case of DC mismatch during QR code login.
AuthImportWebTokenAuthorization
Login by importing an authorization token
AuthInitPasskeyLogin
Initialize login with a passkey over an unauthenticated connection, see here for more info.
AuthLogOut
Logs out the user.
AuthRecoverPassword
Reset the 2 FA password using the recovery code sent using auth. request Password Recovery.
AuthReportMissingCode
Official apps only, reports that the SMS authentication code wasn't delivered.
AuthRequestFirebaseSms
Request an SMS code via Firebase.
AuthRequestPasswordRecovery
Request recovery code of a 2 FA password, only for accounts with a recovery email configured.
AuthResendCode
Resend the login code via another medium, the phone code type is determined by the return value of t
AuthResetAuthorizations
Terminates all user's authorized sessions except for the current one.
AuthResetLoginEmail
Reset the login email.
AuthSendCode
Send the verification code for login
AuthSignIn
Signs in a user with a validated phone number.
AuthSignUp
Registers a validated phone number in the system.
BotsAddPreviewMedia
Add a main mini app preview, see here for more info.
BotsAllowSendMessage
Allow the specified bot to send us messages
BotsAnswerWebhookJsonQuery
Answers a custom query; for bots only
BotsCanSendMessage
Check whether the specified bot can send us messages
BotsCheckDownloadFileParams
Check if a mini app can request the download of a specific file: called when handling web_app_reques
BotsCheckUsername
Check whether a username is available and valid for use when creating a managed bot.
BotsCreateBot
Create a managed bot owned by the current user and controlled by the specified manager bot.
BotsDeletePreviewMedia
Delete a main mini app preview, see here for more info.
BotsEditAccessSettings
Edit the access restriction settings of a managed bot; can only be called by the manager bot.
BotsEditPreviewMedia
Edit a main mini app preview, see here for more info.
BotsExportBotToken
Export the bot token of a managed bot; can only be called by the manager bot.
BotsGetAccessSettings
Get the access restriction settings of a managed bot; can only be called by the manager bot.
BotsGetBotInfo
Get localized name, about text and description of a bot (or of the current account, if called by a b
BotsGetBotMenuButton
Gets the menu button action for a given user or for all users, previously set using bots. set Bot Menu B
BotsGetBotRecommendations
Obtain a list of similarly themed bots, selected based on similarities in their subscriber bases, se
BotsGetPopularAppBots
Fetch popular Main Mini Apps, to be used in the apps tab of global search.
BotsGetPreviewInfo
Bot owners only, fetch main mini app preview information, see here for more info.
BotsGetRequestedWebViewButton
Fetch the peer request button a bot prepared for a Mini App with bots. request Web View Button, invoked
BotsInvokeWebViewCustomMethod
Send a custom request from a mini bot app, triggered by a web_app_invoke_custom_method event.
BotsReorderPreviewMedias
Reorder a main mini app previews, see here for more info.
BotsReorderUsernames
Reorder usernames associated to a bot we own.
BotsRequestWebViewButton
Bots may use this method to prepare a peer request button for a Mini App, see here for more info.
BotsResetBotCommands
Clear bot commands for the specified bot scope and language code
BotsSendCustomRequest
Sends a custom request; for bots only
BotsSetBotBroadcastDefaultAdminRights
Set the default suggested admin rights for bots being added as admins to channels, see here for more
BotsSetBotCommands
Set bot command list
BotsSetBotGroupDefaultAdminRights
Set the default suggested admin rights for bots being added as admins to groups, see here for more i
BotsSetBotInfo
Set localized name, about text and description of a bot (or of the current account, if called by a b
BotsSetBotMenuButton
Sets the menu button action for a given user or for all users
BotsSetCustomVerification
Verify a user or chat on behalf of an organization.
BotsSetJoinChatResults
Bot reports its decision (approve/decline/queue/web-view) for a chat-join query.
BotsToggleUserEmojiStatusPermission
Allow or prevent a bot from changing our emoji status
BotsToggleUsername
Activate or deactivate a purchased fragment. com username associated to a bot we own.
BotsUpdateStarRefProgram
Create, edit or delete the affiliate program of a bot we own
BotsUpdateUserEmojiStatus
Change the emoji status of a user (invoked by bots, see here for more info on the full flow)
ChannelsCheckSearchPostsFlood
Check if the specified global post search requires payment.
ChannelsCheckUsername
Check if a username is free and can be assigned to a channel/supergroup
ChannelsConvertToGigagroup
Convert a supergroup to a gigagroup, when requested by channel suggestions.
ChannelsCreateChannel
Create a supergroup/channel.
ChannelsDeactivateAllUsernames
Disable all purchased usernames of a supergroup or channel
ChannelsDeleteChannel
Delete a channel/supergroup
ChannelsDeleteHistory
Delete the history of a supergroup
ChannelsDeleteMessages
Delete messages in a channel/supergroup
ChannelsDeleteParticipantHistory
Delete all messages sent by a specific participant of a given supergroup
ChannelsEditAdmin
Modify the admin rights of a user in a supergroup/channel.
ChannelsEditBanned
Ban/unban/kick a user in a supergroup/channel.
ChannelsEditLocation
Edit location of geogroup, see here for more info on geogroups.
ChannelsEditPhoto
Change the photo of a channel/supergroup
ChannelsEditTitle
Edit the name of a channel/supergroup
ChannelsExportMessageLink
Get link and embed info of a message in a channel/supergroup
ChannelsGetAdminLog
Get the admin log of a channel/supergroup
ChannelsGetAdminedPublicChannels
Get channels/supergroups/geogroups we're admin in. Usually called when the user exceeds the limit fo
ChannelsGetChannelRecommendations
Obtain a list of similarly themed public channels, selected based on similarities in their subscribe
ChannelsGetChannels
Get info about channels/supergroups
ChannelsGetFullChannel
Get full info about a supergroup, gigagroup or channel
ChannelsGetGroupsForDiscussion
Get all groups that can be used as discussion groups.
ChannelsGetInactiveChannels
Get inactive channels and supergroups
ChannelsGetLeftChannels
Get a list of channels/supergroups we left, requires a takeout session, see here for more info.
ChannelsGetMessageAuthor
Can only be invoked by non-bot admins of a monoforum, obtains the original sender of a message se
ChannelsGetMessages
Get channel/supergroup messages
ChannelsGetParticipant
Get info about a channel/supergroup participant
ChannelsGetParticipants
Get the participants of a supergroup/channel
ChannelsGetSendAs
Obtains a list of peers that can be displayed as the sender in a specific context. With for_live_sto
ChannelsInviteToChannel
Invite users to a channel/supergroup
ChannelsJoinChannel
Join a channel/supergroup
ChannelsLeaveChannel
Leave a channel/supergroup
ChannelsReadHistory
Mark channel/supergroup history as read
ChannelsReadMessageContents
Mark channel/supergroup message contents as read, emitting an update Channel Read Messages Contents.
ChannelsReorderUsernames
Reorder active usernames
ChannelsReportAntiSpamFalsePositive
Report a native antispam false positive
ChannelsReportSpam
Reports some messages from a user in a supergroup as spam; requires administrator rights in the supe
ChannelsRestrictSponsoredMessages
Disable ads on the specified channel, for all users.
ChannelsSearchPosts
Globally search for posts from public channels ( including those we aren't a member of) containing
ChannelsSetBoostsToUnblockRestrictions
Admins with ban_users admin rights may allow users that apply a certain number of booosts to the
ChannelsSetDiscussionGroup
Associate a group to a channel as discussion group for that channel
ChannelsSetEmojiStickers
Set a custom emoji stickerset for supergroups. Only usable after reaching at least the boost level
ChannelsSetMainProfileTab
Changes the main profile tab of a channel, see here for more info.
ChannelsSetStickers
Associate a stickerset to the supergroup
ChannelsToggleAntiSpam
Enable or disable the native antispam system.
ChannelsToggleAutotranslation
Toggle autotranslation in a channel, for all users: see here for more info.
ChannelsToggleForum
Enable or disable forum functionality in a supergroup.
ChannelsToggleJoinRequest
Set whether all users should request admin approval to join the group.
ChannelsToggleJoinToSend
Set whether all users should join a discussion group in order to comment on a post
ChannelsToggleParticipantsHidden
Hide or display the participants list in a supergroup.
ChannelsTogglePreHistoryHidden
Hide/unhide message history for new channel/supergroup users
ChannelsToggleSignatures
Enable/disable message signatures in channels
ChannelsToggleSlowMode
Toggle supergroup slow mode: if enabled, users will only be able to send one message every seconds s
ChannelsToggleUsername
Activate or deactivate a purchased fragment. com username associated to a supergroup or channel we ow
ChannelsToggleViewForumAsMessages
Users may also choose to display messages from all topics of a forum as if they were sent to a norma
ChannelsUpdateColor
Update the accent color and background custom emoji of a channel.
ChannelsUpdateEmojiStatus
Set an emoji status for a channel or supergroup.
ChannelsUpdatePaidMessagesPrice
Enable or disable paid messages in this supergroup or monoforum.
ChannelsUpdateUsername
Change or remove the username of a supergroup/channel
ChatlistsCheckChatlistInvite
Obtain information about a chat folder deep link.
ChatlistsDeleteExportedInvite
Delete a previously created chat folder deep link.
ChatlistsEditExportedInvite
Edit a chat folder deep link.
ChatlistsExportChatlistInvite
Export a folder, creating a chat folder deep link.
ChatlistsGetChatlistUpdates
Fetch new chats associated with an imported chat folder deep link. Must be invoked at most every
ChatlistsGetExportedInvites
List all chat folder deep links associated to a folder
ChatlistsHideChatlistUpdates
Dismiss new pending peers recently added to a chat folder deep link.
ChatlistsJoinChatlistInvite
Import a chat folder deep link, joining some or all the chats in the folder.
ChatlistsJoinChatlistUpdates
Join channels and supergroups recently added to a chat folder deep link.
ChatlistsLeaveChatlist
Delete a folder imported using a chat folder deep link
ContactsAcceptContact
If the add contact action bar is active, add that user as contact
ContactsAddContact
Add an existing telegram user as contact.
ContactsBlock
Adds a peer to a blocklist, see here for more info.
ContactsBlockFromReplies
Stop getting notifications about discussion replies of a certain user in @replies
ContactsDeleteByPhones
Delete contacts by phone number
ContactsDeleteContacts
Deletes several contacts from the list.
ContactsEditCloseFriends
Edit the close friends list, see here for more info.
ContactsExportContactToken
Generates a temporary profile link for the currently logged-in user.
ContactsGetBirthdays
Fetch all users with birthdays that fall within +1/-1 days, relative to the current day: this method
ContactsGetBlocked
Returns the list of blocked users.
ContactsGetContacts
Returns the current user's contact list.
ContactsGetLocated
Get users and geochats near you, see here for more info.
ContactsGetSponsoredPeers
Obtain a list of sponsored peer search results for a given query
ContactsGetTopPeers
Get most used peers
ContactsImportContactToken
Obtain user info from a temporary profile link.
ContactsImportContacts
Imports contacts: saves a full list on the server, adds already registered contacts to the contact l
ContactsResetSaved
Removes all contacts without an associated Telegram account.
ContactsResetTopPeerRating
Reset rating of top peer
ContactsResolvePhone
Resolve a phone number to get user info, if their privacy settings allow it.
ContactsResolveUsername
Resolve a @username to get peer info
ContactsSearch
Returns users found by username substring.
ContactsSetBlocked
Replace the contents of an entire blocklist, see here for more info.
ContactsToggleTopPeers
Enable/disable top peers
ContactsUnblock
Deletes a peer from a blocklist, see here for more info.
ContactsUpdateContactNote
Update the private note associated to a contact; see here for more info.
FoldersEditPeerFolders
Edit peers in peer folder
FragmentGetCollectibleInfo
Fetch information about a fragment collectible, see here for more info on the full flow.
HelpAcceptTermsOfService
Accept the new terms of service
HelpDismissSuggestion
Dismiss a suggestion, see here for more info.
HelpEditUserInfo
Internal use
HelpGetAppConfig
Get app-specific configuration, see client configuration for more info on the result.
HelpGetAppUpdate
Returns information on update availability for the current application.
HelpGetCdnConfig
Get configuration for CDN file downloads.
HelpGetConfig
Returns current configuration, including data center configuration.
HelpGetCountriesList
Get name, ISO code, localized name and phone codes/patterns of all available countries
HelpGetDeepLinkInfo
Get info about an unsupported deep link, see here for more info.
HelpGetInviteText
Returns localized text of a text message with an invitation.
HelpGetNearestDc
Returns info on data center nearest to the user.
HelpGetPassportConfig
Get passport configuration
HelpGetPeerColors
Get the set of accent color palettes that can be used for message accents.
HelpGetPeerProfileColors
Get the set of accent color palettes that can be used in profile page backgrounds.
HelpGetPremiumPromo
Get Telegram Premium promotion information
HelpGetPromoData
Returns a set of useful suggestions and PSA/MTProxy sponsored peers, see here for more info.
HelpGetRecentMeUrls
Get recently used t. me links.
HelpGetSupport
Returns the support user for the "ask a question" feature.
HelpGetSupportName
Get localized name of the telegram support user
HelpGetTermsOfServiceUpdate
Look for updates of telegram's terms of service
HelpGetTimezonesList
Returns timezone information that may be used elsewhere in the API, such as to set Telegram Business
HelpGetUserInfo
Can only be used by TSF members to obtain internal information.
HelpHidePromoData
Hide MTProxy/Public Service Announcement information
HelpSaveAppLog
Saves logs of application on the server.
HelpSetBotUpdatesStatus
Informs the server about the number of pending bot updates if they haven't been processed for a long
InitConnection
Initialize connection
InvokeAfterMsg
Invokes a query after successful completion of one of the previous queries.
InvokeAfterMsgs
Invokes a query after a successful completion of previous queries
InvokeWithApnsSecret
Official clients only, invoke with Apple push verification.
InvokeWithBusinessConnection
Invoke a method using a Telegram Business Bot connection, see here for more info, including a list
InvokeWithGooglePlayIntegrity
Official clients only, invoke with Google Play Integrity token.
InvokeWithLayer
Invoke the specified query using the specified API layer
InvokeWithMessagesRange
Invoke with the given message range
InvokeWithReCaptcha
Official clients only: re-execute a method call that required re CAPTCHA verification via a RECAPTCHA
InvokeWithTakeout
Invoke a method within a takeout session, see here for more info.
InvokeWithoutUpdates
Invoke a request without subscribing the used connection for updates (this is enabled by default for
LangpackGetDifference
Get new strings in language pack
LangpackGetLangPack
Get localization pack strings
LangpackGetLanguage
Get information about a language in a localization pack
MessagesAcceptEncryption
Confirms creation of a secret chat
MessagesAcceptUrlAuth
Use this to accept a Seamless Telegram Login authorization request, for more info click here
MessagesAddChatUser
Adds a user to a chat and sends a service message on it.
MessagesAddPollAnswer
Add an answer option to an open-answer poll
MessagesAppendTodoList
Appends one or more items to a todo list.
MessagesCheckChatInvite
Check the validity of a chat invite link and get basic info about it
MessagesCheckHistoryImport
Obtains information about a chat export file, generated by a foreign chat app, click here for more i
MessagesCheckHistoryImportPeer
Check whether chat history exported from another chat app can be imported into a specific Telegram c
MessagesCheckQuickReplyShortcut
Before offering the user the choice to add a message to a quick reply shortcut, to make sure that n
MessagesCheckUrlAuthMatchCode
Validate the match code selected by the user against the code shown on the login page, as part of th
MessagesClearAllDrafts
Clear all drafts.
MessagesClearRecentReactions
Clear recently used message reactions
MessagesClearRecentStickers
Clear recent stickers
MessagesClickSponsoredMessage
Informs the server that the user has interacted with a sponsored message in one of the ways listed h
MessagesComposeMessageWithAi
Invokes telegram's AI Editor that can translate, transform, fixup and/or emojify your message in a n
MessagesCreateChat
Creates a new chat.
MessagesCreateForumTopic
Create a forum topic.
MessagesDeclineUrlAuth
Decline an incoming OAuth authorization request, notifying the server that the user refused the l
MessagesDeleteChat
Delete a chat
MessagesDeleteChatUser
Deletes a user from a chat and sends a service message on it.
MessagesDeleteExportedChatInvite
Delete a chat invite
MessagesDeleteFactCheck
Delete a fact-check from a message.
MessagesDeleteHistory
Deletes communication history.
MessagesDeleteMessages
Deletes messages by their identifiers.
MessagesDeleteParticipantReaction
As an admin, remove all of a specific participant's reactions from a single message.
MessagesDeleteParticipantReactions
As an admin, remove all of a specific participant's reactions from every message in a group or chann
MessagesDeletePhoneCallHistory
Delete the entire phone call history.
MessagesDeletePollAnswer
Remove an answer option from an open-answer poll
MessagesDeleteQuickReplyMessages
Delete one or more messages from a quick reply shortcut. This will also emit an update Delete Quick Re
MessagesDeleteQuickReplyShortcut
Completely delete a quick reply shortcut. This will also emit an update Delete Quick Reply update to o
MessagesDeleteRevokedExportedChatInvites
Delete all revoked chat invites
MessagesDeleteSavedHistory
Deletes messages from a monoforum topic, or deletes messages forwarded from a specific peer to sa
MessagesDeleteScheduledMessages
Delete scheduled messages
MessagesDeleteTopicHistory
Delete message history of a forum topic
MessagesDiscardEncryption
Cancels a request for creation and/or delete info on secret chat.
MessagesEditChatAbout
Edit the description of a group/supergroup/channel.
MessagesEditChatAdmin
Make a user admin in a basic group.
MessagesEditChatCreator
Transfer the ownership of a basic group, supergroup or channel to another user, see here for the f
MessagesEditChatDefaultBannedRights
Edit the default banned rights of a channel/supergroup/group.
MessagesEditChatParticipantRank
Edit a group participant's tag.
MessagesEditChatPhoto
Changes chat photo and sends a service message on it
MessagesEditChatTitle
Changes chat name and sends a service message on it.
MessagesEditExportedChatInvite
Edit an exported chat invite
MessagesEditFactCheck
Edit/create a fact-check on a message.
MessagesEditForumTopic
Edit forum topic.
MessagesEditInlineBotMessage
Edit an inline bot message
MessagesEditMessage
Edit message
MessagesEditQuickReplyShortcut
Rename a quick reply shortcut. This will emit an update Quick Replies update to other logged-in sessi
MessagesExportChatInvite
Export an invite link for a chat
MessagesFaveSticker
Mark or unmark a sticker as favorite
MessagesForwardMessages
Forwards messages by their IDs.
MessagesGetAdminsWithInvites
Get info about chat invites generated by admins.
MessagesGetAllDrafts
Return all message drafts. Returns all the latest update Draft Message updates related to all chats w
MessagesGetAllStickers
Get all installed stickers
MessagesGetArchivedStickers
Get all archived stickers
MessagesGetAttachMenuBot
Returns attachment menu entry for a bot mini app that can be launched from the attachment menu
MessagesGetAttachMenuBots
Returns installed attachment menu bot mini apps
MessagesGetAvailableEffects
Fetch the full list of usable animated message effects.
MessagesGetAvailableReactions
Obtain available message reactions
MessagesGetBotApp
Obtain information about a direct link Mini App
MessagesGetBotCallbackAnswer
Press an inline callback button and get a callback answer from the bot
MessagesGetChatInviteImporters
Get info about the users that joined the chat using a specific chat invite
MessagesGetChats
Returns chat basic info on their IDs.
MessagesGetCommonChats
Get chats in common with a user
MessagesGetDefaultHistoryTtl
Gets the default value of the Time-To-Live setting, applied to all new chats.
MessagesGetDefaultTagReactions
Fetch a default recommended list of saved message tag reactions.
MessagesGetDhConfig
Returns configuration parameters for Diffie-Hellman key generation. Can also return a random sequenc
MessagesGetDialogFilters
Get folders
MessagesGetDialogs
Returns the current user dialog list.
MessagesGetDiscussionMessage
Get discussion message from the associated discussion group of a channel to show it on top of the co
MessagesGetDocumentByHash
Get a document by its SHA 256 hash, mainly used for gifs
MessagesGetEmojiGameInfo
Fetch dice game information.
MessagesGetEmojiGroups
Represents a list of emoji categories.
MessagesGetEmojiKeywords
Get localized emoji keywords.
MessagesGetEmojiKeywordsDifference
Get changed emoji keywords.
MessagesGetEmojiProfilePhotoGroups
Represents a list of emoji categories, to be used when selecting custom emojis to set as profile pi
MessagesGetEmojiStatusGroups
Represents a list of emoji categories, to be used when selecting custom emojis to set as custom emo
MessagesGetEmojiStickerGroups
Represents a list of emoji categories, to be used when choosing a sticker.
MessagesGetEmojiStickers
Gets the list of currently installed custom emoji stickersets.
MessagesGetEmojiUrl
Returns an HTTP URL which can be used to automatically log in into translation platform and suggest
MessagesGetExportedChatInvite
Get info about a chat invite
MessagesGetExportedChatInvites
Get info about the chat invites of a specific chat
MessagesGetExtendedMedia
Fetch updated information about paid media, see here for the full flow.
MessagesGetFavedStickers
Get faved stickers
MessagesGetFeaturedEmojiStickers
Gets featured custom emoji stickersets.
MessagesGetFeaturedStickers
Get featured stickers
MessagesGetForumTopics
Get topics of a forum
MessagesGetForumTopicsById
Get forum topics by their ID
MessagesGetFullChat
Get full info about a basic group.
MessagesGetFutureChatCreatorAfterLeave
Group/channel owners only: returns the ID of the user that will become the new owner of the group if
MessagesGetGameHighScores
Get highscores of a game
MessagesGetHistory
Returns the message history in a peer.
MessagesGetInlineBotResults
Query an inline bot
MessagesGetInlineGameHighScores
Get highscores of a game sent using an inline bot
MessagesGetMaskStickers
Get installed mask stickers
MessagesGetMessageEditData
Find out if a media message's caption can be edited
MessagesGetMessageReactionsList
Get message reaction list, along with the sender of each reaction.
MessagesGetMessages
Returns the list of messages by their IDs.
MessagesGetMessagesReactions
Get message reactions
MessagesGetMessagesViews
Get and increase the view counter of a message sent or forwarded from a channel
MessagesGetMyStickers
Fetch all stickersets owned by the current user.
MessagesGetOldFeaturedStickers
Method for fetching previously featured stickers
MessagesGetOnlines
Get count of online users in a chat
MessagesGetOutboxReadDate
Get the exact read date of one of our messages, sent to a private chat with another user.
MessagesGetPaidReactionPrivacy
Fetches an update Paid Reaction Privacy update with the current default paid reaction privacy, see here
MessagesGetPeerDialogs
Get dialog info of specified peers
MessagesGetPeerSettings
Get peer settings
MessagesGetPersonalChannelHistory
Fetch the message history of a user's personal channel.
MessagesGetPinnedDialogs
Get pinned dialogs
MessagesGetPinnedSavedDialogs
Get pinned saved dialogs, see here for more info.
MessagesGetPollResults
Get poll results
MessagesGetPollVotes
Get poll results for non-anonymous polls
MessagesGetPreparedInlineMessage
Obtain a prepared inline message generated by a mini app: invoked when handling web_app_send_prepar
MessagesGetQuickReplies
Fetch basic info about all existing quick reply shortcuts.
MessagesGetQuickReplyMessages
Fetch (a subset or all) messages in a quick reply shortcut.
MessagesGetRecentLocations
Get all recent live locations sent to a specific chat: returns up to 1 location message ( message Med
MessagesGetRecentReactions
Get recently used message reactions
MessagesGetRecentStickers
Get recent stickers
MessagesGetReplies
Get messages in a reply thread
MessagesGetRichMessage
Fetch a single rich message in a peer by id.
MessagesGetSavedDialogs
Returns the current saved dialog list or monoforum topic list.
MessagesGetSavedDialogsById
Obtain information about specific saved message dialogs or monoforum topics.
MessagesGetSavedGifs
Get saved GIFs.
MessagesGetSavedHistory
Fetch saved messages forwarded from a specific peer, or fetch messages from a monoforum topic.
MessagesGetSavedReactionTags
Fetch the full list of saved message tags created by the user.
MessagesGetScheduledHistory
Get scheduled messages
MessagesGetScheduledMessages
Get scheduled messages
MessagesGetSearchResultsCalendar
Returns information about the next messages of the specified type in the chat split by days.
MessagesGetSearchResultsPositions
Returns sparse positions of messages of the specified type in the chat to be used for shared media s
MessagesGetSponsoredMessages
Get a list of sponsored messages for a peer, see here for more info.
MessagesGetStickerSet
Get info about a stickerset
MessagesGetStickers
Get stickers by emoji
MessagesGetTopReactions
Got popular message reactions
MessagesGetUnreadMentions
Get unread messages where we were mentioned
MessagesGetUnreadPollVotes
Get messages containing polls with unread votes
MessagesGetUnreadReactions
Get unread reactions to messages you sent
MessagesGetWebPage
Get instant view page
MessagesGetWebPagePreview
Get preview of webpage
MessagesHideAllChatJoinRequests
Dismiss or approve all join requests related to a specific chat or channel.
MessagesHideChatJoinRequest
Dismiss or approve a chat join request related to a specific chat or channel.
MessagesHidePeerSettingsBar
Should be called after the user hides the report spam/add as contact bar of a new chat, effectively
MessagesImportChatInvite
Import a chat invite and join a private chat/supergroup/channel
MessagesInitHistoryImport
Import chat history from a foreign chat app into a specific Telegram chat, click here for more info
MessagesInstallStickerSet
Install a stickerset
MessagesMarkDialogUnread
Manually mark dialog as unread
MessagesMigrateChat
Turn a basic group into a supergroup
MessagesProlongWebView
Indicate to the server (from the user side) that the user is still using a web app.
MessagesRateTranscribedAudio
Rate transcribed voice message
MessagesReadDiscussion
Mark a thread as read
MessagesReadEncryptedHistory
Marks message history within a secret chat as read.
MessagesReadFeaturedStickers
Mark new featured stickers as read
MessagesReadHistory
Marks message history as read.
MessagesReadMentions
Mark mentions as read
MessagesReadMessageContents
Notifies the sender about the recipient having listened a voice message or watched a video, emitting
MessagesReadPollVotes
Mark all unread poll votes in a chat as read
MessagesReadReactions
Mark message reactions as read
MessagesReadSavedHistory
Mark messages as read in a monoforum topic.
MessagesReorderPinnedDialogs
Reorder pinned dialogs
MessagesReorderPinnedForumTopics
Reorder pinned forum topics
MessagesReorderPinnedSavedDialogs
Reorder pinned saved message dialogs.
MessagesReorderQuickReplies
Reorder quick reply shortcuts.
MessagesReorderStickerSets
Reorder installed stickersets
MessagesReport
Report a message in a chat for violation of telegram's Terms of Service
MessagesReportEncryptedSpam
Report a secret chat for spam
MessagesReportMessagesDelivery
Used for Telegram Gateway verification messages: indicate to the server that one or more message
MessagesReportMusicListen
Report the listening duration of a music track (audio document without the voice flag), see here f
MessagesReportReaction
Report a message reaction
MessagesReportReadMetrics
Report viewport read metrics for visible messages, indicating how long each message stayed in the ch
MessagesReportSpam
Report a new incoming chat for spam, if the peer settings of the chat allow us to do that
MessagesReportSponsoredMessage
Report a sponsored message, see here for more info on the full flow.
MessagesRequestAppWebView
Open a bot mini app from a direct Mini App deep link, sending over user information after user conf
MessagesRequestEncryption
Sends a request to start a secret chat to the user.
MessagesRequestMainWebView
Open a Main Mini App.
MessagesRequestSimpleWebView
Open a bot mini app.
MessagesRequestUrlAuth
Get more info about a Seamless Telegram Login authorization request, for more info click here
MessagesRequestWebView
Open a bot mini app, sending over user information after user confirmation.
MessagesSaveDefaultSendAs
Change the default peer that should be used when sending messages, reactions, poll votes to a specif
MessagesSaveDraft
Save a message draft associated to a chat.
MessagesSaveGif
Add GIF to saved gifs list
MessagesSavePreparedInlineMessage
Save a prepared inline message, to be shared by the user of the mini app using a web_app_send_prepa
MessagesSaveRecentSticker
Add/remove sticker from recent stickers list
MessagesSearch
Search for messages.
MessagesSearchCustomEmoji
Look for custom emojis associated to a UTF 8 emoji
MessagesSearchEmojiStickerSets
Search for custom emoji stickersets
MessagesSearchGlobal
Search for messages and peers globally
MessagesSearchSentMedia
View and search recently sent media. This method does not support pagination.
MessagesSearchStickerSets
Search for stickersets
MessagesSearchStickers
Search for stickers using AI-powered keyword search
MessagesSendBotRequestedPeer
Send one or more chosen peers, as requested by a keyboard Button Request Peer button.
MessagesSendEncrypted
Sends a text message to a secret chat.
MessagesSendEncryptedFile
Sends a message with a file attachment to a secret chat
MessagesSendEncryptedService
Sends a service message to a secret chat.
MessagesSendInlineBotResult
Send a result obtained using messages. get Inline Bot Results.
MessagesSendMedia
Send a media
MessagesSendMessage
Sends a message to a chat
MessagesSendMultiMedia
Send an album or grouped media
MessagesSendPaidReaction
Sends one or more paid Telegram Star reactions, transferring Telegram Stars to a channel's bala
MessagesSendQuickReplyMessages
Send a quick reply shortcut.
MessagesSendReaction
React to message.
MessagesSendScheduledMessages
Send scheduled messages right away
MessagesSendScreenshotNotification
Notify the other user in a private chat that a screenshot of the chat was taken
MessagesSendVote
Vote in a poll
MessagesSendWebViewData
Used by the user to relay data from an opened reply keyboard bot mini app to the bot that owns it.
MessagesSendWebViewResultMessage
Terminate webview interaction started with messages. request Web View, sending the specified message t
MessagesSetBotCallbackAnswer
Set the callback answer to a user button press (bots only)
MessagesSetBotGuestChatResult
Bots may use this method to answer a guest mode query received via an update Bot Guest Chat Query upda
MessagesSetBotPrecheckoutResults
Once the user has confirmed their payment and shipping details, the bot receives an update Bot Prechec
MessagesSetBotShippingResults
If you sent an invoice requesting a shipping address and the parameter is_flexible was specified, th
MessagesSetChatAvailableReactions
Change the set of message reactions that can be used in a certain group, supergroup or channel
MessagesSetChatTheme
Change the chat theme of a certain chat, see here for more info.
MessagesSetChatWallPaper
Set a custom wallpaper in a specific private chat with another user.
MessagesSetDefaultHistoryTtl
Changes the default value of the Time-To-Live setting, applied to all new chats.
MessagesSetDefaultReaction
Change default emoji reaction to use in the quick reaction menu: the value is synced across devices
MessagesSetEncryptedTyping
Send typing event by the current user to a secret chat.
MessagesSetGameScore
Use this method to set the score of the specified user in a game sent as a normal message (bots only
MessagesSetHistoryTtl
Set maximum Time-To-Live of all messages in the specified chat
MessagesSetInlineBotResults
Answer an inline query, for bots only
MessagesSetInlineGameScore
Use this method to set the score of the specified user in a game sent as an inline message (bots onl
MessagesSetTyping
Sends a current user typing event (see Send Message Action for all event types) to a conversation part
MessagesStartBot
Start a conversation with a bot using a deep linking parameter
MessagesStartHistoryImport
Complete the history import process, importing all messages into the chat. To be called only after
MessagesSummarizeText
Summarize the contents of a message with AI, see here for more info.
MessagesToggleBotInAttachMenu
Enable or disable web bot attachment menu
MessagesToggleDialogFilterTags
Enable or disable folder tags.
MessagesToggleDialogPin
Pin/unpin a dialog
MessagesToggleNoForwards
Enable or disable content protection on a channel, group or private chat.
MessagesTogglePaidReactionPrivacy
Changes the privacy of already sent paid reactions on a specific message.
MessagesTogglePeerTranslations
Show or hide the real-time chat translation popup for a certain chat
MessagesToggleSavedDialogPin
Pin or unpin a saved message dialog.
MessagesToggleStickerSets
Apply changes to multiple stickersets
MessagesToggleSuggestedPostApproval
Approve or reject a suggested post.
MessagesToggleTodoCompleted
Mark one or more items of a todo list as completed or not completed.
MessagesTranscribeAudio
Transcribe voice message
MessagesTranslateText
Translate a given text.
MessagesUninstallStickerSet
Uninstall a stickerset
MessagesUnpinAllMessages
Unpin all pinned messages
MessagesUpdateDialogFilter
Update folder
MessagesUpdateDialogFiltersOrder
Reorder folders
MessagesUpdatePinnedForumTopic
Pin or unpin forum topics
MessagesUpdatePinnedMessage
Pin a message
MessagesUpdateSavedReactionTag
Update the description of a saved message tag.
MessagesUploadEncryptedFile
Upload encrypted file and associate it to a secret chat (without actually sending it to the chat).
MessagesUploadImportedMedia
Upload a media file associated with an imported chat, click here for more info.
MessagesUploadMedia
Upload a file and associate it to a chat (without actually sending it to the chat)
MessagesViewSponsoredMessage
Mark a specific sponsored message as read
PaymentsApplyGiftCode
Apply a Telegram Premium giftcode
PaymentsAssignAppStoreTransaction
Informs server about a purchase made through the App Store: for official applications only.
PaymentsAssignPlayMarketTransaction
Informs server about a purchase made through the Play Store: for official applications only.
PaymentsBotCancelStarsSubscription
Cancel a bot subscription
PaymentsCanPurchaseStore
Checks whether a purchase is possible. Must be called before in-store purchase, official apps only.
PaymentsChangeStarsSubscription
Activate or deactivate a Telegram Star subscription.
PaymentsCheckCanSendGift
Check if the specified gift can be sent.
PaymentsCheckGiftCode
Obtain information about a Telegram Premium giftcode
PaymentsClearSavedInfo
Clear saved payment information
PaymentsConnectStarRefBot
Join a bot's affiliate program, becoming an affiliate
PaymentsConvertStarGift
Convert a received gift into Telegram Stars: this will permanently destroy the gift, converting it
PaymentsCraftStarGift
Craft a new collectible gift by combining 1 to 4 owned collectible gifts of the same base gift typ
PaymentsCreateStarGiftCollection
Create a star gift collection.
PaymentsDeleteStarGiftCollection
Delete a star gift collection.
PaymentsEditConnectedStarRefBot
Leave a bot's affiliate program
PaymentsExportInvoice
Generate an invoice deep link
PaymentsFulfillStarsSubscription
Re-join a private channel associated to an active Telegram Star subscription.
PaymentsGetBankCardData
Get info about a credit card
PaymentsGetConnectedStarRefBot
Fetch info about a specific bot affiliation
PaymentsGetConnectedStarRefBots
Fetch all affiliations we have created for a certain peer
PaymentsGetCraftStarGifts
Obtain owned collectible gifts of a specific type that can be used for crafting.
PaymentsGetGiveawayInfo
Obtain information about a Telegram Premium giveaway.
PaymentsGetPaymentForm
Get a payment form
PaymentsGetPaymentReceipt
Get payment receipt
PaymentsGetResaleStarGifts
Get collectible gifts of a specific type currently on resale, see here for more info.
PaymentsGetSavedInfo
Get saved payment information
PaymentsGetSavedStarGift
Fetch info about specific gifts owned by a peer we control.
PaymentsGetSavedStarGifts
Fetch the full list of gifts owned, received or hosted by a peer.
PaymentsGetStarGiftActiveAuctions
Fetches all currently active gift auctions the user has ever bid on (including auctions where the us
PaymentsGetStarGiftAuctionAcquiredGifts
Fetches all the gifts that the current user won in an auction.
PaymentsGetStarGiftAuctionState
Returns info about a collectible gift auction; also subscribes the user to auction updates, see h
PaymentsGetStarGiftCollections
Fetches all star gift collections of a peer.
PaymentsGetStarGiftUpgradeAttributes
Obtains the full list of just the collectible attributes that may appear for a gift type once it's u
PaymentsGetStarGiftUpgradePreview
Obtain a preview of the possible attributes (chosen randomly) a gift can receive after upgrading i
PaymentsGetStarGiftWithdrawalUrl
Convert a collectible gift to an NFT on the TON blockchain.
PaymentsGetStarGifts
Get a list of available gifts, see here for more info.
PaymentsGetStarsRevenueAdsAccountUrl
Returns a URL for a Telegram Ad platform account that can be used to set up advertisements for chann
PaymentsGetStarsRevenueStats
Get Telegram Star revenue statistics.
PaymentsGetStarsRevenueWithdrawalUrl
Withdraw funds from a channel or bot's star balance.
PaymentsGetStarsStatus
Get the current Telegram Stars balance of the current account (with peer= input Peer Self ), or the st
PaymentsGetStarsSubscriptions
Obtain a list of active, expired or cancelled Telegram Star subscriptions.
PaymentsGetStarsTransactions
Fetch Telegram Stars transactions.
PaymentsGetStarsTransactionsById
Obtain info about Telegram Star transactions using specific transaction IDs.
PaymentsGetSuggestedStarRefBots
Obtain a list of suggested mini apps with available affiliate programs
PaymentsGetUniqueStarGift
Obtain info about a collectible gift using a slug obtained from a collectible gift link.
PaymentsGetUniqueStarGiftValueInfo
Get information about the value of a collectible gift.
PaymentsLaunchPrepaidGiveaway
Launch a prepaid giveaway.
PaymentsRefundStarsCharge
Refund a Telegram Stars transaction, see here for more info.
PaymentsReorderStarGiftCollections
Reorder the star gift collections on an owned peer's profile.
PaymentsResolveStarGiftOffer
Accept or decline a previously received collectible gift purchase offer, see here for the full
PaymentsSaveStarGift
Display or remove a received or hosted gift from our profile.
PaymentsSendPaymentForm
Send compiled payment form
PaymentsSendStarGiftOffer
Send an offer to purchase a collectible gift, see here for the full flow.
PaymentsSendStarsForm
Make a payment using Telegram Stars, see here for more info.
PaymentsToggleChatStarGiftNotifications
Enables or disables the reception of notifications every time a gift is received by the specified
PaymentsToggleStarGiftsPinnedToTop
Pins a received gift on top of the profile of the user or owned channels by using payments. toggle Sta
PaymentsTransferStarGift
Transfer a collectible gift to another user or channel: can only be used if transfer is free (i. e. m
PaymentsUpdateStarGiftCollection
Add or remove gifts from a star gift collection, or rename the collection.
PaymentsUpdateStarGiftPrice
A collectible gift we own can be put up for sale on the gift marketplace with this method, see h
PaymentsUpgradeStarGift
Upgrade a gift to a collectible gift: can only be used if the upgrade was already paid by the gift
PaymentsValidateRequestedInfo
Submit requested order information for validation
PhoneAcceptCall
Accept incoming call, see here for more info on the full flow.
PhoneConfirmCall
Complete phone call E 2 E encryption key exchange, see here for more info on the full flow.
PhoneCreateConferenceCall
Create and optionally join a new conference call.
PhoneCreateGroupCall
Create a video chat or livestream, see here for the full flow.
PhoneDeclineConferenceCallInvite
Decline a conference call invite.
PhoneDeleteConferenceCallParticipants
Remove participants from a conference call.
PhoneDeleteGroupCallMessages
Delete specific messages from the in-call message overlay of a video chat/livestream or live story
PhoneDeleteGroupCallParticipantMessages
As an admin, delete all messages from a specific participant in the in-call message overlay of a v
PhoneDiscardCall
Refuse or end running call, see here for more info on the full flow.
PhoneDiscardGroupCall
Terminate a group call, ending the room for all participants. This method can be used with all group
PhoneEditGroupCallParticipant
Edit information about a participant of a non-RTMP video chat/livestream or conference. The raise_ha
PhoneEditGroupCallTitle
Edit the title of a video chat or livestream. This method cannot be used with live stories or confer
PhoneExportGroupCallInvite
Get an invite link for a public video chat/livestream.
PhoneGetCallConfig
DEPRECATED: Get phone call configuration to be passed to the libtgvoip (deprecated) shared config.
PhoneGetGroupCall
Get info about a group call and its participants.
PhoneGetGroupCallChainBlocks
Fetch blocks from a conference call subchain; handle the returned update Group Call Chain Blocks as s
PhoneGetGroupCallJoinAs
Get a list of peers that can be used to join a video chat or livestream, presenting yourself as a
PhoneGetGroupCallStars
Fetch a live story's total donations and top donors, see paid live story donations.
PhoneGetGroupCallStreamChannels
Get the available stream channels and current playback timestamp of an RTMP-mode video chat, livestr
PhoneGetGroupCallStreamRtmpUrl
Get the RTMP URL and stream key used by the single external streamer that publishes all audio and vi
PhoneGetGroupParticipants
Get group call participants.
PhoneInviteConferenceCallParticipant
Invite a user to a conference call.
PhoneInviteToGroupCall
Invite a set of users to a video chat/livestream; cannot be used for live stories or conference
PhoneJoinGroupCall
Join any group call type. Conference calls additionally require the E 2 E joining flow.
PhoneJoinGroupCallPresentation
Start screen sharing in a non-RTMP video chat/livestream or conference. Presentations are not suppor
PhoneLeaveGroupCall
Leave a group call without ending it for other participants. This method can be used with all group
PhoneLeaveGroupCallPresentation
Stop screen sharing in a non-RTMP video chat/livestream or conference. Presentations are not support
PhoneReceivedCall
Optional: notify the server that the user is currently busy in a call: this will automatically refus
PhoneRequestCall
Start a telegram phone call, see here for more info on the full flow.
PhoneSaveCallDebug
Send phone call debug data to server.
PhoneSaveCallLog
Deprecated: send libtgvoip phone call debug information
PhoneSaveDefaultGroupCallJoinAs
Set the default peer used to join a video chat/livestream associated with a specific dialog.
PhoneSaveDefaultSendAs
Save the default peer displayed as the author of live story comments and reactions, see in-call mess
PhoneSendConferenceCallBroadcast
Submit a verification message to conference call subchain 1, see subchains.
PhoneSendGroupCallEncryptedMessage
Send an E 2 E-encrypted message or emoji reaction to all participants of a conference call. This metho
PhoneSendGroupCallMessage
Send an in-call message to all participants of a video chat/livestream or live story, including in R
PhoneSendSignalingData
Send Vo IP signaling data for an ongoing phone call.
PhoneSetCallRating
Rate a call, returns info about the rating message sent to the official Vo IP bot, see here for mor
PhoneStartScheduledGroupCall
Start a scheduled group call.
PhoneToggleGroupCallRecord
Start or stop recording a video chat/livestream, see here for more info. The recorded audio and vi
PhoneToggleGroupCallSettings
Change group call settings. Each setting supports different group call types, see here for more in
PhoneToggleGroupCallStartSubscription
Subscribe or unsubscribe to a scheduled group call.
PhotosGetUserPhotos
Returns the list of user photos.
PhotosUpdateProfilePhoto
Installs a previously uploaded photo as a profile photo.
PhotosUploadContactProfilePhoto
Upload a custom profile picture for a contact, or suggest a new profile picture to a contact.
PhotosUploadProfilePhoto
Updates current user profile photo.
PremiumApplyBoost
Apply one or more boosts to a peer.
PremiumGetBoostsList
Obtains info about the boosts that were applied to a certain channel or supergroup (admins only)
PremiumGetBoostsStatus
Gets the current number of boosts of a channel/supergroup.
PremiumGetMyBoosts
Obtain which peers are we currently boosting, and how many boost slots we have left.
PremiumGetUserBoosts
Returns the lists of boost that were applied to a channel/supergroup by a specific user (admins only
SmsjobsFinishJob
Finish an SMS job (official clients only).
SmsjobsGetSmsJob
Get info about an SMS job (official clients only).
SmsjobsGetStatus
Get SMS jobs status (official clients only).
SmsjobsIsEligibleToJoin
Check if we can process SMS jobs (official clients only).
SmsjobsJoin
Enable SMS jobs (official clients only).
SmsjobsLeave
Disable SMS jobs (official clients only).
SmsjobsUpdateSettings
Update SMS job settings (official clients only).
StatsGetBroadcastStats
Get channel statistics
StatsGetMegagroupStats
Get supergroup statistics
StatsGetMessagePublicForwards
Obtains a list of messages, indicating to which other public channels was a channel message forwarde
StatsGetMessageStats
Get message statistics
StatsGetPollStats
Get statistics for a poll sent in a message.
StatsGetStoryPublicForwards
Obtain forwards of a story as a message to public chats and reposts by public channels.
StatsGetStoryStats
Get statistics for a certain story.
StatsLoadAsyncGraph
Load channel statistics graph asynchronously
StickersAddStickerToSet
Add a sticker to a stickerset. The sticker set must have been created by the current user/bot.
StickersChangeSticker
Update the keywords, emojis or mask coordinates of a sticker.
StickersChangeStickerPosition
Changes the absolute position of a sticker in the set to which it belongs. The sticker set must have
StickersCheckShortName
Check whether the given short name is available
StickersCreateStickerSet
Create a stickerset.
StickersDeleteStickerSet
Deletes a stickerset we created.
StickersRemoveStickerFromSet
Remove a sticker from the set where it belongs. The sticker set must have been created by the curren
StickersRenameStickerSet
Renames a stickerset.
StickersReplaceSticker
Replace a sticker in a stickerset.
StickersSetStickerSetThumb
Set stickerset thumbnail
StickersSuggestShortName
Suggests a short name for a given stickerpack name
StoriesActivateStealthMode
Activates stories stealth mode, see here for more info.
StoriesCanSendStory
Check whether we can post stories as the specified peer.
StoriesCreateAlbum
Creates a story album.
StoriesDeleteAlbum
Delete a story album.
StoriesEditStory
Edit an uploaded story
StoriesExportStoryLink
Generate a story deep link for a specific story
StoriesGetAlbumStories
Get stories in a story album.
StoriesGetAlbums
Get story albums created by a peer.
StoriesGetAllReadPeerStories
Obtain the latest read story ID for all peers when first logging in, returned as a list of update Rea
StoriesGetAllStories
Fetch the List of active (or active and hidden) stories, see here for more info on watching storie
StoriesGetChatsToSend
Obtain a list of channels where the user can post stories
StoriesGetPeerStories
Fetch the full active story list of a specific peer.
StoriesGetPinnedStories
Fetch the stories pinned on a peer's profile.
StoriesGetStoriesArchive
Fetch the story archive of a peer we control.
StoriesGetStoriesById
Obtain full info about a set of stories by their IDs.
StoriesGetStoriesViews
Obtain info about the view count, forward count, reactions and recent viewers of one or more stories
StoriesGetStoryReactionsList
Get the reaction and interaction list of a story posted to a channel, along with the sender of each
StoriesGetStoryViewsList
Obtain the list of users that have viewed a specific story we posted
StoriesIncrementStoryViews
Increment the view counter of one or more stories.
StoriesReorderAlbums
Reorder story albums on a profile.
StoriesReport
Report a story.
StoriesSearchPosts
Globally search for stories using a hashtag or a location media area, see here for more info on t
StoriesSendReaction
React to a story.
StoriesSendStory
Uploads a Telegram Story.
StoriesStartLive
Start a live story, optionally using RTMP livestream mode, see here for the full flow.
StoriesToggleAllStoriesHidden
Hide the active stories of a specific peer, preventing them from being displayed on the action bar o
StoriesTogglePeerStoriesHidden
Hide the active stories of a user, preventing them from being displayed on the action bar on the hom
StoriesTogglePinnedToTop
Pin some stories to the top of the profile, see here for more info.
StoriesUpdateAlbum
Rename a story albums, or add, delete or reorder stories in it.
UpdatesGetChannelDifference
Returns the difference between the current state of updates of a certain channel and transmitted.
UpdatesGetDifference
Get new updates.
UpdatesGetState
Returns a current state of updates.
UploadGetCdnFile
Download a CDN file.
UploadGetFile
Returns content of a whole file or its part.
UploadGetWebFile
Returns content of a web file, by proxying the request through telegram, see the webfile docs for mo
UploadSaveBigFilePart
Saves a part of a large file (over 10 MB in size) to be later passed to one of the methods.
UploadSaveFilePart
Saves a part of file for further sending to one of the methods.
UsersGetFullUser
Returns extended user info by ID.
UsersGetSavedMusic
Get songs pinned to the user's profile, see here for more info.
UsersGetSavedMusicById
Check if the passed songs are still pinned to the user's profile, or refresh the file references of
UsersSetSecureValueErrors
Notify the user that the sent passport data contains some errors The user will not be able to re-sub
UsersSuggestBirthday
Suggest a birthday to another user, see here for more info on birthdays in the API.