Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Synopsis
Documentation
data InputPaidMediaType Source #
Describes type of paid media to sent
InputPaidMediaTypePhoto | The media is a photo. The photo must be at most 10 MB in size. The photo's width and height must not exceed 10000 in total. Width and height ratio must be at most 20 |
InputPaidMediaTypeVideo | The media is a video |
Instances
FromJSON InputPaidMediaType Source # | |
Defined in TD.Data.InputPaidMediaType parseJSON :: Value -> Parser InputPaidMediaType # parseJSONList :: Value -> Parser [InputPaidMediaType] # | |
ToJSON InputPaidMediaType Source # | |
Defined in TD.Data.InputPaidMediaType toJSON :: InputPaidMediaType -> Value # toEncoding :: InputPaidMediaType -> Encoding # toJSONList :: [InputPaidMediaType] -> Value # toEncodingList :: [InputPaidMediaType] -> Encoding # | |
Show InputPaidMediaType Source # | |
Defined in TD.Data.InputPaidMediaType showsPrec :: Int -> InputPaidMediaType -> ShowS # show :: InputPaidMediaType -> String # showList :: [InputPaidMediaType] -> ShowS # | |
Eq InputPaidMediaType Source # | |
Defined in TD.Data.InputPaidMediaType (==) :: InputPaidMediaType -> InputPaidMediaType -> Bool # (/=) :: InputPaidMediaType -> InputPaidMediaType -> Bool # | |
ShortShow InputPaidMediaType Source # | |
Defined in TD.Data.InputPaidMediaType shortShow :: InputPaidMediaType -> String Source # |