OapiEduGroupMsgSendRequest.py 489 B

123456789101112131415161718192021
  1. '''
  2. Created by auto_sdk on 2020.12.22
  3. '''
  4. from dingtalk.api.base import RestApi
  5. class OapiEduGroupMsgSendRequest(RestApi):
  6. def __init__(self,url=None):
  7. RestApi.__init__(self,url)
  8. self.agent_id = None
  9. self.biz_id = None
  10. self.class_id = None
  11. self.image_url = None
  12. self.receive_userid_list = None
  13. self.replace = None
  14. self.template_code = None
  15. self.userid = None
  16. def getHttpMethod(self):
  17. return 'POST'
  18. def getapiname(self):
  19. return 'dingtalk.oapi.edu.group.msg.send'