Class Message
Thông tin
Một tin nhắn hoàn thành trò chuyện do mô hình tạo ra.
public class MessageKế thừa
Thành viên kế thừa
- object.GetType(),
- object.MemberwiseClone(),
- object.ToString(),
- object.Equals(object?),
- object.Equals(object?, object?),
- object.ReferenceEquals(object?, object?),
- object.GetHashCode()
Hàm tạo
Message()
public Message()Thuộc tính
Content
Nội dung của tin nhắn.
[JsonProperty("content")]
public string Content { get; set; }Giá trị thuộc tính
Role
Đặt hoặc lấy vai trò của tác giả tin nhắn này.
[JsonProperty("role")]
[JsonConverter(typeof(StringEnumConverter), new object[] { true })]
public Role Role { get; set; }Giá trị thuộc tính
Không gian tên: Documentize Tập tin thực thi: Documentize.dll