Skip to main content

@slack/types / RichTextBroadcastMention

Interface: RichTextBroadcastMention

Defined in: block-kit/block-elements.ts:805

Description​

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

Extends​

Properties​

range​

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

Defined in: block-kit/block-elements.ts:813

Description​

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


style?​

style?: object;

Defined in: block-kit/extensions.ts:86

bold?​

bold?: boolean;
Description​

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

code?​

code?: boolean;
Description​

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

italic?​

italic?: boolean;
Description​

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

strike?​

strike?: boolean;
Description​

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

underline?​

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: block-kit/block-elements.ts:809

Description​

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