messages • Rust AI Agent SDK
messages: Get all messages
messages
Method
</div>
This is a method of the Session class in the session module.
Get all messages
Signature
pythondef messages(&self) -> &[SessionMessage]
Returns
ResponseField &[SessionMessage]The result of the operation.