Remove Channel • AI Agent SDK

remove_channel: Delete a channel and unsubscribe all clients.

remove_channel

Method

</div>

This is a method of the PushChannelProtocol class in the protocols module.

Delete a channel and unsubscribe all clients.

Signature

python
def remove_channel(channel_name: str) -> bool

Parameters

ParamField str

No description available.

Returns

ResponseField bool

True if removed, False if not found

Source

View on GitHub

praisonaiagents/gateway/protocols.py at line 1856