Skip to main content

Module conv

Module conv 

Source
Expand description

CONV (Conversation) action native hooks

Handles conversation lifecycle:

  • on_create: Auto-creates SUBS with admin role for the creator
  • on_receive: Handles receiving federated conversation
  • Subtypes:
    • UPD: Update conversation settings (requires admin role)
    • DEL: Archive/delete conversation (requires admin role)

Functionsยง

on_create
CONV on_create hook - Auto-subscribe creator as admin
on_receive
CONV on_receive hook - Handle receiving shared conversation