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

# RecentEmojiWeight

> Protobuf class RecentEmojiWeight generated from WAProto.

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

## Implements

* [`IRecentEmojiWeight`](/proto-reference/interfaces/IRecentEmojiWeight)

## Constructors

### new RecentEmojiWeight()

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

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

#### Parameters

##### p?

[`IRecentEmojiWeight`](/proto-reference/interfaces/IRecentEmojiWeight)

#### Returns

[`RecentEmojiWeight`](/proto-reference/classes/RecentEmojiWeight)

## Properties

### emoji?

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

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

#### Implementation of

[`IRecentEmojiWeight`](/proto-reference/interfaces/IRecentEmojiWeight).[`emoji`](/proto-reference/interfaces/IRecentEmojiWeight#emoji)

***

### weight?

> `optional` **weight**: `null` | `number`

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

#### Implementation of

[`IRecentEmojiWeight`](/proto-reference/interfaces/IRecentEmojiWeight).[`weight`](/proto-reference/interfaces/IRecentEmojiWeight#weight)

## Methods

### create()

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

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

#### Parameters

##### properties?

[`IRecentEmojiWeight`](/proto-reference/interfaces/IRecentEmojiWeight)

#### Returns

[`RecentEmojiWeight`](/proto-reference/classes/RecentEmojiWeight)

***

### decode()

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

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

#### Parameters

##### r

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

##### l?

`number`

#### Returns

[`RecentEmojiWeight`](/proto-reference/classes/RecentEmojiWeight)

***

### encode()

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

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

#### Parameters

##### m

[`IRecentEmojiWeight`](/proto-reference/interfaces/IRecentEmojiWeight)

##### w?

`Writer`

#### Returns

`Writer`

***

### fromObject()

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

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

#### Parameters

##### d

#### Returns

[`RecentEmojiWeight`](/proto-reference/classes/RecentEmojiWeight)

***

### getTypeUrl()

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

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

#### Parameters

##### typeUrlPrefix?

`string`

#### Returns

`string`

***

### toJSON()

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

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

#### Returns

`object`

***

### toObject()

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

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

#### Parameters

##### m

[`RecentEmojiWeight`](/proto-reference/classes/RecentEmojiWeight)

##### o?

`IConversionOptions`

#### Returns

`object`
