ConnectApi.MarkupBeginSegment

The beginning of rich text markup.

Subclass of ConnectApi.MessageSegment.

Property NameTypeDescriptionAvailable Version
altTextStringAlternative text for the segment, if available.45.0
htmlTagStringThe HTML tag for this markup.35.0
markupTypeConnectApi.​MarkupTypeType 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.
35.0
urlStringURL to the segment, if available.45.0