Message Type • Rust AI Agent SDK

message_type: Set message type.

message_type

Method

</div>

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

Set message type.

Signature

python
def message_type(mut self, msg_type: MessageType) -> Self

Parameters

ParamField MessageType

No description available.

Returns

ResponseField Self

The result of the operation.