Post an Android notification
notifyCreate or update Android notifications via Termux:API using a stable ID, with options for title, body, priority, sound, vibration, and ongoing status.
Instructions
Create an Android notification via Termux:API. Requires the Termux:API app and notification permission. Use a stable id to update an existing notification.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Notification id used for updates. | |
| group | No | Notification group key. | |
| sound | No | Play the notification sound. | |
| title | No | Notification title. | |
| content | No | Notification body. | |
| ongoing | No | Make the notification ongoing (not dismissible). | |
| vibrate | No | Vibration pattern, e.g. "100,200,100". | |
| priority | No | Notification priority. |