file_block: File Block

View source: R/layout_blocks.R

file_blockR Documentation

File Block


Displays a remote file. You can't add this block to app surfaces directly, but it will show up when retrieving messages that contain remote files. If you want to add remote files to messages, follow our guide. Appears in surfaces: Messages


file_block(external_id, block_id = NULL)



The external unique ID for this file.


A string acting as a unique identifier for a block. If not specified, one will be generated. Maximum length for this field is 255 characters. block_id should be unique for each message and each iteration of a message. If a message is updated, use a new block_id.

See Also

Other Blocks: actions_block(), context_block(), divider_block(), header_block(), image_block(), input_block(), section_block()

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