send_message
Send a text message to a Telegram chat with optional Markdown or HTML formatting. Supports link previews, reply markup, and silent notifications.
Instructions
Send a text message to a Telegram chat. Supports Markdown and HTML formatting. If chat_id is omitted, sends to the default log group.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Message text (up to 4096 characters) | |
| chat_id | No | Chat ID or @channel_username. Optional — defaults to log group | |
| entities | No | JSON array of MessageEntity objects (alternative to parse_mode) | |
| parse_mode | No | Text formatting mode. Default: none | |
| reply_markup | No | JSON string with reply markup (inline keyboard, custom keyboard, etc.) | |
| protect_content | No | Protect message from forwarding/saving | |
| reply_parameters | No | JSON object with ReplyParameters (e.g. {"message_id": 123}) | |
| message_thread_id | No | Topic/thread ID for supergroups with topics enabled | |
| disable_notification | No | Send silently without notification | |
| link_preview_options | No | JSON object with link preview options (e.g. {"is_disabled": true}) |