Calamity.Types.Model.Channel.Attachment
Description
Message attachments
data Attachment Source #
Constructors
Fields
Defined in Calamity.Types.Model.Channel.Attachment
Methods
(==) :: Attachment -> Attachment -> Bool #
(/=) :: Attachment -> Attachment -> Bool #
showsPrec :: Int -> Attachment -> ShowS #
show :: Attachment -> String #
showList :: [Attachment] -> ShowS #
Associated Types
type Rep Attachment :: Type -> Type #
from :: Attachment -> Rep Attachment x #
to :: Rep Attachment x -> Attachment #
showbPrec :: Int -> Attachment -> Builder
showb :: Attachment -> Builder
showbList :: [Attachment] -> Builder
showtPrec :: Int -> Attachment -> Text
showt :: Attachment -> Text
showtList :: [Attachment] -> Text
showtlPrec :: Int -> Attachment -> Text
showtl :: Attachment -> Text
showtlList :: [Attachment] -> Text
parseJSON :: Value -> Parser Attachment
parseJSONList :: Value -> Parser [Attachment]
toJSON :: Attachment -> Value
toEncoding :: Attachment -> Encoding
toJSONList :: [Attachment] -> Value
toEncodingList :: [Attachment] -> Encoding
getID :: Attachment -> Snowflake Attachment Source #