Calamity.Types.Model.Channel.Reaction
Description
Message reactions
data Reaction Source #
Constructors
Fields
Defined in Calamity.Types.Model.Channel.Reaction
Methods
(==) :: Reaction -> Reaction -> Bool #
(/=) :: Reaction -> Reaction -> Bool #
showsPrec :: Int -> Reaction -> ShowS #
show :: Reaction -> String #
showList :: [Reaction] -> ShowS #
Associated Types
type Rep Reaction :: Type -> Type #
from :: Reaction -> Rep Reaction x #
to :: Rep Reaction x -> Reaction #
showbPrec :: Int -> Reaction -> Builder
showb :: Reaction -> Builder
showbList :: [Reaction] -> Builder
showtPrec :: Int -> Reaction -> Text
showt :: Reaction -> Text
showtList :: [Reaction] -> Text
showtlPrec :: Int -> Reaction -> Text
showtl :: Reaction -> Text
showtlList :: [Reaction] -> Text
parseJSON :: Value -> Parser Reaction
parseJSONList :: Value -> Parser [Reaction]
toJSON :: Reaction -> Value
toEncoding :: Reaction -> Encoding
toJSONList :: [Reaction] -> Value
toEncodingList :: [Reaction] -> Encoding
getID :: Reaction -> Snowflake Channel Source #
getID :: Reaction -> Snowflake Message Source #
getID :: Reaction -> Snowflake User Source #