Telegram Send Message
telegram_send_messageSends a Telegram message from your own account to one chat. WRITE operation with a preview: the first call (confirm=false) returns a preview and sends NOTHING; show it to the user and call again with confirm=true only after they approve. The preview names the recipient from Telegram itself (chat_name is Telegram's name for chat_id; chat_name_unresolved when the id is not among the account's recent chats, or when reading that account is turned off in its row of My apps), never from what the caller passed. chat_id MUST come from telegram_list_chats — never invent one. One message per call; no bulk sending.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | No | Which linked Telegram account to use: its label or id from telegram_list_accounts. Leave it out to use the default account. | |
| chat_id | Yes | Chat id from telegram_list_chats. | |
| confirm | No | Must be true to actually send. Without it, returns a preview. | |
| message | Yes | Text to send (max 4096 characters). | |
| remember | No | With confirm: true, also stop asking for this kind of action from now on. Only when the person said so ("don't ask again"). The person can revoke it in LMCP or with set_always_allowed. | |
| chat_name | No | Optional: the name you expect for chat_id. It is never shown as the recipient — the preview shows Telegram's own name for chat_id and sets chat_name_mismatch when yours differs. | |
| reply_to_message_id | No | Optional: the id of a message in this chat (from telegram_read_messages) that this message replies to. To acknowledge a message for telegram_delete_message, reply to it with the text ACK. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||