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