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

# Pushname

> Protobuf class Pushname generated from WAProto.

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

## Implements

* [`IPushname`](/proto-reference/interfaces/IPushname)

## Constructors

### new Pushname()

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

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

#### Parameters

##### p?

[`IPushname`](/proto-reference/interfaces/IPushname)

#### Returns

[`Pushname`](/proto-reference/classes/Pushname)

## Properties

### id?

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

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

#### Implementation of

[`IPushname`](/proto-reference/interfaces/IPushname).[`id`](/proto-reference/interfaces/IPushname#id)

***

### pushname?

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

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

#### Implementation of

[`IPushname`](/proto-reference/interfaces/IPushname).[`pushname`](/proto-reference/interfaces/IPushname#pushname)

## Methods

### create()

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

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

#### Parameters

##### properties?

[`IPushname`](/proto-reference/interfaces/IPushname)

#### Returns

[`Pushname`](/proto-reference/classes/Pushname)

***

### decode()

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

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

#### Parameters

##### r

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

##### l?

`number`

#### Returns

[`Pushname`](/proto-reference/classes/Pushname)

***

### encode()

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

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

#### Parameters

##### m

[`IPushname`](/proto-reference/interfaces/IPushname)

##### w?

`Writer`

#### Returns

`Writer`

***

### fromObject()

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

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

#### Parameters

##### d

#### Returns

[`Pushname`](/proto-reference/classes/Pushname)

***

### getTypeUrl()

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

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

#### Parameters

##### typeUrlPrefix?

`string`

#### Returns

`string`

***

### toJSON()

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

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

#### Returns

`object`

***

### toObject()

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

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

#### Parameters

##### m

[`Pushname`](/proto-reference/classes/Pushname)

##### o?

`IConversionOptions`

#### Returns

`object`
