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

# LocalizedName

> Protobuf class LocalizedName generated from WAProto.

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

## Implements

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

## Constructors

### new LocalizedName()

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

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

#### Parameters

##### p?

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

#### Returns

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

## Properties

### lc?

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

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

#### Implementation of

[`ILocalizedName`](/proto-reference/interfaces/ILocalizedName).[`lc`](/proto-reference/interfaces/ILocalizedName#lc)

***

### lg?

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

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

#### Implementation of

[`ILocalizedName`](/proto-reference/interfaces/ILocalizedName).[`lg`](/proto-reference/interfaces/ILocalizedName#lg)

***

### verifiedName?

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

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

#### Implementation of

[`ILocalizedName`](/proto-reference/interfaces/ILocalizedName).[`verifiedName`](/proto-reference/interfaces/ILocalizedName#verifiedname)

## Methods

### create()

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

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

#### Parameters

##### properties?

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

#### Returns

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

***

### decode()

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

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

#### Parameters

##### r

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

##### l?

`number`

#### Returns

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

***

### encode()

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

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

#### Parameters

##### m

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

##### w?

`Writer`

#### Returns

`Writer`

***

### fromObject()

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

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

#### Parameters

##### d

#### Returns

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

***

### getTypeUrl()

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

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

#### Parameters

##### typeUrlPrefix?

`string`

#### Returns

`string`

***

### toJSON()

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

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

#### Returns

`object`

***

### toObject()

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

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

#### Parameters

##### m

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

##### o?

`IConversionOptions`

#### Returns

`object`
