Thresher 1.2 Class Documentation | |
Sender.ChangeTopic Method
Change the topic of the given channel.
[Visual Basic]Public Sub ChangeTopic( _
ByVal
channel As
String, _
ByVal
newTopic As
String _
)
Parameters
- channel
- The target channel.
- newTopic
- The new topic.
Remarks
Possible Errors
- ERR_NEEDMOREPARAMS
- ERR_NOTONCHANNEL
- ERR_CHANOPRIVSNEEDED
- ERR_NOCHANMODES
Exceptions
Exception Type | Condition |
---|
ArgumentException | If the channel name is not valid or the topic is null. |
Example
connection.Sender.ChangeTopic( "#thresher","Beta 27 Released" );
See Also
Sender Class | Sharkbite.Irc Namespace | OnTopicChanged