conversationId = $conversationId; $this->apiParas["conversation_id"] = $conversationId; } public function getConversationId() { return $this->conversationId; } public function setMsgKey($msgKey) { $this->msgKey = $msgKey; $this->apiParas["msg_key"] = $msgKey; } public function getMsgKey() { return $this->msgKey; } public function setMsgParam($msgParam) { $this->msgParam = $msgParam; $this->apiParas["msg_param"] = $msgParam; } public function getMsgParam() { return $this->msgParam; } public function getApiMethodName() { return "dingtalk.oapi.dingmi.robot.push"; } public function getApiParas() { return $this->apiParas; } public function check() { } public function putOtherTextParam($key, $value) { $this->apiParas[$key] = $value; $this->$key = $value; } }