diff --git a/src/PushoverMessage.php b/src/PushoverMessage.php index 1389a83..01b6339 100644 --- a/src/PushoverMessage.php +++ b/src/PushoverMessage.php @@ -363,8 +363,8 @@ public function toArray(): array 'image' => $this->image, 'retry' => $this->retry, 'expire' => $this->expire, - 'html' => $this->format === static::FORMAT_HTML, - 'monospace' => $this->format === static::FORMAT_MONOSPACE, + 'html' => $this->format === static::FORMAT_HTML ? 1 : 0, + 'monospace' => $this->format === static::FORMAT_MONOSPACE ? 1 : 0, 'callback' => $this->callback, ]; }