anhsin_chatbot 0.0.1 anhsin_chatbot: ^0.0.1 copied to clipboard
This is a flutter package for convenience calling anhsin chatbot.
Package to integrate Anhsin chatbot with flutter projects seamlessly.
Features #
This package calls Anhsin chatbot to enquiry specific information.
Getting started #
flutter pub add anhsin_chatbot
Usage #
Initiate sdk. Call getId to start session. getChatResponse to chat. endChat to end session.
final sdk =
AnhsinChatbotSDK(ChatCredentials(apiId: "123", apiSecret: "xyz"));
final response = await sdk.getChatId();
chatId = response.chatId;
final response = await sdk.getChatResponse(chatId, "Explain earth.");
await sdk.endChat(chatId);
Additional information #
Find out more by contacting Anhsin Technology Sdn. Bhd. at admin@anhsin.io