Get a message's link
telegram_message_linkGenerate t.me links for a Telegram message or an entire chat. Handles public and private chats, producing the /c/ form when no username is available.
Instructions
Build the t.me link for one message, or for a whole chat when messageId is omitted. Works for public and private chats — a private chat yields the /c/ form, which needs no username.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat | Yes | ||
| messageId | No |