text_object: Text object

View source: R/composition_objects.R

text_objectR Documentation

Text object

Description

An object containing some text, formatted either as plain_text or using mrkdwn, our proprietary contribution to the much beloved Markdown standard.

Usage

text_object(type, text, emoji = NULL, verbatim = NULL)

Arguments

type

The formatting to use for this text object. Can be one of plain_text or mrkdwn.

text

The text for the block. This field accepts any of the standard text formatting markup when type is mrkdwn.

emoji

Indicates whether emojis in a text field should be escaped into the colon emoji format. This field is only usable when type is plain_text.

verbatim

When set to false (as is default) URLs will be auto-converted into links, conversation names will be link-ified, and certain mentions will be automatically parsed. Using a value of true will skip any preprocessing of this nature, although you can still include manual parsing strings. This field is only usable when type is mrkdwn.

Value

A Slack Text Object

See Also

https://api.slack.com/reference/block-kit/composition-objects#text

Other Composition: confirm_object(), conversation_list_filter(), dispaction_action_configuration(), option_group(), option_object()


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