Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Synopsis
- data InputStoryAreaType
- = InputStoryAreaTypeLocation { }
- | InputStoryAreaTypeFoundVenue { }
- | InputStoryAreaTypePreviousVenue { }
- | InputStoryAreaTypeSuggestedReaction { }
- | InputStoryAreaTypeMessage { }
- | InputStoryAreaTypeLink { }
- | InputStoryAreaTypeWeather {
- temperature :: Maybe Double
- emoji :: Maybe Text
- background_color :: Maybe Int
Documentation
data InputStoryAreaType Source #
Describes type of clickable area on a story media to be added
InputStoryAreaTypeLocation | An area pointing to a location |
InputStoryAreaTypeFoundVenue | An area pointing to a venue found by the bot getOption("venue_search_bot_username") |
InputStoryAreaTypePreviousVenue | An area pointing to a venue already added to the story |
InputStoryAreaTypeSuggestedReaction | An area pointing to a suggested reaction |
| |
InputStoryAreaTypeMessage | An area pointing to a message |
InputStoryAreaTypeLink | An area pointing to a HTTP or tg:// link |
InputStoryAreaTypeWeather | An area with information about weather |
|
Instances
FromJSON InputStoryAreaType Source # | |
Defined in TD.Data.InputStoryAreaType parseJSON :: Value -> Parser InputStoryAreaType # parseJSONList :: Value -> Parser [InputStoryAreaType] # | |
ToJSON InputStoryAreaType Source # | |
Defined in TD.Data.InputStoryAreaType toJSON :: InputStoryAreaType -> Value # toEncoding :: InputStoryAreaType -> Encoding # toJSONList :: [InputStoryAreaType] -> Value # toEncodingList :: [InputStoryAreaType] -> Encoding # | |
Show InputStoryAreaType Source # | |
Defined in TD.Data.InputStoryAreaType showsPrec :: Int -> InputStoryAreaType -> ShowS # show :: InputStoryAreaType -> String # showList :: [InputStoryAreaType] -> ShowS # | |
Eq InputStoryAreaType Source # | |
Defined in TD.Data.InputStoryAreaType (==) :: InputStoryAreaType -> InputStoryAreaType -> Bool # (/=) :: InputStoryAreaType -> InputStoryAreaType -> Bool # | |
ShortShow InputStoryAreaType Source # | |
Defined in TD.Data.InputStoryAreaType shortShow :: InputStoryAreaType -> String Source # |