Update version.
This commit is contained in:
@@ -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_;
|
||||
|
||||
Reference in New Issue
Block a user