Class JoinMessage
A message received when a user joins an active channel or used to have the client connect to a new 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("JOIN")]
public class JoinMessage : IrcMessage, IServerMessage, IClientMessage
Constructors
| Improve this Doc View SourceJoinMessage(ParsedIrcMessage)
Creates a new instance from an incoming server message
Declaration
public JoinMessage(ParsedIrcMessage parsedMessage)
Parameters
Type | Name | Description |
---|---|---|
ParsedIrcMessage | parsedMessage | Incoming message |
JoinMessage(IEnumerable<String>)
Creates a new instance for an outbound message
Declaration
public JoinMessage(IEnumerable<string> channels)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<System.String> | channels | Channels to join |
JoinMessage(IEnumerable<(String, String)>)
Creates a new instance for an outbound message
Declaration
public JoinMessage(IEnumerable<(string, string)> channels)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<System.ValueTuple<System.String, System.String>> | channels | Channels to join, in name-password pairs |
JoinMessage(String, String)
Creates a new instance for an outbound message
Declaration
public JoinMessage(string channels, string keys = "")
Parameters
Type | Name | Description |
---|---|---|
System.String | channels | Channels to join, comma-separated |
System.String | keys | Passwords for channels, comma-separated |
JoinMessage(String[])
Creates a new instance for an outbound message
Declaration
public JoinMessage(params string[] channels)
Parameters
Type | Name | Description |
---|---|---|
System.String[] | channels | Channels to join |
Properties
| Improve this Doc View SourceChannel
Channel that user joined
Declaration
public string Channel { get; }
Property Value
Type | Description |
---|---|
System.String |
Nick
Nick of joining user
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> |