ConnectApi.MarkupBeginSegmentInput

The beginning tag for rich text markup.

Subclass of ConnectApi.MessageSegmentInput.

PropertyTypeDescriptionRequired or OptionalAvailable Version
altTextStringAlternative text for the Hyperlink segment.Optional45.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.
Markup segments with a markupType of Code can include only text segments.
Required35.0
urlStringURL for the Hyperlink segment. Supported hyperlink URLs start with http:// or https://.Required for Hyperlink45.0

See Also