Download Bot Libre Desktop, Ihre eigenen persönlichen bot für Ihren PC oder Mac
Artificial Intelligence : remember conversation and the "chatter" from web interface

RE: remember conversation and the "chatter" from web interface

durch admin gepostet Jan 6 2020, 15:01

The conversation user is stored on the conversation object in the bot's database as the relationship #speaker.
If the user is not connected this would normally be stored as anonymous, but you can also pass the user name and optional email address through the web API.

The chat API takes a message object that has an info variable that you can set.

var request = new XMLHttpRequest();'POST', '', true);
request.setRequestHeader('Content-Type', 'application/xml');
var xml = "<chat application='12345' instance='12345' info='John Doe [email protected]'><message>hello world</message></chat>";

It will show in the chat log as "info: user email"

Id: 31323440
Gepostet: Jan 6 2020, 15:01
Antworten: 0
Ansichten: 1603, heute: 1, Woche: 1, Monat: 8
0 0 0.0/5