public function sendToTopic(Topics $topics, Options $options = null, PayloadNotification $notification = null, PayloadData $data = null)
    {
        $request = new Request(null, $options, $notification, $data, $topics);

        $responseGuzzle = $this->post($request);

        return new TopicResponse($responseGuzzle, $topics);
    }
public function sendToTopic(Topics $topics, Options $options = null, PayloadNotification $notification = null, PayloadData $data = null)
    {
        $request = new Request(null, $options, $notification, $data, $topics);

        $responseGuzzle = $this->post($request);

        return new TopicResponse($responseGuzzle, $topics);
    }
public function sendToTopic ( Topics $ topics , Options $ options = null , PayloadNotification $ notification = null , PayloadData $ data = null ) { $ request = new Request ( null , $ options , $ notification , $ data , $ topics ) ; $ responseGuzzle = $ this -> post ( $ request ) ; return new TopicResponse ( $ responseGuzzle , $ topics ) ; }
Send message devices registered at a or more topics.

@param Topics                   $topics
@param Options|null             $options
@param PayloadNotification|null $notification
@param PayloadData|null         $data

@return TopicResponse
Send message devices registered at a or more topics .