You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

41 lines
653 B

  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. namespace EasyWeChat\Message;
  11. /**
  12. * Class DeviceEvent.
  13. *
  14. * @property string $media_id
  15. */
  16. class DeviceEvent extends AbstractMessage
  17. {
  18. /**
  19. * Message type.
  20. *
  21. * @var string
  22. */
  23. protected $type = 'device_event';
  24. /**
  25. * Properties.
  26. *
  27. * @var array
  28. */
  29. protected $properties = [
  30. 'device_type',
  31. 'device_id',
  32. 'content',
  33. 'session_id',
  34. 'open_id',
  35. ];
  36. }