Get Home • AI Agent SDK

get_home: Get the home channel for a platform.

get_home

Method

</div>

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

Get the home channel for a platform.

Signature

python
def get_home(platform: str) -> Optional[tuple[str, Optional[str]]]

Parameters

ParamField str

Platform name to look up

Returns

ResponseField Optional[tuple[str, Optional[str]]]

Tuple of (chat_id, thread_id) if set, None otherwise

Source

View on GitHub

praisonaiagents/gateway/protocols.py at line 3201