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

# CtwaPerCustomerDataSharingAction

> Protobuf class CtwaPerCustomerDataSharingAction generated from WAProto.

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

## Implements

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

## Constructors

### new CtwaPerCustomerDataSharingAction()

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

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

#### Parameters

##### p?

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

#### Returns

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

## Properties

### isCtwaPerCustomerDataSharingEnabled?

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

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

#### Implementation of

[`ICtwaPerCustomerDataSharingAction`](/proto-reference/SyncActionValue/interfaces/ICtwaPerCustomerDataSharingAction).[`isCtwaPerCustomerDataSharingEnabled`](/proto-reference/SyncActionValue/interfaces/ICtwaPerCustomerDataSharingAction#isctwapercustomerdatasharingenabled)

## Methods

### create()

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

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

#### Parameters

##### properties?

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

#### Returns

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

***

### decode()

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

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

#### Parameters

##### r

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

##### l?

`number`

#### Returns

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

***

### encode()

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

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

#### Parameters

##### m

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

##### w?

`Writer`

#### Returns

`Writer`

***

### fromObject()

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

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

#### Parameters

##### d

#### Returns

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

***

### getTypeUrl()

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

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

#### Parameters

##### typeUrlPrefix?

`string`

#### Returns

`string`

***

### toJSON()

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

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

#### Returns

`object`

***

### toObject()

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

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

#### Parameters

##### m

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

##### o?

`IConversionOptions`

#### Returns

`object`
