| Copyright | (c) 2021 Rory Tyler Hayford |
|---|---|
| License | BSD-3-Clause |
| Maintainer | rory.hayford@protonmail.com |
| Stability | experimental |
| Portability | GHC |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.Reddit.Types.Emoji
Description
Documentation
A single emoji. This can either be one of Reddit's builtin "snoomojis"
or a custom emoji for a subreddit. See mkEmoji for creating news ones
Constructors
| Emoji | |
Fields
| |
Instances
Wrapper for creating new Emojis, which includes the name field
The name of an individual Emoji
Instances
| Eq EmojiName Source # | |
| Show EmojiName Source # | |
| Generic EmojiName Source # | |
| Semigroup EmojiName Source # | |
| Monoid EmojiName Source # | |
| FromJSON EmojiName Source # | |
| ToHttpApiData EmojiName Source # | |
Defined in Network.Reddit.Types.Emoji Methods toUrlPiece :: EmojiName -> Text # toEncodedUrlPiece :: EmojiName -> Builder # toHeader :: EmojiName -> ByteString # toQueryParam :: EmojiName -> Text # | |
| type Rep EmojiName Source # | |
Defined in Network.Reddit.Types.Emoji | |
mkEmojiName :: MonadThrow m => Text -> m EmojiName Source #
Smart constructor for EmojiNames, which may only contain alphanumeric characters,
'_', '-', and '&', and may not exceed 24 characters in length