Overview
channel().create(...) creates a new PulseGrid channel from trusted backend Python code.
Setup
Provide:
- name
- optional channel_type
- optional description
- optional persist_events
- optional retention_days
Code example
result = pulsegrid.channel("support-room").create(
name="support-room",
channel_type="public",
description="Public support room",
persist_events=True,
retention_days=30,
)
print(result)
Notes
This is a trusted backend operation.