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

# StickerAction

> Protobuf class StickerAction generated from WAProto.

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

## Implements

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

## Constructors

### new StickerAction()

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

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

#### Parameters

##### p?

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

#### Returns

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

## Properties

### deviceIdHint?

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

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

#### Implementation of

[`IStickerAction`](/proto-reference/SyncActionValue/interfaces/IStickerAction).[`deviceIdHint`](/proto-reference/SyncActionValue/interfaces/IStickerAction#deviceidhint)

***

### directPath?

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

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

#### Implementation of

[`IStickerAction`](/proto-reference/SyncActionValue/interfaces/IStickerAction).[`directPath`](/proto-reference/SyncActionValue/interfaces/IStickerAction#directpath)

***

### fileEncSha256?

> `optional` **fileEncSha256**: `null` | `Uint8Array`\<`ArrayBufferLike`>

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

#### Implementation of

[`IStickerAction`](/proto-reference/SyncActionValue/interfaces/IStickerAction).[`fileEncSha256`](/proto-reference/SyncActionValue/interfaces/IStickerAction#fileencsha256)

***

### fileLength?

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

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

#### Implementation of

[`IStickerAction`](/proto-reference/SyncActionValue/interfaces/IStickerAction).[`fileLength`](/proto-reference/SyncActionValue/interfaces/IStickerAction#filelength)

***

### height?

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

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

#### Implementation of

[`IStickerAction`](/proto-reference/SyncActionValue/interfaces/IStickerAction).[`height`](/proto-reference/SyncActionValue/interfaces/IStickerAction#height)

***

### imageHash?

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

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

#### Implementation of

[`IStickerAction`](/proto-reference/SyncActionValue/interfaces/IStickerAction).[`imageHash`](/proto-reference/SyncActionValue/interfaces/IStickerAction#imagehash)

***

### isAvatarSticker?

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

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

#### Implementation of

[`IStickerAction`](/proto-reference/SyncActionValue/interfaces/IStickerAction).[`isAvatarSticker`](/proto-reference/SyncActionValue/interfaces/IStickerAction#isavatarsticker)

***

### isFavorite?

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

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

#### Implementation of

[`IStickerAction`](/proto-reference/SyncActionValue/interfaces/IStickerAction).[`isFavorite`](/proto-reference/SyncActionValue/interfaces/IStickerAction#isfavorite)

***

### isLottie?

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

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

#### Implementation of

[`IStickerAction`](/proto-reference/SyncActionValue/interfaces/IStickerAction).[`isLottie`](/proto-reference/SyncActionValue/interfaces/IStickerAction#islottie)

***

### mediaKey?

> `optional` **mediaKey**: `null` | `Uint8Array`\<`ArrayBufferLike`>

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

#### Implementation of

[`IStickerAction`](/proto-reference/SyncActionValue/interfaces/IStickerAction).[`mediaKey`](/proto-reference/SyncActionValue/interfaces/IStickerAction#mediakey)

***

### mimetype?

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

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

#### Implementation of

[`IStickerAction`](/proto-reference/SyncActionValue/interfaces/IStickerAction).[`mimetype`](/proto-reference/SyncActionValue/interfaces/IStickerAction#mimetype)

***

### url?

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

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

#### Implementation of

[`IStickerAction`](/proto-reference/SyncActionValue/interfaces/IStickerAction).[`url`](/proto-reference/SyncActionValue/interfaces/IStickerAction#url)

***

### width?

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

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

#### Implementation of

[`IStickerAction`](/proto-reference/SyncActionValue/interfaces/IStickerAction).[`width`](/proto-reference/SyncActionValue/interfaces/IStickerAction#width)

## Methods

### create()

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

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

#### Parameters

##### properties?

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

#### Returns

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

***

### decode()

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

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

#### Parameters

##### r

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

##### l?

`number`

#### Returns

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

***

### encode()

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

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

#### Parameters

##### m

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

##### w?

`Writer`

#### Returns

`Writer`

***

### fromObject()

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

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

#### Parameters

##### d

#### Returns

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

***

### getTypeUrl()

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

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

#### Parameters

##### typeUrlPrefix?

`string`

#### Returns

`string`

***

### toJSON()

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

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

#### Returns

`object`

***

### toObject()

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

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

#### Parameters

##### m

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

##### o?

`IConversionOptions`

#### Returns

`object`
