Navigation handler. Allows the bot to display complex widgets with pages, buttons, and other components.

See

Page

Example

var nav = new Navigation(msg); // msg taken from something like a slash command. Doesn't matter if it's deferred or not.
nav.navigate(new MyPage());

Constructors

Properties

Methods

Constructors

Properties

showBackButton: boolean = true
stack: Page[] = []

Methods