Sha256: 8347d6131d0f91b73261b8d99b66324f4de21a70763cdb4794ba6d3235791c09

Contents?: true

Size: 1.95 KB

Versions: 1

Compression:

Stored size: 1.95 KB

Contents

[ SectionBlock[text: Text[mrkdwn: "#{Bold['Where should we order lunch from?']} Poll by #{Link['fakeLink.toUser.com', 'Mark']}"]],
  DividerBlock[],
  SectionBlock[
    text: Text[mrkdwn: [
      ":sushi: #{Bold['Ace Wasabi Rock-n-Roll Sushi Bar']}",
      "The best landlocked sushi restaurant."
    ]],
    accessory: ButtonElement[text: Text[plain_text: 'Vote', emoji: true], value: 'click_me_123']
  ],
  ContextBlock[elements: [
    ImageElement[
      image_url: "https://api.slack.com/img/blocks/bkb_template_images/profile_1.png",
      alt_text: "Michael Scott"
    ],
    ImageElement[
      image_url: "https://api.slack.com/img/blocks/bkb_template_images/profile_2.png",
      alt_text: "Dwight Schrute"
    ],
    ImageElement[
      image_url: "https://api.slack.com/img/blocks/bkb_template_images/profile_3.png",
      alt_text: "Pam Beasely"
    ],
    Text[plain_text: "3 votes", emoji: true]
  ]],
  SectionBlock[
    text: Text[mrkdwn: [
      ":hamburger: #{Bold['Super Hungryman Hamburgers']}",
      "Only for the hungriest of the hungry."
    ]],
    accessory: ButtonElement[text: Text[plain_text: 'Vote', emoji: true], value: 'click_me_123']
  ],
  ContextBlock[elements: [
    ImageElement[
      image_url: "https://api.slack.com/img/blocks/bkb_template_images/profile_4.png",
      alt_text: "Angela"
    ],
    ImageElement[
      image_url: "https://api.slack.com/img/blocks/bkb_template_images/profile_2.png",
      alt_text: "Dwight Schrute"
    ],
    Text[plain_text: "2 votes", emoji: true]
  ]],
  SectionBlock[
    text: Text[mrkdwn: [
      ":ramen: #{Bold['Kagawa-Ya Udon Noodle Shop']}",
      "Do you like to shop for noodles? We have noodles."
    ]],
    accessory: ButtonElement[text: Text[plain_text: 'Vote', emoji: true], value: "click_me_123"]
  ],
  ContextBlock[elements: [Text[mrkdwn: 'No votes']]],
  DividerBlock[],
  ActionsBlock[elements: [ButtonElement[text: Text[plain_text: 'Add a suggestion', emoji: true], value: 'click_me_123']]]
]

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
slack-block-kit-0.1.0 examples/slack_template_06.rb