Newer Version Available

This content describes an older version of this product. View Latest

ConnectApi.MarkupBeginSegmentInput

The beginning tag for rich text markup.

Subclass of ConnectApi.​Message​Segment​Input

Property Type Description Required or Optional Available Version
altText String Alternative text for the Hyperlink segment. Optional 45.0
markupType ConnectApi.​MarkupType Type of rich text markup.
  • Bold—Bold tag.
  • Code—Code tag.
  • Hyperlink—Hyperlink anchor tag.
  • Italic—Italic tag.
  • ListItem—List item tag.
  • OrderedList—Ordered list tag.
  • Paragraph—Paragraph tag.
  • Strikethrough—Strikethrough tag.
  • Underline—Underline tag.
  • UnorderedList—Unordered list tag.
Markup segments with a markupType of Code can include only text segments.
Required 35.0
url String URL for the Hyperlink segment. Supported hyperlink URLs start with http:// or https://. Required for Hyperlink 45.0