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

# RecentEmojiWeightsAction

> Protobuf class RecentEmojiWeightsAction generated from WAProto.

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

## Implements

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

## Constructors

### new RecentEmojiWeightsAction()

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

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

#### Parameters

##### p?

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

#### Returns

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

## Properties

### weights

> **weights**: [`IRecentEmojiWeight`](/proto-reference/interfaces/IRecentEmojiWeight)\[]

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

#### Implementation of

[`IRecentEmojiWeightsAction`](/proto-reference/SyncActionValue/interfaces/IRecentEmojiWeightsAction).[`weights`](/proto-reference/SyncActionValue/interfaces/IRecentEmojiWeightsAction#weights)

## Methods

### create()

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

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

#### Parameters

##### properties?

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

#### Returns

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

***

### decode()

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

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

#### Parameters

##### r

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

##### l?

`number`

#### Returns

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

***

### encode()

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

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

#### Parameters

##### m

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

##### w?

`Writer`

#### Returns

`Writer`

***

### fromObject()

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

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

#### Parameters

##### d

#### Returns

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

***

### getTypeUrl()

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

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

#### Parameters

##### typeUrlPrefix?

`string`

#### Returns

`string`

***

### toJSON()

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

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

#### Returns

`object`

***

### toObject()

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

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

#### Parameters

##### m

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

##### o?

`IConversionOptions`

#### Returns

`object`
