Unsubscribe Client • AI Agent SDK

unsubscribe_client: Unsubscribe a client from a channel.

unsubscribe_client

Method

</div>

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

Unsubscribe a client from a channel.

Signature

python
def unsubscribe_client(client_id: str, channel_name: str) -> bool

Parameters

ParamField str

No description available.

ParamField str

No description available.

Returns

ResponseField bool

True if unsubscribed, False if not subscribed

Source

View on GitHub

praisonaiagents/gateway/protocols.py at line 1880