Safe Haskell | None |
---|---|
Language | Haskell2010 |
- newtype Wire a = Wire {
- unWire :: a
- class Identified i where
- identity :: i -> Text
- class Named n where
- name :: n -> Text
- data Intro = Intro {}
- data Chat = Chat {}
- ims :: Lens' Chat (Map Text IM)
- data Self = Self {}
- data Team = Team {}
- data User = User {}
- data Channel = Channel {}
- data Group = Group {}
- data IM = IM {}
- data Message = Message {
- messageTs :: Text
- messageValue :: Either Value UserMessage
- data Me
- data UserMessage = UserMessage {
- messageChannel :: Text
- messageUser :: Text
- messageText :: Text
- messageMe :: Me
- data ChannelUser = ChannelUser {}
- data Event
- data OutboundMessage = OutboundMessage {
- outboundMessageId :: Integer
- outboundMessageChannel :: Text
- outboundMessageText :: Text
Documentation
Newtype that marks the values that go "over the wire".
Functor Wire Source | |
Show a => Show (Wire a) Source | |
ToJSON (Wire OutboundMessage) Source | |
FromJSON (Wire Event) Source | |
FromJSON (Wire ChannelUser) Source | |
FromJSON (Wire Message) Source | |
FromJSON (Wire IM) Source | |
FromJSON (Wire Group) Source | |
FromJSON (Wire Channel) Source | |
FromJSON (Wire User) Source | |
FromJSON (Wire Team) Source | |
FromJSON (Wire Self) Source | |
FromJSON (Wire Intro) Source | |
Identified i => Identified (Wire i) Source |
class Identified i where Source
The initial information returned by the Slack API when the RTM is started.
Message | |
|
data UserMessage Source
UserMessage | |
|
Show UserMessage Source | |
Generic UserMessage Source | |
ToJSON UserMessage Source | |
type Rep UserMessage Source |
data ChannelUser Source
Show ChannelUser Source | |
Generic ChannelUser Source | |
ToJSON ChannelUser Source | |
FromJSON (Wire ChannelUser) Source | |
type Rep ChannelUser Source |
data OutboundMessage Source
OutboundMessage | |
|
Show OutboundMessage Source | |
Generic OutboundMessage Source | |
ToJSON OutboundMessage Source | |
ToJSON (Wire OutboundMessage) Source | |
type Rep OutboundMessage Source |