attachment • Rust AI Agent SDK

attachment: Add an attachment

attachment

Method

</div>

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

Add an attachment

Signature

python
def attachment(mut self, attachment: BotAttachment) -> Self

Parameters

ParamField BotAttachment

No description available.

Returns

ResponseField Self

The result of the operation.