for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of the slince/smartqq package.
*
* (c) Slince <[email protected]>
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Slince\SmartQQ\Message\Request;
use Slince\SmartQQ\Message\Message as BaseMessage;
use Slince\SmartQQ\Message\Content;
use Slince\SmartQQ\Utils;
class Message extends BaseMessage
{
/**
* 具体不明.
* @var int
protected $face = 522;
public function __construct($content)
if (is_string($content)) {
$content = new Content($content);
}
parent::__construct($content, Utils::makeMsgId());
* @param int $face
public function setFace($face)
$this->face = $face;
* @return int
public function getFace()
return $this->face;