> ## Documentation Index
> Fetch the complete documentation index at: https://developers.telnyx.com/llms.txt
> Use this file to discover all available pages before exploring further.

# SmsReferenceAdapter

Hermetic reference adapter for SMS-shaped webhooks. It does not call a live
provider; transport wiring is deliberately injected by the caller.

**Constructors**
**Constructor**

> **new SmsReferenceAdapter**(`options`): `SmsReferenceAdapter`

**Parameters**

| Parameter | Type |
| - | - |
| `options` | [`SmsReferenceAdapterOptions`](/docs/agent-sdk/harness-sdk/channels/sms-reference-adapter#smsreferenceadapteroptions) |

**Returns**
`SmsReferenceAdapter`

**Properties**
**channel**

> `readonly` **channel**: `"sms"` = `"sms"`

**Implementation of**
[`ChannelAdapter`](/docs/agent-sdk/harness-sdk/channels/router#channeladapter).[`channel`](/docs/agent-sdk/harness-sdk/channels/router#channeladapter)

**Methods**
**normalizeWebhook()**

> **normalizeWebhook**(`webhook`): [`NormalizedChannelInbound`](/docs/agent-sdk/harness-sdk/channels/router#normalizedchannelinbound)

**Parameters**

| Parameter | Type |
| - | - |
| `webhook` | `Readonly`\<\{ `conversationId`: `string`; `messageId`: `string`; `receivedAt`: `number`; `text`: `string`; }> |

**Returns**
[`NormalizedChannelInbound`](/docs/agent-sdk/harness-sdk/channels/router#normalizedchannelinbound)

**send()**

> **send**(`request`): `Promise`\<\{ `providerRequestId`: `string`; }>

**Parameters**

| Parameter | Type |
| - | - |
| `request` | [`ChannelSendRequest`](/docs/agent-sdk/harness-sdk/channels/router#channelsendrequest) |

**Returns**
`Promise`\<\{ `providerRequestId`: `string`; }>

**Implementation of**
[`ChannelAdapter`](/docs/agent-sdk/harness-sdk/channels/router#channeladapter).[`send`](/docs/agent-sdk/harness-sdk/channels/router#channeladapter)

## SmsReferenceAdapterOptions

**Properties**
**send**

> `readonly` **send**: (`request`) => `Promise`\<\{ `providerRequestId`: `string`; }>

**Parameters**

| Parameter | Type |
| - | - |
| `request` | [`ChannelSendRequest`](/docs/agent-sdk/harness-sdk/channels/router#channelsendrequest) |

**Returns**
`Promise`\<\{ `providerRequestId`: `string`; }>
