Skip to content
Wysp Docs

change_travel_mode

Set the travel mode for navigation

{
"travelMode": "BICYCLE" // User's current mode of travel
}
{
"kind": "SUCCESS", // SUCCESS | FAILURE | BAD_REQUEST | INTERNAL_SERVER_ERROR | REFUSAL
"nature": "OPAQUE", // OPAQUE | USER_VERBATIM | JSON
"language": "en-US", // BCP47 language tag
"value": "Travel mode changed from FOOT to BICYCLE." // Opaque string response value to be entered into message history.
}
Use when: the user says they are using a different mode of transport, or implies it by saying they want to walk somewhere or drive somewhere