actionCard = $actionCard; $this->apiParas["actionCard"] = $actionCard; } public function getActionCard() { return $this->actionCard; } public function setAt($at) { $this->at = $at; $this->apiParas["at"] = $at; } public function getAt() { return $this->at; } public function setFeedCard($feedCard) { $this->feedCard = $feedCard; $this->apiParas["feedCard"] = $feedCard; } public function getFeedCard() { return $this->feedCard; } public function setLink($link) { $this->link = $link; $this->apiParas["link"] = $link; } public function getLink() { return $this->link; } public function setMarkdown($markdown) { $this->markdown = $markdown; $this->apiParas["markdown"] = $markdown; } public function getMarkdown() { return $this->markdown; } public function setMsgtype($msgtype) { $this->msgtype = $msgtype; $this->apiParas["msgtype"] = $msgtype; } public function getMsgtype() { return $this->msgtype; } public function setText($text) { $this->text = $text; $this->apiParas["text"] = $text; } public function getText() { return $this->text; } public function getApiMethodName() { return "dingtalk.oapi.robot.send"; } public function getApiParas() { return $this->apiParas; } public function check() { RequestCheckUtil::checkNotNull($this->msgtype,"msgtype"); } public function putOtherTextParam($key, $value) { $this->apiParas[$key] = $value; $this->$key = $value; } }