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

# PlaceholderMessage

> Protobuf class PlaceholderMessage generated from WAProto.

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

## Implements

* [`IPlaceholderMessage`](/proto-reference/Message/interfaces/IPlaceholderMessage)

## Constructors

### new PlaceholderMessage()

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

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

#### Parameters

##### p?

[`IPlaceholderMessage`](/proto-reference/Message/interfaces/IPlaceholderMessage)

#### Returns

[`PlaceholderMessage`](/proto-reference/Message/classes/PlaceholderMessage)

## Properties

### type?

> `optional` **type**: `null` | [`MASK_LINKED_DEVICES`](/proto-reference/Message/PlaceholderMessage/enumerations/PlaceholderType#mask_linked_devices)

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

#### Implementation of

[`IPlaceholderMessage`](/proto-reference/Message/interfaces/IPlaceholderMessage).[`type`](/proto-reference/Message/interfaces/IPlaceholderMessage#type)

## Methods

### create()

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

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

#### Parameters

##### properties?

[`IPlaceholderMessage`](/proto-reference/Message/interfaces/IPlaceholderMessage)

#### Returns

[`PlaceholderMessage`](/proto-reference/Message/classes/PlaceholderMessage)

***

### decode()

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

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

#### Parameters

##### r

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

##### l?

`number`

#### Returns

[`PlaceholderMessage`](/proto-reference/Message/classes/PlaceholderMessage)

***

### encode()

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

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

#### Parameters

##### m

[`IPlaceholderMessage`](/proto-reference/Message/interfaces/IPlaceholderMessage)

##### w?

`Writer`

#### Returns

`Writer`

***

### fromObject()

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

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

#### Parameters

##### d

#### Returns

[`PlaceholderMessage`](/proto-reference/Message/classes/PlaceholderMessage)

***

### getTypeUrl()

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

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

#### Parameters

##### typeUrlPrefix?

`string`

#### Returns

`string`

***

### toJSON()

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

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

#### Returns

`object`

***

### toObject()

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

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

#### Parameters

##### m

[`PlaceholderMessage`](/proto-reference/Message/classes/PlaceholderMessage)

##### o?

`IConversionOptions`

#### Returns

`object`
