123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- <?php
- /**
- * dingtalk API: dingtalk.oapi.im.chat.scenegroup.get request
- *
- * @author auto create
- * @since 1.0, 2021.05.25
- */
- class OapiImChatScenegroupGetRequest
- {
- /**
- * 群id
- **/
- private $openConversationId;
-
- private $apiParas = array();
-
- public function setOpenConversationId($openConversationId)
- {
- $this->openConversationId = $openConversationId;
- $this->apiParas["open_conversation_id"] = $openConversationId;
- }
- public function getOpenConversationId()
- {
- return $this->openConversationId;
- }
- public function getApiMethodName()
- {
- return "dingtalk.oapi.im.chat.scenegroup.get";
- }
-
- public function getApiParas()
- {
- return $this->apiParas;
- }
-
- public function check()
- {
-
- RequestCheckUtil::checkNotNull($this->openConversationId,"openConversationId");
- }
-
- public function putOtherTextParam($key, $value) {
- $this->apiParas[$key] = $value;
- $this->$key = $value;
- }
- }
|