Send text message or reply
The Telegram Bot API Send Text Message tool enables users to effortlessly dispatch messages or replies directly to their Telegram Desktop application. It supports advanced message formatting and customization through various options, ensuring seamless communication via Telegram bots.
Features
- Send text messages or replies to any Telegram chat using chat IDs or public usernames.
- Supports multiple text formatting styles including Markdown, MarkdownV2, and HTML.
- Option to send messages silently without disturbing the recipient.
- Customizable link preview settings for enhanced message display.
- Ability to add interactive elements like inline keyboards or custom reply keyboards for engaging user interactions.
Benefits
- Facilitates automated and efficient communication through Telegram bots.
- Enhances message visibility with rich formatting and link previews.
- Improves user engagement using interactive keyboard options.
- Allows silent notifications to avoid disturbing users when necessary.
- Simplifies integration by accepting either chat IDs or public chat usernames.
Description
Sends a text message or a reply to your Telegram Desktop application. See the docs for more information
Parameters
7 parameters
| Name | Type | Description |
|---|---|---|
| chatIdrequired | string | Enter the unique identifier for the target chat (e.g. |
| text | string | Enter or map the message text to send. |
| parse_mode | enum | Select MarkdownV2-style, HTML-style, or Markdown-style of the text if you want Telegram apps to show bold, italic, fixed-width text or inline URLs in your bot's message. |
| disable_notification | boolean | Choose if to send the message silently. iOS users will not receive a notification, Android users will receive a notification with no sound. |
| link_preview_options | string | Link preview generation options for the message. Enter additional interface options that are a JSON-serialized object, e.g. |
| reply_to_message_id | string | Enter the ID of the original message. |
| reply_markup | string | Enter additional interface options that are a JSON-serialized object including an inline keyboard, a custom reply keyboard, instructions to remove the reply keyboard or instructions to force a reply from the user, e.g. |