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

# AvatarUpdatedAction

> Protobuf class AvatarUpdatedAction generated from WAProto.

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

## Implements

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

## Constructors

### new AvatarUpdatedAction()

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

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

#### Parameters

##### p?

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

#### Returns

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

## Properties

### eventType?

> `optional` **eventType**: `null` | [`AvatarEventType`](/proto-reference/SyncActionValue/AvatarUpdatedAction/enumerations/AvatarEventType)

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

#### Implementation of

[`IAvatarUpdatedAction`](/proto-reference/SyncActionValue/interfaces/IAvatarUpdatedAction).[`eventType`](/proto-reference/SyncActionValue/interfaces/IAvatarUpdatedAction#eventtype)

***

### recentAvatarStickers

> **recentAvatarStickers**: [`IStickerAction`](/proto-reference/SyncActionValue/interfaces/IStickerAction)\[]

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

#### Implementation of

[`IAvatarUpdatedAction`](/proto-reference/SyncActionValue/interfaces/IAvatarUpdatedAction).[`recentAvatarStickers`](/proto-reference/SyncActionValue/interfaces/IAvatarUpdatedAction#recentavatarstickers)

## Methods

### create()

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

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

#### Parameters

##### properties?

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

#### Returns

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

***

### decode()

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

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

#### Parameters

##### r

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

##### l?

`number`

#### Returns

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

***

### encode()

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

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

#### Parameters

##### m

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

##### w?

`Writer`

#### Returns

`Writer`

***

### fromObject()

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

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

#### Parameters

##### d

#### Returns

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

***

### getTypeUrl()

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

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

#### Parameters

##### typeUrlPrefix?

`string`

#### Returns

`string`

***

### toJSON()

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

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

#### Returns

`object`

***

### toObject()

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

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

#### Parameters

##### m

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

##### o?

`IConversionOptions`

#### Returns

`object`
