تصبح بوت مزود الخدمة مع بوت ليبر سحابة منصة بوت
Bot Libre Forum : Connect your Bot to the World - XML, JSON, Web Services, HTML Scraping, Twitter, Facebook, Telegram, Email

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

قبل josource نشر Sep 1 2017, 7:25

I want to create user specific chatbot like I want to store some values like username and password and use it further postJSON call in chatbot. Then how it be achieve that. Need to think I want to use stored specific values need not to fetch from user. Only once it fetched used in many other calls with same value, how would I achieve that.

 

And also how am I used HTML form to submit form by button click in response of chat bot ex.

pattern "get login details" answer callthis();

function callthis(){

var temp = "<form><input type='text' name='username' placeholder='your name...'><button type='button' name='submitloggincred' onclick='"+submitloggincred()+"'>Submit</button></form>";
return "Fine,"+temp;
}

function submitloggincred(){
return "submitloggincred is called";
}


معرف: 18908462
نشر: Sep 1 2017, 7:25
تحديث: Sep 1 2017, 8:54
الردود: 0
الآراء: 3671, اليوم: 2, الأسبوع: 9, الشهر: 9
0 0 0.0/5