line_send
Send a message as the line through one of its wired channel accounts (Telegram bot, Gmail …): reply_to answers through the same account and thread, account picks an account, kind uses the default outgoing account of that kind. Only the cable that holds the lease sends; the message is stamped with the cable and epoch and goes to the memory of the line.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Recipient on that channel (chat id, e-mail …). With reply_to it defaults to the author. | |
| edit | No | Telegram only: message_id of a message THIS line sent earlier; the message is edited to the new text (text required, parse_mode allowed). Nothing new is sent. | |
| kind | No | Channel kind (telegram_bot, gmail …): use the default outgoing account of that kind. | |
| text | No | Message text (up to 20000 characters). | |
| emoji | No | With react_to: one reaction emoji Telegram allows (e.g. 👍). Empty removes the reaction. | |
| parts | No | Attachments as mot.msg.v1 parts: {type: voice|audio|image|video|file|link, mime, url (https), size, sha256, name?}. | |
| silent | No | Telegram only: deliver without a notification sound. | |
| account | No | Channel account wired to this line (account_id from line_wiring_list). | |
| edit_of | No | Same as edit (name used by the Hermes cable). | |
| react_to | No | Telegram only: message_id of a message in this line (incoming or sent); the bot reacts with emoji. Nothing new is sent. | |
| reply_to | No | message_id from line_inbox: the reply goes out through the same account and thread. | |
| parse_mode | No | Telegram only: formatting of text (and of the caption). A text Telegram cannot parse is refused with telegram_parse_failed, never sent plain. | |
| thread_key | No | Thread on that channel; defaults to the recipient. |