OapiMessageMassSendRequest.py 553 B

1234567891011121314151617181920212223
  1. '''
  2. Created by auto_sdk on 2019.12.27
  3. '''
  4. from dingtalk.api.base import RestApi
  5. class OapiMessageMassSendRequest(RestApi):
  6. def __init__(self,url=None):
  7. RestApi.__init__(self,url)
  8. self.dep_id_list = None
  9. self.is_preview = None
  10. self.is_to_all = None
  11. self.media_id = None
  12. self.msg_body = None
  13. self.msg_type = None
  14. self.text_content = None
  15. self.unionid = None
  16. self.userid_list = None
  17. self.uuid = None
  18. def getHttpMethod(self):
  19. return 'POST'
  20. def getapiname(self):
  21. return 'dingtalk.oapi.message.mass.send'