new • Rust AI Agent SDK
new: Create a new gateway message.
new
Method
</div>
This is a method of the GatewayMessage class in the gateway module.
Create a new gateway message.
Signature
def new(
content: impl Into<serde_json::Value>,
sender_id: impl Into<String>,
session_id: impl Into<String>,
) -> SelfParameters
ParamField
impl Into<serde_json::Value>No description available.
ParamField
impl Into<String>No description available.
ParamField
impl Into<String>No description available.
Returns
ResponseField
SelfThe result of the operation.