ListItem
Stentor API Reference / stentor-models/src / ListItem
Interface: ListItem
Defined in: packages/stentor-models/src/Display/List/List.ts:73
Propertiesβ
titleβ
title:
string
Defined in: packages/stentor-models/src/Display/List/List.ts:77
Title of the list item, referred to as PrimaryText on Alexa.
tokenβ
token:
string
Defined in: packages/stentor-models/src/Display/List/List.ts:83
Used as a reference for when the list item is selected.
This is the same as a key on Google.
synonyms?β
optionalsynonyms:string[]
Defined in: packages/stentor-models/src/Display/List/List.ts:89
Synonyms can be added so the user can speak the selection instead of touching the screen.
Only supported on Google.
description?β
optionaldescription:string
Defined in: packages/stentor-models/src/Display/List/List.ts:93
Description text of the list item, referred to as SecondaryText on Alexa.
image?β
optionalimage:ListImage
Defined in: packages/stentor-models/src/Display/List/List.ts:97
The image for the list item.
url?β
optionalurl:string
Defined in: packages/stentor-models/src/Display/List/List.ts:103
URL to open when the list item is selected.
Not applicable to list type CAROUSEL or available on channels without a web browser available.
buttons?β
optionalbuttons:ListButton[]
Defined in: packages/stentor-models/src/Display/List/List.ts:107
Optional list of buttons that will be displayed on the list item.