Thresher 1.2 Class Documentation

Sender.PublicMessage Method 

Send a message to all the users in a channel.

[Visual Basic]
Public Sub PublicMessage( _
   ByVal channel As String, _
   ByVal message As String _
)
[C#]
public void PublicMessage(
   string channel,
   string message
);

Parameters

channel
The target channel.
message
A message. If the message is too long it will be broken up into smaller piecese which will be sent sequentially.

Remarks

Possible Errors

Exceptions

Exception TypeCondition
ArgumentExceptionIf the channel name is not valid or if the message is null.

See Also

Sender Class | Sharkbite.Irc Namespace | OnPublic