Appearance
Interface: GetMessageAsHtmlOptions
Options for ChatEvent.getMessageAsHtml(), used to render a message as HTML with its emotes.
Properties
emotes_size?
ts
optional emotes_size?: number;Size (width and height in pixels) of the inserted emote images.
Default Value
32
replace_functions?
ts
optional replace_functions?: ReplaceFunction[];Transformation functions applied successively to the text portions of the message (not the emotes), after HTML escaping. This allows, for example, replacing keywords or adding markup.
Default Value
[]