Skip to content

Message Constructor

Build messages interactively — combine entities, add buttons, preview the result, and copy the JSON payload.

Message Text

Apply to selection:

Controls (Buttons)

Live Preview

B
YourBotnow
Hello world! Check this out.

API Payload

{
  "channelId": "00000000-0000-0000-0000-000000000000",
  "text": "Hello world! Check this out.",
  "randomId": 1
}

How to use

  1. Type your message text in the input box
  2. Select a text range and click an entity button to apply formatting
  3. For mentions and URLs — enter the extra data in the popup field
  4. Add button rows with the controls builder below
  5. The live preview shows how the message will render in the client
  6. Copy the JSON payload and use it with POST /IMessages/v1/Send or POST /IInteractions/v1/Reply

Entity rendering

The preview closely matches the Argon desktop client. Entities are offset/length spans into the text — overlapping entities are supported (e.g., bold + italic on the same word). Spoiler text is hidden until hover. See Message Entities for the full type reference.

Controls

Buttons are organized in rows (max 5 per row, max 5 rows). Callback buttons fire a ControlInteraction event with the button's ID. Link buttons open a URL — no event is fired. The hue slider controls the OKLCH colour. See Interactive Controls for details.