Telegram Advanced icon

Telegram Advanced

Sends data to Telegram With Custom and Advanced Options

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. Pin a message with ID '12345' in a chat with ID '@mygroupchat' to highlight an important announcement.
  2. Pin a message silently without notifying all chat members by setting the 'Disable Notification' option.

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.
Additional Fields Optional settings such as disabling notification to all chat members about the new pinned message.

Output

JSON

  • chat_id - The chat identifier where the message was pinned.
  • message_id - The identifier of the pinned message.
  • disable_notification - Indicates if the notification about the pinned message was disabled.

Dependencies

  • Telegram API with an 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, members will not be notified, which might cause confusion if they miss the pinned message.
  • Common errors include invalid chat or message IDs, or insufficient bot permissions. Verify the bot's role and permissions in the chat.

Links

Discussion