Appearance
Class: ScreenDisplayOptions
Display options common to on-screen announcements and notifications.
Extended by
Constructors
Constructor
ts
new ScreenDisplayOptions(): ScreenDisplayOptions;Returns
ScreenDisplayOptions
Properties
duration?
ts
optional duration?: number;On-screen display duration, in seconds.
Remarks
Values outside the allowed range are clamped rather than rejected (1 to 180 seconds for an announcement, 1 to 60 for a notification).
Default Value
ts
the duration configured by the streamer.html?
ts
optional html?: boolean;If true, the message is interpreted as HTML rather than plain text. Sanitized before display.
target?
ts
optional target?: ScreenTarget;Overlay the screen is played in.
Default Value
main
title?
ts
optional title?: string;Title displayed above the message.
title_html?
ts
optional title_html?: boolean;If true, the title is interpreted as HTML. Sanitized before display.
visual?
ts
optional visual?: ScreenVisual;Image or profile picture attached to the event.