tgstation-server 6.12.0
The /tg/station 13 server suite
Loading...
Searching...
No Matches
DiscordMessage.cs
Go to the documentation of this file.
1using Remora.Discord.API.Abstractions.Objects;
2using Remora.Rest.Core;
3
5{
9 sealed class DiscordMessage : Message
10 {
14 public Optional<IMessageReference> MessageReference { get; set; }
15
22 public DiscordMessage(ChatUser user, string content, Optional<IMessageReference> messageReference)
23 : base(
24 user,
25 content)
26 {
27 MessageReference = messageReference;
28 }
29 }
30}
Represents a tgs_chat_user datum.
Definition ChatUser.cs:12
A Message containing the source IMessageReference.
DiscordMessage(ChatUser user, string content, Optional< IMessageReference > messageReference)
Initializes a new instance of the DiscordMessage class.
Optional< IMessageReference > MessageReference
The IMessageReference of the source Message.
Represents a message received by a IProvider.
Definition Message.cs:9