Link.php 866 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. <?php
  2. /*
  3. * This file is part of the overtrue/wechat.
  4. *
  5. * (c) overtrue <i@overtrue.me>
  6. *
  7. * This source file is subject to the MIT license that is bundled
  8. * with this source code in the file LICENSE.
  9. */
  10. /**
  11. * Link.php.
  12. *
  13. * @author overtrue <i@overtrue.me>
  14. * @copyright 2015 overtrue <i@overtrue.me>
  15. *
  16. * @see https://github.com/overtrue
  17. * @see http://overtrue.me
  18. */
  19. namespace EasyWeChat\Message;
  20. /**
  21. * Class Link.
  22. */
  23. class Link extends AbstractMessage
  24. {
  25. /**
  26. * Message type.
  27. *
  28. * @var string
  29. */
  30. protected $type = 'link';
  31. /**
  32. * Properties.
  33. *
  34. * @var array
  35. */
  36. protected $properties = [
  37. 'title',
  38. 'description',
  39. 'url',
  40. ];
  41. }