Send a Telegram message
send_telegram_messageSends a text message as the user in a Telegram conversation the account already has (chat and chatTitle from list_telegram_chats or the other Telegram tools); it cannot start a conversation from a phone number or a username. The conversation can be a person, a group, a channel where the account may post, a bot or the user's own Saved Messages: text sent to a bot can be a command the bot executes, and a message in a channel is published to all its subscribers. The result gives the conversation's name and type (user, bot, self, group, supergroup, channel). Text only, no attachments. The message is sent immediately and cannot be unsent from Fezola (no drafts). Returns the sent message id, its conversation and its date. Fezola sends once and does not retry: TELEGRAM_SEND_UNCERTAIN means Telegram did not confirm and the message may have been delivered; TELEGRAM_SEND_NOT_SENT means nothing was sent (Telegram too slow before the send). TELEGRAM_CHAT_TITLE_MISMATCH means chatTitle is not the name of that conversation. TELEGRAM_FLOOD_WAIT and TELEGRAM_SLOWMODE_WAIT give the seconds Telegram asks to wait. TELEGRAM_SEND_RATE_LIMITED means the Fezola limit of 20 messages per minute or 200 per day for that account is reached. TELEGRAM_SEND_DISABLED means the user turned sending off for that account in Fezola.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"accountId": "<accountId>",
"chat": "<chat>",
"chatTitle": "<chatTitle>",
"text": "<text>"
},
"name": "send_telegram_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat | Yes | Conversation: the `chat` id returned by the other Telegram tools. | |
| text | Yes | Message text, sent as written. Plain text, 4096 characters max. | |
| accountId | Yes | Telegram source that sends, as returned by the other Telegram tools. | |
| chatTitle | Yes | Name of the conversation designated by `chat`, as returned by the Telegram tools (`label` in list_telegram_chats, `chatLabel` on messages; "Saved Messages" for the user's own chat). Checked against the conversation, ignoring case, accents and extra spaces: on a mismatch nothing is sent and the error gives the real name. |