Class Notification
Container object to send notifications to ManiaHome
Indirect known subclasses
Maniaplanet\WebServices\EventLocated at libraries/Maniaplanet/WebServices/ManiaHome/Notification.php
public
string
|
$senderName |
|
#
Manialink that sends the notification. You don't need to set that as the ManiaHome class will automatically set it for you when you send a notification. |
public
string
|
$receiverName |
|
#
The receiver of the notification. It can either be a Maniaplanet login or null. |
public
string
|
$message |
|
#
The message itself. If you send a public notification to a player, the message will be prepended with its nickname. Max length is 255 chars, you can use Maniaplanet special chars. |
public
string
|
$link |
|
#
(optional) Link when the player clicks on the notification. Has to be a Manialink, not a Web URL. |
public
boolean
|
$isPrivate |
|
#
(optional) Whether the Notification is private or not. |
public
string
|
$iconStyle |
|
#
(optional) Icon style (from the Manialink styles) |
public
string
|
$iconSubStyle |
|
#
(optional) Icon substyle (from the Manialink styles) |
public
string
|
$group |
|
#
(optional) String used to group notifications. You shouldn't need to use that |
public
integer
|
$priority |
|
#
(optional) Integer used to group notifications. You shouldn't need to use that |