Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Properties

claim_url

claim_url: string

hit claim url to earn prediction rewards

client_id

client_id: string

Optional confirmation_message

confirmation_message?: string

message to show when user vote on the prediction

correct_option_id

correct_option_id: string

correct prediction option Id

created_at

created_at: string

created_by

created_by: { id: string; image_url: string; name: string }

widget created-by details

Type declaration

  • id: string
  • image_url: string
  • name: string

custom_data

custom_data: string

custom data added when creating a widget

earnable_rewards

earnable_rewards: IWidgetEarnableReward[]

list of earnable rewards tagged against the widget

engagement_count

engagement_count: number

total no. of engagement count

engagement_percent

engagement_percent: string

enagagement percentage in string

follow_up_url

follow_up_url: string

url to get widget follow ups details

id

id: string

impression_count

impression_count: number

impression_url

impression_url: string

interaction_url

interaction_url: string

interactive_until

interactive_until: string

dateTime in UTC where after this dateTime, widget is not interactable

kind

options

widget options array

playback_time_ms

playback_time_ms: number

video playback time in milliseconds for showing widget for video on demand

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

publish_delay

publish_delay: string

publish delay duration of type string in ISO duration format

published_at

published_at: string

pubnub_enabled

pubnub_enabled: boolean

if enabled, widgets real time publish updates and interaction updates could be subscribed

question

question: string

widget question

rewards_url

rewards_url: string

schedule_url

schedule_url: string

url to be used to schedule a widget for publishing

scheduled_at

scheduled_at: string

sponsors

sponsors: ISponsorPayload[]

status

status: WidgetStatus

subscribe_channel

subscribe_channel: string

pubnub channel to subscribe for real time widget interaction updates

text_prediction_id

text_prediction_id: string

prediction widget id

text_prediction_url

text_prediction_url: string

url to get text prediction widget details

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

unique_impression_count

unique_impression_count: number

url

url: string

widget_attributes

widget_attributes: IWidgetAttribute[]

widget_interactions_url_template

widget_interactions_url_template: string

widget interaction url template that can be used to get widgets interaction

Legend

  • Property
  • Method

Generated using TypeDoc