OapiChatCreateRequest.py 644 B

1234567891011121314151617181920212223242526
  1. '''
  2. Created by auto_sdk on 2019.03.11
  3. '''
  4. from dingtalk.api.base import RestApi
  5. class OapiChatCreateRequest(RestApi):
  6. def __init__(self,url=None):
  7. RestApi.__init__(self,url)
  8. self.chatBannedType = None
  9. self.conversationTag = None
  10. self.extidlist = None
  11. self.icon = None
  12. self.managementType = None
  13. self.mentionAllAuthority = None
  14. self.name = None
  15. self.owner = None
  16. self.ownerType = None
  17. self.searchable = None
  18. self.showHistoryType = None
  19. self.useridlist = None
  20. self.validationType = None
  21. def getHttpMethod(self):
  22. return 'POST'
  23. def getapiname(self):
  24. return 'dingtalk.oapi.chat.create'