Hierarchy

Properties

choices?: IChoiceItem[]

Widget choice array

claim_url: string
client_id: string

application Id

correct_option_id?: string

correct option id for prediction widget

created_at: string

When widget was created

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

User that created the widget

Type declaration

  • id: string
  • image_url: string
  • name: string
custom_data?: string

Widget custom data

earnable_rewards: IEarnableReward[]
engagement_count: number

total users engaged on the widget

engagement_percent: string
follow_up_url?: string

follow up url used to create followUp widget

follow_ups?: any

Follow up widget payload for prediction widgets

id: string
image_number_prediction_id?: string

Follow Up Widget Image Number Prediction Id

image_prediction_id?: string

Follow Up Widget Image Prediction Id

image_prediction_url?: string

url to get image prediction widget details

image_url?: string
impression_count: number
impression_url: string
interaction_url: string
interactive_until: string

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

link_label?: string
link_url?: string
options?: IOptionItem[]

Widget options array

playback_time_ms?: number

video on demand playback time in milliseconds

program_date_time: string

Sync time

program_id: string

Id of program the widget was created in

publish_delay: string

Delay for when widget is published

published_at?: string

Time widget was published

pubnub_enabled: boolean
question?: string

Widget question

reactions: IWidgetReaction[]

Deprecated

Widget reactions

reply_url?: string
rewards_url: string
schedule_url: string

url to be used to schedule a widget for publishing

scheduled_at?: string

Time widget was scheduled

sponsors: ISponsorPayload[]
status: "pending" | "published" | "in-flight"
subscribe_channel: string
text?: string
text_number_prediction_id?: string

Follow Up Widget Text Number Prediction Id

text_prediction_id?: string

Follow Up Widget Text Prediction Id

text_prediction_url?: string

url to get text prediction widget details

timeout: string

Widget duration

timetoken?: string
title?: string
unique_impression_count: number
url: string
widget_attributes: IAttribute[]
widget_interactions_url_template?: string

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

Generated using TypeDoc