Set Home • AI Agent SDK

set_home: Set the home channel for a platform.

set_home

Method

</div>

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

Set the home channel for a platform.

Signature

python
def set_home(platform: str, chat_id: str, thread_id: Optional[str]) -> None

Parameters

ParamField str

Platform name (e.g., “telegram”, “slack”, “discord”)

ParamField str

Platform-specific chat/channel ID

ParamField Optional[str]

Optional thread ID for threaded platforms

Source

View on GitHub

praisonaiagents/gateway/protocols.py at line 3186