message

fun message(role: ResponseRole, text: String)

Appends a message with an arbitrary role.

Parameters

role

Author of the message

text

Message text