content/flux/v0/stdlib/pushbullet/pushnote.md
pushbullet.pushNote() sends a push notification of type "note" to the Pushbullet API.
(text: A, title: B, ?token: C, ?url: string) => int
{{% caption %}} For more information, see Function type signatures. {{% /caption %}}
URL of the PushBullet endpoint. Default is "https://api.pushbullet.com/v2/pushes".
API token string. Defaults to: "".
({{< req >}}) Title of the notification.
({{< req >}}) Text to display in the notification.
import "pushbullet"
pushbullet.pushNote(
token: "mY5up3Rs3Cre7T0k3n",
data: {"type": "link", "title": "Example title", "text": "Example note text"},
)