Update version.

This commit is contained in:
sdk-team
2020-12-02 09:36:34 +00:00
parent 357519c7f6
commit 931a98684d
94 changed files with 718 additions and 5594 deletions

View File

@@ -68,6 +68,8 @@ void CreateScriptResult::parse(const std::string &payload)
message_ = value["Message"].asString();
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["ChatbotId"].isNull())
chatbotId_ = value["ChatbotId"].asString();
}
@@ -76,6 +78,11 @@ CreateScriptResult::Script CreateScriptResult::getScript()const
return script_;
}
std::string CreateScriptResult::getChatbotId()const
{
return chatbotId_;
}
std::string CreateScriptResult::getMessage()const
{
return message_;