Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Device

Hierarchy

  • Device

Properties

capabilities

capabilities: Capability[]

Gets information on the device that originated the user's query.

example
app.handle('handler name', conv => {
 const deviceCapabilities = conv.device.capabilities.join(', ')
 conv.add(`Device has the following capabilities: ${deviceCapabilities}`)
})

currentLocation

currentLocation: Location

Optional. The device location of the user. Note, this is only populated after location permissions are granted by the end user. See the location message for more details on which fields are set depending on coarse vs. fine grained permission.

Optional timeZone

timeZone: TimeZone

Optional. Timezone associated with the request used to resolve datetime values. If not set, "UTC" is used.

Generated using TypeDoc