tgstation-server
6.12.0
The /tg/station 13 server suite
Loading...
Searching...
No Matches
src
Tgstation.Server.Host
Components
Chat
Providers
Message.cs
Go to the documentation of this file.
1
using
System;
2
3
namespace
Tgstation.Server.Host.Components.Chat.Providers
4
{
8
class
Message
9
{
13
public
string
Content
{
get
; }
14
18
public
ChatUser
User
{
get
; }
19
25
public
Message
(
ChatUser
user,
string
content)
26
{
27
User
= user ??
throw
new
ArgumentNullException(nameof(user));
28
Content
= content ??
throw
new
ArgumentNullException(nameof(content));
29
}
30
}
31
}
Tgstation.Server.Host.Components.Chat.ChatUser
Represents a tgs_chat_user datum.
Definition
ChatUser.cs:12
Tgstation.Server.Host.Components.Chat.Providers.Message
Represents a message received by a IProvider.
Definition
Message.cs:9
Tgstation.Server.Host.Components.Chat.Providers.Message.Content
string Content
The text of the message.
Definition
Message.cs:13
Tgstation.Server.Host.Components.Chat.Providers.Message.User
ChatUser User
The ChatUser who sent the Message.
Definition
Message.cs:18
Tgstation.Server.Host.Components.Chat.Providers.Message.Message
Message(ChatUser user, string content)
Initializes a new instance of the Message class.
Definition
Message.cs:25
Tgstation.Server.Host.Components.Chat.Providers
Definition
DiscordForwardingResponder.cs:10
Generated by
1.9.8