slack-web-0.1.0: Bindings for the Slack web API

Safe HaskellNone
LanguageHaskell2010

Web.Slack.Channel

Description

 

Documentation

data Channel Source #

Instances

Eq Channel Source # 

Methods

(==) :: Channel -> Channel -> Bool #

(/=) :: Channel -> Channel -> Bool #

Show Channel Source # 
Generic Channel Source # 

Associated Types

type Rep Channel :: * -> * #

Methods

from :: Channel -> Rep Channel x #

to :: Rep Channel x -> Channel #

ToJSON Channel Source # 
FromJSON Channel Source # 
type Rep Channel Source # 
type Rep Channel = D1 (MetaData "Channel" "Web.Slack.Channel" "slack-web-0.1.0-5kY6kK5lFjCBCZS5Ecyn6C" False) (C1 (MetaCons "Channel" PrefixI True) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "channelId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)) ((:*:) (S1 (MetaSel (Just Symbol "channelName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)) (S1 (MetaSel (Just Symbol "channelCreated") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Integer)))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "channelCreator") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)) (S1 (MetaSel (Just Symbol "channelIsArchived") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Bool))) ((:*:) (S1 (MetaSel (Just Symbol "channelIsMember") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Bool)) (S1 (MetaSel (Just Symbol "channelIsGeneral") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Bool))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "channelLastRead") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)) ((:*:) (S1 (MetaSel (Just Symbol "channelLatest") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "channelUnreadCount") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Integer)))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "channelUnreadCountDisplay") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Integer)) (S1 (MetaSel (Just Symbol "channelMembers") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [Text]))) ((:*:) (S1 (MetaSel (Just Symbol "channelTopic") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Topic)) (S1 (MetaSel (Just Symbol "channelPurpose") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Purpose)))))))

data Topic Source #

Constructors

Topic 

Instances

Eq Topic Source # 

Methods

(==) :: Topic -> Topic -> Bool #

(/=) :: Topic -> Topic -> Bool #

Show Topic Source # 

Methods

showsPrec :: Int -> Topic -> ShowS #

show :: Topic -> String #

showList :: [Topic] -> ShowS #

Generic Topic Source # 

Associated Types

type Rep Topic :: * -> * #

Methods

from :: Topic -> Rep Topic x #

to :: Rep Topic x -> Topic #

ToJSON Topic Source # 
FromJSON Topic Source # 
type Rep Topic Source # 
type Rep Topic = D1 (MetaData "Topic" "Web.Slack.Channel" "slack-web-0.1.0-5kY6kK5lFjCBCZS5Ecyn6C" False) (C1 (MetaCons "Topic" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "topicValue") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)) ((:*:) (S1 (MetaSel (Just Symbol "topicCreator") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)) (S1 (MetaSel (Just Symbol "topicLastSet") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Integer)))))