mattermost-api-40400.0.0: Client API for Mattermost chat system

Safe HaskellNone
LanguageHaskell2010

Network.Mattermost.Types

Contents

Synopsis

Documentation

mkConnectionData :: Hostname -> Port -> ConnectionContext -> ConnectionData Source #

Creates a structure representing a TLS connection to the server.

mkConnectionDataInsecure :: Hostname -> Port -> ConnectionContext -> ConnectionData Source #

Plaintext HTTP instead of a TLS connection.

data Session Source #

Constructors

Session 

data Login Source #

Constructors

Login 

Fields

newtype Id Source #

Constructors

Id 

Fields

idString :: IsId x => x -> Text Source #

newtype ChannelId Source #

Constructors

CI 

Fields

Instances

Eq ChannelId Source # 
Ord ChannelId Source # 
Read ChannelId Source # 
Show ChannelId Source # 
Hashable ChannelId Source # 
FromJSON ChannelId Source # 
FromJSONKey ChannelId Source # 
ToJSON ChannelId Source # 
ToJSONKey ChannelId Source # 
IsId ChannelId Source # 
HasId ChannelData ChannelId Source # 
HasId Channel ChannelId Source # 

newtype PendingPostId Source #

Constructors

PPI 

Fields

Instances

Eq PendingPostId Source # 
Ord PendingPostId Source # 
Read PendingPostId Source # 
Show PendingPostId Source # 
Hashable PendingPostId Source # 
FromJSON PendingPostId Source # 
FromJSONKey PendingPostId Source # 
ToJSON PendingPostId Source # 
ToJSONKey PendingPostId Source # 
IsId PendingPostId Source # 
HasId PendingPost PendingPostId Source # 

newtype CommandId Source #

Constructors

CmdI 

Fields

Instances

Eq CommandId Source # 
Ord CommandId Source # 
Read CommandId Source # 
Show CommandId Source # 
Hashable CommandId Source # 
FromJSON CommandId Source # 
FromJSONKey CommandId Source # 
ToJSON CommandId Source # 
ToJSONKey CommandId Source # 
IsId CommandId Source # 
HasId Command CommandId Source # 

Preferences