Actions72
- Messages Actions
- Bots Actions
- Updates Actions
- Chats Actions
- Get Chat
- Get Chat Administrators
- Get Chat Member
- Get Chat Member Count
- Leave Chat
- Set Chat Title
- Set Chat Description
- Set Chat Photo
- Delete Chat Photo
- Set Chat Permissions
- Export Chat Invite Link
- Create Chat Invite Link
- Edit Chat Invite Link
- Revoke Chat Invite Link
- Approve Chat Join Request
- Decline Chat Join Request
- Set Chat Administrator Custom Title
- Ban Chat Member
- Unban Chat Member
- Restrict Chat Member
- Promote Chat Member
- Set Chat Sticker Set
- Delete Chat Sticker Set
- Pin Chat Message
- Unpin Chat Message
- Unpin All Chat Messages
- Files Actions
- Inline Queries Actions
- Callback Queries Actions
Overview
This node integrates with the Telegram Bot API to perform various operations related to Telegram files, including managing stickers and retrieving custom emoji stickers. Specifically, the "Get Custom Emoji Stickers" operation fetches information about custom emoji stickers by their IDs.
Use cases for this node include:
- Retrieving metadata or details about custom emoji stickers used in Telegram chats.
- Managing sticker sets by uploading, adding, deleting, or repositioning stickers.
- Downloading files or stickers from Telegram.
- Creating and modifying sticker sets for a Telegram bot.
For example, if you want to get detailed information about specific custom emoji stickers by their IDs, you can use the "Get Custom Emoji Stickers" operation to retrieve that data and then process it further in your workflow.
Properties
| Name | Meaning |
|---|---|
| Options | Additional options as JSON object. Can be used to pass extra parameters depending on the resource and operation. |
Note: The provided input properties JSON only includes the "Options" property relevant for multiple resources including "files". For the "Get Custom Emoji Stickers" operation specifically, the node expects a parameter named customEmojiIds (not listed in the user-provided properties but visible in the code) which should be a JSON string representing an array of custom emoji IDs to fetch.
Output
The output is an array of JSON objects where each item corresponds to the result of the Telegram API call for each input item processed.
For the "Get Custom Emoji Stickers" operation, the output JSON contains the data returned by the Telegram API about the requested custom emoji stickers. This typically includes sticker metadata such as file identifiers, emojis associated, and other sticker attributes.
If an error occurs during processing, the output JSON will contain an error field with the error message, provided the node is configured to continue on failure.
The node does not output binary data for this operation.
Dependencies
- Requires a valid Telegram Bot API token credential to authenticate requests.
- Requires an active subscription or valid API key for the external "N8N Tools API" service, which validates usage before forwarding requests to Telegram.
- The node uses HTTP requests to communicate with both the N8N Tools API and the Telegram Bot API endpoints.
Troubleshooting
- Invalid subscription or API key: If the node throws an error indicating invalid subscription or API key, verify that the API key credential for the external validation service is correct and active.
- Unknown operation error: If the operation name is incorrect or unsupported, the node will throw an "Unknown operation" error. Ensure the operation name matches exactly one of the supported operations.
- Malformed JSON input: Many parameters expect JSON strings (e.g.,
customEmojiIds). Invalid JSON will cause parsing errors. Validate JSON syntax before running the node. - Telegram API errors: Errors returned from Telegram (e.g., invalid file IDs, permissions issues) will be surfaced in the output. Check the error messages for guidance.