slackline/block/image

This module is generated by gleam run -m slackline_codegen/generate. Do not edit it by hand.

Attributes for block.image.

Values

pub fn block_id(block_id: String) -> block.Attr(block.ImageBlock)

Sets block_id.

pub fn image_url(
  image_url: String,
) -> block.Attr(block.ImageBlock)

The URL of a publicly hosted image. Maximum 3000 characters.

pub fn slack_file(
  slack_file: block.SlackFile,
) -> block.Attr(block.ImageBlock)

A Slack image file.

pub fn title(title: String) -> block.Attr(block.ImageBlock)

A title. Maximum 2000 characters.

✨ Search Document