Telegram

Sends data to Telegram

Overview

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

Use Case Examples

  1. Automatically send a welcome sticker to new chat members.
  2. Send a promotional sticker to a Telegram channel based on a trigger.
  3. Respond with a specific sticker when a user sends a certain command.

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 file to upload should be taken from a binary field in the input data.
Input Binary Field The name of the binary property containing the sticker file data to upload, used if Binary File is true.
Sticker The sticker to send, specified as a file ID on Telegram servers 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 the Telegram API after sending the sticker message.

Dependencies

  • Telegram API

Troubleshooting

  • Ensure the Chat ID is correct and the bot has permission to send messages in the chat.
  • If using binary data, ensure the binary property contains valid sticker file data with a proper file name and MIME type.
  • If sending by file ID or URL, ensure the file ID or URL is valid and accessible.
  • Common errors include invalid chat ID, file not found, or insufficient permissions. Verify credentials and input parameters.

Links

Discussion