calamity-0.1.14.4: A library for writing discord bots
Safe HaskellNone
LanguageHaskell2010

Calamity.Types.Model.Channel.Attachment

Description

Message attachments

Documentation

data Attachment Source #

Instances

Instances details
Eq Attachment Source # 
Instance details

Defined in Calamity.Types.Model.Channel.Attachment

Show Attachment Source # 
Instance details

Defined in Calamity.Types.Model.Channel.Attachment

Generic Attachment Source # 
Instance details

Defined in Calamity.Types.Model.Channel.Attachment

Associated Types

type Rep Attachment :: Type -> Type #

TextShow Attachment Source # 
Instance details

Defined in Calamity.Types.Model.Channel.Attachment

FromJSON Attachment Source # 
Instance details

Defined in Calamity.Types.Model.Channel.Attachment

Methods

parseJSON :: Value -> Parser Attachment

parseJSONList :: Value -> Parser [Attachment]

ToJSON Attachment Source # 
Instance details

Defined in Calamity.Types.Model.Channel.Attachment

Methods

toJSON :: Attachment -> Value

toEncoding :: Attachment -> Encoding

toJSONList :: [Attachment] -> Value

toEncodingList :: [Attachment] -> Encoding

HasID Attachment Attachment Source # 
Instance details

Defined in Calamity.Types.Model.Channel.Attachment

type Rep Attachment Source # 
Instance details

Defined in Calamity.Types.Model.Channel.Attachment