Skip to main content

slack.plaintextobject

Home > @runlightyear/slack > PlainTextObject

PlainTextObject interface

Signature:
interface PlainTextObject 

Required Properties

PropertyModifiersTypeDescription
textstringThe text for the block. This field accepts any of the standard text formatting markup when type is mrkdwn. The maximum length is 3000 characters.
type"plain_text"

Optional Properties

PropertyModifiersTypeDescription
emoji?booleanIndicates 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?booleanWhen 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.