Skip to main content
Version: v2

ButtonGroup

Row of buttons

buttons object[]required

Buttons

  • Array [
  • commandButton object

    Command button

    displayTextstringrequired

    Text on the button

    Example: Press the button
    commandKeystringrequired

    Command sent when the button is pressed

    Example: /button_pushed
    linkButton object
    displayTextstringrequired

    Text on the button

    Example: Press the button
    linkstringrequired

    Link opened when the button is pressed

    Example: https://www.yuchat.ai
  • ]
  • ButtonGroup
    {
    "buttons": [
    {
    "commandButton": {
    "displayText": "Press the button",
    "commandKey": "/button_pushed"
    },
    "linkButton": {
    "displayText": "Press the button",
    "link": "https://www.yuchat.ai"
    }
    }
    ]
    }