Add Message • Rust AI Agent SDK
add_message: Add a message to the session history.
add_message
Method
</div>
This is a method of the GatewaySessionProtocol class in the gateway module.
Add a message to the session history.
Signature
def add_message(&mut self, message: GatewayMessage) -> ()Parameters
ParamField
GatewayMessageNo description available.
Returns
ResponseField
()The result of the operation.