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

# ExternalAdReplyInfo

> Protobuf class ExternalAdReplyInfo generated from WAProto.

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

## Implements

* [`IExternalAdReplyInfo`](/proto-reference/ContextInfo/interfaces/IExternalAdReplyInfo)

## Constructors

### new ExternalAdReplyInfo()

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

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

#### Parameters

##### p?

[`IExternalAdReplyInfo`](/proto-reference/ContextInfo/interfaces/IExternalAdReplyInfo)

#### Returns

[`ExternalAdReplyInfo`](/proto-reference/ContextInfo/classes/ExternalAdReplyInfo)

## Properties

### adContextPreviewDismissed?

> `optional` **adContextPreviewDismissed**: `null` | `boolean`

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

#### Implementation of

[`IExternalAdReplyInfo`](/proto-reference/ContextInfo/interfaces/IExternalAdReplyInfo).[`adContextPreviewDismissed`](/proto-reference/ContextInfo/interfaces/IExternalAdReplyInfo#adcontextpreviewdismissed)

***

### adPreviewUrl?

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

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

#### Implementation of

[`IExternalAdReplyInfo`](/proto-reference/ContextInfo/interfaces/IExternalAdReplyInfo).[`adPreviewUrl`](/proto-reference/ContextInfo/interfaces/IExternalAdReplyInfo#adpreviewurl)

***

### adType?

> `optional` **adType**: `null` | [`AdType`](/proto-reference/ContextInfo/ExternalAdReplyInfo/enumerations/AdType)

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

#### Implementation of

[`IExternalAdReplyInfo`](/proto-reference/ContextInfo/interfaces/IExternalAdReplyInfo).[`adType`](/proto-reference/ContextInfo/interfaces/IExternalAdReplyInfo#adtype)

***

### automatedGreetingMessageCtaType?

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

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

#### Implementation of

[`IExternalAdReplyInfo`](/proto-reference/ContextInfo/interfaces/IExternalAdReplyInfo).[`automatedGreetingMessageCtaType`](/proto-reference/ContextInfo/interfaces/IExternalAdReplyInfo#automatedgreetingmessagectatype)

***

### automatedGreetingMessageShown?

> `optional` **automatedGreetingMessageShown**: `null` | `boolean`

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

#### Implementation of

[`IExternalAdReplyInfo`](/proto-reference/ContextInfo/interfaces/IExternalAdReplyInfo).[`automatedGreetingMessageShown`](/proto-reference/ContextInfo/interfaces/IExternalAdReplyInfo#automatedgreetingmessageshown)

***

### body?

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

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

#### Implementation of

[`IExternalAdReplyInfo`](/proto-reference/ContextInfo/interfaces/IExternalAdReplyInfo).[`body`](/proto-reference/ContextInfo/interfaces/IExternalAdReplyInfo#body)

***

### clickToWhatsappCall?

> `optional` **clickToWhatsappCall**: `null` | `boolean`

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

#### Implementation of

[`IExternalAdReplyInfo`](/proto-reference/ContextInfo/interfaces/IExternalAdReplyInfo).[`clickToWhatsappCall`](/proto-reference/ContextInfo/interfaces/IExternalAdReplyInfo#clicktowhatsappcall)

***

### containsAutoReply?

> `optional` **containsAutoReply**: `null` | `boolean`

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

#### Implementation of

[`IExternalAdReplyInfo`](/proto-reference/ContextInfo/interfaces/IExternalAdReplyInfo).[`containsAutoReply`](/proto-reference/ContextInfo/interfaces/IExternalAdReplyInfo#containsautoreply)

***

### ctaPayload?

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

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

#### Implementation of

[`IExternalAdReplyInfo`](/proto-reference/ContextInfo/interfaces/IExternalAdReplyInfo).[`ctaPayload`](/proto-reference/ContextInfo/interfaces/IExternalAdReplyInfo#ctapayload)

***

### ctwaClid?

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

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

#### Implementation of

[`IExternalAdReplyInfo`](/proto-reference/ContextInfo/interfaces/IExternalAdReplyInfo).[`ctwaClid`](/proto-reference/ContextInfo/interfaces/IExternalAdReplyInfo#ctwaclid)

***

### disableNudge?

> `optional` **disableNudge**: `null` | `boolean`

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

#### Implementation of

[`IExternalAdReplyInfo`](/proto-reference/ContextInfo/interfaces/IExternalAdReplyInfo).[`disableNudge`](/proto-reference/ContextInfo/interfaces/IExternalAdReplyInfo#disablenudge)

***

### greetingMessageBody?

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

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

#### Implementation of

[`IExternalAdReplyInfo`](/proto-reference/ContextInfo/interfaces/IExternalAdReplyInfo).[`greetingMessageBody`](/proto-reference/ContextInfo/interfaces/IExternalAdReplyInfo#greetingmessagebody)

***

### mediaType?

> `optional` **mediaType**: `null` | [`MediaType`](/proto-reference/ContextInfo/ExternalAdReplyInfo/enumerations/MediaType)

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

#### Implementation of

[`IExternalAdReplyInfo`](/proto-reference/ContextInfo/interfaces/IExternalAdReplyInfo).[`mediaType`](/proto-reference/ContextInfo/interfaces/IExternalAdReplyInfo#mediatype)

***

### mediaUrl?

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

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

#### Implementation of

[`IExternalAdReplyInfo`](/proto-reference/ContextInfo/interfaces/IExternalAdReplyInfo).[`mediaUrl`](/proto-reference/ContextInfo/interfaces/IExternalAdReplyInfo#mediaurl)

***

### originalImageUrl?

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

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

#### Implementation of

[`IExternalAdReplyInfo`](/proto-reference/ContextInfo/interfaces/IExternalAdReplyInfo).[`originalImageUrl`](/proto-reference/ContextInfo/interfaces/IExternalAdReplyInfo#originalimageurl)

***

### ref?

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

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

#### Implementation of

[`IExternalAdReplyInfo`](/proto-reference/ContextInfo/interfaces/IExternalAdReplyInfo).[`ref`](/proto-reference/ContextInfo/interfaces/IExternalAdReplyInfo#ref)

***

### renderLargerThumbnail?

> `optional` **renderLargerThumbnail**: `null` | `boolean`

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

#### Implementation of

[`IExternalAdReplyInfo`](/proto-reference/ContextInfo/interfaces/IExternalAdReplyInfo).[`renderLargerThumbnail`](/proto-reference/ContextInfo/interfaces/IExternalAdReplyInfo#renderlargerthumbnail)

***

### showAdAttribution?

> `optional` **showAdAttribution**: `null` | `boolean`

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

#### Implementation of

[`IExternalAdReplyInfo`](/proto-reference/ContextInfo/interfaces/IExternalAdReplyInfo).[`showAdAttribution`](/proto-reference/ContextInfo/interfaces/IExternalAdReplyInfo#showadattribution)

***

### sourceApp?

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

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

#### Implementation of

[`IExternalAdReplyInfo`](/proto-reference/ContextInfo/interfaces/IExternalAdReplyInfo).[`sourceApp`](/proto-reference/ContextInfo/interfaces/IExternalAdReplyInfo#sourceapp)

***

### sourceId?

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

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

#### Implementation of

[`IExternalAdReplyInfo`](/proto-reference/ContextInfo/interfaces/IExternalAdReplyInfo).[`sourceId`](/proto-reference/ContextInfo/interfaces/IExternalAdReplyInfo#sourceid)

***

### sourceType?

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

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

#### Implementation of

[`IExternalAdReplyInfo`](/proto-reference/ContextInfo/interfaces/IExternalAdReplyInfo).[`sourceType`](/proto-reference/ContextInfo/interfaces/IExternalAdReplyInfo#sourcetype)

***

### sourceUrl?

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

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

#### Implementation of

[`IExternalAdReplyInfo`](/proto-reference/ContextInfo/interfaces/IExternalAdReplyInfo).[`sourceUrl`](/proto-reference/ContextInfo/interfaces/IExternalAdReplyInfo#sourceurl)

***

### thumbnail?

> `optional` **thumbnail**: `null` | `Uint8Array`\<`ArrayBufferLike`>

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

#### Implementation of

[`IExternalAdReplyInfo`](/proto-reference/ContextInfo/interfaces/IExternalAdReplyInfo).[`thumbnail`](/proto-reference/ContextInfo/interfaces/IExternalAdReplyInfo#thumbnail)

***

### thumbnailUrl?

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

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

#### Implementation of

[`IExternalAdReplyInfo`](/proto-reference/ContextInfo/interfaces/IExternalAdReplyInfo).[`thumbnailUrl`](/proto-reference/ContextInfo/interfaces/IExternalAdReplyInfo#thumbnailurl)

***

### title?

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

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

#### Implementation of

[`IExternalAdReplyInfo`](/proto-reference/ContextInfo/interfaces/IExternalAdReplyInfo).[`title`](/proto-reference/ContextInfo/interfaces/IExternalAdReplyInfo#title)

***

### wtwaAdFormat?

> `optional` **wtwaAdFormat**: `null` | `boolean`

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

#### Implementation of

[`IExternalAdReplyInfo`](/proto-reference/ContextInfo/interfaces/IExternalAdReplyInfo).[`wtwaAdFormat`](/proto-reference/ContextInfo/interfaces/IExternalAdReplyInfo#wtwaadformat)

***

### wtwaWebsiteUrl?

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

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

#### Implementation of

[`IExternalAdReplyInfo`](/proto-reference/ContextInfo/interfaces/IExternalAdReplyInfo).[`wtwaWebsiteUrl`](/proto-reference/ContextInfo/interfaces/IExternalAdReplyInfo#wtwawebsiteurl)

## Methods

### create()

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

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

#### Parameters

##### properties?

[`IExternalAdReplyInfo`](/proto-reference/ContextInfo/interfaces/IExternalAdReplyInfo)

#### Returns

[`ExternalAdReplyInfo`](/proto-reference/ContextInfo/classes/ExternalAdReplyInfo)

***

### decode()

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

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

#### Parameters

##### r

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

##### l?

`number`

#### Returns

[`ExternalAdReplyInfo`](/proto-reference/ContextInfo/classes/ExternalAdReplyInfo)

***

### encode()

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

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

#### Parameters

##### m

[`IExternalAdReplyInfo`](/proto-reference/ContextInfo/interfaces/IExternalAdReplyInfo)

##### w?

`Writer`

#### Returns

`Writer`

***

### fromObject()

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

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

#### Parameters

##### d

#### Returns

[`ExternalAdReplyInfo`](/proto-reference/ContextInfo/classes/ExternalAdReplyInfo)

***

### getTypeUrl()

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

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

#### Parameters

##### typeUrlPrefix?

`string`

#### Returns

`string`

***

### toJSON()

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

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

#### Returns

`object`

***

### toObject()

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

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

#### Parameters

##### m

[`ExternalAdReplyInfo`](/proto-reference/ContextInfo/classes/ExternalAdReplyInfo)

##### o?

`IConversionOptions`

#### Returns

`object`
