for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace EasyIM\TencentIM\Kernel\Messages;
/**
* Class TIMLocationElem
*
* @package EasyIM\TencentIM\Kernel\Messages
* @author longing <[email protected]>
*/
class TIMLocationElem extends Message
{
* Message type.
* @var string
protected $type = 'TIMLocationElem';
* Properties.
* @var array
protected $properties = ['Desc', 'Latitude', 'Longitude'];
* TIMLocationElem constructor.
* @param string $Desc
* @param float $Latitude
* @param float $Longitude
public function __construct(string $Desc, float $Latitude, float $Longitude)
parent::__construct(compact('Desc', 'Latitude', 'Longitude'));
}