new • Rust AI Agent SDK

new: Create a new bot config.

new

Method

</div>

This is a method of the BotConfig class in the bots module.

Create a new bot config.

Signature

python
def new(token: impl Into<String>, platform: impl Into<String>) -> Self

Parameters

ParamField impl Into&lt;String&gt;

No description available.

ParamField impl Into&lt;String&gt;

No description available.

Returns

ResponseField Self

The result of the operation.