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

# SyncActionMessage

> Protobuf class SyncActionMessage generated from WAProto.

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

## Implements

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

## Constructors

### new SyncActionMessage()

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

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

#### Parameters

##### p?

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

#### Returns

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

## Properties

### key?

> `optional` **key**: `null` | [`IMessageKey`](/proto-reference/interfaces/IMessageKey)

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

#### Implementation of

[`ISyncActionMessage`](/proto-reference/SyncActionValue/interfaces/ISyncActionMessage).[`key`](/proto-reference/SyncActionValue/interfaces/ISyncActionMessage#key)

***

### timestamp?

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

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

#### Implementation of

[`ISyncActionMessage`](/proto-reference/SyncActionValue/interfaces/ISyncActionMessage).[`timestamp`](/proto-reference/SyncActionValue/interfaces/ISyncActionMessage#timestamp)

## Methods

### create()

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

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

#### Parameters

##### properties?

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

#### Returns

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

***

### decode()

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

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

#### Parameters

##### r

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

##### l?

`number`

#### Returns

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

***

### encode()

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

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

#### Parameters

##### m

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

##### w?

`Writer`

#### Returns

`Writer`

***

### fromObject()

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

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

#### Parameters

##### d

#### Returns

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

***

### getTypeUrl()

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

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

#### Parameters

##### typeUrlPrefix?

`string`

#### Returns

`string`

***

### toJSON()

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

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

#### Returns

`object`

***

### toObject()

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

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

#### Parameters

##### m

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

##### o?

`IConversionOptions`

#### Returns

`object`
