role property
String
get
role
The role of the chat message sender.
This property represents the role of the entity that sent the chat message, such as 'user', 'assistant', or any other defined role.
Implementation
String get role;