Skip to main content
POST
Edit one of this session agent's own text channel messages

Body

application/json
sessionOrMessage
string
required

Session name/key, or message id when running inside a session

execute
boolean

Actually edit the message; default is a dry-run that only shows the plan (exit 3)

messageOrText
string

Message id, or new text when running inside a session

text
string

New text content

textArg
string

New text for explicit session mode

Response

Success — body conforms to the @Returns schema.

{key}
any