mirror of
https://github.com/alexmickelson/canvasManagement.git
synced 2026-03-26 07:38:33 -06:00
37 lines
1021 B
C#
37 lines
1021 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
|
|
|
|
using Model.Discussions;
|
|
using Model.Submissions;
|
|
|
|
namespace Model.Conversations {
|
|
|
|
public class ConversationMessageModel {
|
|
|
|
[JsonPropertyName("id")]
|
|
public ulong Id { get; set; }
|
|
|
|
[JsonPropertyName("created_at")]
|
|
public DateTime CreatedAt { get; set; }
|
|
|
|
[JsonPropertyName("body")]
|
|
public string Body { get; set; }
|
|
|
|
[JsonPropertyName("author_id")]
|
|
public ulong AuthorId { get; set; }
|
|
|
|
[JsonPropertyName("generated")]
|
|
public bool Generated { get; set; }
|
|
|
|
[JsonPropertyName("media_comment")]
|
|
public MediaCommentModel? MediaComment { get; set; }
|
|
|
|
[JsonPropertyName("forwarded_messages")]
|
|
public IEnumerable<ConversationMessageModel> ForwardedMessages { get; set; }
|
|
|
|
[JsonPropertyName("attachments")]
|
|
public IEnumerable<FileAttachmentModel> Attachments { get; set; }
|
|
}
|
|
}
|