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

# DeleteMessageForMeAction

> Protobuf class DeleteMessageForMeAction generated from WAProto.

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

## Implements

* [`IDeleteMessageForMeAction`](/proto-reference/SyncActionValue/interfaces/IDeleteMessageForMeAction)

## Constructors

### new DeleteMessageForMeAction()

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

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

#### Parameters

##### p?

[`IDeleteMessageForMeAction`](/proto-reference/SyncActionValue/interfaces/IDeleteMessageForMeAction)

#### Returns

[`DeleteMessageForMeAction`](/proto-reference/SyncActionValue/classes/DeleteMessageForMeAction)

## Properties

### deleteMedia?

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

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

#### Implementation of

[`IDeleteMessageForMeAction`](/proto-reference/SyncActionValue/interfaces/IDeleteMessageForMeAction).[`deleteMedia`](/proto-reference/SyncActionValue/interfaces/IDeleteMessageForMeAction#deletemedia)

***

### messageTimestamp?

> `optional` **messageTimestamp**: `null` | `number` | `Long`

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

#### Implementation of

[`IDeleteMessageForMeAction`](/proto-reference/SyncActionValue/interfaces/IDeleteMessageForMeAction).[`messageTimestamp`](/proto-reference/SyncActionValue/interfaces/IDeleteMessageForMeAction#messagetimestamp)

## Methods

### create()

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

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

#### Parameters

##### properties?

[`IDeleteMessageForMeAction`](/proto-reference/SyncActionValue/interfaces/IDeleteMessageForMeAction)

#### Returns

[`DeleteMessageForMeAction`](/proto-reference/SyncActionValue/classes/DeleteMessageForMeAction)

***

### decode()

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

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

#### Parameters

##### r

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

##### l?

`number`

#### Returns

[`DeleteMessageForMeAction`](/proto-reference/SyncActionValue/classes/DeleteMessageForMeAction)

***

### encode()

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

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

#### Parameters

##### m

[`IDeleteMessageForMeAction`](/proto-reference/SyncActionValue/interfaces/IDeleteMessageForMeAction)

##### w?

`Writer`

#### Returns

`Writer`

***

### fromObject()

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

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

#### Parameters

##### d

#### Returns

[`DeleteMessageForMeAction`](/proto-reference/SyncActionValue/classes/DeleteMessageForMeAction)

***

### getTypeUrl()

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

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

#### Parameters

##### typeUrlPrefix?

`string`

#### Returns

`string`

***

### toJSON()

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

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

#### Returns

`object`

***

### toObject()

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

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

#### Parameters

##### m

[`DeleteMessageForMeAction`](/proto-reference/SyncActionValue/classes/DeleteMessageForMeAction)

##### o?

`IConversionOptions`

#### Returns

`object`
