mod_admin_notify/README.markdown
author Kim Alvefur <zash@zash.se>
Fri, 22 Jan 2021 15:19:53 +0100
changeset 4376 78de3c7acf58
parent 4242 e97c509fdbe3
permissions -rw-r--r--
mod_rest: Fix json-mapping stanzas with text or whitespace between tags Test: jsonmap.st2json( st.message({}, "hi"):indent() )

---
labels:
- 'Stage-Alpha'
summary: API to notify server admins
---

# Introduction

This module provides an API for other module developers to send
notification messages to host admins.

# Configuration

None required.

# Developers

Example:

```
local notify_admins = module:depends("admin_notify").notify;

notify("This is an important message for you, admins")
```

# Compatibility

Prosody trunk or later. Incompatible with 0.11 or lower.