mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2026-02-01 15:49:11 +00:00
23 lines
561 B
C#
23 lines
561 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
|
|
namespace DiscordChatExporter.Core.Models
|
|
{
|
|
// Used for grouping contiguous messages in HTML export
|
|
|
|
public class MessageGroup
|
|
{
|
|
public User Author { get; }
|
|
|
|
public DateTimeOffset Timestamp { get; }
|
|
|
|
public IReadOnlyList<Message> Messages { get; }
|
|
|
|
public MessageGroup(User author, DateTimeOffset timestamp, IReadOnlyList<Message> messages)
|
|
{
|
|
Author = author;
|
|
Timestamp = timestamp;
|
|
Messages = messages;
|
|
}
|
|
}
|
|
} |