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

# ClientFinish

> Protobuf class ClientFinish generated from WAProto.

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

## Implements

* [`IClientFinish`](/proto-reference/HandshakeMessage/interfaces/IClientFinish)

## Constructors

### new ClientFinish()

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

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

#### Parameters

##### p?

[`IClientFinish`](/proto-reference/HandshakeMessage/interfaces/IClientFinish)

#### Returns

[`ClientFinish`](/proto-reference/HandshakeMessage/classes/ClientFinish)

## Properties

### extendedCiphertext?

> `optional` **extendedCiphertext**: `null` | `Uint8Array`\<`ArrayBufferLike`>

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

#### Implementation of

[`IClientFinish`](/proto-reference/HandshakeMessage/interfaces/IClientFinish).[`extendedCiphertext`](/proto-reference/HandshakeMessage/interfaces/IClientFinish#extendedciphertext)

***

### payload?

> `optional` **payload**: `null` | `Uint8Array`\<`ArrayBufferLike`>

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

#### Implementation of

[`IClientFinish`](/proto-reference/HandshakeMessage/interfaces/IClientFinish).[`payload`](/proto-reference/HandshakeMessage/interfaces/IClientFinish#payload)

***

### static?

> `optional` **static**: `null` | `Uint8Array`\<`ArrayBufferLike`>

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

#### Implementation of

[`IClientFinish`](/proto-reference/HandshakeMessage/interfaces/IClientFinish).[`static`](/proto-reference/HandshakeMessage/interfaces/IClientFinish#static)

## Methods

### create()

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

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

#### Parameters

##### properties?

[`IClientFinish`](/proto-reference/HandshakeMessage/interfaces/IClientFinish)

#### Returns

[`ClientFinish`](/proto-reference/HandshakeMessage/classes/ClientFinish)

***

### decode()

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

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

#### Parameters

##### r

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

##### l?

`number`

#### Returns

[`ClientFinish`](/proto-reference/HandshakeMessage/classes/ClientFinish)

***

### encode()

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

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

#### Parameters

##### m

[`IClientFinish`](/proto-reference/HandshakeMessage/interfaces/IClientFinish)

##### w?

`Writer`

#### Returns

`Writer`

***

### fromObject()

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

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

#### Parameters

##### d

#### Returns

[`ClientFinish`](/proto-reference/HandshakeMessage/classes/ClientFinish)

***

### getTypeUrl()

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

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

#### Parameters

##### typeUrlPrefix?

`string`

#### Returns

`string`

***

### toJSON()

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

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

#### Returns

`object`

***

### toObject()

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

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

#### Parameters

##### m

[`ClientFinish`](/proto-reference/HandshakeMessage/classes/ClientFinish)

##### o?

`IConversionOptions`

#### Returns

`object`
