glirc-2.23: Console IRC client

Copyright(c) Eric Mertens 2016
LicenseISC
Maintaineremertens@gmail.com
Safe HaskellNone
LanguageHaskell2010

Client.Message

Contents

Description

This module provides the type used to track messages just before they are added to a window.

Synopsis

Client message type

Message body type

data MessageBody Source #

Constructors

IrcBody !IrcMsg 
ErrorBody !Text 
NormalBody !Text 

_IrcBody :: Prism' MessageBody IrcMsg Source #

Client message operations

data IrcSummary Source #

Constructors

JoinSummary !Identifier 
QuitSummary !Identifier 
PartSummary !Identifier 
NickSummary !Identifier !Identifier 
ReplySummary !ReplyCode 
ChatSummary !Identifier 
CtcpSummary !Identifier 
NoSummary 

Client message operations

msgText :: MessageBody -> Text Source #

Compute a searchable text representation of the message