ilusm.dev

ntf

Notifications (Slack, Discord, Teams, Telegram, Email).

Load with: use ntf

Quick example

use ntf

result = slkne(10)
prn(result)

Functions

Slack

slkne(hk)

Creates a new instance. Takes hk.

slkms(c, ch, txt)

Performs the operation. Takes c, ch, txt.

slkbd(c, ch, ti, fl)

Performs the operation. Takes c, ch, ti, fl.

slkfl(c, ch, ti, fl)

Performs the operation. Takes c, ch, ti, fl.

Discord

dscne(hk)

Creates a new instance. Takes hk.

dscms(c, txt)

Performs the operation. Takes c, txt.

dscmb(c, txt, em)

Performs the operation. Takes c, txt, em.

dscbd(ti, ds, co, fl)

Performs the operation. Takes ti, ds, co, fl.

Microsoft Teams

tmsne(hk)

Creates a new instance. Takes hk.

tmsms(c, txt)

Performs the operation. Takes c, txt.

tmsac(c, ti, sm, txt)

Performs the operation. Takes c, ti, sm, txt.

Telegram

tlgne(bt, ch)

Creates a new instance. Takes bt, ch.

tlgsd(c, msg)

Performs the operation. Takes c, msg.

tlglm(c, ph, cp)

Returns limits or constraints. Takes c, ph, cp.

tlgdc(c, doc, cp)

Performs the operation. Takes c, doc, cp.

PagerDuty

pdne(rk)

Creates a new instance. Takes rk.

pdtr(c, se, de, dt)

Performs the operation. Takes c, se, de, dt.

pdck(c, dedup)

Performs the operation. Takes c, dedup.

Generic webhook

ntfwh(u, hd, bd)

Performs the operation. Takes u, hd, bd.

Router

ntfrt(ntfs, msg)

Performs the operation. Takes ntfs, msg.

Notes

  • Push notifications - APNs, FCM, Web Push.