|
1 year ago | |
---|---|---|
README.md | 1 year ago | |
gotify.php | 1 year ago |
<?PHP
require('gotify.php');
$gotify = new gotify();
$gotify->setEndpoint("https://gotify.yourdomain.co.uk/message?token=");
$gotify->setToken("xxxxxxxxxxx");
$gotify->setTitle("Message Title");
$gotify->setMessage("Message field");
$gotify->setPriority(5);
print_r($gotify->send());