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

# ChatAssignmentAction

> Protobuf class ChatAssignmentAction generated from WAProto.

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

## Implements

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

## Constructors

### new ChatAssignmentAction()

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

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

#### Parameters

##### p?

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

#### Returns

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

## Properties

### deviceAgentID?

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

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

#### Implementation of

[`IChatAssignmentAction`](/proto-reference/SyncActionValue/interfaces/IChatAssignmentAction).[`deviceAgentID`](/proto-reference/SyncActionValue/interfaces/IChatAssignmentAction#deviceagentid)

## Methods

### create()

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

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

#### Parameters

##### properties?

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

#### Returns

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

***

### decode()

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

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

#### Parameters

##### r

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

##### l?

`number`

#### Returns

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

***

### encode()

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

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

#### Parameters

##### m

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

##### w?

`Writer`

#### Returns

`Writer`

***

### fromObject()

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

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

#### Parameters

##### d

#### Returns

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

***

### getTypeUrl()

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

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

#### Parameters

##### typeUrlPrefix?

`string`

#### Returns

`string`

***

### toJSON()

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

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

#### Returns

`object`

***

### toObject()

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

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

#### Parameters

##### m

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

##### o?

`IConversionOptions`

#### Returns

`object`
