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