role

Sets the role of the message.

Return

This builder instance for method chaining.

Parameters

role

The role of the message sender (user or agent).