resolve • AI Agent SDK
resolve: Resolve a routing token to concrete delivery targets.
resolve
Method
</div>
This is a method of the DeliveryResolverProtocol class in the protocols module.
Resolve a routing token to concrete delivery targets.
Token formats:
- “origin”: Reply to the chat where the job was created (requires origin)
- “<platform>”: That platform’s home channel
- “<platform>:<chat_id>[:<thread_id>]”: Explicit target
- “all”: Fan-out to every connected platform with a home channel
Signature
def resolve(token: str) -> List['DeliveryTarget']Parameters
ParamField
strRouting token to resolve
Returns
ResponseField
List['DeliveryTarget']List of concrete delivery targets
Used By
Source
View on GitHubpraisonaiagents/gateway/protocols.py at line 3274