Interface ICreateAlertWidgetArg
Hierarchy
- Omit<IBaseCreateWidgetArg, "interactionUntil">
- ICreateAlertWidgetArg
Properties
Optional
custom Data
custom Data?: string
Optional
image Url
image Url?: string
alert image url, either text or imageUrl is required
Optional
interactive Until
interactive Until?: Date
dateTime in UTC where after this dateTime, widget is not interactable
Optional
link Label
link Label?: string
optional link label to be shown, requires linkUrl if present
Optional
link Url
link Url?: string
optional link to add on alert widget, requires linkLabel if present
Optional
playback Time Ms
playback Time Ms?: number
video playback time in milliseconds for showing widget for video on demand
Optional
program Date Time
program Date Time?: string
program date time that could be used to sync up widget with your live streaming video
program Id
program Id: string
Id of the program in which widget is to be created
Optional
sponsor Ids
sponsor Ids?: string[]
list of sponsor ids
Optional
text
text?: string
alert text, either text or imageUrl is required
Optional
timeout
timeout?: string
timeout duration for user till when the widget stays interactable in UI after getting rendered, value is in a ISO duration format
Optional
title
title?: string
optional alert widget title
Optional
widget Attributes
custom key value widget attributes
Generated using TypeDoc
custom data that could be added to set widget specific data, incase of JSON, stringify the JSON