glirc-2.40.1: Console IRC client
Copyright(c) Eric Mertens 2016
LicenseISC
Maintaineremertens@gmail.com
Safe HaskellSafe-Inferred
LanguageHaskell2010

Client.State.Channel

Description

This module is responsible for tracking the state of an individual IRC channel while the client is connected to it. When the client joins a channel a new channel session is created and when the client leaves a channel is it destroyed.

Synopsis

Channel state

data ChannelState Source #

Dynamic information about the state of an IRC channel

Constructors

ChannelState 

Fields

Instances

Instances details
Show ChannelState Source # 
Instance details

Defined in Client.State.Channel

Mask list entries

data MaskListEntry Source #

Instances

Instances details
Show MaskListEntry Source # 
Instance details

Defined in Client.State.Channel

Topic information

data TopicProvenance Source #

Instances

Instances details
Show TopicProvenance Source # 
Instance details

Defined in Client.State.Channel

Channel manipulation

setTopic :: Text -> ChannelState -> ChannelState Source #

Set the channel topic

joinChannel :: Identifier -> ChannelState -> ChannelState Source #

Add a user to the user list

partChannel :: Identifier -> ChannelState -> ChannelState Source #

Remove a user from the user list

nickChange :: Identifier -> Identifier -> ChannelState -> ChannelState Source #

Rename a user in the user list