TD.Data.Document
data Document Source #
Constructors
Describes a document of any type
Fields
Original name of the file; as defined by the sender
MIME type of the file; as defined by the sender
Document minithumbnail; may be null
Document thumbnail in JPEG or PNG format (PNG will be used only for background patterns); as defined by the sender; may be null
File containing the document
Defined in TD.Data.Document
Methods
parseJSON :: Value -> Parser Document #
parseJSONList :: Value -> Parser [Document] #
showsPrec :: Int -> Document -> ShowS #
show :: Document -> String #
showList :: [Document] -> ShowS #
(==) :: Document -> Document -> Bool #
(/=) :: Document -> Document -> Bool #
shortShow :: Document -> String Source #