/** * @param float $longitude * @param float $latitude * @param ClientInterface $from * @param ClientInterface $user */ public function __construct(float $longitude, float $latitude, ClientInterface $from, ClientInterface $user) { parent::__construct($from, $user); $this->longitude = $longitude; $this->latitude = $latitude; }
/** * @param string|string $text * @param ClientInterface $from * @param ClientInterface $user */ public function __construct(string $text, ClientInterface $from, ClientInterface $user) { parent::__construct($from, $user); $this->text = $text; }