Preview Target • AI Agent SDK
preview_target: Return a dry-run preview of where “target“ will deliver.
preview_target
Method
</div>
This is a method of the DeliveryPreflightProtocol class in the protocols module.
Return a dry-run preview of where `target` will deliver.
A short, display-only string (e.g. `"telegram:@alice (session main)"`) so the creator sees the destination before commit.
Signature
def preview_target(target: 'DeliveryTarget') -> strParameters
ParamField
DeliveryTargetNo description available.
Returns
ResponseField
strThe result of the operation.
Source
View on GitHubpraisonaiagents/gateway/protocols.py at line 3327