Class PartMessage
A message indicating when a user leaves a channel or used to leave a 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("PART")]
public class PartMessage : IrcMessage, IServerMessage, IClientMessage
Constructors
| Improve this Doc View SourcePartMessage(ParsedIrcMessage)
Creates a new instance from an incoming server message
Declaration
public PartMessage(ParsedIrcMessage parsedMessage)
Parameters
Type | Name | Description |
---|---|---|
ParsedIrcMessage | parsedMessage | Incoming message |
PartMessage(IEnumerable<String>)
Create a new request to leave a channel
Declaration
public PartMessage(IEnumerable<string> channels)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<System.String> | channels | List of channels to leave |
PartMessage(String)
Create a new request to leave a channel
Declaration
public PartMessage(string channels)
Parameters
Type | Name | Description |
---|---|---|
System.String | channels | List of channels to leave, comma-separated |
PartMessage(String[])
Creates a new instance for an outbound message
Declaration
public PartMessage(params string[] channels)
Parameters
Type | Name | Description |
---|---|---|
System.String[] | channels | Channels to leave |
Properties
| Improve this Doc View SourceChannel
Channel that the user left
Declaration
public string Channel { get; }
Property Value
Type | Description |
---|---|
System.String |
Nick
Nick of user that left
Declaration
public string Nick { get; }
Property Value
Type | Description |
---|---|
System.String |
Tokens
Declaration
public IEnumerable<string> Tokens { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<System.String> |