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 13 2017, 8:56

What kind of file are you uploading, for what purpose?

To upload a script to a bot use,

SDKConnection.saveBotScriptSource()

https://github.com/BotLibre/BotLibre/blob/master/sdk/android/src/org/botlibre/sdk/SDKConnection.java

There is also a web API,

/rest/api/create-bot-attachment

That can create a file link.


Id: 19074519
Posted: Sep 13 2017, 8:56
Replies: 0
Views: 3863, today: 1, week: 4, month: 58