OapiSmartbotMsgPushRequest.py 390 B

1234567891011121314151617
  1. '''
  2. Created by auto_sdk on 2021.03.19
  3. '''
  4. from dingtalk.api.base import RestApi
  5. class OapiSmartbotMsgPushRequest(RestApi):
  6. def __init__(self,url=None):
  7. RestApi.__init__(self,url)
  8. self.chat_id_list = None
  9. self.msg = None
  10. self.to_all_user = None
  11. self.user_id_list = None
  12. def getHttpMethod(self):
  13. return 'POST'
  14. def getapiname(self):
  15. return 'dingtalk.oapi.smartbot.msg.push'