Telegram

Sends data to Telegram

Overview

This node operation pins a specific message in a Telegram chat. It is useful for highlighting important messages in group chats or channels, ensuring that all members see the pinned message. For example, a team leader can pin a meeting agenda message in a group chat for easy reference by all members.

Use Case Examples

  1. Pinning an announcement message in a Telegram group chat to keep it visible to all members.
  2. Pinning a rule or guideline message in a community channel to ensure it stays at the top.

Properties

Name Meaning
Chat ID Unique identifier for the target chat or username where the message will be pinned.
Message ID Unique identifier of the message to pin.
Disable Notification Whether to send a notification to all chat members about the new pinned message.

Output

JSON

  • json - The JSON response from the Telegram API after pinning the message, containing details about the operation result.

Dependencies

  • Telegram API key credential

Troubleshooting

  • Ensure the Chat ID and Message ID are correct and the bot has permission to pin messages in the chat.
  • If 'Disable Notification' is set to true, members will not be notified, which might cause confusion if they do not see the pinned message.
  • Common error: 'message to pin not found' indicates the Message ID is invalid or the message is not in the specified chat.

Links

Discussion