Class NoticeMessage
A notice messgage sent to a user or channel
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: GravyIrc.Messages
Assembly: GravyIrc.dll
Syntax
[ServerMessage("NOTICE")]
public class NoticeMessage : IrcMessage, IServerMessage, IChannelMessage, IClientMessage
Constructors
| Improve this Doc View SourceNoticeMessage(ParsedIrcMessage)
Creates a new instance from an incoming server message
Declaration
public NoticeMessage(ParsedIrcMessage parsedMessage)
Parameters
Type | Name | Description |
---|---|---|
ParsedIrcMessage | parsedMessage | Incoming message |
NoticeMessage(String, String)
Creates and outbound message instance
Declaration
public NoticeMessage(string target, string text)
Parameters
Type | Name | Description |
---|---|---|
System.String | target | Nick or channel to notify |
System.String | text | Content of notice |
Properties
| Improve this Doc View SourceFrom
Nick of user who sent the notice
Declaration
public string From { get; }
Property Value
Type | Description |
---|---|
System.String |
IsChannelMessage
Declaration
public bool IsChannelMessage { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Message
Content of the message
Declaration
public string Message { get; }
Property Value
Type | Description |
---|---|
System.String |
Target
Nick or channel name notice was sent to
Declaration
public string Target { get; }
Property Value
Type | Description |
---|---|
System.String |
Tokens
Declaration
public IEnumerable<string> Tokens { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<System.String> |