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

# Parameters

> Protobuf class Parameters generated from WAProto.

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

## Implements

* [`IParameters`](/proto-reference/ContextInfo/DataSharingContext/interfaces/IParameters)

## Constructors

### new Parameters()

> **new Parameters**(`p`?): [`Parameters`](/proto-reference/ContextInfo/DataSharingContext/classes/Parameters)

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

#### Parameters

##### p?

[`IParameters`](/proto-reference/ContextInfo/DataSharingContext/interfaces/IParameters)

#### Returns

[`Parameters`](/proto-reference/ContextInfo/DataSharingContext/classes/Parameters)

## Properties

### contents?

> `optional` **contents**: `null` | [`IParameters`](/proto-reference/ContextInfo/DataSharingContext/interfaces/IParameters)

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

#### Implementation of

[`IParameters`](/proto-reference/ContextInfo/DataSharingContext/interfaces/IParameters).[`contents`](/proto-reference/ContextInfo/DataSharingContext/interfaces/IParameters#contents)

***

### floatData?

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

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

#### Implementation of

[`IParameters`](/proto-reference/ContextInfo/DataSharingContext/interfaces/IParameters).[`floatData`](/proto-reference/ContextInfo/DataSharingContext/interfaces/IParameters#floatdata)

***

### intData?

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

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

#### Implementation of

[`IParameters`](/proto-reference/ContextInfo/DataSharingContext/interfaces/IParameters).[`intData`](/proto-reference/ContextInfo/DataSharingContext/interfaces/IParameters#intdata)

***

### key?

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

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

#### Implementation of

[`IParameters`](/proto-reference/ContextInfo/DataSharingContext/interfaces/IParameters).[`key`](/proto-reference/ContextInfo/DataSharingContext/interfaces/IParameters#key)

***

### stringData?

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

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

#### Implementation of

[`IParameters`](/proto-reference/ContextInfo/DataSharingContext/interfaces/IParameters).[`stringData`](/proto-reference/ContextInfo/DataSharingContext/interfaces/IParameters#stringdata)

## Methods

### create()

> `static` **create**(`properties`?): [`Parameters`](/proto-reference/ContextInfo/DataSharingContext/classes/Parameters)

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

#### Parameters

##### properties?

[`IParameters`](/proto-reference/ContextInfo/DataSharingContext/interfaces/IParameters)

#### Returns

[`Parameters`](/proto-reference/ContextInfo/DataSharingContext/classes/Parameters)

***

### decode()

> `static` **decode**(`r`, `l`?): [`Parameters`](/proto-reference/ContextInfo/DataSharingContext/classes/Parameters)

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

#### Parameters

##### r

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

##### l?

`number`

#### Returns

[`Parameters`](/proto-reference/ContextInfo/DataSharingContext/classes/Parameters)

***

### encode()

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

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

#### Parameters

##### m

[`IParameters`](/proto-reference/ContextInfo/DataSharingContext/interfaces/IParameters)

##### w?

`Writer`

#### Returns

`Writer`

***

### fromObject()

> `static` **fromObject**(`d`): [`Parameters`](/proto-reference/ContextInfo/DataSharingContext/classes/Parameters)

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

#### Parameters

##### d

#### Returns

[`Parameters`](/proto-reference/ContextInfo/DataSharingContext/classes/Parameters)

***

### getTypeUrl()

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

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

#### Parameters

##### typeUrlPrefix?

`string`

#### Returns

`string`

***

### toJSON()

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

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

#### Returns

`object`

***

### toObject()

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

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

#### Parameters

##### m

[`Parameters`](/proto-reference/ContextInfo/DataSharingContext/classes/Parameters)

##### o?

`IConversionOptions`

#### Returns

`object`
