Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Contextual information about the page where the bot is embedded will be included in the Bot data. The x-orbi-headers property under msg.req.context property headers can be used to get these facts. This property stores information about the query string, IP, Cookie, Headers, User-Agent, Session, and so on. The content header object is accessible using msg.alexaRequest.getContextParams() as well.

To get a specific property we can define that as msg.alexaRequest.

...

getChatParameters("x-real-ip")

...

  • Similar to the v2 bot, the keyboardPlaceholderText property in the ChatBot settings may be used to control the placeholder for keyboard input.

...

  • The Bot v3 now has a redesigned user interface. This design adheres to the WCAG guidelines and uses semantic markup. The design is enabled by default in the default Chatbot settings, allowing us to automatically send upgrades to the default bot in future versions. To construct any bot, it's a good idea to make a duplicate of the default Chatbot settings.

...