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 _
)
[C#]
public void ChangeTopic(
   string channel,
   string newTopic
);

Parameters

channel
The target channel.
newTopic
The new topic.

Remarks

Possible Errors

Exceptions

Exception TypeCondition
ArgumentExceptionIf 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