Bot Libre Forum : Connect your Bot to the World - XML, JSON, Web Services, HTML Scraping, Twitter, Facebook, Telegram, Email Sign In : Sign Up

RE: Connect your Bot to the World - XML, JSON, Web Services, HTML Scraping, Twitter, Facebook, Telegram, Email

by admin posted Sep 19 2017, 9:10

Each bot interaction occurs in the context of a conversation. Bots store all their conversations in their knowledge base.

There is a web API "get-conversations" that will let you query the bot's conversations using a "response-search" XML argument.

If you want to display a users conversation history you would need to ensure the user is connected as the same unique user each time. Currently there is no way to filter the conversations by user, so you would need to search the conversations to find ones for that user.

We are looking into enhancing this, and providing a direct-message style chat interface into bots. So maybe better to keep a local history for now.


Id: 19132374
Posted: Sep 19 2017, 9:10
Replies: 0
Views: 4243, today: 3, week: 12, month: 48