OapiCspaceAddToSingleChatRequest.py 414 B

1234567891011121314151617
  1. '''
  2. Created by auto_sdk on 2018.07.25
  3. '''
  4. from dingtalk.api.base import RestApi
  5. class OapiCspaceAddToSingleChatRequest(RestApi):
  6. def __init__(self,url=None):
  7. RestApi.__init__(self,url)
  8. self.agent_id = None
  9. self.file_name = None
  10. self.media_id = None
  11. self.userid = None
  12. def getHttpMethod(self):
  13. return 'POST'
  14. def getapiname(self):
  15. return 'dingtalk.oapi.cspace.add_to_single_chat'