Copyright | (c) 2021 Rory Tyler Hayford |
---|---|
License | BSD-3-Clause |
Maintainer | rory.hayford@protonmail.com |
Stability | experimental |
Portability | GHC |
Safe Haskell | None |
Language | Haskell2010 |
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
Emoji | |
|
Instances
Wrapper for creating new Emoji
s, 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 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 EmojiName
s, which may only contain alphanumeric characters,
'_', '-', and '&', and may not exceed 24 characters in length