Interface: RichTextChannelMention
Defined in: block-kit/block-elements.ts:715
Description
A channel mention element for use in a rich text message.
Extends
Properties
channel_id
channel_id: string;
Defined in: block-kit/block-elements.ts:723
Description
The encoded channel ID, e.g. C1234ABCD.
style?
optional style: object;
Defined in: block-kit/extensions.ts:86
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
.
Description
A limited style object for styling rich text text
elements.
Inherited from
type
type: "channel";
Defined in: block-kit/block-elements.ts:719
Description
The type of element. In this case type
is always channel
.