CorpMessageCorpconversationAsyncsendRequest.py 494 B

12345678910111213141516171819
  1. '''
  2. Created by auto_sdk on 2019.07.03
  3. '''
  4. from dingtalk.api.base import RestApi
  5. class CorpMessageCorpconversationAsyncsendRequest(RestApi):
  6. def __init__(self,url=None):
  7. RestApi.__init__(self,url)
  8. self.agent_id = None
  9. self.dept_id_list = None
  10. self.msgcontent = None
  11. self.msgtype = None
  12. self.to_all_user = None
  13. self.userid_list = None
  14. def getHttpMethod(self):
  15. return 'POST'
  16. def getapiname(self):
  17. return 'dingtalk.corp.message.corpconversation.asyncsend'