ask-sdk-v1adapter
Version:
Adapter from v1 Alexa Node.js SDK to v2
12 lines (11 loc) • 505 B
TypeScript
import { interfaces } from 'ask-sdk-model';
export declare class ListTemplate2Builder {
protected template: interfaces.display.ListTemplate2;
constructor();
setListItems(listItems: interfaces.display.ListItem[]): this;
setTitle(title: string): this;
setToken(token: string): this;
setBackgroundImage(image: interfaces.display.Image): this;
setBackButtonBehavior(backButtonBehavior: interfaces.display.BackButtonBehavior): this;
build(): interfaces.display.ListTemplate2;
}