---
schema_version: "1"
id: 4d801858e18f1958f4d1f34252532bc7b42e1813ee7a0b8de0ca1bcd1805d08d
title: MessagingLink
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/object_reference/sforce_api_objects_messaginglink.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_messaginglink.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: e358cc294716f72b5b390a1ee57f62ddf7e1d7a8f609c968001f874b58d8cdb5
description: Represents the link between a Messaging Channel and where it's shared. This object is available in API version 47.0 and later.
---
# MessagingLink

Represents the link between a Messaging Channel and where it's shared. This object is available in API version 47.0 and later.

## Supported Calls

create(), delete(), describeLayout(), describeSObjects(), query(), retrieve(), update(), upsert()

## Fields

| Field | Details |
| --- | --- |
| EntityType | 
Type

picklist

Properties

Create, Filter, Group, Restricted picklist, Sort, Update

Description

Possible values are:

- Account
- Case
- Contact
- CustomEntityDefinition—Custom Object Definition
- Lead
- Opportunity





 |
| MessagingChannelId | 

Type

reference

Properties

Create, Filter, Group, Sort

Description

The channel being shared. This is a relationship field.

Relationship Name

MessagingChannel

Relationship Type

Lookup

Refers To

MessagingChannel



 |
| RecordTypeId | 

Type

reference

Properties

Create, Filter, Group, Nillable, Sort, Update

Description

This is a relationship field.

Relationship Name

RecordType

Relationship Type

Lookup

Refers To

RecordType



 |
| ShouldAttemptAutoLink | 

Type

boolean

Properties

Create, Defaulted on create, Filter, Group, Sort, Update

Description

No longer in use. Indicated that an incoming messaging session was auto-linked to a Salesforce contact or account based on information such as a phone number.



 |
| ShouldPromptCreate | 

Type

boolean

Properties

Create, Defaulted on create, Filter, Group, Sort, Update

Description

No longer in use. Indicated that a contact or account was created for the messaging user if none existed.



 |