Safe Haskell | None |
---|---|
Language | Haskell2010 |
Network.Mattermost.Types
Synopsis
- data ChannelUnread = ChannelUnread {
- channelUnreadChannelId :: Text
- channelUnreadTeamId :: Text
- channelUnreadMsgCount :: Int
- channelUnreadMentionCount :: Int
- data ChannelStats = ChannelStats {
- channelStatsChannelId :: Text
- channelStatsMemberCount :: Int
- data InitialTeamData = InitialTeamData {
- initialTeamDataDisplayName :: Text
- initialTeamDataType :: Text
- initialTeamDataName :: Text
- data ChannelPatch = ChannelPatch {
- channelPatchHeader :: Maybe Text
- channelPatchDisplayName :: Maybe Text
- channelPatchName :: Maybe Text
- channelPatchPurpose :: Maybe Text
- data PostUpdate = PostUpdate {
- postUpdateIsPinned :: Maybe Bool
- postUpdateMessage :: Text
- postUpdateHasReactions :: Maybe Bool
- postUpdateFileIds :: Maybe (Seq FileId)
- postUpdateProps :: Maybe Text
- data RawPost = RawPost {
- rawPostChannelId :: ChannelId
- rawPostMessage :: Text
- rawPostFileIds :: Seq FileId
- rawPostRootId :: Maybe PostId
- data UserSearch = UserSearch {
- userSearchTerm :: Text
- userSearchAllowInactive :: Bool
- userSearchWithoutTeam :: Bool
- userSearchInChannelId :: Maybe ChannelId
- userSearchNotInTeamId :: Maybe TeamId
- userSearchNotInChannelId :: Maybe ChannelId
- userSearchTeamId :: Maybe TeamId
- data Status = Status {
- statusUserId :: UserId
- statusStatus :: Text
- statusManual :: Bool
- statusLastActivityAt :: ServerTime
- data ChannelMember = ChannelMember {}
- data MinChannelMember = MinChannelMember {}
- newtype ReportId = RI {}
- newtype EmojiId = EI {}
- newtype JobId = JI {}
- newtype AppId = AI {}
- newtype TokenId = TkI {}
- newtype InviteId = II {}
- newtype HookId = HI {}
- data DirectChannelShowStatus = DirectChannelShowStatus {}
- data FlaggedPost = FlaggedPost {
- flaggedPostUserId :: UserId
- flaggedPostId :: PostId
- flaggedPostStatus :: Bool
- data GroupChannelPreference = GroupChannelPreference {
- groupChannelId :: ChannelId
- groupChannelShow :: Bool
- data Preference = Preference {}
- data PreferenceValue = PreferenceValue {
- fromRawPreferenceValue :: Text
- data PreferenceName = PreferenceName {
- fromRawPreferenceName :: Text
- data PreferenceCategory
- = PreferenceCategoryDirectChannelShow
- | PreferenceCategoryGroupChannelShow
- | PreferenceCategoryTutorialStep
- | PreferenceCategoryAdvancedSettings
- | PreferenceCategoryFlaggedPost
- | PreferenceCategoryDisplaySettings
- | PreferenceCategoryTheme
- | PreferenceCategoryAuthorizedOAuthApp
- | PreferenceCategoryNotifications
- | PreferenceCategoryLast
- | PreferenceCategoryOther Text
- data Reaction = Reaction {}
- data TeamsCreate = TeamsCreate {
- teamsCreateDisplayName :: Text
- teamsCreateName :: Text
- teamsCreateType :: Type
- data UsersCreate = UsersCreate {
- usersCreateEmail :: Text
- usersCreatePassword :: Text
- usersCreateUsername :: Text
- usersCreateAllowMarketing :: Bool
- data CommandResponse = CommandResponse {
- commandResponseType :: Maybe CommandResponseType
- commandResponseText :: Text
- commandResponseUsername :: Text
- commandResponseIconURL :: Text
- commandResponseGotoLocation :: Text
- commandResponseAttachments :: Seq PostPropAttachment
- data CommandResponseType
- newtype CommandId = CmdI {}
- data Command = Command {
- commandId :: CommandId
- commandToken :: Token
- commandCreateAt :: ServerTime
- commandUpdateAt :: ServerTime
- commandDeleteAt :: ServerTime
- commandCreatorId :: UserId
- commandTeamId :: TeamId
- commandTrigger :: Text
- commandMethod :: Text
- commandUsername :: Text
- commandIconURL :: Text
- commandAutoComplete :: Bool
- commandAutoCompleteDesc :: Text
- commandAutoCompleteHint :: Text
- commandDisplayName :: Text
- commandDescription :: Text
- commandURL :: Text
- data MinCommand = MinCommand {
- minComChannelId :: ChannelId
- minComCommand :: Text
- minComParentId :: Maybe PostId
- minComRootId :: Maybe PostId
- minComTeamId :: TeamId
- data Posts = Posts {
- postsPosts :: HashMap PostId Post
- postsOrder :: Seq PostId
- data FileInfo = FileInfo {
- fileInfoId :: FileId
- fileInfoUserId :: UserId
- fileInfoPostId :: Maybe PostId
- fileInfoCreateAt :: ServerTime
- fileInfoUpdateAt :: ServerTime
- fileInfoDeleteAt :: ServerTime
- fileInfoName :: Text
- fileInfoExtension :: Text
- fileInfoSize :: Int
- fileInfoMimeType :: Text
- fileInfoWidth :: Maybe Int
- fileInfoHeight :: Maybe Int
- fileInfoHasPreview :: Bool
- newtype PendingPostId = PPI {}
- data PendingPost = PendingPost {
- pendingPostChannelId :: ChannelId
- pendingPostCreateAt :: Maybe ServerTime
- pendingPostFilenames :: Seq FilePath
- pendingPostMessage :: Text
- pendingPostId :: PendingPostId
- pendingPostUserId :: UserId
- pendingPostRootId :: Maybe PostId
- data Post = Post {
- postPendingPostId :: Maybe PostId
- postOriginalId :: Maybe PostId
- postProps :: PostProps
- postRootId :: Maybe PostId
- postFileIds :: Seq FileId
- postId :: PostId
- postType :: PostType
- postMessage :: UserText
- postDeleteAt :: Maybe ServerTime
- postHashtags :: Text
- postUpdateAt :: ServerTime
- postEditAt :: ServerTime
- postUserId :: Maybe UserId
- postCreateAt :: ServerTime
- postChannelId :: ChannelId
- postHasReactions :: Bool
- postPinned :: Maybe Bool
- data PostType
- newtype FileId = FI {}
- newtype PostId = PI {}
- data PostProps = PostProps {
- postPropsOverrideIconUrl :: Maybe Text
- postPropsOverrideUsername :: Maybe Text
- postPropsFromWebhook :: Maybe Bool
- postPropsAttachments :: Maybe (Seq PostPropAttachment)
- postPropsNewHeader :: Maybe Text
- postPropsOldHeader :: Maybe Text
- data PostPropAttachment = PostPropAttachment {
- ppaId :: Int
- ppaFallback :: Text
- ppaColor :: Text
- ppaPretext :: Text
- ppaAuthorName :: Text
- ppaAuthorLink :: Text
- ppaAuthorIcon :: Text
- ppaTitle :: Text
- ppaTitleLink :: Text
- ppaText :: Text
- ppaFields :: Seq PostPropAttachmentField
- ppaImageURL :: Text
- ppaThumbURL :: Text
- ppaFooter :: Text
- ppaFooterIcon :: Text
- data PostPropAttachmentField = PostPropAttachmentField {}
- data User = User {
- userId :: UserId
- userCreateAt :: Maybe ServerTime
- userUpdateAt :: Maybe ServerTime
- userDeleteAt :: ServerTime
- userUsername :: Text
- userAuthData :: Maybe Text
- userAuthService :: Text
- userEmail :: UserText
- userEmailVerified :: Bool
- userNickname :: UserText
- userFirstName :: UserText
- userLastName :: UserText
- userRoles :: Text
- userNotifyProps :: UserNotifyProps
- userLastPasswordUpdate :: Maybe ServerTime
- userLastPictureUpdate :: Maybe ServerTime
- userLocale :: Text
- data InitialLoad = InitialLoad {
- initialLoadUser :: User
- initialLoadTeams :: Seq Team
- data UserParam
- newtype UserId = UI {}
- data MinChannel = MinChannel {
- minChannelName :: Text
- minChannelDisplayName :: Text
- minChannelPurpose :: Maybe Text
- minChannelHeader :: Maybe Text
- minChannelType :: Type
- minChannelTeamId :: TeamId
- type Channels = Seq Channel
- data ChannelWithData = ChannelWithData Channel ChannelData
- data ChannelData = ChannelData {}
- newtype SingleChannel = SC Channel
- data Channel = Channel {
- channelId :: ChannelId
- channelCreateAt :: ServerTime
- channelUpdateAt :: ServerTime
- channelDeleteAt :: ServerTime
- channelTeamId :: Maybe TeamId
- channelType :: Type
- channelDisplayName :: UserText
- channelName :: UserText
- channelHeader :: UserText
- channelPurpose :: UserText
- channelLastPostAt :: ServerTime
- channelTotalMsgCount :: Int
- channelCreatorId :: Maybe UserId
- newtype ChannelId = CI {}
- newtype BoolString = BoolString {
- fromBoolString :: Bool
- data ChannelNotifyProps = ChannelNotifyProps {}
- data UserNotifyProps = UserNotifyProps {}
- data NotifyOption
- data WithDefault a
- data TeamMember = TeamMember {
- teamMemberUserId :: UserId
- teamMemberTeamId :: TeamId
- teamMemberRoles :: Text
- data Team = Team {
- teamId :: TeamId
- teamCreateAt :: ServerTime
- teamUpdateAt :: ServerTime
- teamDeleteAt :: ServerTime
- teamDisplayName :: UserText
- teamName :: UserText
- teamEmail :: UserText
- teamType :: Type
- teamCompanyName :: UserText
- teamAllowedDomains :: UserText
- teamInviteId :: Maybe Id
- teamAllowOpenInvite :: Bool
- newtype TeamId = TI {}
- newtype Id = Id {
- unId :: Text
- class HasId x y | x -> y where
- getId :: x -> y
- class IsId x where
- data Type
- data SearchPosts = SearchPosts {
- searchPostsTerms :: Text
- searchPostsIsOrSearch :: Bool
- data SetChannelHeader = SetChannelHeader {}
- data Login = Login {}
- data Session = Session {}
- data ConnectionPoolConfig = ConnectionPoolConfig {
- cpStripesCount :: Int
- cpIdleConnTimeout :: NominalDiffTime
- cpMaxConnCount :: Int
- newtype UserText = UserText Text
- unsafeUserText :: UserText -> Text
- runLogger :: ConnectionData -> String -> LogEventType -> IO ()
- runLoggerS :: Session -> String -> LogEventType -> IO ()
- maybeFail :: Parser a -> Parser (Maybe a)
- mkConnectionData :: Hostname -> Port -> Text -> Pool MMConn -> ConnectionType -> ConnectionContext -> ConnectionData
- createPool :: Hostname -> Port -> ConnectionContext -> ConnectionPoolConfig -> ConnectionType -> IO (Pool MMConn)
- initConnectionData :: Hostname -> Port -> Text -> ConnectionType -> ConnectionPoolConfig -> IO ConnectionData
- destroyConnectionData :: ConnectionData -> IO ()
- withLogger :: ConnectionData -> Logger -> ConnectionData
- noLogger :: ConnectionData -> ConnectionData
- defaultConnectionPoolConfig :: ConnectionPoolConfig
- idString :: IsId x => x -> Text
- emptyUserNotifyProps :: UserNotifyProps
- emptyChannelNotifyProps :: ChannelNotifyProps
- userParamString :: UserParam -> Text
- emptyPostProps :: PostProps
- urlForFile :: FileId -> Text
- mkPendingPost :: Text -> UserId -> ChannelId -> IO PendingPost
- timeFromServer :: Integer -> ServerTime
- timeToServer :: ServerTime -> Int
- preferenceToGroupChannelPreference :: Preference -> Maybe GroupChannelPreference
- preferenceToDirectChannelShowStatus :: Preference -> Maybe DirectChannelShowStatus
- preferenceToFlaggedPost :: Preference -> Maybe FlaggedPost
- rawPost :: Text -> ChannelId -> RawPost
- postUpdateBody :: Text -> PostUpdate
- defaultChannelPatch :: ChannelPatch
- module Network.Mattermost.Types.Base
- data ConnectionType
- = ConnectHTTPS Bool
- | ConnectHTTP
Documentation
data ChannelUnread Source #
Constructors
ChannelUnread | |
Fields
|
Instances
Eq ChannelUnread Source # | |
Defined in Network.Mattermost.Types | |
Read ChannelUnread Source # | |
Defined in Network.Mattermost.Types Methods readsPrec :: Int -> ReadS ChannelUnread readList :: ReadS [ChannelUnread] readPrec :: ReadPrec ChannelUnread readListPrec :: ReadPrec [ChannelUnread] | |
Show ChannelUnread Source # | |
Defined in Network.Mattermost.Types Methods showsPrec :: Int -> ChannelUnread -> ShowS show :: ChannelUnread -> String showList :: [ChannelUnread] -> ShowS | |
FromJSON ChannelUnread Source # | |
Defined in Network.Mattermost.Types | |
ToJSON ChannelUnread Source # | |
Defined in Network.Mattermost.Types Methods toJSON :: ChannelUnread -> Value toEncoding :: ChannelUnread -> Encoding toJSONList :: [ChannelUnread] -> Value toEncodingList :: [ChannelUnread] -> Encoding |
data ChannelStats Source #
Constructors
ChannelStats | |
Fields
|
Instances
Eq ChannelStats Source # | |
Defined in Network.Mattermost.Types | |
Read ChannelStats Source # | |
Defined in Network.Mattermost.Types Methods readsPrec :: Int -> ReadS ChannelStats readList :: ReadS [ChannelStats] readPrec :: ReadPrec ChannelStats readListPrec :: ReadPrec [ChannelStats] | |
Show ChannelStats Source # | |
Defined in Network.Mattermost.Types Methods showsPrec :: Int -> ChannelStats -> ShowS show :: ChannelStats -> String showList :: [ChannelStats] -> ShowS | |
FromJSON ChannelStats Source # | |
Defined in Network.Mattermost.Types | |
ToJSON ChannelStats Source # | |
Defined in Network.Mattermost.Types Methods toJSON :: ChannelStats -> Value toEncoding :: ChannelStats -> Encoding toJSONList :: [ChannelStats] -> Value toEncodingList :: [ChannelStats] -> Encoding |
data InitialTeamData Source #
Constructors
InitialTeamData | |
Fields
|
Instances
Eq InitialTeamData Source # | |
Defined in Network.Mattermost.Types Methods (==) :: InitialTeamData -> InitialTeamData -> Bool (/=) :: InitialTeamData -> InitialTeamData -> Bool | |
Read InitialTeamData Source # | |
Defined in Network.Mattermost.Types Methods readsPrec :: Int -> ReadS InitialTeamData readList :: ReadS [InitialTeamData] readPrec :: ReadPrec InitialTeamData readListPrec :: ReadPrec [InitialTeamData] | |
Show InitialTeamData Source # | |
Defined in Network.Mattermost.Types Methods showsPrec :: Int -> InitialTeamData -> ShowS show :: InitialTeamData -> String showList :: [InitialTeamData] -> ShowS | |
FromJSON InitialTeamData Source # | |
Defined in Network.Mattermost.Types Methods parseJSON :: Value -> Parser InitialTeamData parseJSONList :: Value -> Parser [InitialTeamData] | |
ToJSON InitialTeamData Source # | |
Defined in Network.Mattermost.Types Methods toJSON :: InitialTeamData -> Value toEncoding :: InitialTeamData -> Encoding toJSONList :: [InitialTeamData] -> Value toEncodingList :: [InitialTeamData] -> Encoding |
data ChannelPatch Source #
Constructors
ChannelPatch | |
Fields
|
Instances
Eq ChannelPatch Source # | |
Defined in Network.Mattermost.Types | |
Read ChannelPatch Source # | |
Defined in Network.Mattermost.Types Methods readsPrec :: Int -> ReadS ChannelPatch readList :: ReadS [ChannelPatch] readPrec :: ReadPrec ChannelPatch readListPrec :: ReadPrec [ChannelPatch] | |
Show ChannelPatch Source # | |
Defined in Network.Mattermost.Types Methods showsPrec :: Int -> ChannelPatch -> ShowS show :: ChannelPatch -> String showList :: [ChannelPatch] -> ShowS | |
FromJSON ChannelPatch Source # | |
Defined in Network.Mattermost.Types | |
ToJSON ChannelPatch Source # | |
Defined in Network.Mattermost.Types Methods toJSON :: ChannelPatch -> Value toEncoding :: ChannelPatch -> Encoding toJSONList :: [ChannelPatch] -> Value toEncodingList :: [ChannelPatch] -> Encoding |
data PostUpdate Source #
Constructors
PostUpdate | |
Fields
|
Instances
Eq PostUpdate Source # | |
Defined in Network.Mattermost.Types | |
Read PostUpdate Source # | |
Defined in Network.Mattermost.Types Methods readsPrec :: Int -> ReadS PostUpdate readList :: ReadS [PostUpdate] readPrec :: ReadPrec PostUpdate readListPrec :: ReadPrec [PostUpdate] | |
Show PostUpdate Source # | |
Defined in Network.Mattermost.Types Methods showsPrec :: Int -> PostUpdate -> ShowS show :: PostUpdate -> String showList :: [PostUpdate] -> ShowS | |
FromJSON PostUpdate Source # | |
Defined in Network.Mattermost.Types | |
ToJSON PostUpdate Source # | |
Defined in Network.Mattermost.Types Methods toJSON :: PostUpdate -> Value toEncoding :: PostUpdate -> Encoding toJSONList :: [PostUpdate] -> Value toEncodingList :: [PostUpdate] -> Encoding |
Constructors
RawPost | |
Fields
|
Instances
Eq RawPost Source # | |
Read RawPost Source # | |
Defined in Network.Mattermost.Types | |
Show RawPost Source # | |
FromJSON RawPost Source # | |
Defined in Network.Mattermost.Types | |
ToJSON RawPost Source # | |
Defined in Network.Mattermost.Types Methods toEncoding :: RawPost -> Encoding toJSONList :: [RawPost] -> Value toEncodingList :: [RawPost] -> Encoding |
data UserSearch Source #
Constructors
UserSearch | |
Fields
|
Instances
Eq UserSearch Source # | |
Defined in Network.Mattermost.Types | |
Read UserSearch Source # | |
Defined in Network.Mattermost.Types Methods readsPrec :: Int -> ReadS UserSearch readList :: ReadS [UserSearch] readPrec :: ReadPrec UserSearch readListPrec :: ReadPrec [UserSearch] | |
Show UserSearch Source # | |
Defined in Network.Mattermost.Types Methods showsPrec :: Int -> UserSearch -> ShowS show :: UserSearch -> String showList :: [UserSearch] -> ShowS | |
FromJSON UserSearch Source # | |
Defined in Network.Mattermost.Types | |
ToJSON UserSearch Source # | |
Defined in Network.Mattermost.Types Methods toJSON :: UserSearch -> Value toEncoding :: UserSearch -> Encoding toJSONList :: [UserSearch] -> Value toEncodingList :: [UserSearch] -> Encoding |
Constructors
Status | |
Fields
|
Instances
FromJSON Status Source # | |
Defined in Network.Mattermost.Types | |
ToJSON Status Source # | |
Defined in Network.Mattermost.Types Methods toEncoding :: Status -> Encoding toJSONList :: [Status] -> Value toEncodingList :: [Status] -> Encoding |
data ChannelMember Source #
Constructors
ChannelMember | |
Fields |
Instances
Eq ChannelMember Source # | |
Defined in Network.Mattermost.Types | |
Read ChannelMember Source # | |
Defined in Network.Mattermost.Types Methods readsPrec :: Int -> ReadS ChannelMember readList :: ReadS [ChannelMember] readPrec :: ReadPrec ChannelMember readListPrec :: ReadPrec [ChannelMember] | |
Show ChannelMember Source # | |
Defined in Network.Mattermost.Types Methods showsPrec :: Int -> ChannelMember -> ShowS show :: ChannelMember -> String showList :: [ChannelMember] -> ShowS | |
FromJSON ChannelMember Source # | |
Defined in Network.Mattermost.Types | |
ToJSON ChannelMember Source # | |
Defined in Network.Mattermost.Types Methods toJSON :: ChannelMember -> Value toEncoding :: ChannelMember -> Encoding toJSONList :: [ChannelMember] -> Value toEncodingList :: [ChannelMember] -> Encoding |
data MinChannelMember Source #
Constructors
MinChannelMember | |
Instances
Instances
Eq ReportId Source # | |
Ord ReportId Source # | |
Defined in Network.Mattermost.Types | |
Read ReportId Source # | |
Defined in Network.Mattermost.Types | |
Show ReportId Source # | |
FromJSON ReportId Source # | |
Defined in Network.Mattermost.Types | |
FromJSONKey ReportId Source # | |
Defined in Network.Mattermost.Types | |
ToJSON ReportId Source # | |
Defined in Network.Mattermost.Types Methods toEncoding :: ReportId -> Encoding toJSONList :: [ReportId] -> Value toEncodingList :: [ReportId] -> Encoding | |
ToJSONKey ReportId Source # | |
Defined in Network.Mattermost.Types | |
PrintfArg ReportId Source # | |
Defined in Network.Mattermost.Types | |
Hashable ReportId Source # | |
Defined in Network.Mattermost.Types | |
IsId ReportId Source # | |
Instances
Eq EmojiId Source # | |
Ord EmojiId Source # | |
Read EmojiId Source # | |
Defined in Network.Mattermost.Types | |
Show EmojiId Source # | |
FromJSON EmojiId Source # | |
Defined in Network.Mattermost.Types | |
FromJSONKey EmojiId Source # | |
Defined in Network.Mattermost.Types | |
ToJSON EmojiId Source # | |
Defined in Network.Mattermost.Types Methods toEncoding :: EmojiId -> Encoding toJSONList :: [EmojiId] -> Value toEncodingList :: [EmojiId] -> Encoding | |
ToJSONKey EmojiId Source # | |
Defined in Network.Mattermost.Types | |
PrintfArg EmojiId Source # | |
Defined in Network.Mattermost.Types | |
Hashable EmojiId Source # | |
Defined in Network.Mattermost.Types | |
IsId EmojiId Source # | |
Instances
Eq JobId Source # | |
Ord JobId Source # | |
Read JobId Source # | |
Defined in Network.Mattermost.Types | |
Show JobId Source # | |
FromJSON JobId Source # | |
Defined in Network.Mattermost.Types | |
FromJSONKey JobId Source # | |
Defined in Network.Mattermost.Types | |
ToJSON JobId Source # | |
Defined in Network.Mattermost.Types Methods toEncoding :: JobId -> Encoding toJSONList :: [JobId] -> Value toEncodingList :: [JobId] -> Encoding | |
ToJSONKey JobId Source # | |
Defined in Network.Mattermost.Types | |
PrintfArg JobId Source # | |
Defined in Network.Mattermost.Types | |
Hashable JobId Source # | |
Defined in Network.Mattermost.Types | |
IsId JobId Source # | |
Instances
Eq AppId Source # | |
Ord AppId Source # | |
Read AppId Source # | |
Defined in Network.Mattermost.Types | |
Show AppId Source # | |
FromJSON AppId Source # | |
Defined in Network.Mattermost.Types | |
FromJSONKey AppId Source # | |
Defined in Network.Mattermost.Types | |
ToJSON AppId Source # | |
Defined in Network.Mattermost.Types Methods toEncoding :: AppId -> Encoding toJSONList :: [AppId] -> Value toEncodingList :: [AppId] -> Encoding | |
ToJSONKey AppId Source # | |
Defined in Network.Mattermost.Types | |
PrintfArg AppId Source # | |
Defined in Network.Mattermost.Types | |
Hashable AppId Source # | |
Defined in Network.Mattermost.Types | |
IsId AppId Source # | |
Instances
Eq TokenId Source # | |
Ord TokenId Source # | |
Read TokenId Source # | |
Defined in Network.Mattermost.Types | |
Show TokenId Source # | |
FromJSON TokenId Source # | |
Defined in Network.Mattermost.Types | |
FromJSONKey TokenId Source # | |
Defined in Network.Mattermost.Types | |
ToJSON TokenId Source # | |
Defined in Network.Mattermost.Types Methods toEncoding :: TokenId -> Encoding toJSONList :: [TokenId] -> Value toEncodingList :: [TokenId] -> Encoding | |
ToJSONKey TokenId Source # | |
Defined in Network.Mattermost.Types | |
PrintfArg TokenId Source # | |
Defined in Network.Mattermost.Types | |
Hashable TokenId Source # | |
Defined in Network.Mattermost.Types | |
IsId TokenId Source # | |
Instances
Eq InviteId Source # | |
Ord InviteId Source # | |
Defined in Network.Mattermost.Types | |
Read InviteId Source # | |
Defined in Network.Mattermost.Types | |
Show InviteId Source # | |
FromJSON InviteId Source # | |
Defined in Network.Mattermost.Types | |
FromJSONKey InviteId Source # | |
Defined in Network.Mattermost.Types | |
ToJSON InviteId Source # | |
Defined in Network.Mattermost.Types Methods toEncoding :: InviteId -> Encoding toJSONList :: [InviteId] -> Value toEncodingList :: [InviteId] -> Encoding | |
ToJSONKey InviteId Source # | |
Defined in Network.Mattermost.Types | |
PrintfArg InviteId Source # | |
Defined in Network.Mattermost.Types | |
Hashable InviteId Source # | |
Defined in Network.Mattermost.Types | |
IsId InviteId Source # | |
Instances
Eq HookId Source # | |
Ord HookId Source # | |
Read HookId Source # | |
Defined in Network.Mattermost.Types | |
Show HookId Source # | |
FromJSON HookId Source # | |
Defined in Network.Mattermost.Types | |
FromJSONKey HookId Source # | |
Defined in Network.Mattermost.Types | |
ToJSON HookId Source # | |
Defined in Network.Mattermost.Types Methods toEncoding :: HookId -> Encoding toJSONList :: [HookId] -> Value toEncodingList :: [HookId] -> Encoding | |
ToJSONKey HookId Source # | |
Defined in Network.Mattermost.Types | |
PrintfArg HookId Source # | |
Defined in Network.Mattermost.Types | |
Hashable HookId Source # | |
Defined in Network.Mattermost.Types | |
IsId HookId Source # | |
data DirectChannelShowStatus Source #
Constructors
DirectChannelShowStatus | |
Fields
|
data FlaggedPost Source #
Constructors
FlaggedPost | |
Fields
|
Instances
Eq FlaggedPost Source # | |
Defined in Network.Mattermost.Types | |
Read FlaggedPost Source # | |
Defined in Network.Mattermost.Types Methods readsPrec :: Int -> ReadS FlaggedPost readList :: ReadS [FlaggedPost] readPrec :: ReadPrec FlaggedPost readListPrec :: ReadPrec [FlaggedPost] | |
Show FlaggedPost Source # | |
Defined in Network.Mattermost.Types Methods showsPrec :: Int -> FlaggedPost -> ShowS show :: FlaggedPost -> String showList :: [FlaggedPost] -> ShowS | |
ToJSON FlaggedPost Source # | |
Defined in Network.Mattermost.Types Methods toJSON :: FlaggedPost -> Value toEncoding :: FlaggedPost -> Encoding toJSONList :: [FlaggedPost] -> Value toEncodingList :: [FlaggedPost] -> Encoding |
data GroupChannelPreference Source #
Constructors
GroupChannelPreference | |
Fields
|
Instances
Eq GroupChannelPreference Source # | |
Defined in Network.Mattermost.Types Methods (==) :: GroupChannelPreference -> GroupChannelPreference -> Bool (/=) :: GroupChannelPreference -> GroupChannelPreference -> Bool | |
Read GroupChannelPreference Source # | |
Defined in Network.Mattermost.Types Methods readsPrec :: Int -> ReadS GroupChannelPreference readList :: ReadS [GroupChannelPreference] readPrec :: ReadPrec GroupChannelPreference readListPrec :: ReadPrec [GroupChannelPreference] | |
Show GroupChannelPreference Source # | |
Defined in Network.Mattermost.Types Methods showsPrec :: Int -> GroupChannelPreference -> ShowS show :: GroupChannelPreference -> String showList :: [GroupChannelPreference] -> ShowS |
data Preference Source #
Constructors
Preference | |
Instances
Eq Preference Source # | |
Defined in Network.Mattermost.Types | |
Read Preference Source # | |
Defined in Network.Mattermost.Types Methods readsPrec :: Int -> ReadS Preference readList :: ReadS [Preference] readPrec :: ReadPrec Preference readListPrec :: ReadPrec [Preference] | |
Show Preference Source # | |
Defined in Network.Mattermost.Types Methods showsPrec :: Int -> Preference -> ShowS show :: Preference -> String showList :: [Preference] -> ShowS | |
FromJSON Preference Source # | |
Defined in Network.Mattermost.Types | |
ToJSON Preference Source # | |
Defined in Network.Mattermost.Types Methods toJSON :: Preference -> Value toEncoding :: Preference -> Encoding toJSONList :: [Preference] -> Value toEncodingList :: [Preference] -> Encoding |
data PreferenceValue Source #
Constructors
PreferenceValue | |
Fields
|
Instances
Eq PreferenceValue Source # | |
Defined in Network.Mattermost.Types Methods (==) :: PreferenceValue -> PreferenceValue -> Bool (/=) :: PreferenceValue -> PreferenceValue -> Bool | |
Read PreferenceValue Source # | |
Defined in Network.Mattermost.Types Methods readsPrec :: Int -> ReadS PreferenceValue readList :: ReadS [PreferenceValue] readPrec :: ReadPrec PreferenceValue readListPrec :: ReadPrec [PreferenceValue] | |
Show PreferenceValue Source # | |
Defined in Network.Mattermost.Types Methods showsPrec :: Int -> PreferenceValue -> ShowS show :: PreferenceValue -> String showList :: [PreferenceValue] -> ShowS | |
FromJSON PreferenceValue Source # | |
Defined in Network.Mattermost.Types Methods parseJSON :: Value -> Parser PreferenceValue parseJSONList :: Value -> Parser [PreferenceValue] | |
ToJSON PreferenceValue Source # | |
Defined in Network.Mattermost.Types Methods toJSON :: PreferenceValue -> Value toEncoding :: PreferenceValue -> Encoding toJSONList :: [PreferenceValue] -> Value toEncodingList :: [PreferenceValue] -> Encoding |
data PreferenceName Source #
Constructors
PreferenceName | |
Fields
|
Instances
Eq PreferenceName Source # | |
Defined in Network.Mattermost.Types Methods (==) :: PreferenceName -> PreferenceName -> Bool (/=) :: PreferenceName -> PreferenceName -> Bool | |
Read PreferenceName Source # | |
Defined in Network.Mattermost.Types Methods readsPrec :: Int -> ReadS PreferenceName readList :: ReadS [PreferenceName] readPrec :: ReadPrec PreferenceName readListPrec :: ReadPrec [PreferenceName] | |
Show PreferenceName Source # | |
Defined in Network.Mattermost.Types Methods showsPrec :: Int -> PreferenceName -> ShowS show :: PreferenceName -> String showList :: [PreferenceName] -> ShowS | |
FromJSON PreferenceName Source # | |
Defined in Network.Mattermost.Types | |
ToJSON PreferenceName Source # | |
Defined in Network.Mattermost.Types Methods toJSON :: PreferenceName -> Value toEncoding :: PreferenceName -> Encoding toJSONList :: [PreferenceName] -> Value toEncodingList :: [PreferenceName] -> Encoding |
data PreferenceCategory Source #
Constructors
Instances
Constructors
Reaction | |
Fields
|
Instances
Eq Reaction Source # | |
Read Reaction Source # | |
Defined in Network.Mattermost.Types | |
Show Reaction Source # | |
FromJSON Reaction Source # | |
Defined in Network.Mattermost.Types | |
ToJSON Reaction Source # | |
Defined in Network.Mattermost.Types Methods toEncoding :: Reaction -> Encoding toJSONList :: [Reaction] -> Value toEncodingList :: [Reaction] -> Encoding |
data TeamsCreate Source #
Constructors
TeamsCreate | |
Fields
|
Instances
Eq TeamsCreate Source # | |
Defined in Network.Mattermost.Types | |
Read TeamsCreate Source # | |
Defined in Network.Mattermost.Types Methods readsPrec :: Int -> ReadS TeamsCreate readList :: ReadS [TeamsCreate] readPrec :: ReadPrec TeamsCreate readListPrec :: ReadPrec [TeamsCreate] | |
Show TeamsCreate Source # | |
Defined in Network.Mattermost.Types Methods showsPrec :: Int -> TeamsCreate -> ShowS show :: TeamsCreate -> String showList :: [TeamsCreate] -> ShowS | |
ToJSON TeamsCreate Source # | |
Defined in Network.Mattermost.Types Methods toJSON :: TeamsCreate -> Value toEncoding :: TeamsCreate -> Encoding toJSONList :: [TeamsCreate] -> Value toEncodingList :: [TeamsCreate] -> Encoding |
data UsersCreate Source #
Constructors
UsersCreate | |
Fields
|
Instances
Eq UsersCreate Source # | |
Defined in Network.Mattermost.Types | |
Read UsersCreate Source # | |
Defined in Network.Mattermost.Types Methods readsPrec :: Int -> ReadS UsersCreate readList :: ReadS [UsersCreate] readPrec :: ReadPrec UsersCreate readListPrec :: ReadPrec [UsersCreate] | |
Show UsersCreate Source # | |
Defined in Network.Mattermost.Types Methods showsPrec :: Int -> UsersCreate -> ShowS show :: UsersCreate -> String showList :: [UsersCreate] -> ShowS | |
ToJSON UsersCreate Source # | |
Defined in Network.Mattermost.Types Methods toJSON :: UsersCreate -> Value toEncoding :: UsersCreate -> Encoding toJSONList :: [UsersCreate] -> Value toEncodingList :: [UsersCreate] -> Encoding |
data CommandResponse Source #
Constructors
CommandResponse | |
Fields
|
Instances
Eq CommandResponse Source # | |
Defined in Network.Mattermost.Types Methods (==) :: CommandResponse -> CommandResponse -> Bool (/=) :: CommandResponse -> CommandResponse -> Bool | |
Read CommandResponse Source # | |
Defined in Network.Mattermost.Types Methods readsPrec :: Int -> ReadS CommandResponse readList :: ReadS [CommandResponse] readPrec :: ReadPrec CommandResponse readListPrec :: ReadPrec [CommandResponse] | |
Show CommandResponse Source # | |
Defined in Network.Mattermost.Types Methods showsPrec :: Int -> CommandResponse -> ShowS show :: CommandResponse -> String showList :: [CommandResponse] -> ShowS | |
FromJSON CommandResponse Source # | |
Defined in Network.Mattermost.Types Methods parseJSON :: Value -> Parser CommandResponse parseJSONList :: Value -> Parser [CommandResponse] |
data CommandResponseType Source #
Constructors
CommandResponseInChannel | |
CommandResponseEphemeral |
Instances
Eq CommandResponseType Source # | |
Defined in Network.Mattermost.Types Methods (==) :: CommandResponseType -> CommandResponseType -> Bool (/=) :: CommandResponseType -> CommandResponseType -> Bool | |
Read CommandResponseType Source # | |
Defined in Network.Mattermost.Types Methods readsPrec :: Int -> ReadS CommandResponseType readList :: ReadS [CommandResponseType] readPrec :: ReadPrec CommandResponseType readListPrec :: ReadPrec [CommandResponseType] | |
Show CommandResponseType Source # | |
Defined in Network.Mattermost.Types Methods showsPrec :: Int -> CommandResponseType -> ShowS show :: CommandResponseType -> String showList :: [CommandResponseType] -> ShowS | |
FromJSON CommandResponseType Source # | |
Defined in Network.Mattermost.Types Methods parseJSON :: Value -> Parser CommandResponseType parseJSONList :: Value -> Parser [CommandResponseType] |
Instances
Eq CommandId Source # | |
Ord CommandId Source # | |
Defined in Network.Mattermost.Types | |
Read CommandId Source # | |
Defined in Network.Mattermost.Types | |
Show CommandId Source # | |
FromJSON CommandId Source # | |
Defined in Network.Mattermost.Types | |
FromJSONKey CommandId Source # | |
Defined in Network.Mattermost.Types Methods fromJSONKey :: FromJSONKeyFunction CommandId fromJSONKeyList :: FromJSONKeyFunction [CommandId] | |
ToJSON CommandId Source # | |
Defined in Network.Mattermost.Types Methods toEncoding :: CommandId -> Encoding toJSONList :: [CommandId] -> Value toEncodingList :: [CommandId] -> Encoding | |
ToJSONKey CommandId Source # | |
Defined in Network.Mattermost.Types | |
PrintfArg CommandId Source # | |
Defined in Network.Mattermost.Types | |
Hashable CommandId Source # | |
Defined in Network.Mattermost.Types | |
IsId CommandId Source # | |
HasId Command CommandId Source # | |
Constructors
Command | |
Fields
|
Instances
Eq Command Source # | |
Read Command Source # | |
Defined in Network.Mattermost.Types | |
Show Command Source # | |
FromJSON Command Source # | |
Defined in Network.Mattermost.Types | |
ToJSON Command Source # | |
Defined in Network.Mattermost.Types Methods toEncoding :: Command -> Encoding toJSONList :: [Command] -> Value toEncodingList :: [Command] -> Encoding | |
HasId Command CommandId Source # | |
data MinCommand Source #
Constructors
MinCommand | |
Fields
|
Instances
Eq MinCommand Source # | |
Defined in Network.Mattermost.Types | |
Read MinCommand Source # | |
Defined in Network.Mattermost.Types Methods readsPrec :: Int -> ReadS MinCommand readList :: ReadS [MinCommand] readPrec :: ReadPrec MinCommand readListPrec :: ReadPrec [MinCommand] | |
Show MinCommand Source # | |
Defined in Network.Mattermost.Types Methods showsPrec :: Int -> MinCommand -> ShowS show :: MinCommand -> String showList :: [MinCommand] -> ShowS | |
ToJSON MinCommand Source # | |
Defined in Network.Mattermost.Types Methods toJSON :: MinCommand -> Value toEncoding :: MinCommand -> Encoding toJSONList :: [MinCommand] -> Value toEncodingList :: [MinCommand] -> Encoding |
Constructors
Posts | |
Fields
|
Constructors
FileInfo | |
Fields
|
Instances
Eq FileInfo Source # | |
Read FileInfo Source # | |
Defined in Network.Mattermost.Types | |
Show FileInfo Source # | |
FromJSON FileInfo Source # | |
Defined in Network.Mattermost.Types | |
ToJSON FileInfo Source # | |
Defined in Network.Mattermost.Types Methods toEncoding :: FileInfo -> Encoding toJSONList :: [FileInfo] -> Value toEncodingList :: [FileInfo] -> Encoding |
newtype PendingPostId Source #
Instances
data PendingPost Source #
Constructors
PendingPost | |
Fields
|
Instances
Eq PendingPost Source # | |
Defined in Network.Mattermost.Types | |
Read PendingPost Source # | |
Defined in Network.Mattermost.Types Methods readsPrec :: Int -> ReadS PendingPost readList :: ReadS [PendingPost] readPrec :: ReadPrec PendingPost readListPrec :: ReadPrec [PendingPost] | |
Show PendingPost Source # | |
Defined in Network.Mattermost.Types Methods showsPrec :: Int -> PendingPost -> ShowS show :: PendingPost -> String showList :: [PendingPost] -> ShowS | |
ToJSON PendingPost Source # | |
Defined in Network.Mattermost.Types Methods toJSON :: PendingPost -> Value toEncoding :: PendingPost -> Encoding toJSONList :: [PendingPost] -> Value toEncodingList :: [PendingPost] -> Encoding | |
HasId PendingPost PendingPostId Source # | |
Defined in Network.Mattermost.Types Methods getId :: PendingPost -> PendingPostId Source # |
Constructors
Post | |
Fields
|
Instances
Eq Post Source # | |
Read Post Source # | |
Defined in Network.Mattermost.Types | |
Show Post Source # | |
FromJSON Post Source # | |
Defined in Network.Mattermost.Types | |
ToJSON Post Source # | |
Defined in Network.Mattermost.Types Methods toEncoding :: Post -> Encoding toJSONList :: [Post] -> Value toEncodingList :: [Post] -> Encoding | |
HasId Post PostId Source # | |
Constructors
Instances
Eq PostType Source # | |
Read PostType Source # | |
Defined in Network.Mattermost.Types | |
Show PostType Source # | |
FromJSON PostType Source # | |
Defined in Network.Mattermost.Types | |
ToJSON PostType Source # | |
Defined in Network.Mattermost.Types Methods toEncoding :: PostType -> Encoding toJSONList :: [PostType] -> Value toEncodingList :: [PostType] -> Encoding |
Instances
Eq FileId Source # | |
Ord FileId Source # | |
Read FileId Source # | |
Defined in Network.Mattermost.Types | |
Show FileId Source # | |
FromJSON FileId Source # | |
Defined in Network.Mattermost.Types | |
FromJSONKey FileId Source # | |
Defined in Network.Mattermost.Types | |
ToJSON FileId Source # | |
Defined in Network.Mattermost.Types Methods toEncoding :: FileId -> Encoding toJSONList :: [FileId] -> Value toEncodingList :: [FileId] -> Encoding | |
ToJSONKey FileId Source # | |
Defined in Network.Mattermost.Types | |
PrintfArg FileId Source # | |
Defined in Network.Mattermost.Types | |
Hashable FileId Source # | |
Defined in Network.Mattermost.Types | |
IsId FileId Source # | |
Instances
Eq PostId Source # | |
Ord PostId Source # | |
Read PostId Source # | |
Defined in Network.Mattermost.Types | |
Show PostId Source # | |
FromJSON PostId Source # | |
Defined in Network.Mattermost.Types | |
FromJSONKey PostId Source # | |
Defined in Network.Mattermost.Types | |
ToJSON PostId Source # | |
Defined in Network.Mattermost.Types Methods toEncoding :: PostId -> Encoding toJSONList :: [PostId] -> Value toEncodingList :: [PostId] -> Encoding | |
ToJSONKey PostId Source # | |
Defined in Network.Mattermost.Types | |
PrintfArg PostId Source # | |
Defined in Network.Mattermost.Types | |
Hashable PostId Source # | |
Defined in Network.Mattermost.Types | |
IsId PostId Source # | |
HasId Post PostId Source # | |
Constructors
PostProps | |
Fields
|
Instances
Eq PostProps Source # | |
Read PostProps Source # | |
Defined in Network.Mattermost.Types | |
Show PostProps Source # | |
FromJSON PostProps Source # | |
Defined in Network.Mattermost.Types | |
ToJSON PostProps Source # | |
Defined in Network.Mattermost.Types Methods toEncoding :: PostProps -> Encoding toJSONList :: [PostProps] -> Value toEncodingList :: [PostProps] -> Encoding |
data PostPropAttachment Source #
Constructors
PostPropAttachment | |
Fields
|
Instances
data PostPropAttachmentField Source #
Constructors
PostPropAttachmentField | |
Instances
Eq PostPropAttachmentField Source # | |
Defined in Network.Mattermost.Types Methods (==) :: PostPropAttachmentField -> PostPropAttachmentField -> Bool (/=) :: PostPropAttachmentField -> PostPropAttachmentField -> Bool | |
Read PostPropAttachmentField Source # | |
Defined in Network.Mattermost.Types Methods readsPrec :: Int -> ReadS PostPropAttachmentField readList :: ReadS [PostPropAttachmentField] readPrec :: ReadPrec PostPropAttachmentField readListPrec :: ReadPrec [PostPropAttachmentField] | |
Show PostPropAttachmentField Source # | |
Defined in Network.Mattermost.Types Methods showsPrec :: Int -> PostPropAttachmentField -> ShowS show :: PostPropAttachmentField -> String showList :: [PostPropAttachmentField] -> ShowS | |
FromJSON PostPropAttachmentField Source # | |
Defined in Network.Mattermost.Types Methods parseJSON :: Value -> Parser PostPropAttachmentField parseJSONList :: Value -> Parser [PostPropAttachmentField] |
Constructors
User | |
Fields
|
Instances
Eq User Source # | |
Read User Source # | |
Defined in Network.Mattermost.Types | |
Show User Source # | |
FromJSON User Source # | |
Defined in Network.Mattermost.Types | |
ToJSON User Source # | |
Defined in Network.Mattermost.Types Methods toEncoding :: User -> Encoding toJSONList :: [User] -> Value toEncodingList :: [User] -> Encoding | |
HasId User UserId Source # | |
data InitialLoad Source #
Constructors
InitialLoad | |
Fields
|
Instances
Eq InitialLoad Source # | |
Defined in Network.Mattermost.Types | |
Show InitialLoad Source # | |
Defined in Network.Mattermost.Types Methods showsPrec :: Int -> InitialLoad -> ShowS show :: InitialLoad -> String showList :: [InitialLoad] -> ShowS | |
FromJSON InitialLoad Source # | |
Defined in Network.Mattermost.Types |
Instances
Eq UserId Source # | |
Ord UserId Source # | |
Read UserId Source # | |
Defined in Network.Mattermost.Types | |
Show UserId Source # | |
FromJSON UserId Source # | |
Defined in Network.Mattermost.Types | |
FromJSONKey UserId Source # | |
Defined in Network.Mattermost.Types | |
ToJSON UserId Source # | |
Defined in Network.Mattermost.Types Methods toEncoding :: UserId -> Encoding toJSONList :: [UserId] -> Value toEncodingList :: [UserId] -> Encoding | |
ToJSONKey UserId Source # | |
Defined in Network.Mattermost.Types | |
PrintfArg UserId Source # | |
Defined in Network.Mattermost.Types | |
Hashable UserId Source # | |
Defined in Network.Mattermost.Types | |
IsId UserId Source # | |
HasId User UserId Source # | |
data MinChannel Source #
Constructors
MinChannel | |
Fields
|
Instances
Eq MinChannel Source # | |
Defined in Network.Mattermost.Types | |
Read MinChannel Source # | |
Defined in Network.Mattermost.Types Methods readsPrec :: Int -> ReadS MinChannel readList :: ReadS [MinChannel] readPrec :: ReadPrec MinChannel readListPrec :: ReadPrec [MinChannel] | |
Show MinChannel Source # | |
Defined in Network.Mattermost.Types Methods showsPrec :: Int -> MinChannel -> ShowS show :: MinChannel -> String showList :: [MinChannel] -> ShowS | |
ToJSON MinChannel Source # | |
Defined in Network.Mattermost.Types Methods toJSON :: MinChannel -> Value toEncoding :: MinChannel -> Encoding toJSONList :: [MinChannel] -> Value toEncodingList :: [MinChannel] -> Encoding |
data ChannelWithData Source #
Constructors
ChannelWithData Channel ChannelData |
Instances
Eq ChannelWithData Source # | |
Defined in Network.Mattermost.Types Methods (==) :: ChannelWithData -> ChannelWithData -> Bool (/=) :: ChannelWithData -> ChannelWithData -> Bool | |
Read ChannelWithData Source # | |
Defined in Network.Mattermost.Types Methods readsPrec :: Int -> ReadS ChannelWithData readList :: ReadS [ChannelWithData] readPrec :: ReadPrec ChannelWithData readListPrec :: ReadPrec [ChannelWithData] | |
Show ChannelWithData Source # | |
Defined in Network.Mattermost.Types Methods showsPrec :: Int -> ChannelWithData -> ShowS show :: ChannelWithData -> String showList :: [ChannelWithData] -> ShowS | |
FromJSON ChannelWithData Source # | |
Defined in Network.Mattermost.Types Methods parseJSON :: Value -> Parser ChannelWithData parseJSONList :: Value -> Parser [ChannelWithData] |
data ChannelData Source #
Constructors
ChannelData | |
Fields |
Instances
Eq ChannelData Source # | |
Defined in Network.Mattermost.Types | |
Read ChannelData Source # | |
Defined in Network.Mattermost.Types Methods readsPrec :: Int -> ReadS ChannelData readList :: ReadS [ChannelData] readPrec :: ReadPrec ChannelData readListPrec :: ReadPrec [ChannelData] | |
Show ChannelData Source # | |
Defined in Network.Mattermost.Types Methods showsPrec :: Int -> ChannelData -> ShowS show :: ChannelData -> String showList :: [ChannelData] -> ShowS | |
FromJSON ChannelData Source # | |
Defined in Network.Mattermost.Types | |
HasId ChannelData ChannelId Source # | |
Defined in Network.Mattermost.Types Methods getId :: ChannelData -> ChannelId Source # |
newtype SingleChannel Source #
Instances
Eq SingleChannel Source # | |
Defined in Network.Mattermost.Types | |
Ord SingleChannel Source # | |
Defined in Network.Mattermost.Types Methods compare :: SingleChannel -> SingleChannel -> Ordering (<) :: SingleChannel -> SingleChannel -> Bool (<=) :: SingleChannel -> SingleChannel -> Bool (>) :: SingleChannel -> SingleChannel -> Bool (>=) :: SingleChannel -> SingleChannel -> Bool max :: SingleChannel -> SingleChannel -> SingleChannel min :: SingleChannel -> SingleChannel -> SingleChannel | |
Read SingleChannel Source # | |
Defined in Network.Mattermost.Types Methods readsPrec :: Int -> ReadS SingleChannel readList :: ReadS [SingleChannel] readPrec :: ReadPrec SingleChannel readListPrec :: ReadPrec [SingleChannel] | |
Show SingleChannel Source # | |
Defined in Network.Mattermost.Types Methods showsPrec :: Int -> SingleChannel -> ShowS show :: SingleChannel -> String showList :: [SingleChannel] -> ShowS | |
FromJSON SingleChannel Source # | |
Defined in Network.Mattermost.Types |
Constructors
Channel | |
Fields
|
Instances
Eq ChannelId Source # | |
Ord ChannelId Source # | |
Defined in Network.Mattermost.Types | |
Read ChannelId Source # | |
Defined in Network.Mattermost.Types | |
Show ChannelId Source # | |
FromJSON ChannelId Source # | |
Defined in Network.Mattermost.Types | |
FromJSONKey ChannelId Source # | |
Defined in Network.Mattermost.Types Methods fromJSONKey :: FromJSONKeyFunction ChannelId fromJSONKeyList :: FromJSONKeyFunction [ChannelId] | |
ToJSON ChannelId Source # | |
Defined in Network.Mattermost.Types Methods toEncoding :: ChannelId -> Encoding toJSONList :: [ChannelId] -> Value toEncodingList :: [ChannelId] -> Encoding | |
ToJSONKey ChannelId Source # | |
Defined in Network.Mattermost.Types | |
PrintfArg ChannelId Source # | |
Defined in Network.Mattermost.Types | |
Hashable ChannelId Source # | |
Defined in Network.Mattermost.Types | |
IsId ChannelId Source # | |
HasId ChannelData ChannelId Source # | |
Defined in Network.Mattermost.Types Methods getId :: ChannelData -> ChannelId Source # | |
HasId Channel ChannelId Source # | |
newtype BoolString Source #
Constructors
BoolString | |
Fields
|
Instances
FromJSON BoolString Source # | |
Defined in Network.Mattermost.Types | |
ToJSON BoolString Source # | |
Defined in Network.Mattermost.Types Methods toJSON :: BoolString -> Value toEncoding :: BoolString -> Encoding toJSONList :: [BoolString] -> Value toEncodingList :: [BoolString] -> Encoding |
data ChannelNotifyProps Source #
Constructors
ChannelNotifyProps | |
Instances
data UserNotifyProps Source #
Constructors
UserNotifyProps | |
Fields
|
Instances
data NotifyOption Source #
Constructors
NotifyOptionAll | |
NotifyOptionMention | |
NotifyOptionNone |
Instances
data WithDefault a Source #
Instances
data TeamMember Source #
Constructors
TeamMember | |
Fields
|
Instances
Constructors
Team | |
Fields
|
Instances
Eq Team Source # | |
Ord Team Source # | |
Read Team Source # | |
Defined in Network.Mattermost.Types | |
Show Team Source # | |
FromJSON Team Source # | |
Defined in Network.Mattermost.Types | |
ToJSON Team Source # | |
Defined in Network.Mattermost.Types Methods toEncoding :: Team -> Encoding toJSONList :: [Team] -> Value toEncodingList :: [Team] -> Encoding | |
HasId Team TeamId Source # | |
Instances
Eq TeamId Source # | |
Ord TeamId Source # | |
Read TeamId Source # | |
Defined in Network.Mattermost.Types | |
Show TeamId Source # | |
FromJSON TeamId Source # | |
Defined in Network.Mattermost.Types | |
FromJSONKey TeamId Source # | |
Defined in Network.Mattermost.Types | |
ToJSON TeamId Source # | |
Defined in Network.Mattermost.Types Methods toEncoding :: TeamId -> Encoding toJSONList :: [TeamId] -> Value toEncodingList :: [TeamId] -> Encoding | |
ToJSONKey TeamId Source # | |
Defined in Network.Mattermost.Types | |
PrintfArg TeamId Source # | |
Defined in Network.Mattermost.Types | |
Hashable TeamId Source # | |
Defined in Network.Mattermost.Types | |
IsId TeamId Source # | |
HasId Team TeamId Source # | |
Instances
Eq Id Source # | |
Ord Id Source # | |
Read Id Source # | |
Defined in Network.Mattermost.Types | |
Show Id Source # | |
FromJSON Id Source # | |
Defined in Network.Mattermost.Types | |
FromJSONKey Id Source # | |
Defined in Network.Mattermost.Types | |
ToJSON Id Source # | |
Defined in Network.Mattermost.Types | |
ToJSONKey Id Source # | |
Defined in Network.Mattermost.Types | |
Hashable Id Source # | |
Defined in Network.Mattermost.Types | |
IsId Id Source # | |
HasId Id Id Source # | |
class HasId x y | x -> y where Source #
Instances
HasId Command CommandId Source # | |
HasId PendingPost PendingPostId Source # | |
Defined in Network.Mattermost.Types Methods getId :: PendingPost -> PendingPostId Source # | |
HasId Post PostId Source # | |
HasId User UserId Source # | |
HasId ChannelData ChannelId Source # | |
Defined in Network.Mattermost.Types Methods getId :: ChannelData -> ChannelId Source # | |
HasId Channel ChannelId Source # | |
HasId Team TeamId Source # | |
HasId Id Id Source # | |
Instances
Instances
Eq Type Source # | |
Ord Type Source # | |
Read Type Source # | |
Defined in Network.Mattermost.Types | |
Show Type Source # | |
FromJSON Type Source # | |
Defined in Network.Mattermost.Types | |
ToJSON Type Source # | |
Defined in Network.Mattermost.Types Methods toEncoding :: Type -> Encoding toJSONList :: [Type] -> Value toEncodingList :: [Type] -> Encoding |
data SearchPosts Source #
Constructors
SearchPosts | |
Fields
|
Instances
ToJSON SearchPosts Source # | |
Defined in Network.Mattermost.Types Methods toJSON :: SearchPosts -> Value toEncoding :: SearchPosts -> Encoding toJSONList :: [SearchPosts] -> Value toEncodingList :: [SearchPosts] -> Encoding |
data SetChannelHeader Source #
Constructors
SetChannelHeader | |
Fields |
Instances
ToJSON SetChannelHeader Source # | |
Defined in Network.Mattermost.Types Methods toJSON :: SetChannelHeader -> Value toEncoding :: SetChannelHeader -> Encoding toJSONList :: [SetChannelHeader] -> Value toEncodingList :: [SetChannelHeader] -> Encoding |
Instances
ToJSON Login Source # | |
Defined in Network.Mattermost.Types Methods toEncoding :: Login -> Encoding toJSONList :: [Login] -> Value toEncodingList :: [Login] -> Encoding |
data ConnectionPoolConfig Source #
Constructors
ConnectionPoolConfig | |
Fields
|
Constructors
UserText Text |
Instances
Eq UserText Source # | |
Ord UserText Source # | |
Defined in Network.Mattermost.Types | |
Read UserText Source # | |
Defined in Network.Mattermost.Types | |
Show UserText Source # | |
FromJSON UserText Source # | |
Defined in Network.Mattermost.Types | |
ToJSON UserText Source # | |
Defined in Network.Mattermost.Types Methods toEncoding :: UserText -> Encoding toJSONList :: [UserText] -> Value toEncodingList :: [UserText] -> Encoding |
unsafeUserText :: UserText -> Text Source #
runLogger :: ConnectionData -> String -> LogEventType -> IO () Source #
runLoggerS :: Session -> String -> LogEventType -> IO () Source #
mkConnectionData :: Hostname -> Port -> Text -> Pool MMConn -> ConnectionType -> ConnectionContext -> ConnectionData Source #
Creates a structure representing a connection to the server.
createPool :: Hostname -> Port -> ConnectionContext -> ConnectionPoolConfig -> ConnectionType -> IO (Pool MMConn) Source #
initConnectionData :: Hostname -> Port -> Text -> ConnectionType -> ConnectionPoolConfig -> IO ConnectionData Source #
destroyConnectionData :: ConnectionData -> IO () Source #
withLogger :: ConnectionData -> Logger -> ConnectionData Source #
userParamString :: UserParam -> Text Source #
urlForFile :: FileId -> Text Source #
mkPendingPost :: Text -> UserId -> ChannelId -> IO PendingPost Source #
timeFromServer :: Integer -> ServerTime Source #
timeToServer :: ServerTime -> Int Source #
preferenceToGroupChannelPreference :: Preference -> Maybe GroupChannelPreference Source #
Attempt to expose a Preference
as a FlaggedPost
preferenceToFlaggedPost :: Preference -> Maybe FlaggedPost Source #
Attempt to expose a Preference
as a FlaggedPost
postUpdateBody :: Text -> PostUpdate Source #
data ConnectionType Source #
Constructors
ConnectHTTPS Bool | Boolean is whether to require trusted certificate |
ConnectHTTP | Make an insecure connection over HTTP |
Instances
Eq ConnectionType Source # | |
Defined in Network.Mattermost.Types.Internal Methods (==) :: ConnectionType -> ConnectionType -> Bool (/=) :: ConnectionType -> ConnectionType -> Bool | |
Read ConnectionType Source # | |
Defined in Network.Mattermost.Types.Internal Methods readsPrec :: Int -> ReadS ConnectionType readList :: ReadS [ConnectionType] readPrec :: ReadPrec ConnectionType readListPrec :: ReadPrec [ConnectionType] | |
Show ConnectionType Source # | |
Defined in Network.Mattermost.Types.Internal Methods showsPrec :: Int -> ConnectionType -> ShowS show :: ConnectionType -> String showList :: [ConnectionType] -> ShowS |