create Message
suspend fun createMessage(params: CreateMessageRequest, options: RequestOptions? = null): CreateMessageResult(source)
Creates a message using the server's sampling capability.
Return
The created message result.
Parameters
params
The parameters for creating a message.
options
Optional request options.
Throws
If the server does not support sampling or if the request fails.