Class IrcMessageFormatter
public static class IrcMessageFormatter
- Inheritance
-
IrcMessageFormatter
- Inherited Members
Methods
FormatMessage(MessageDto)
Format a MessageDto as one or more IRC PRIVMSG lines.
public static List<string> FormatMessage(MessageDto message)
Parameters
messageMessageDto
Returns
- List<string>
SplitMessage(string, int)
Split a message into chunks of approximately maxBytes (UTF-8), at word boundaries.
public static List<string> SplitMessage(string content, int maxBytes)
Parameters
Returns
- List<string>