Mercurial > prosody-modules
view mod_admin_notify/README.markdown @ 4331:2e355540f8c8
mod_cloud_notify_encrypted: Truncate message body to 255 characters
Total size limit is 3-4KB, and this should be enough for a small notification.
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Wed, 13 Jan 2021 14:19:20 +0000 |
parents | e97c509fdbe3 |
children |
line wrap: on
line source
--- 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.