mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-17 19:42:14 +00:00
* chore: generate API ref using `typedoc` * chore: declutter readme and add links to ytjs.dev * chore: clean up
106 lines
1.8 KiB
Markdown
106 lines
1.8 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:15](https://github.com/LuanRT/YouTube.js/blob/eb21af33db708f0355f4fb15881f5d4fabc7b06c/src/parser/classes/misc/EmojiRun.ts#L15)
|
|
|
|
## Properties
|
|
|
|
### emoji
|
|
|
|
> **emoji**: `object`
|
|
|
|
#### emoji\_id
|
|
|
|
> **emoji\_id**: `string`
|
|
|
|
#### image
|
|
|
|
> **image**: [`Thumbnail`](Thumbnail.md)[]
|
|
|
|
#### is\_custom
|
|
|
|
> **is\_custom**: `boolean`
|
|
|
|
#### search\_terms
|
|
|
|
> **search\_terms**: `string`[]
|
|
|
|
#### shortcuts
|
|
|
|
> **shortcuts**: `string`[]
|
|
|
|
#### Defined in
|
|
|
|
[src/parser/classes/misc/EmojiRun.ts:7](https://github.com/LuanRT/YouTube.js/blob/eb21af33db708f0355f4fb15881f5d4fabc7b06c/src/parser/classes/misc/EmojiRun.ts#L7)
|
|
|
|
***
|
|
|
|
### text
|
|
|
|
> **text**: `string`
|
|
|
|
#### Implementation of
|
|
|
|
`Run.text`
|
|
|
|
#### Defined in
|
|
|
|
[src/parser/classes/misc/EmojiRun.ts:6](https://github.com/LuanRT/YouTube.js/blob/eb21af33db708f0355f4fb15881f5d4fabc7b06c/src/parser/classes/misc/EmojiRun.ts#L6)
|
|
|
|
## Methods
|
|
|
|
### toHTML()
|
|
|
|
> **toHTML**(): `string`
|
|
|
|
#### Returns
|
|
|
|
`string`
|
|
|
|
#### Implementation of
|
|
|
|
`Run.toHTML`
|
|
|
|
#### Defined in
|
|
|
|
[src/parser/classes/misc/EmojiRun.ts:35](https://github.com/LuanRT/YouTube.js/blob/eb21af33db708f0355f4fb15881f5d4fabc7b06c/src/parser/classes/misc/EmojiRun.ts#L35)
|
|
|
|
***
|
|
|
|
### toString()
|
|
|
|
> **toString**(): `string`
|
|
|
|
#### Returns
|
|
|
|
`string`
|
|
|
|
#### Implementation of
|
|
|
|
`Run.toString`
|
|
|
|
#### Defined in
|
|
|
|
[src/parser/classes/misc/EmojiRun.ts:31](https://github.com/LuanRT/YouTube.js/blob/eb21af33db708f0355f4fb15881f5d4fabc7b06c/src/parser/classes/misc/EmojiRun.ts#L31)
|