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 _
)
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
- ERR_CANNOTSENDTOCHAN
- ERR_NOTEXTTOSEND
Exceptions
Exception Type | Condition |
---|
ArgumentException | If the channel name is not valid or if the message is null. |
See Also
Sender Class | Sharkbite.Irc Namespace | OnPublic