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

# ExternalShare

> Protobuf class ExternalShare generated from WAProto.

Defined in: [WAProto/index.d.ts:11165](https://github.com/WhiskeySockets/Baileys/blob/master/WAProto/index.d.ts#L11165)

## Implements

* [`IExternalShare`](/proto-reference/StatusAttribution/interfaces/IExternalShare)

## Constructors

### new ExternalShare()

> **new ExternalShare**(`p`?): [`ExternalShare`](/proto-reference/StatusAttribution/classes/ExternalShare)

Defined in: [WAProto/index.d.ts:11166](https://github.com/WhiskeySockets/Baileys/blob/master/WAProto/index.d.ts#L11166)

#### Parameters

##### p?

[`IExternalShare`](/proto-reference/StatusAttribution/interfaces/IExternalShare)

#### Returns

[`ExternalShare`](/proto-reference/StatusAttribution/classes/ExternalShare)

## Properties

### actionFallbackUrl?

> `optional` **actionFallbackUrl**: `null` | `string`

Defined in: [WAProto/index.d.ts:11170](https://github.com/WhiskeySockets/Baileys/blob/master/WAProto/index.d.ts#L11170)

#### Implementation of

[`IExternalShare`](/proto-reference/StatusAttribution/interfaces/IExternalShare).[`actionFallbackUrl`](/proto-reference/StatusAttribution/interfaces/IExternalShare#actionfallbackurl)

***

### actionUrl?

> `optional` **actionUrl**: `null` | `string`

Defined in: [WAProto/index.d.ts:11167](https://github.com/WhiskeySockets/Baileys/blob/master/WAProto/index.d.ts#L11167)

#### Implementation of

[`IExternalShare`](/proto-reference/StatusAttribution/interfaces/IExternalShare).[`actionUrl`](/proto-reference/StatusAttribution/interfaces/IExternalShare#actionurl)

***

### duration?

> `optional` **duration**: `null` | `number`

Defined in: [WAProto/index.d.ts:11169](https://github.com/WhiskeySockets/Baileys/blob/master/WAProto/index.d.ts#L11169)

#### Implementation of

[`IExternalShare`](/proto-reference/StatusAttribution/interfaces/IExternalShare).[`duration`](/proto-reference/StatusAttribution/interfaces/IExternalShare#duration)

***

### source?

> `optional` **source**: `null` | [`Source`](/proto-reference/StatusAttribution/ExternalShare/enumerations/Source)

Defined in: [WAProto/index.d.ts:11168](https://github.com/WhiskeySockets/Baileys/blob/master/WAProto/index.d.ts#L11168)

#### Implementation of

[`IExternalShare`](/proto-reference/StatusAttribution/interfaces/IExternalShare).[`source`](/proto-reference/StatusAttribution/interfaces/IExternalShare#source)

## Methods

### create()

> `static` **create**(`properties`?): [`ExternalShare`](/proto-reference/StatusAttribution/classes/ExternalShare)

Defined in: [WAProto/index.d.ts:11171](https://github.com/WhiskeySockets/Baileys/blob/master/WAProto/index.d.ts#L11171)

#### Parameters

##### properties?

[`IExternalShare`](/proto-reference/StatusAttribution/interfaces/IExternalShare)

#### Returns

[`ExternalShare`](/proto-reference/StatusAttribution/classes/ExternalShare)

***

### decode()

> `static` **decode**(`r`, `l`?): [`ExternalShare`](/proto-reference/StatusAttribution/classes/ExternalShare)

Defined in: [WAProto/index.d.ts:11173](https://github.com/WhiskeySockets/Baileys/blob/master/WAProto/index.d.ts#L11173)

#### Parameters

##### r

`Uint8Array`\<`ArrayBufferLike`> | `Reader`

##### l?

`number`

#### Returns

[`ExternalShare`](/proto-reference/StatusAttribution/classes/ExternalShare)

***

### encode()

> `static` **encode**(`m`, `w`?): `Writer`

Defined in: [WAProto/index.d.ts:11172](https://github.com/WhiskeySockets/Baileys/blob/master/WAProto/index.d.ts#L11172)

#### Parameters

##### m

[`IExternalShare`](/proto-reference/StatusAttribution/interfaces/IExternalShare)

##### w?

`Writer`

#### Returns

`Writer`

***

### fromObject()

> `static` **fromObject**(`d`): [`ExternalShare`](/proto-reference/StatusAttribution/classes/ExternalShare)

Defined in: [WAProto/index.d.ts:11174](https://github.com/WhiskeySockets/Baileys/blob/master/WAProto/index.d.ts#L11174)

#### Parameters

##### d

#### Returns

[`ExternalShare`](/proto-reference/StatusAttribution/classes/ExternalShare)

***

### getTypeUrl()

> `static` **getTypeUrl**(`typeUrlPrefix`?): `string`

Defined in: [WAProto/index.d.ts:11177](https://github.com/WhiskeySockets/Baileys/blob/master/WAProto/index.d.ts#L11177)

#### Parameters

##### typeUrlPrefix?

`string`

#### Returns

`string`

***

### toJSON()

> **toJSON**(): `object`

Defined in: [WAProto/index.d.ts:11176](https://github.com/WhiskeySockets/Baileys/blob/master/WAProto/index.d.ts#L11176)

#### Returns

`object`

***

### toObject()

> `static` **toObject**(`m`, `o`?): `object`

Defined in: [WAProto/index.d.ts:11175](https://github.com/WhiskeySockets/Baileys/blob/master/WAProto/index.d.ts#L11175)

#### Parameters

##### m

[`ExternalShare`](/proto-reference/StatusAttribution/classes/ExternalShare)

##### o?

`IConversionOptions`

#### Returns

`object`
