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

# StarAction

> Protobuf class StarAction generated from WAProto.

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

## Implements

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

## Constructors

### new StarAction()

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

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

#### Parameters

##### p?

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

#### Returns

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

## Properties

### starred?

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

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

#### Implementation of

[`IStarAction`](/proto-reference/SyncActionValue/interfaces/IStarAction).[`starred`](/proto-reference/SyncActionValue/interfaces/IStarAction#starred)

## Methods

### create()

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

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

#### Parameters

##### properties?

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

#### Returns

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

***

### decode()

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

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

#### Parameters

##### r

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

##### l?

`number`

#### Returns

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

***

### encode()

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

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

#### Parameters

##### m

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

##### w?

`Writer`

#### Returns

`Writer`

***

### fromObject()

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

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

#### Parameters

##### d

#### Returns

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

***

### getTypeUrl()

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

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

#### Parameters

##### typeUrlPrefix?

`string`

#### Returns

`string`

***

### toJSON()

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

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

#### Returns

`object`

***

### toObject()

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

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

#### Parameters

##### m

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

##### o?

`IConversionOptions`

#### Returns

`object`
