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

# HydratedCallButton

> Protobuf class HydratedCallButton generated from WAProto.

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

## Implements

* [`IHydratedCallButton`](/proto-reference/HydratedTemplateButton/interfaces/IHydratedCallButton)

## Constructors

### new HydratedCallButton()

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

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

#### Parameters

##### p?

[`IHydratedCallButton`](/proto-reference/HydratedTemplateButton/interfaces/IHydratedCallButton)

#### Returns

[`HydratedCallButton`](/proto-reference/HydratedTemplateButton/classes/HydratedCallButton)

## Properties

### displayText?

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

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

#### Implementation of

[`IHydratedCallButton`](/proto-reference/HydratedTemplateButton/interfaces/IHydratedCallButton).[`displayText`](/proto-reference/HydratedTemplateButton/interfaces/IHydratedCallButton#displaytext)

***

### phoneNumber?

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

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

#### Implementation of

[`IHydratedCallButton`](/proto-reference/HydratedTemplateButton/interfaces/IHydratedCallButton).[`phoneNumber`](/proto-reference/HydratedTemplateButton/interfaces/IHydratedCallButton#phonenumber)

## Methods

### create()

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

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

#### Parameters

##### properties?

[`IHydratedCallButton`](/proto-reference/HydratedTemplateButton/interfaces/IHydratedCallButton)

#### Returns

[`HydratedCallButton`](/proto-reference/HydratedTemplateButton/classes/HydratedCallButton)

***

### decode()

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

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

#### Parameters

##### r

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

##### l?

`number`

#### Returns

[`HydratedCallButton`](/proto-reference/HydratedTemplateButton/classes/HydratedCallButton)

***

### encode()

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

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

#### Parameters

##### m

[`IHydratedCallButton`](/proto-reference/HydratedTemplateButton/interfaces/IHydratedCallButton)

##### w?

`Writer`

#### Returns

`Writer`

***

### fromObject()

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

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

#### Parameters

##### d

#### Returns

[`HydratedCallButton`](/proto-reference/HydratedTemplateButton/classes/HydratedCallButton)

***

### getTypeUrl()

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

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

#### Parameters

##### typeUrlPrefix?

`string`

#### Returns

`string`

***

### toJSON()

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

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

#### Returns

`object`

***

### toObject()

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

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

#### Parameters

##### m

[`HydratedCallButton`](/proto-reference/HydratedTemplateButton/classes/HydratedCallButton)

##### o?

`IConversionOptions`

#### Returns

`object`
