Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

1.6 KB
Raw Blame
{
  "attachments": [
    {
      "blocks": [
        {
          "type": "section",
          "text": {
            "type": "mrkdwn",
            "text": "This is a section block with an accessory image."
          },
          "accessory": {
            "type": "image",
            "image_url": "https://pbs.twimg.com/profile_images/625633822235693056/lNGUneLX_400x400.jpg",
            "alt_text": "cute cat"
          }
        },
        {
          "type": "section",
          "text": {
            "type": "mrkdwn",
            "text": "This is a section block with a button."
          },
          "accessory": {
            "type": "button",
            "text": {
              "type": "plain_text",
              "text": "Click Me",
              "emoji": true
            },
            "value": "click_me_123",
            "action_id": "button-action"
          }
        },
        {
          "type": "section",
          "fields": [
            {
              "type": "plain_text",
              "text": "one",
              "emoji": true
            },
            {
              "type": "plain_text",
              "text": "two",
              "emoji": true
            },
            {
              "type": "plain_text",
              "text": "three",
              "emoji": true
            },
            {
              "type": "plain_text",
              "text": "four",
              "emoji": true
            },
            {
              "type": "plain_text",
              "text": "five",
              "emoji": true
            }
          ]
        }
      ]
    }
  ]
}