OpenSendNoticeRequestDto.php 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. <?php
  2. /**
  3. * 发送通知入参
  4. * @author auto create
  5. */
  6. class OpenSendNoticeRequestDto
  7. {
  8. /**
  9. * 圈子corpId+secret方式调用接口,没有agentId可以不传此时透出给用户是以圈子名字发通知。如果是isv方式的圈子应用,在圈子开通时会推送给isv agentID,必须传入agentId,会以圈子内应用的身份发通知
  10. **/
  11. public $agentid;
  12. /**
  13. * 通知点击跳转的手机链接
  14. **/
  15. public $mobile_url;
  16. /**
  17. * 通知的下方按钮文案
  18. **/
  19. public $msg_button;
  20. /**
  21. * 通知文本内容 1-512字符
  22. **/
  23. public $msg_content;
  24. /**
  25. * 通知点击跳转的pc链接
  26. **/
  27. public $pc_url;
  28. /**
  29. * 接收人在圈子组织内的userid
  30. **/
  31. public $receiver_userids;
  32. /**
  33. * 是否在圈子入口展示数字红点+1,默认情况只是点进圈子在通知那一栏有数字红点,该值设为true后会在圈子入口也展示数字红点
  34. **/
  35. public $show_red_point;
  36. /**
  37. * 防重复,如果2个请求传入同样的uuid,第二个请求会返回成功
  38. **/
  39. public $uuid;
  40. }
  41. ?>