Telegram Advanced icon

Telegram Advanced

Sends data to Telegram With Custom and Advanced Options

Overview

This node operation sends a sticker message to a specified Telegram chat. It supports sending stickers either by referencing an existing file ID on Telegram servers, providing an HTTP URL to a .webp file, or uploading a sticker from binary data. This is useful for automating sticker sending in Telegram chats, such as sending custom or predefined stickers in response to events or user interactions.

Use Case Examples

  1. Sending a sticker by file ID to a chat to enhance user engagement.
  2. Uploading and sending a custom sticker from binary data stored in the workflow.
  3. Sending a sticker via an HTTP URL to share a sticker hosted online.

Properties

Name Meaning
Chat ID Unique identifier for the target chat or username where the sticker will be sent.
Binary File Indicates whether the sticker data should be uploaded from a binary field.
Input Binary Field The name of the binary property containing the sticker file to upload, used if Binary File is true.
Sticker Sticker to send. Can be a file_id of an existing Telegram sticker, or an HTTP URL to a .webp file, used if Binary File is false.
Reply Markup Additional interface options for the message, such as inline keyboard or force reply.

Output

JSON

  • json - The JSON response from Telegram API after sending the sticker message, containing message details and status.

Dependencies

  • Telegram API with appropriate authentication credentials

Troubleshooting

  • Ensure the Chat ID is correct and the bot has permission to send messages to the chat.
  • If uploading from binary, ensure the binary data contains a valid .webp sticker file and the file name is set correctly.
  • When sending by file ID or URL, verify the file ID or URL is valid and accessible.
  • Common errors include missing required parameters like chatId or file, invalid file format, or insufficient bot permissions.

Links

Discussion