for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace EntWeChat\Message;
/**
* Class Material.
*/
class Material extends AbstractMessage
{
* Properties.
*
* @var array
protected $properties = ['media_id'];
* Material constructor.
* @param string $mediaId
* @param string $type
public function __construct($type, $mediaId)
$this->set('media_id', $mediaId);
$this->type = $type;
}