Skip to main content

Bot Cards & Buttons

Rich embed cards with colors, fields and images - plus buttons members can actually press.

Bot messages don't have to be plain text. mssgs bots post embed cards - structured, good-looking messages - and action buttons that make them interactive.

Embed cards

An embed can have:

  • a colored sidebar (blue, green, red, yellow, purple, orange)
  • title (optionally linked), subtitle and markdown description
  • fields - key/value rows for structured data
  • images - a hero image or a gallery
  • a status pill, badge, or diff stats (+n / −n / files) for code-y notifications
  • a loader state - "AI is thinking…" that you edit in place when the result arrives

Think GitHub pull-request notifications, deploy status, support tickets - glanceable instead of walls of text.

Action buttons

Buttons sit under the card and do something when pressed:

  • trigger: - run one of your slash-command triggers (chain them for multi-step flows)
  • url: - open a link
  • webhook_action - call your service and update the message in place ("Approve", "Retry", "Resolve")

The button press, reactions and replies come back to your service as events. Full specs with rendered card previews: the bot documentation.

Was this article helpful?

Didn’t find what you were looking for? We’re happy to help.

Ask your question

Still need help?

Our support team usually replies within 24 hours.

Contact support