Skip to main content
All send methods take a variadic list. Spectrum sends each item sequentially as a separate message:
await space.send(
  "Here's the file you requested:",
  attachment("/path/to/document.pdf"),
);
This runs one send() per item on the underlying provider. It is not a single compound message. Reach for group() when you specifically want multiple items rendered as one bundled unit.

Reply with multiple items

message.reply(...) has the same variadic signature and delegates to space.send(reply(...)) internally:
await message.reply(
  "Thanks for the question.",
  attachment("/path/to/answer.png"),
);
On platforms without thread support, reply() resolves as a no-op. If you need guaranteed delivery, use space.send(...) instead. See Replies for the canonical form.