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

# LidContactAction

> Protobuf class LidContactAction generated from WAProto.

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

## Implements

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

## Constructors

### new LidContactAction()

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

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

#### Parameters

##### p?

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

#### Returns

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

## Properties

### firstName?

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

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

#### Implementation of

[`ILidContactAction`](/proto-reference/SyncActionValue/interfaces/ILidContactAction).[`firstName`](/proto-reference/SyncActionValue/interfaces/ILidContactAction#firstname)

***

### fullName?

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

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

#### Implementation of

[`ILidContactAction`](/proto-reference/SyncActionValue/interfaces/ILidContactAction).[`fullName`](/proto-reference/SyncActionValue/interfaces/ILidContactAction#fullname)

***

### username?

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

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

#### Implementation of

[`ILidContactAction`](/proto-reference/SyncActionValue/interfaces/ILidContactAction).[`username`](/proto-reference/SyncActionValue/interfaces/ILidContactAction#username)

## Methods

### create()

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

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

#### Parameters

##### properties?

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

#### Returns

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

***

### decode()

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

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

#### Parameters

##### r

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

##### l?

`number`

#### Returns

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

***

### encode()

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

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

#### Parameters

##### m

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

##### w?

`Writer`

#### Returns

`Writer`

***

### fromObject()

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

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

#### Parameters

##### d

#### Returns

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

***

### getTypeUrl()

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

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

#### Parameters

##### typeUrlPrefix?

`string`

#### Returns

`string`

***

### toJSON()

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

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

#### Returns

`object`

***

### toObject()

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

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

#### Parameters

##### m

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

##### o?

`IConversionOptions`

#### Returns

`object`
