| Safe Haskell | Safe-Inferred |
|---|---|
| Language | GHC2021 |
TD.Data.InputPaidMediaType
Synopsis
Documentation
data InputPaidMediaType Source #
Describes type of paid media to sent
Constructors
| 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 |
Fields | |
Instances
| FromJSON InputPaidMediaType Source # | |
Defined in TD.Data.InputPaidMediaType Methods parseJSON :: Value -> Parser InputPaidMediaType # parseJSONList :: Value -> Parser [InputPaidMediaType] # | |
| ToJSON InputPaidMediaType Source # | |
Defined in TD.Data.InputPaidMediaType Methods toJSON :: InputPaidMediaType -> Value # toEncoding :: InputPaidMediaType -> Encoding # toJSONList :: [InputPaidMediaType] -> Value # toEncodingList :: [InputPaidMediaType] -> Encoding # | |
| Show InputPaidMediaType Source # | |
Defined in TD.Data.InputPaidMediaType Methods showsPrec :: Int -> InputPaidMediaType -> ShowS # show :: InputPaidMediaType -> String # showList :: [InputPaidMediaType] -> ShowS # | |
| Eq InputPaidMediaType Source # | |
Defined in TD.Data.InputPaidMediaType Methods (==) :: InputPaidMediaType -> InputPaidMediaType -> Bool # (/=) :: InputPaidMediaType -> InputPaidMediaType -> Bool # | |
| ShortShow InputPaidMediaType Source # | |
Defined in TD.Data.InputPaidMediaType Methods shortShow :: InputPaidMediaType -> String Source # | |