text • Rust AI Agent SDK

text: Create a text message.

text

Method

</div>

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

Create a text message.

Signature

python
def text(
        text: impl Into<String>,
        sender: BotUser,
        channel_id: impl Into<String>,
    ) -> Self

Parameters

ParamField impl Into&lt;String&gt;

No description available.

ParamField BotUser

No description available.

ParamField impl Into&lt;String&gt;

No description available.

Returns

ResponseField Self

The result of the operation.