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

# CallParticipant

> Protobuf class CallParticipant generated from WAProto.

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

## Implements

* [`ICallParticipant`](/proto-reference/Message/CallLogMessage/interfaces/ICallParticipant)

## Constructors

### new CallParticipant()

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

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

#### Parameters

##### p?

[`ICallParticipant`](/proto-reference/Message/CallLogMessage/interfaces/ICallParticipant)

#### Returns

[`CallParticipant`](/proto-reference/Message/CallLogMessage/classes/CallParticipant)

## Properties

### callOutcome?

> `optional` **callOutcome**: `null` | [`CallOutcome`](/proto-reference/Message/CallLogMessage/enumerations/CallOutcome)

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

#### Implementation of

[`ICallParticipant`](/proto-reference/Message/CallLogMessage/interfaces/ICallParticipant).[`callOutcome`](/proto-reference/Message/CallLogMessage/interfaces/ICallParticipant#calloutcome)

***

### jid?

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

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

#### Implementation of

[`ICallParticipant`](/proto-reference/Message/CallLogMessage/interfaces/ICallParticipant).[`jid`](/proto-reference/Message/CallLogMessage/interfaces/ICallParticipant#jid)

## Methods

### create()

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

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

#### Parameters

##### properties?

[`ICallParticipant`](/proto-reference/Message/CallLogMessage/interfaces/ICallParticipant)

#### Returns

[`CallParticipant`](/proto-reference/Message/CallLogMessage/classes/CallParticipant)

***

### decode()

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

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

#### Parameters

##### r

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

##### l?

`number`

#### Returns

[`CallParticipant`](/proto-reference/Message/CallLogMessage/classes/CallParticipant)

***

### encode()

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

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

#### Parameters

##### m

[`ICallParticipant`](/proto-reference/Message/CallLogMessage/interfaces/ICallParticipant)

##### w?

`Writer`

#### Returns

`Writer`

***

### fromObject()

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

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

#### Parameters

##### d

#### Returns

[`CallParticipant`](/proto-reference/Message/CallLogMessage/classes/CallParticipant)

***

### getTypeUrl()

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

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

#### Parameters

##### typeUrlPrefix?

`string`

#### Returns

`string`

***

### toJSON()

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

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

#### Returns

`object`

***

### toObject()

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

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

#### Parameters

##### m

[`CallParticipant`](/proto-reference/Message/CallLogMessage/classes/CallParticipant)

##### o?

`IConversionOptions`

#### Returns

`object`
