Skip to main content

@slack/web-api / RichTextBroadcastMention

Interface: RichTextBroadcastMention

Defined in: packages/types/dist/block-kit/block-elements.d.ts:699

Description​

A broadcast mention element for use in a rich text message.

Extends​

Properties​

range​

range: "channel" | "here" | "everyone";

Defined in: packages/types/dist/block-kit/block-elements.d.ts:707

Description​

The range of the broadcast; can be one of here, channel and everyone.


style?​

optional style?: object;

Defined in: packages/types/dist/block-kit/extensions.d.ts:75

bold?​

optional bold?: boolean;
Description​

When true, boldens the text in this element. Defaults to false.

code?​

optional code?: boolean;
Description​

When true, the text is preformatted in an inline code style. Defaults to `false.

italic?​

optional italic?: boolean;
Description​

When true, italicizes the text in this element. Defaults to false.

strike?​

optional strike?: boolean;
Description​

When true, strikes through the text in this element. Defaults to false.

underline?​

optional underline?: boolean;
Description​

When true, underlines the text in this element. Defaults to false.

Description​

A limited style object for styling rich text text elements.

Inherited from​

RichTextStyleable.style


type​

type: "broadcast";

Defined in: packages/types/dist/block-kit/block-elements.d.ts:703

Description​

The type of element. In this case type is always broadcast.