chatbotId = $chatbotId; $this->apiParas["chatbot_id"] = $chatbotId; } public function getChatbotId() { return $this->chatbotId; } public function setProcessQueryKey($processQueryKey) { $this->processQueryKey = $processQueryKey; $this->apiParas["process_query_key"] = $processQueryKey; } public function getProcessQueryKey() { return $this->processQueryKey; } public function getApiMethodName() { return "dingtalk.oapi.robot.message.ototask.query"; } public function getApiParas() { return $this->apiParas; } public function check() { RequestCheckUtil::checkNotNull($this->chatbotId,"chatbotId"); RequestCheckUtil::checkNotNull($this->processQueryKey,"processQueryKey"); } public function putOtherTextParam($key, $value) { $this->apiParas[$key] = $value; $this->$key = $value; } }