role property

GptThreadRole role
getter/setter pair

The entity that produced the message. One of user or assistant.

Implementation

GptThreadRole role;