---
schema_version: "1"
id: 8e9ea914765494cc7eeb8220e95ab5e72f8aaa47a29f36a95a69c9bbbfee9db0
title: ConnectApi.MarkupEndSegmentInput
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/apexref/apex_connectapi_input_markup_end_segment.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_input_markup_end_segment.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 0f00c185cddec4f0f38c39462f38ca004833dfe265b5be2da5533bd62c21f0ee
description: The end tag for rich text markup.
---
# ConnectApi.MarkupEndSegmentInput

The end tag for rich text markup.

Subclass of [ConnectApi.MessageSegmentInput](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_input_messageSegmentInput.htm "Used to add rich message segments to feed items and comments.")

<table class="featureTable sort_table" summary="">




          <thead class="thead sorted" align="left">
            <tr>
              <th class="featureTableHeader vertical-align-top " id="d673589e45">Property</th>

              <th class="featureTableHeader vertical-align-top " id="d673589e48">Type</th>

              <th class="featureTableHeader vertical-align-top " id="d673589e51">Description</th>

              <th class="featureTableHeader vertical-align-top " id="d673589e54">Required or Optional</th>

              <th class="featureTableHeader vertical-align-top " id="d673589e57">Available Version</th>

            </tr>

          </thead>

          <tbody class="tbody">
            <tr>
              <td class="entry" headers="d673589e45 d673589e57" data-title="Property"><samp class="codeph apex_code">markupType</samp></td>

              <td class="entry" headers="d673589e48" data-title="Type"><a class="xref" href="https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/connectAPI_enums.htm#MarkupTypeEnum"><samp class="codeph apex_code">ConnectApi.​MarkupType</samp></a></td>

              <td class="entry" headers="d673589e51" data-title="Description">Type of rich text markup.<ul class="ul bulletList">
                  <li class="li">
                    <samp class="codeph apex_code">Bold</samp>—Bold tag.
                  </li>
                  <li class="li">
                    <samp class="codeph apex_code">Code</samp>—Code tag.
                  </li>
                  <li class="li">
                    <samp class="codeph apex_code">Hyperlink</samp>—Hyperlink anchor tag.
                  </li>
                  <li class="li">
                    <samp class="codeph apex_code">Italic</samp>—Italic tag.
                  </li>
                  <li class="li">
                    <samp class="codeph apex_code">ListItem</samp>—List item tag.
                  </li>
                  <li class="li">
                    <samp class="codeph apex_code">OrderedList</samp>—Ordered list tag.
                  </li>
                  <li class="li">
                    <samp class="codeph apex_code">Paragraph</samp>—Paragraph tag.
                  </li>
                  <li class="li">
                    <samp class="codeph apex_code">Strikethrough</samp>—Strikethrough tag.
                  </li>
                  <li class="li">
                    <samp class="codeph apex_code">Underline</samp>—Underline tag.
                  </li>
                  <li class="li">
                    <samp class="codeph apex_code">UnorderedList</samp>—Unordered list tag.
                  </li>
                </ul>
              </td>

              <td class="entry" headers="d673589e54" data-title="Required or Optional">Required</td>

              <td class="entry" headers="d673589e45 d673589e57" data-title="Property">35.0</td>

            </tr>

          </tbody>

        </table>

#### See Also

- [Post a Rich-Text Feed Element with Inline Image](https://developer.salesforce.com/docs/atlas.en-us.264.0.apexcode.meta/apexcode/connectapi_examples_post_feed_element_richtext_inlineimage.htm "Post a Rich-Text Feed Element with Inline Image - HTML (New Window)")
- [ConnectApi.MessageBodyInput](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_input_msgBody.htm "Add rich messages to feed items and comments.")