@slack/web-api / RichTextLink
Interface: RichTextLink
Defined in: node_modules/@slack/types/dist/block-kit/block-elements.d.ts:706
Description
A link element for use in a rich text message.
Extends
Properties
style?
optional style: object;
Defined in: node_modules/@slack/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
.
Description
A limited style object for styling rich text text
elements.
Inherited from
text?
optional text: string;
Defined in: node_modules/@slack/types/dist/block-kit/block-elements.d.ts:714
Description
The text to link.
type
type: "link";
Defined in: node_modules/@slack/types/dist/block-kit/block-elements.d.ts:710
Description
The type of element. In this case type
is always link
.
unsafe?
optional unsafe: boolean;
Defined in: node_modules/@slack/types/dist/block-kit/block-elements.d.ts:718
Description
TODO: ?
url
url: string;
Defined in: node_modules/@slack/types/dist/block-kit/block-elements.d.ts:722
Description
URL to link to.