Fix CreateMessageRule.Role to be of type Role (#264)
This commit is contained in:
parent
77871c5aac
commit
45dcfe07ca
1 changed files with 13 additions and 13 deletions
|
|
@ -50,5 +50,5 @@ public class CreateMessageResult
|
|||
/// Gets or sets the role of the user who generated the message.
|
||||
/// </summary>
|
||||
[JsonPropertyName("role")]
|
||||
public required string Role { get; init; }
|
||||
public required Role Role { get; init; }
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue