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

# VideoEndCard

> Protobuf class VideoEndCard generated from WAProto.

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

## Implements

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

## Constructors

### new VideoEndCard()

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

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

#### Parameters

##### p?

[`IVideoEndCard`](/proto-reference/Message/interfaces/IVideoEndCard)

#### Returns

[`VideoEndCard`](/proto-reference/Message/classes/VideoEndCard)

## Properties

### caption

> **caption**: `string`

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

#### Implementation of

[`IVideoEndCard`](/proto-reference/Message/interfaces/IVideoEndCard).[`caption`](/proto-reference/Message/interfaces/IVideoEndCard#caption)

***

### profilePictureUrl

> **profilePictureUrl**: `string`

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

#### Implementation of

[`IVideoEndCard`](/proto-reference/Message/interfaces/IVideoEndCard).[`profilePictureUrl`](/proto-reference/Message/interfaces/IVideoEndCard#profilepictureurl)

***

### thumbnailImageUrl

> **thumbnailImageUrl**: `string`

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

#### Implementation of

[`IVideoEndCard`](/proto-reference/Message/interfaces/IVideoEndCard).[`thumbnailImageUrl`](/proto-reference/Message/interfaces/IVideoEndCard#thumbnailimageurl)

***

### username

> **username**: `string`

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

#### Implementation of

[`IVideoEndCard`](/proto-reference/Message/interfaces/IVideoEndCard).[`username`](/proto-reference/Message/interfaces/IVideoEndCard#username)

## Methods

### create()

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

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

#### Parameters

##### properties?

[`IVideoEndCard`](/proto-reference/Message/interfaces/IVideoEndCard)

#### Returns

[`VideoEndCard`](/proto-reference/Message/classes/VideoEndCard)

***

### decode()

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

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

#### Parameters

##### r

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

##### l?

`number`

#### Returns

[`VideoEndCard`](/proto-reference/Message/classes/VideoEndCard)

***

### encode()

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

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

#### Parameters

##### m

[`IVideoEndCard`](/proto-reference/Message/interfaces/IVideoEndCard)

##### w?

`Writer`

#### Returns

`Writer`

***

### fromObject()

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

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

#### Parameters

##### d

#### Returns

[`VideoEndCard`](/proto-reference/Message/classes/VideoEndCard)

***

### getTypeUrl()

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

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

#### Parameters

##### typeUrlPrefix?

`string`

#### Returns

`string`

***

### toJSON()

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

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

#### Returns

`object`

***

### toObject()

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

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

#### Parameters

##### m

[`VideoEndCard`](/proto-reference/Message/classes/VideoEndCard)

##### o?

`IConversionOptions`

#### Returns

`object`
