TD.Data.PhotoSize
data PhotoSize Source #
Constructors
Describes an image in JPEG format
Fields
Image type (see https://core.telegram.org/constructor/photoSize)
Information about the image file
Image width
Image height
Sizes of progressive JPEG file prefixes, which can be used to preliminarily show the image; in bytes
Defined in TD.Data.PhotoSize
Methods
parseJSON :: Value -> Parser PhotoSize #
parseJSONList :: Value -> Parser [PhotoSize] #
showsPrec :: Int -> PhotoSize -> ShowS #
show :: PhotoSize -> String #
showList :: [PhotoSize] -> ShowS #
(==) :: PhotoSize -> PhotoSize -> Bool #
(/=) :: PhotoSize -> PhotoSize -> Bool #
shortShow :: PhotoSize -> String Source #