mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2026-01-28 22:01:55 +00:00
25 lines
648 B
C#
25 lines
648 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using DiscordChatExporter.Core.Models;
|
|
|
|
namespace DiscordChatExporter.Core.Rendering
|
|
{
|
|
public partial class HtmlChatLogRenderer
|
|
{
|
|
private 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;
|
|
}
|
|
}
|
|
}
|
|
} |