slack-web-1.6.1.0: Bindings for the Slack web API
Safe HaskellSafe-Inferred
LanguageHaskell2010

Web.Slack.Files.Types

Description

Type definitions for the Slack files APIs. See https://api.slack.com/messaging/files.

Since: 1.6.0.0

Synopsis

Documentation

newtype FileId Source #

ID for a file, which looks something like F2147483862.

Constructors

FileId 

Fields

Instances

Instances details
FromJSON FileId Source # 
Instance details

Defined in Web.Slack.Files.Types

ToJSON FileId Source # 
Instance details

Defined in Web.Slack.Files.Types

Show FileId Source # 
Instance details

Defined in Web.Slack.Files.Types

Eq FileId Source # 
Instance details

Defined in Web.Slack.Files.Types

Methods

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

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

data FileMode Source #

Instances

Instances details
FromJSON FileMode Source # 
Instance details

Defined in Web.Slack.Files.Types

ToJSON FileMode Source # 
Instance details

Defined in Web.Slack.Files.Types

Generic FileMode Source # 
Instance details

Defined in Web.Slack.Files.Types

Associated Types

type Rep FileMode :: Type -> Type #

Methods

from :: FileMode -> Rep FileMode x #

to :: Rep FileMode x -> FileMode #

Show FileMode Source # 
Instance details

Defined in Web.Slack.Files.Types

Eq FileMode Source # 
Instance details

Defined in Web.Slack.Files.Types

type Rep FileMode Source # 
Instance details

Defined in Web.Slack.Files.Types

type Rep FileMode = D1 ('MetaData "FileMode" "Web.Slack.Files.Types" "slack-web-1.6.1.0-FTQ0nauOsvHFn0u85EClLm" 'False) ((C1 ('MetaCons "Hosted" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "External" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Snippet" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "Post" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "FileAccess" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "Email" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Other" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))))

data FileObject Source #

Constructors

VisibleFileObject FileObjectVisible

File object is visible

CheckFileInfo FileId

File object is in a shared channel so files.info must be invoked to get any further details. See https://api.slack.com/types/file#slack_connect_files for more details.