mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-19 12:31:17 +00:00
86 lines
1.6 KiB
Markdown
86 lines
1.6 KiB
Markdown
[youtubei.js](../../../README.md) / [Misc](../README.md) / EmojiRun
|
|
|
|
# Class: EmojiRun
|
|
|
|
## Implements
|
|
|
|
- `Run`
|
|
|
|
## Constructors
|
|
|
|
### new EmojiRun()
|
|
|
|
> **new EmojiRun**(`data`): [`EmojiRun`](EmojiRun.md)
|
|
|
|
#### Parameters
|
|
|
|
• **data**: [`RawNode`](../../APIResponseTypes/type-aliases/RawNode.md)
|
|
|
|
#### Returns
|
|
|
|
[`EmojiRun`](EmojiRun.md)
|
|
|
|
#### Defined in
|
|
|
|
[src/parser/classes/misc/EmojiRun.ts:17](https://github.com/LuanRT/YouTube.js/blob/4ae0cc5c523a2080e68d6c0c1437c78fe318ea30/src/parser/classes/misc/EmojiRun.ts#L17)
|
|
|
|
## Properties
|
|
|
|
### emoji
|
|
|
|
> **emoji**: `Emoji`
|
|
|
|
#### Defined in
|
|
|
|
[src/parser/classes/misc/EmojiRun.ts:15](https://github.com/LuanRT/YouTube.js/blob/4ae0cc5c523a2080e68d6c0c1437c78fe318ea30/src/parser/classes/misc/EmojiRun.ts#L15)
|
|
|
|
***
|
|
|
|
### text
|
|
|
|
> **text**: `string`
|
|
|
|
#### Implementation of
|
|
|
|
`Run.text`
|
|
|
|
#### Defined in
|
|
|
|
[src/parser/classes/misc/EmojiRun.ts:14](https://github.com/LuanRT/YouTube.js/blob/4ae0cc5c523a2080e68d6c0c1437c78fe318ea30/src/parser/classes/misc/EmojiRun.ts#L14)
|
|
|
|
## Methods
|
|
|
|
### toHTML()
|
|
|
|
> **toHTML**(): `string`
|
|
|
|
#### Returns
|
|
|
|
`string`
|
|
|
|
#### Implementation of
|
|
|
|
`Run.toHTML`
|
|
|
|
#### Defined in
|
|
|
|
[src/parser/classes/misc/EmojiRun.ts:37](https://github.com/LuanRT/YouTube.js/blob/4ae0cc5c523a2080e68d6c0c1437c78fe318ea30/src/parser/classes/misc/EmojiRun.ts#L37)
|
|
|
|
***
|
|
|
|
### toString()
|
|
|
|
> **toString**(): `string`
|
|
|
|
#### Returns
|
|
|
|
`string`
|
|
|
|
#### Implementation of
|
|
|
|
`Run.toString`
|
|
|
|
#### Defined in
|
|
|
|
[src/parser/classes/misc/EmojiRun.ts:33](https://github.com/LuanRT/YouTube.js/blob/4ae0cc5c523a2080e68d6c0c1437c78fe318ea30/src/parser/classes/misc/EmojiRun.ts#L33)
|