chatId = $chatId; $this->apiParas["chat_id"] = $chatId; } public function getChatId() { return $this->chatId; } public function getApiMethodName() { return "dingtalk.oapi.im.chat.cid.convert"; } public function getApiParas() { return $this->apiParas; } public function check() { RequestCheckUtil::checkNotNull($this->chatId,"chatId"); RequestCheckUtil::checkMaxLength($this->chatId,128,"chatId"); } public function putOtherTextParam($key, $value) { $this->apiParas[$key] = $value; $this->$key = $value; } }