Property | Type | Description | |
---|---|---|---|
$client | |||
$queue |
Method | Description | |
---|---|---|
add ( string $msg, boolean $notify = false, string $background = Message::BACKGROUND_YELLOW ) : void | Add a plain text message to the queue. | |
addHtml ( string $msg, boolean $notify = false, string $background = Message::BACKGROUND_YELLOW ) : void | Add a html message to the queue. | |
go ( ) : void | Send all messages in the queue. | |
html ( string $msg, boolean $notify = false, string $background = Message::BACKGROUND_YELLOW ) : void | Send a html message. | |
init ( string $token, string | integer $room, string $from, rcrowe\Hippy\Transport\TransportInterface $transport = null ) | Initialise the facade. Must be called first. | |
text ( string $msg, boolean $notify = false, string $background = Message::BACKGROUND_YELLOW ) : void | Send a plain text message. |