vassago/Models/Message.cs
Adam R Grey 3031779e24
All checks were successful
greyn/vassago/pipeline/head This commit looks good
gitea/vassago/pipeline/head This commit looks good
gitea.arg.rip/vassago/pipeline/head This commit looks good
fork: vassago
2023-06-01 00:03:23 -04:00

31 lines
877 B
C#

namespace vassago.Models;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Discord.WebSocket;
public class Message
{
public Guid Id { get; set; }
public ulong? ExternalId { get; set; }
public string Content { get; set; }
public bool MentionsMe { get; set; }
public DateTimeOffset Timestamp { get; set; }
public bool ActedOn { get; set; }
///however it came from the protocol.
public string ExternalRepresentation { get; set; }
public IEnumerable<Attachment> Attachments { get; set; }
public User Author { get; set; }
public Channel Channel { get; set; }
public virtual Task Reply(string message)
{
throw new NotImplementedException("derive from me");
}
public virtual Task React(string reaction)
{
throw new NotImplementedException("derive from me");
}
}