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

# PushNameSetting

> Protobuf class PushNameSetting generated from WAProto.

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

## Implements

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

## Constructors

### new PushNameSetting()

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

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

#### Parameters

##### p?

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

#### Returns

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

## Properties

### name?

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

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

#### Implementation of

[`IPushNameSetting`](/proto-reference/SyncActionValue/interfaces/IPushNameSetting).[`name`](/proto-reference/SyncActionValue/interfaces/IPushNameSetting#name)

## Methods

### create()

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

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

#### Parameters

##### properties?

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

#### Returns

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

***

### decode()

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

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

#### Parameters

##### r

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

##### l?

`number`

#### Returns

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

***

### encode()

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

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

#### Parameters

##### m

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

##### w?

`Writer`

#### Returns

`Writer`

***

### fromObject()

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

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

#### Parameters

##### d

#### Returns

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

***

### getTypeUrl()

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

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

#### Parameters

##### typeUrlPrefix?

`string`

#### Returns

`string`

***

### toJSON()

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

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

#### Returns

`object`

***

### toObject()

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

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

#### Parameters

##### m

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

##### o?

`IConversionOptions`

#### Returns

`object`
