$application
$application : string
The Pushwoosh application ID where to send the message to (cannot be used together with "applicationsGroup").
Class which represents Pushwoosh '/createMessage' request.
create() : \Gomoob\Pushwoosh\Model\Request\CreateMessageRequest
Utility function used to create a new instance of the <tt>CreateMessageRequest</tt>.
the new created instance.
addNotification(\Gomoob\Pushwoosh\Model\Notification\Notification $notification) : \Gomoob\Pushwoosh\Model\Request\CreateMessageRequest
Adds a new Pushwoosh notification to the notifications attached to this create message request.
\Gomoob\Pushwoosh\Model\Notification\Notification | $notification | the new notification to add. |
this instance.
setApplication(string $application) : \Gomoob\Pushwoosh\Model\Request\CreateMessageRequest
Sets the Pushwoosh application ID where to send the message to (cannot be used together with "applicationsGroup")
.
string | $application | the Pushwoosh application ID where to send the message to (cannot be used together
|
this instance.
setApplicationsGroup(string $applicationsGroup) : \Gomoob\Pushwoosh\Model\Request\CreateMessageRequest
Sets the Pushwoosh Application group code (cannot be used together with "application").
string | $applicationsGroup | the Pushwoosh Application group code (cannot be used together with
|
this instance.
setAuth(string $auth) : \Gomoob\Pushwoosh\Model\Request\CreateMessageRequest
Sets the API access token from the Pushwoosh control panel (create this token at https://cp.pushwoosh.com/api_access).
string | $auth | the API access token from the Pushwoosh control panel (create this token at
|
this instance.
setNotifications(\Gomoob\Pushwoosh\Model\Notification\Notification[] $notifications) : \Gomoob\Pushwoosh\Model\Request\CreateMessageRequest
Sets the Pushwoosh notifications to attach to the create message request.
\Gomoob\Pushwoosh\Model\Notification\Notification[] | $notifications | the Pushwoosh notifications to attach to
|
this instance.