Is Channel Allowed • AI Agent SDK

is_channel_allowed: Check if a channel is allowed for bot interaction.

is_channel_allowed

Method

</div>

This is a method of the BotConfig class in the config module.

Check if a channel is allowed for bot interaction.

Signature

python
def is_channel_allowed(channel_id: str) -> bool

Parameters

ParamField str

No description available.

Returns

ResponseField bool

The result of the operation.

Source

View on GitHub

praisonaiagents/bots/config.py at line 242