Body.php 667 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <?php
  2. /**
  3. * 消息体
  4. * @author auto create
  5. */
  6. class Body
  7. {
  8. /**
  9. * 自定义的作者名字
  10. **/
  11. public $author;
  12. /**
  13. * 消息体的内容,最多显示3行
  14. **/
  15. public $content;
  16. /**
  17. * 自定义的附件数目。此数字仅供显示,钉钉不作验证
  18. **/
  19. public $file_count;
  20. /**
  21. * 消息体的表单,最多显示6个,超过会被隐藏
  22. **/
  23. public $form;
  24. /**
  25. * 消息体中的图片,支持图片资源@mediaId
  26. **/
  27. public $image;
  28. /**
  29. * 单行富文本信息
  30. **/
  31. public $rich;
  32. /**
  33. * 消息体的标题,建议50个字符以内
  34. **/
  35. public $title;
  36. }
  37. ?>