MCPcopy Create free account
hub / github.com/CivilHub/CivilHub / pm_write

Function pm_write

postman/api.py:60–88  ·  view source on GitHub ↗

Write a message to a User. Contrary to pm_broadcast(), the message is archived and/or deleted on the sender side only if requested. The message may come from an untrusted application, a gateway for example, so it may be useful to involve some auto moderators in the processing.

(sender, recipient, subject, body='', skip_notification=False,
        auto_archive=False, auto_delete=False, auto_moderators=None)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Calls 6

auto_moderateMethod · 0.95
clean_moderationMethod · 0.95
notify_usersMethod · 0.95
MessageClass · 0.90
_get_siteFunction · 0.85
saveMethod · 0.45