content = $content; $this->apiParas["content"] = $content; } public function getContent() { return $this->content; } public function setMsgType($msgType) { $this->msgType = $msgType; $this->apiParas["msg_type"] = $msgType; } public function getMsgType() { return $this->msgType; } public function setSender($sender) { $this->sender = $sender; $this->apiParas["sender"] = $sender; } public function getSender() { return $this->sender; } public function setUseridList($useridList) { $this->useridList = $useridList; $this->apiParas["userid_list"] = $useridList; } public function getUseridList() { return $this->useridList; } public function getApiMethodName() { return "dingtalk.oapi.impaas.newretail.sendstaffmessage"; } public function getApiParas() { return $this->apiParas; } public function check() { RequestCheckUtil::checkMaxListSize($this->useridList,100,"useridList"); } public function putOtherTextParam($key, $value) { $this->apiParas[$key] = $value; $this->$key = $value; } }