tg_send_message
Send text messages through a Telegram bot to specified chat IDs, supporting multiple parsing modes for formatted content delivery.
Instructions
Send text message via telegram bot
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat_id | No | Telegram chat id, Default to get from environment variables | |
| parse_mode | No | Mode for parsing entities in the message text. [text/MarkdownV2] | |
| text | Yes | Text of the message to be sent, 1-4096 characters after entities parsing |
Input Schema (JSON Schema)
{
"properties": {
"chat_id": {
"default": "",
"description": "Telegram chat id, Default to get from environment variables",
"type": "string"
},
"parse_mode": {
"default": "",
"description": "Mode for parsing entities in the message text. [text/MarkdownV2]",
"type": "string"
},
"text": {
"description": "Text of the message to be sent, 1-4096 characters after entities parsing",
"type": "string"
}
},
"required": [
"text"
],
"type": "object"
}