Skip to main content

get_home

Method
This is a method of the HomeChannelRegistryProtocol class in the protocols module.
Get the home channel for a platform.

Signature

Parameters

str
required
Platform name to look up

Returns

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 2296