Skip to content

Latest commit

 

History

History
14 lines (9 loc) · 577 Bytes

command-response-view.md

File metadata and controls

14 lines (9 loc) · 577 Bytes

View

Views define, what's shown to the user when the command is executed. The view can be provided at the root of the Command Response using the CommandReponse.view property.

The simplest view one can use is text. Simply set the view property to some text and it will be shown in the Command Bar.

{
  "view": "Ahoy, world!"
}

Read on about other views that can be used in the Command Response: List, Masonry and Form.