Skip to main content
Version: v2

ButtonBar

Button bar

buttonGroups object[]required

Row of buttons

  • Array [
  • 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
  • ]
  • ]
  • ButtonBar
    {
    "buttonGroups": [
    {
    "buttons": [
    {
    "commandButton": {
    "displayText": "Press the button",
    "commandKey": "/button_pushed"
    },
    "linkButton": {
    "displayText": "Press the button",
    "link": "https://www.yuchat.ai"
    }
    }
    ]
    }
    ]
    }