Thresher 1.2 Class Documentation

Sender.RequestChannelList Method 

Request the list of users that a channel keeps for the given mode..

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

Parameters

channel
The taregt channel.
mode
Must be one of: Ban, Exception, Invitation, or ChannelCreator.

Remarks

Each channel maintains a list of those banned, those excepted from a ban, those on automatic invite, and the channel creator. Use this method to retreieve one of those lists.

Exceptions

Exception TypeCondition
ArgumentExceptionIf the channel is invalid or the ChannelMode is not one of the 4 allowed types.

Example

            //Request the channel's banned list
            connection.Sender.RequestChannelList("#thresher", ChannelMode.Ban );
            

See Also

Sender Class | Sharkbite.Irc Namespace | OnChannelList