---
schema_version: "1"
id: df3889b10a5c67b3e4abe774182dcf1f4829ddedb346fea159298feae9e65ecc
title: ConnectApi.EntityLinkSegment
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/apexref/apex_connectapi_output_entityLinkSeg.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_output_entityLinkSeg.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 58ab3566a92cb805e1c41227939d20871820028638a2c4ea8c2afa61db2a7aee
description: Entity link segment.
---
# ConnectApi.EntityLinkSegment

Entity link segment.

Subclass of [ConnectApi.MessageSegment](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_output_msg_seg.htm "Message segment.").

| Name | Type | Description | Available Version |
| --- | --- | --- | --- |
| motif | [ConnectApi.​Motif Class](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_output_motif.htm "The motif properties contain URLs for small, medium, and large icons that indicate the Salesforce record type. Common record types are files, users, and groups, but all record types have a set of motif icons. Custom object records use their tab style icon. All icons are available to unauthenticated users so that, for example, you can display the motif icons in an email. The motif can also contain the record type’s base color.") | A set of small, medium, and large icons that indicate whether the entity is a file, group, record, or user. The motif can also contain the object’s base color. | 28.0 |
| reference | [ConnectApi.​​Reference](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_output_reference.htm "Reference to a record.") | A reference to the link object if applicable, otherwise, null. | 28.0 |