image_element: Image Element

View source: R/block_elements.R

image_elementR Documentation

Image Element

Description

An element to insert an image as part of a larger block of content. If you want a block with only an image in it, you're looking for the image block. Works with block types: Section Context

Usage

image_element(image_url, alt_text)

Arguments

image_url

The URL of the image to be displayed.

alt_text

A plain-text summary of the image. This should not contain any markup.

See Also

https://api.slack.com/reference/block-kit/block-elements#image

Other Elements: button_element(), channels_multi_select_menu(), channels_select_menu(), checkbox_element(), conversations_multi_select_menu(), conversations_select_menu(), datepicker_element(), external_multi_select_menu(), external_select_menu(), overflow_menu_element(), plain_text_input_element(), radio_button_group_element(), static_multi_select_menu(), static_select_menu(), timepicker_element(), users_multi_select_menu(), users_select_menu()


samterfa/slackme documentation built on April 11, 2022, 3:29 a.m.