mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2026-02-14 15:53:30 -07:00
22 lines
530 B
C#
22 lines
530 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
|
|
namespace DiscordChatExporter.Models
|
|
{
|
|
public class MessageGroup
|
|
{
|
|
public User Author { get; }
|
|
|
|
public DateTime FirstTimeStamp { get; }
|
|
|
|
public IReadOnlyList<Message> Messages { get; }
|
|
|
|
public MessageGroup(User author, DateTime firstTimeStamp, IEnumerable<Message> messages)
|
|
{
|
|
Author = author;
|
|
FirstTimeStamp = firstTimeStamp;
|
|
Messages = messages.ToArray();
|
|
}
|
|
}
|
|
} |