Files
YouTube.js/docs/api/namespaces/Misc/classes/EmojiRun.md
2025-01-20 16:49:04 -03:00

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/e54e499ff553dab51e6d9d1aebc090b50fec29ba/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/e54e499ff553dab51e6d9d1aebc090b50fec29ba/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/e54e499ff553dab51e6d9d1aebc090b50fec29ba/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/e54e499ff553dab51e6d9d1aebc090b50fec29ba/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/e54e499ff553dab51e6d9d1aebc090b50fec29ba/src/parser/classes/misc/EmojiRun.ts#L31)