# Telegram Bot Integrations

Start from Telegram Bot API updates and send messages through a customer-owned bot.

## Setup notes

- **Connection.** Store the bot token issued by BotFather in a connected Telegram account.
- Keep the bot token secret and rotate it with BotFather when compromised.
- Filter bot-originated messages or commands when a response could create an event loop.

## Workflow templates

- [Send Telegram a receipt when a host address changes](https://www.fasthook.io/templates/cloudflare-dns-address-changes-to-telegram.md): Update a configured host from a private webhook and notify its operator only when Cloudflare creates or changes the address.
- [Notify Telegram when a Lokalise translation changes](https://www.fasthook.io/templates/lokalise-translations-to-telegram.md): Send a Telegram notification when someone updates a translation in the selected Lokalise project.
- [Notify Telegram when a Cal.com booking is cancelled](https://www.fasthook.io/templates/calcom-cancelled-bookings-to-telegram.md): When Cal.com reports a cancelled booking, send its title, UID, start time and event time to Telegram. Email addresses are not copied.
- [Send Polymarket market changes to Telegram](https://www.fasthook.io/templates/polymarket-market-changes-to-telegram.md): Watch one Polymarket market and notify your selected Telegram chat when its question, state, outcome prices, volume or liquidity changes between polls.
- [Notify Telegram about new Sendy subscribers](https://www.fasthook.io/templates/sendy-new-subscribers-to-telegram.md): When a configured Sendy Rule reports a new subscriber, send their name, email and list name to Telegram. Choose a destination suitable for subscriber data.
- [Notify Telegram about RevenueCat subscription events](https://www.fasthook.io/templates/revenuecat-subscription-events-to-telegram.md): Send a Telegram notification when RevenueCat reports a subscription event, such as a purchase, renewal or cancellation.
- [Notify Telegram when Resend delivers an email](https://www.fasthook.io/templates/resend-delivered-emails-to-telegram.md): When Resend reports an email delivery, send the recipient, subject and email ID to Telegram. Delivery means acceptance by the recipient's mail server, not that the email was read.
- [Notify Telegram when SendGrid delivers an email](https://www.fasthook.io/templates/sendgrid-delivered-emails-to-telegram.md): When SendGrid reports an email delivery, send the recipient email, message ID and event ID to Telegram. Delivery does not prove inbox placement or reading.
- [Send Garmin activity details to Telegram](https://www.fasthook.io/templates/garmin-activity-details-to-telegram.md): Send a complete activity summary to Telegram when Garmin Connect delivers New Activity Details.
- [Send Telegram alerts for new Garmin activities](https://www.fasthook.io/templates/garmin-new-activities-to-telegram.md): Send a Telegram message when Garmin Connect delivers a new Activity Summary.
- [Send Telegram alerts for marked Slack messages](https://www.fasthook.io/templates/slack-alerts-to-telegram.md): Forward Slack messages containing \[Alert\] to a Telegram chat or channel.
- [Send Telegram alerts for published GitHub releases](https://www.fasthook.io/templates/github-published-releases-to-telegram.md): Notify your team when a GitHub release is published.
- [Send Telegram alerts for new GitHub pull requests](https://www.fasthook.io/templates/github-new-pull-requests-to-telegram.md): Notify your Telegram chat when a GitHub pull request is opened.
- [Send Telegram alerts for new HubSpot contacts](https://www.fasthook.io/templates/hubspot-new-contacts-to-telegram.md): Receive a Telegram notification whenever a new contact is created in HubSpot.
- [Send Telegram alerts for new Stripe customers](https://www.fasthook.io/templates/stripe-new-customers-to-telegram.md): Receive a Telegram notification when a new customer is created in Stripe.
- [Send Telegram alerts for new GitHub issues](https://www.fasthook.io/templates/github-new-issues-to-telegram.md): Notify your Telegram chat when a new GitHub issue is opened.
- [Send Telegram notifications for new Google Sheets rows](https://www.fasthook.io/templates/google-sheets-new-rows-to-telegram.md): Send a Telegram notification when a new request is appended to Google Sheets.
- [Send Telegram alerts for matching Gmail emails](https://www.fasthook.io/templates/gmail-search-emails-to-telegram.md): Stay informed about priority inbox messages without forwarding whole emails.
- [Send Telegram alerts for new Google Drive files](https://www.fasthook.io/templates/google-drive-new-files-to-telegram.md): Notify your Telegram chat when new files are created in Google Drive.
- [Send Telegram alerts for new Google Calendar events](https://www.fasthook.io/templates/google-calendar-new-events-to-telegram.md): Keep your team informed when new events are added to Google Calendar.
- [Send Telegram alerts for new Trello cards](https://www.fasthook.io/templates/trello-new-cards-to-telegram.md): Notify your team in Telegram whenever a new card is created on a selected Trello board.
- [Turn Google Sheets leads into Trello cards and Telegram alerts](https://www.fasthook.io/templates/google-sheets-leads-to-trello-telegram.md): Watch Google Sheets for new lead rows, create a Trello card with the lead details, and send the card link to Telegram.
- [Gmail attachments to Drive and Telegram](https://www.fasthook.io/templates/gmail-attachments-to-drive-telegram.md): Watch Gmail for new attachments, upload them to a sender/date folder in Google Drive, make each file public, and send its public link to Telegram.

## Triggers

30 Instant

- **New Message** (Instant) — Start a workflow when Telegram delivers the message update. Use this to route messages or notify the right people in another app.
- **Edited Message** (Instant) — Start a workflow when Telegram delivers the edited\_message update. Use this to route messages or notify the right people in another app.
- **Any Telegram Update** (Instant) — Start a workflow when Telegram Bot delivers one of the subscribed events. Emit every Telegram Bot API update type, including membership and reaction updates.
- **Bot Membership Changed** (Instant) — Start a workflow when Telegram delivers the my\_chat\_member update. Use this to route account changes to your team or another system.
- **Business Connection Changed** (Instant) — Start a workflow when Telegram delivers the business\_connection update.
- **Chat Boost Removed** (Instant) — Start a workflow when Telegram delivers the removed\_chat\_boost update. Use this to flag related records in another system for review.
- **Chat Boost Updated** (Instant) — Start a workflow when Telegram delivers the chat\_boost update.
- **Chat Member Changed** (Instant) — Start a workflow when Telegram delivers the chat\_member update. Use this to route account changes to your team or another system.
- **Custom Telegram Updates** (Instant) — Start a workflow for the Telegram Bot event types you select. Emit any combination of selected Telegram Bot API update types from one Source.
- **Deleted Business Messages** (Instant) — Start a workflow when Telegram delivers the deleted\_business\_messages update. Use this to flag related records in another system for review.
- **Edited Business Message** (Instant) — Start a workflow when Telegram delivers the edited\_business\_message update. Use this to route messages or notify the right people in another app.
- **Edited Channel Post** (Instant) — Start a workflow when Telegram delivers the edited\_channel\_post update.
- **Inline Result Chosen** (Instant) — Start a workflow when Telegram delivers the chosen\_inline\_result update.
- **Managed Bot Changed** (Instant) — Start a workflow when Telegram delivers the managed\_bot update.
- **Message Generation Stopped** (Instant) — Start a workflow when Telegram delivers the stopped\_message\_generation update. Use this to route messages or notify the right people in another app.
- **Message Reaction Changed** (Instant) — Start a workflow when Telegram delivers the message\_reaction update. Use this to route messages or notify the right people in another app.
- **Message Reaction Count Changed** (Instant) — Start a workflow when Telegram delivers the message\_reaction\_count update. Use this to route messages or notify the right people in another app.
- **New Business Message** (Instant) — Start a workflow when Telegram delivers the business\_message update. Use this to route messages or notify the right people in another app.
- **New Callback Query** (Instant) — Start a workflow when Telegram delivers the callback\_query update.
- **New Channel Post** (Instant) — Start a workflow when Telegram delivers the channel\_post update.
- **New Chat Join Request** (Instant) — Start a workflow when Telegram delivers the chat\_join\_request update.
- **New Guest Message** (Instant) — Start a workflow when Telegram delivers the guest\_message update. Use this to route messages or notify the right people in another app.
- **New Inline Query** (Instant) — Start a workflow when Telegram delivers the inline\_query update.
- **New Message or Channel Post** (Instant) — Start a workflow when a message or channel post is created in Telegram Bot. Emit a normalized event for either a new message or a new channel post. Use this to route messages or notify the right people in another app.
- **New Pre-checkout Query** (Instant) — Start a workflow when Telegram delivers the pre\_checkout\_query update. Use this to route billing updates into your reporting or customer-service workflow.
- **New Shipping Query** (Instant) — Start a workflow when Telegram delivers the shipping\_query update.
- **Paid Media Purchased** (Instant) — Start a workflow when Telegram delivers the purchased\_paid\_media update. Use this to route billing updates into your reporting or customer-service workflow.
- **Poll Answer Updated** (Instant) — Start a workflow when Telegram delivers the poll\_answer update.
- **Poll Updated** (Instant) — Start a workflow when Telegram delivers the poll update.
- **Subscription Changed** (Instant) — Start a workflow when Telegram delivers the subscription update. Use this to route billing updates into your reporting or customer-service workflow.

## Actions

- **Send Message** — Telegram Bot API sendMessage. Use this method to send text messages. On success, the sent Message is returned.
- **Add Sticker To Set** — Telegram Bot API addStickerToSet. Use this method to add a new sticker to a set created by the bot. Emoji sticker sets can have up to 200 stickers.
- **Answer Callback Query** — Telegram Bot API answerCallbackQuery. Use this method to send answers to callback queries sent from inline keyboards. The answer will be displayed to the user as a notification at the top of the chat screen or as an alert.
- **Answer Chat Join Request Query** — Telegram Bot API answerChatJoinRequestQuery. Use this method to process a received chat join request query. Returns True on success.
- **Answer Guest Query** — Telegram Bot API answerGuestQuery. Use this method to reply to a received guest message. On success, a SentGuestMessage object is returned.
- **Answer Inline Query** — Telegram Bot API answerInlineQuery. Use this method to send answers to an inline query. On success, True is returned.
- **Answer Pre Checkout Query** — Telegram Bot API answerPreCheckoutQuery. Once the user has confirmed their payment and shipping details, the Bot API sends the final confirmation in the form of an Update with the field pre\_checkout\_query. Use this method to respond to such pre-checkout queries.
- **Answer Shipping Query** — Telegram Bot API answerShippingQuery. If you sent an invoice requesting a shipping address and the parameter is\_flexible was specified, the Bot API will send an Update with a shipping\_query field to the bot. Use this method to reply to shipping queries.
- **Answer Web App Query** — Telegram Bot API answerWebAppQuery. Use this method to set the result of an interaction with a Web App and send a corresponding message on behalf of the user to the chat from which the query originated. On success, a SentWebAppMessage object is returned.
- **Approve Chat Join Request** — Telegram Bot API approveChatJoinRequest. Use this method to approve a chat join request. The bot must be an administrator in the chat for this to work and must have the can\_invite\_users administrator right.
- **Approve Suggested Post** — Telegram Bot API approveSuggestedPost. Use this method to approve a suggested post in a direct messages chat. The bot must have the 'can\_post\_messages' administrator right in the corresponding channel chat.
- **Ban Chat Member** — Telegram Bot API banChatMember. Use this method to ban a user in a group, a supergroup or a channel. In the case of supergroups and channels, the user will not be able to return to the chat on their own using invite links, etc., unless unbanned first.
- **Ban Chat Sender Chat** — Telegram Bot API banChatSenderChat. Use this method to ban a channel chat in a supergroup or a channel. Until the chat is unbanned, the owner of the banned chat won't be able to send messages on behalf of any of their channels.
- **Close Forum Topic** — Telegram Bot API closeForumTopic. Use this method to close an open topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the can\_manage\_topics administrator rights, unless it is the creator of the topic.
- **Close General Forum Topic** — Telegram Bot API closeGeneralForumTopic. Use this method to close an open 'General' topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the can\_manage\_topics administrator rights.
- **Convert Gift To Stars** — Telegram Bot API convertGiftToStars. Converts a given regular gift to Telegram Stars. Requires the can\_convert\_gifts\_to\_stars business bot right.
- **Copy Message** — Telegram Bot API copyMessage. Use this method to copy messages of any kind. Service messages, paid media messages, giveaway messages, giveaway winners messages, and invoice messages can't be copied.
- **Copy Messages** — Telegram Bot API copyMessages. Use this method to copy messages of any kind. If some of the specified messages can't be found or copied, they are skipped.
- **Create Chat Invite Link** — Telegram Bot API createChatInviteLink. Use this method to create an additional invite link for a chat. The bot must be an administrator in the chat for this to work and must have the appropriate administrator rights.
- **Create Chat Subscription Invite Link** — Telegram Bot API createChatSubscriptionInviteLink. Use this method to create a subscription invite link for a channel chat. The bot must have the can\_invite\_users administrator rights.
- **Create Forum Topic** — Telegram Bot API createForumTopic. Use this method to create a topic in a forum supergroup chat or a private chat with a user. In the case of a supergroup chat the bot must be an administrator in the chat for this to work and must have the can\_manage\_topics administrator right.
- **Create Invoice Link** — Telegram Bot API createInvoiceLink. Use this method to create a link for an invoice. Returns the created invoice link as String on success.
- **Create New Sticker Set** — Telegram Bot API createNewStickerSet. Use this method to create a new sticker set owned by a user. The bot will be able to edit the sticker set thus created.
- **Decline Chat Join Request** — Telegram Bot API declineChatJoinRequest. Use this method to decline a chat join request. The bot must be an administrator in the chat for this to work and must have the can\_invite\_users administrator right.
- **Decline Suggested Post** — Telegram Bot API declineSuggestedPost. Use this method to decline a suggested post in a direct messages chat. The bot must have the 'can\_manage\_direct\_messages' administrator right in the corresponding channel chat.
- **Delete All Message Reactions** — Telegram Bot API deleteAllMessageReactions. Use this method to remove up to 10000 recent reactions in a group or a supergroup chat added by a given user or chat. The bot must have the 'can\_delete\_messages' administrator right in the chat.
- **Delete Business Messages** — Telegram Bot API deleteBusinessMessages. Delete messages on behalf of a business account. Requires the can\_delete\_sent\_messages business bot right to delete messages sent by the bot itself, or the can\_delete\_all\_messages business bot right to delete any message.
- **Delete Chat Photo** — Telegram Bot API deleteChatPhoto. Use this method to delete a chat photo. Photos can't be changed for private chats.
- **Delete Chat Sticker Set** — Telegram Bot API deleteChatStickerSet. Use this method to delete a group sticker set from a supergroup. The bot must be an administrator in the chat for this to work and must have the appropriate administrator rights.
- **Delete Ephemeral Message** — Telegram Bot API deleteEphemeralMessage. Use this method to delete an ephemeral message. Note that it is not guaranteed that the user will receive the message deletion event, especially if they are offline.
- **Delete Forum Topic** — Telegram Bot API deleteForumTopic. Use this method to delete a forum topic along with all its messages in a forum supergroup chat or a private chat with a user. In the case of a supergroup chat the bot must be an administrator in the chat for this to work and must have the can\_delete\_messages administrator rights.
- **Delete Message** — Telegram Bot API deleteMessage.
- **Delete Message Reaction** — Telegram Bot API deleteMessageReaction. Use this method to remove a reaction from a message in a group or a supergroup chat. The bot must have the 'can\_delete\_messages' administrator right in the chat.
- **Delete Messages** — Telegram Bot API deleteMessages. Use this method to delete multiple messages simultaneously. If some of the specified messages can't be found, they are skipped.
- **Delete My Commands** — Telegram Bot API deleteMyCommands. Use this method to delete the list of the bot's commands for the given scope and user language. After deletion, higher level commands will be shown to affected users.
- **Delete Sticker From Set** — Telegram Bot API deleteStickerFromSet. Use this method to delete a sticker from a set created by the bot. Returns True on success.
- **Delete Sticker Set** — Telegram Bot API deleteStickerSet. Use this method to delete a sticker set that was created by the bot. Returns True on success.
- **Delete Story** — Telegram Bot API deleteStory. Deletes a story previously posted by the bot on behalf of a managed business account. Requires the can\_manage\_stories business bot right.
- **Download File** — Download up to 20 MiB through the connected bot. Returns a file for the next step; large files use team-scoped temporary storage.
- **Edit Chat Invite Link** — Telegram Bot API editChatInviteLink. Use this method to edit a non-primary invite link created by the bot. The bot must be an administrator in the chat for this to work and must have the appropriate administrator rights.
- **Edit Chat Subscription Invite Link** — Telegram Bot API editChatSubscriptionInviteLink. Use this method to edit a subscription invite link created by the bot. The bot must have the can\_invite\_users administrator rights.
- **Edit Ephemeral Message Caption** — Telegram Bot API editEphemeralMessageCaption. Use this method to edit the caption of an ephemeral message. Note that it is not guaranteed that the user will receive the message edit event, especially if they are offline.
- **Edit Ephemeral Message Media** — Telegram Bot API editEphemeralMessageMedia. Use this method to edit the media of an ephemeral message. Note that it is not guaranteed that the user will receive the message edit event, especially if they are offline.
- **Edit Ephemeral Message Reply Markup** — Telegram Bot API editEphemeralMessageReplyMarkup. Use this method to edit only the reply markup of an ephemeral message. Note that it is not guaranteed that the user will receive the message edit event, especially if they are offline.
- **Edit Ephemeral Message Text** — Telegram Bot API editEphemeralMessageText. Use this method to edit an ephemeral text or rich message. Note that it is not guaranteed that the user will receive the message edit event, especially if they are offline.
- **Edit Forum Topic** — Telegram Bot API editForumTopic. Use this method to edit name and icon of a topic in a forum supergroup chat or a private chat with a user. In the case of a supergroup chat the bot must be an administrator in the chat for this to work and must have the can\_manage\_topics administrator rights, unless it is the creator of the topic.
- **Edit General Forum Topic** — Telegram Bot API editGeneralForumTopic. Use this method to edit the name of the 'General' topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the can\_manage\_topics administrator rights.
- **Edit Message Caption** — Telegram Bot API editMessageCaption. Use this method to edit captions of messages. On success, if the edited message is not an inline message, the edited Message is returned, otherwise True is returned.
- **Edit Message Checklist** — Telegram Bot API editMessageChecklist. Use this method to edit a checklist on behalf of a connected business account. On success, the edited Message is returned.
- **Edit Message Live Location** — Telegram Bot API editMessageLiveLocation. Use this method to edit live location messages. A location can be edited until its live\_period expires or editing is explicitly disabled by a call to stopMessageLiveLocation.
- **Edit Message Media** — Telegram Bot API editMessageMedia. Use this method to edit animation, audio, document, live photo, photo, or video messages, or to replace a text or a rich message with a media. If a message is part of a message album, then it can be edited only to an audio for audio albums, only to a document for document albums and to a photo, a live photo, or a video otherwise.
- **Edit Message Reply Markup** — Telegram Bot API editMessageReplyMarkup. Use this method to edit only the reply markup of messages. On success, if the edited message is not an inline message, the edited Message is returned, otherwise True is returned.
- **Edit Message Text** — Telegram Bot API editMessageText. Use this method to edit text, rich and game messages. On success, if the edited message is not an inline message, the edited Message is returned, otherwise True is returned.
- **Edit Story** — Telegram Bot API editStory. Edits a story previously posted by the bot on behalf of a managed business account. Requires the can\_manage\_stories business bot right.
- **Edit User Star Subscription** — Telegram Bot API editUserStarSubscription. Allows the bot to cancel or re-enable extension of a subscription paid in Telegram Stars. Returns True on success.
- **Export Chat Invite Link** — Telegram Bot API exportChatInviteLink. Use this method to generate a new primary invite link for a chat; any previously generated primary link is revoked. The bot must be an administrator in the chat for this to work and must have the appropriate administrator rights.
- **Forward Message** — Telegram Bot API forwardMessage. Use this method to forward messages of any kind. Service messages and messages with protected content can't be forwarded.
- **Forward Messages** — Telegram Bot API forwardMessages. Use this method to forward multiple messages of any kind. If some of the specified messages can't be found or forwarded, they are skipped.
- **Get Available Gifts** — Telegram Bot API getAvailableGifts. Returns the list of gifts that can be sent by the bot to users and channel chats. Requires no parameters.
- **Get Business Account Gifts** — Telegram Bot API getBusinessAccountGifts. Returns the gifts received and owned by a managed business account. Requires the can\_view\_gifts\_and\_stars business bot right.
- **Get Business Account Star Balance** — Telegram Bot API getBusinessAccountStarBalance. Returns the amount of Telegram Stars owned by a managed business account. Requires the can\_view\_gifts\_and\_stars business bot right.
- **Get Business Connection** — Telegram Bot API getBusinessConnection. Use this method to get information about the connection of the bot with a business account. Returns a BusinessConnection object on success.
- **Get Chat** — Telegram Bot API getChat. Use this method to get up-to-date information about the chat. Returns a ChatFullInfo object on success.
- **Get Chat Administrators** — Telegram Bot API getChatAdministrators. Use this method to get a list of administrators in a chat. Returns an Array of ChatMember objects.
- **Get Chat Gifts** — Telegram Bot API getChatGifts. Returns the gifts owned by a chat. Returns OwnedGifts on success.
- **Get Chat Member** — Telegram Bot API getChatMember. Use this method to get information about a member of a chat. The method is only guaranteed to work for other users if the bot is an administrator in the chat.
- **Get Chat Member Count** — Telegram Bot API getChatMemberCount. Use this method to get the number of members in a chat. Returns Integer on success.
- **Get Chat Menu Button** — Telegram Bot API getChatMenuButton. Use this method to get the current value of the bot's menu button in a private chat, or the default menu button. Returns MenuButton on success.
- **Get Custom Emoji Stickers** — Telegram Bot API getCustomEmojiStickers. Use this method to get information about custom emoji stickers by their identifiers. Returns an Array of Sticker objects.
- **Get File** — Telegram Bot API getFile. Use this method to get basic information about a file and prepare it for downloading. For the moment, bots can download files of up to 20MB in size.
- **Get Forum Topic Icon Stickers** — Telegram Bot API getForumTopicIconStickers. Use this method to get custom emoji stickers, which can be used as a forum topic icon by any user. Requires no parameters.
- **Get Game High Scores** — Telegram Bot API getGameHighScores. Use this method to get data for high score tables. Will return the score of the specified user and several of their neighbors in a game.
- **Get Managed Bot Access Settings** — Telegram Bot API getManagedBotAccessSettings. Use this method to get the access settings of a managed bot. Returns a BotAccessSettings object on success.
- **Get Me** — Telegram Bot API getMe. A simple method for testing your bot's authentication token. Requires no parameters.
- **Get My Commands** — Telegram Bot API getMyCommands. Use this method to get the current list of the bot's commands for the given scope and user language. Returns an Array of BotCommand objects.
- **Get My Default Administrator Rights** — Telegram Bot API getMyDefaultAdministratorRights. Use this method to get the current default administrator rights of the bot. Returns ChatAdministratorRights on success.
- **Get My Description** — Telegram Bot API getMyDescription. Use this method to get the current bot description for the given user language. Returns BotDescription on success.
- **Get My Name** — Telegram Bot API getMyName. Use this method to get the current bot name for the given user language. Returns BotName on success.
- **Get My Short Description** — Telegram Bot API getMyShortDescription. Use this method to get the current bot short description for the given user language. Returns BotShortDescription on success.
- **Get My Star Balance** — Telegram Bot API getMyStarBalance. A method to get the current Telegram Stars balance of the bot. Requires no parameters.
- **Get Star Transactions** — Telegram Bot API getStarTransactions. Returns the bot's Telegram Star transactions in chronological order. On success, returns a StarTransactions object.
- **Get Sticker Set** — Telegram Bot API getStickerSet. Use this method to get a sticker set. On success, a StickerSet object is returned.
- **Get User Chat Boosts** — Telegram Bot API getUserChatBoosts. Use this method to get the list of boosts added to a chat by a user. Requires administrator rights in the chat.
- **Get User Gifts** — Telegram Bot API getUserGifts. Returns the gifts owned and hosted by a user. Returns OwnedGifts on success.
- **Get User Personal Chat Messages** — Telegram Bot API getUserPersonalChatMessages. Use this method to get the last messages from the personal chat (i.e., the chat currently added to their profile) of a given user. On success, an Array of Message objects is returned.
- **Get User Profile Audios** — Telegram Bot API getUserProfileAudios. Use this method to get a list of profile audios for a user. Returns a UserProfileAudios object.
- **Get User Profile Photos** — Telegram Bot API getUserProfilePhotos. Use this method to get a list of profile pictures for a user. Returns a UserProfilePhotos object.
- **Get Webhook Info** — Telegram Bot API getWebhookInfo. Use this method to get current webhook status. Requires no parameters.
- **Gift Premium Subscription** — Telegram Bot API giftPremiumSubscription. Gifts a Telegram Premium subscription to the given user. Returns True on success.
- **Hide General Forum Topic** — Telegram Bot API hideGeneralForumTopic. Use this method to hide the 'General' topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the can\_manage\_topics administrator rights.
- **Leave Chat** — Telegram Bot API leaveChat. Use this method for your bot to leave a group, supergroup or channel. Returns True on success.
- **Pin Chat Message** — Telegram Bot API pinChatMessage. Use this method to add a message to the list of pinned messages in a chat. In private chats and channel direct messages chats, all non-service messages can be pinned.
- **Post Story** — Telegram Bot API postStory. Posts a story on behalf of a managed business account. Requires the can\_manage\_stories business bot right.
- **Promote Chat Member** — Telegram Bot API promoteChatMember. Use this method to promote or demote a user in a supergroup or a channel. The bot must be an administrator in the chat for this to work and must have the appropriate administrator rights.
- **Read Business Message** — Telegram Bot API readBusinessMessage. Marks incoming message as read on behalf of a business account. Requires the can\_read\_messages business bot right.
- **Refund Star Payment** — Telegram Bot API refundStarPayment. Refunds a successful payment in Telegram Stars. Returns True on success.
- **Remove Business Account Profile Photo** — Telegram Bot API removeBusinessAccountProfilePhoto. Removes the current profile photo of a managed business account. Requires the can\_edit\_profile\_photo business bot right.
- **Remove Chat Verification** — Telegram Bot API removeChatVerification. Removes verification from a chat that is currently verified on behalf of the organization represented by the bot. Returns True on success.
- **Remove My Profile Photo** — Telegram Bot API removeMyProfilePhoto. Removes the profile photo of the bot. Requires no parameters.
- **Remove User Verification** — Telegram Bot API removeUserVerification. Removes verification from a user who is currently verified on behalf of the organization represented by the bot. Returns True on success.
- **Reopen Forum Topic** — Telegram Bot API reopenForumTopic. Use this method to reopen a closed topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the can\_manage\_topics administrator rights, unless it is the creator of the topic.
- **Reopen General Forum Topic** — Telegram Bot API reopenGeneralForumTopic. Use this method to reopen a closed 'General' topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the can\_manage\_topics administrator rights.
- **Replace Sticker In Set** — Telegram Bot API replaceStickerInSet. Use this method to replace an existing sticker in a sticker set with a new one. The method is equivalent to calling deleteStickerFromSet, then addStickerToSet, then setStickerPositionInSet.
- **Repost Story** — Telegram Bot API repostStory. Reposts a story on behalf of a business account from another business account. Both business accounts must be managed by the same bot, and the story on the source account must have been posted (or reposted) by the bot.
- **Restrict Chat Member** — Telegram Bot API restrictChatMember. Use this method to restrict a user in a supergroup. The bot must be an administrator in the supergroup for this to work and must have the appropriate administrator rights.
- **Revoke Chat Invite Link** — Telegram Bot API revokeChatInviteLink. Use this method to revoke an invite link created by the bot. If the primary link is revoked, a new link is automatically generated.
- **Save Prepared Inline Message** — Telegram Bot API savePreparedInlineMessage. Stores a message that can be sent by a user of a Mini App. Returns a PreparedInlineMessage object.
- **Save Prepared Keyboard Button** — Telegram Bot API savePreparedKeyboardButton. Stores a keyboard button that can be used by a user within a Mini App. Returns a PreparedKeyboardButton object.
- **Send Animation** — Telegram Bot API sendAnimation. Use this method to send animation files (GIF or H.264/MPEG-4 AVC video without sound). On success, the sent Message is returned.
- **Send Audio** — Telegram Bot API sendAudio. Use this method to send audio files, if you want Telegram clients to display them in the music player. Your audio must be in the .
- **Send Chat Action** — Telegram Bot API sendChatAction. Use this method when you need to tell the user that something is happening on the bot's side. The status is set for 5 seconds or less (when a message arrives from your bot, Telegram clients clear its typing status).
- **Send Chat Join Request Web App** — Telegram Bot API sendChatJoinRequestWebApp. Use this method to process a received chat join request query by showing a Mini App to the user before deciding the outcome. Call answerChatJoinRequestQuery to resolve the join request query based on the user interaction with the Mini App.
- **Send Checklist** — Telegram Bot API sendChecklist. Use this method to send a checklist on behalf of a connected business account. On success, the sent Message is returned.
- **Send Contact** — Telegram Bot API sendContact. Use this method to send phone contacts. On success, the sent Message is returned.
- **Send Dice** — Telegram Bot API sendDice. Use this method to send an animated emoji that will display a random value. On success, the sent Message is returned.
- **Send Document** — Telegram Bot API sendDocument. Use this method to send general files. On success, the sent Message is returned.
- **Send Game** — Telegram Bot API sendGame. Use this method to send a game. On success, the sent Message is returned.
- **Send Gift** — Telegram Bot API sendGift. Sends a gift to the given user or channel chat. The gift can't be converted to Telegram Stars by the receiver.
- **Send Invoice** — Telegram Bot API sendInvoice. Use this method to send invoices. On success, the sent Message is returned.
- **Send Live Photo** — Telegram Bot API sendLivePhoto. Use this method to send live photos. On success, the sent Message is returned.
- **Send Location** — Telegram Bot API sendLocation. Use this method to send point on the map. On success, the sent Message is returned.
- **Send Media Group** — Telegram Bot API sendMediaGroup. Use this method to send a group of photos, live photos, videos, documents or audios as an album. Documents and audio files can be only grouped in an album with messages of the same type.
- **Send Message Draft** — Telegram Bot API sendMessageDraft. Use this method to stream a partial message to a user while the message is being generated. Note that the streamed draft is ephemeral and acts as a temporary 30-second preview - once the output is finalized, you must call sendMessage with the complete message to persist it in the user's chat.
- **Send Paid Media** — Telegram Bot API sendPaidMedia. Use this method to send paid media. On success, the sent Message is returned.
- **Send Photo** — Telegram Bot API sendPhoto. Use this method to send photos. On success, the sent Message is returned.
- **Send Poll** — Telegram Bot API sendPoll. Use this method to send a native poll. On success, the sent Message is returned.
- **Send Rich Message** — Telegram Bot API sendRichMessage. Use this method to send rich messages. If the message contains a block with a media element, then the bot must have the right to send the media to the chat.
- **Send Rich Message Draft** — Telegram Bot API sendRichMessageDraft. Use this method to stream a partial rich message to a user while the message is being generated. Note that the streamed draft is ephemeral and acts as a temporary 30-second preview - once the output is finalized, you must call sendRichMessage with the complete message to persist it in the user's chat.
- **Send Sticker** — Telegram Bot API sendSticker. Use this method to send static . WEBP, animated .
- **Send Venue** — Telegram Bot API sendVenue. Use this method to send information about a venue. On success, the sent Message is returned.
- **Send Video** — Telegram Bot API sendVideo. Use this method to send video files, Telegram clients support MPEG4 videos (other formats may be sent as Document). On success, the sent Message is returned.
- **Send Video Note** — Telegram Bot API sendVideoNote. Use this method to send a rounded square MPEG4 video of up to 1 minute long. On success, the sent Message is returned.
- **Send Voice** — Telegram Bot API sendVoice. Use this method to send audio files, if you want Telegram clients to display the file as a playable voice message. For this to work, your audio must be in an .
- **Set Business Account Bio** — Telegram Bot API setBusinessAccountBio. Changes the bio of a managed business account. Requires the can\_change\_bio business bot right.
- **Set Business Account Gift Settings** — Telegram Bot API setBusinessAccountGiftSettings. Changes the privacy settings pertaining to incoming gifts in a managed business account. Requires the can\_change\_gift\_settings business bot right.
- **Set Business Account Name** — Telegram Bot API setBusinessAccountName. Changes the first and last name of a managed business account. Requires the can\_change\_name business bot right.
- **Set Business Account Profile Photo** — Telegram Bot API setBusinessAccountProfilePhoto. Changes the profile photo of a managed business account. Requires the can\_edit\_profile\_photo business bot right.
- **Set Business Account Username** — Telegram Bot API setBusinessAccountUsername. Changes the username of a managed business account. Requires the can\_change\_username business bot right.
- **Set Chat Administrator Custom Title** — Telegram Bot API setChatAdministratorCustomTitle. Use this method to set a custom title for an administrator in a supergroup promoted by the bot. Returns True on success.
- **Set Chat Description** — Telegram Bot API setChatDescription. Use this method to change the description of a group, a supergroup or a channel. The bot must be an administrator in the chat for this to work and must have the appropriate administrator rights.
- **Set Chat Member Tag** — Telegram Bot API setChatMemberTag. Use this method to set a tag for a regular member in a group or a supergroup. The bot must be an administrator in the chat for this to work and must have the can\_manage\_tags administrator right.
- **Set Chat Menu Button** — Telegram Bot API setChatMenuButton. Use this method to change the bot's menu button in a private chat, or the default menu button. Returns True on success.
- **Set Chat Permissions** — Telegram Bot API setChatPermissions. Use this method to set default chat permissions for all members. The bot must be an administrator in the group or a supergroup for this to work and must have the can\_restrict\_members administrator rights.
- **Set Chat Photo** — Telegram Bot API setChatPhoto. Use this method to set a new profile photo for the chat. Photos can't be changed for private chats.
- **Set Chat Sticker Set** — Telegram Bot API setChatStickerSet. Use this method to set a new group sticker set for a supergroup. The bot must be an administrator in the chat for this to work and must have the appropriate administrator rights.
- **Set Chat Title** — Telegram Bot API setChatTitle. Use this method to change the title of a chat. Titles can't be changed for private chats.
- **Set Custom Emoji Sticker Set Thumbnail** — Telegram Bot API setCustomEmojiStickerSetThumbnail. Use this method to set the thumbnail of a custom emoji sticker set. Returns True on success.
- **Set Game Score** — Telegram Bot API setGameScore. Use this method to set the score of the specified user in a game message. On success, if the message is not an inline message, the Message is returned, otherwise True is returned.
- **Set Managed Bot Access Settings** — Telegram Bot API setManagedBotAccessSettings. Use this method to change the access settings of a managed bot. Returns True on success.
- **Set Message Reaction** — Telegram Bot API setMessageReaction. Use this method to change the chosen reactions on a message. Service messages of some types can't be reacted to.
- **Set My Commands** — Telegram Bot API setMyCommands. Use this method to change the list of the bot's commands. See this manual for more details about bot commands.
- **Set My Default Administrator Rights** — Telegram Bot API setMyDefaultAdministratorRights. Use this method to change the default administrator rights requested by the bot when it's added as an administrator to groups or channels. These rights will be suggested to users, but they are free to modify the list before adding the bot.
- **Set My Description** — Telegram Bot API setMyDescription. Use this method to change the bot's description, which is shown in the chat with the bot if the chat is empty. Returns True on success.
- **Set My Name** — Telegram Bot API setMyName. Use this method to change the bot's name. Returns True on success.
- **Set My Profile Photo** — Telegram Bot API setMyProfilePhoto. Changes the profile photo of the bot. Returns True on success.
- **Set My Short Description** — Telegram Bot API setMyShortDescription. Use this method to change the bot's short description, which is shown on the bot's profile page and is sent together with the link when users share the bot. Returns True on success.
- **Set Passport Data Errors** — Telegram Bot API setPassportDataErrors. Informs a user that some of the Telegram Passport elements they provided contains errors. The user will not be able to re-submit their Passport to you until the errors are fixed (the contents of the field for which you returned the error must change).
- **Set Sticker Emoji List** — Telegram Bot API setStickerEmojiList. Use this method to change the list of emoji assigned to a regular or custom emoji sticker. The sticker must belong to a sticker set created by the bot.
- **Set Sticker Keywords** — Telegram Bot API setStickerKeywords. Use this method to change search keywords assigned to a regular or custom emoji sticker. The sticker must belong to a sticker set created by the bot.
- **Set Sticker Mask Position** — Telegram Bot API setStickerMaskPosition. Use this method to change the mask position of a mask sticker. The sticker must belong to a sticker set that was created by the bot.
- **Set Sticker Position In Set** — Telegram Bot API setStickerPositionInSet. Use this method to move a sticker in a set created by the bot to a specific position. Returns True on success.
- **Set Sticker Set Thumbnail** — Telegram Bot API setStickerSetThumbnail. Use this method to set the thumbnail of a regular or mask sticker set. The format of the thumbnail file must match the format of the stickers in the set.
- **Set Sticker Set Title** — Telegram Bot API setStickerSetTitle. Use this method to set the title of a created sticker set. Returns True on success.
- **Set User Emoji Status** — Telegram Bot API setUserEmojiStatus. Changes the emoji status for a given user that previously allowed the bot to manage their emoji status via the Mini App method requestEmojiStatusAccess. Returns True on success.
- **Stop Message Live Location** — Telegram Bot API stopMessageLiveLocation. Use this method to stop updating a live location message before live\_period expires. On success, if the message is not an inline message, the edited Message is returned, otherwise True is returned.
- **Stop Poll** — Telegram Bot API stopPoll. Use this method to stop a poll which was sent by the bot. On success, the stopped Poll is returned.
- **Transfer Business Account Stars** — Telegram Bot API transferBusinessAccountStars. Transfers Telegram Stars from the business account balance to the bot's balance. Requires the can\_transfer\_stars business bot right.
- **Transfer Gift** — Telegram Bot API transferGift. Transfers an owned unique gift to another user. Requires the can\_transfer\_and\_upgrade\_gifts business bot right.
- **Unban Chat Member** — Telegram Bot API unbanChatMember. Use this method to unban a previously banned user in a supergroup or channel. The user will not return to the group or channel automatically, but will be able to join via link, etc.
- **Unban Chat Sender Chat** — Telegram Bot API unbanChatSenderChat. Use this method to unban a previously banned channel chat in a supergroup or channel. The bot must be an administrator for this to work and must have the appropriate administrator rights.
- **Unhide General Forum Topic** — Telegram Bot API unhideGeneralForumTopic. Use this method to unhide the 'General' topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the can\_manage\_topics administrator rights.
- **Unpin All Chat Messages** — Telegram Bot API unpinAllChatMessages. Use this method to clear the list of pinned messages in a chat. In private chats and channel direct messages chats, no additional rights are required to unpin all pinned messages.
- **Unpin All Forum Topic Messages** — Telegram Bot API unpinAllForumTopicMessages. Use this method to clear the list of pinned messages in a forum topic in a forum supergroup chat or a private chat with a user. In the case of a supergroup chat the bot must be an administrator in the chat for this to work and must have the can\_pin\_messages administrator right in the supergroup.
- **Unpin All General Forum Topic Messages** — Telegram Bot API unpinAllGeneralForumTopicMessages. Use this method to clear the list of pinned messages in a General forum topic. The bot must be an administrator in the chat for this to work and must have the can\_pin\_messages administrator right in the supergroup.
- **Unpin Chat Message** — Telegram Bot API unpinChatMessage. Use this method to remove a message from the list of pinned messages in a chat. In private chats and channel direct messages chats, all messages can be unpinned.
- **Upgrade Gift** — Telegram Bot API upgradeGift. Upgrades a given regular gift to a unique gift. Requires the can\_transfer\_and\_upgrade\_gifts business bot right.
- **Upload File** — Send a file from a previous step as a photo (up to 10 MiB) or document (up to 25 MiB).
- **Upload Sticker File** — Telegram Bot API uploadStickerFile. Use this method to upload a file with a sticker for later use in the createNewStickerSet, addStickerToSet, or replaceStickerInSet methods (the file can be used multiple times). Returns the uploaded File on success.
- **Verify Chat** — Telegram Bot API verifyChat. Verifies a chat on behalf of the organization which is represented by the bot. Returns True on success.
- **Verify User** — Telegram Bot API verifyUser. Verifies a user on behalf of the organization which is represented by the bot. Returns True on success.

Provider names and logos are trademarks of their respective owners. FastHook is not affiliated with Telegram Bot.
