Skip to main content

resolve

Method
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

Parameters

str
required
Routing token to resolve

Returns

List['DeliveryTarget']
List of concrete delivery targets

Used By

Source

View on GitHub

praisonaiagents/gateway/protocols.py at line 2369