mattermost-api-30802.1.0: Client API for MatterMost chat system

Safe HaskellNone
LanguageHaskell2010

Network.Mattermost.Types

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 # 
ToJSON ChannelId Source # 
ToJSONKey ChannelId Source # 
FromJSON ChannelId Source # 
FromJSONKey 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 # 
ToJSON PendingPostId Source # 
ToJSONKey PendingPostId Source # 
FromJSON PendingPostId Source # 
FromJSONKey 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 # 
ToJSON CommandId Source # 
ToJSONKey CommandId Source # 
FromJSON CommandId Source # 
FromJSONKey CommandId Source # 
IsId CommandId Source # 
HasId Command CommandId Source #