Hub Say
hub_saySend text, files, buttons, or forms to a person or channel and route replies or button presses back to you. Use it to deliver interactive messages where the recipient can respond.
Instructions
Send to a person or a place, shown the way that place can. to: a person (a linked name: goes to the connected
place where they were last seen; for the owner the phone page counts too: a caption, a panel for buttons and a
form, download cards for files; VR is read only for now), a place ("discord", its default channel) or
place:; or reply_to=<a line's n> answers where it was said. files: local paths (mp3s play
in the chat where the place allows; the answer says when a file is too big). buttons: labels or [{'id': 'keep',
'label': 'Keep'}]; a press comes back to you in hub_watch. form: {'title': 'Change it', 'inputs': [{'id':
'tempo', 'kind': 'choice' | 'check' | 'toggle' | 'text', 'label': 'Tempo', 'options': [...]}]} (the phone panel's
schema). Where a place cannot show buttons or a form, they become typed replies, and the answer's shown says
so. press: who may press or answer: to (the person it went to; in a channel, anyone there), anyone, owner (the
owner only). who: your role, logged as the sender.
approved: the owner's words, needed on a public place (posting there is publishing). Refused while hub_pause is on,
except to the owner.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | ||
| who | No | ||
| form | No | ||
| text | No | ||
| files | No | ||
| press | No | to | |
| thread | No | ||
| buttons | No | ||
| approved | No | ||
| reply_to | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |