calamity-0.1.12.0: A library for writing discord bots
Safe HaskellNone
LanguageHaskell2010

Calamity.Types.Model.Channel.Reaction

Description

Message reactions

Documentation

data Reaction Source #

Instances

Instances details
Eq Reaction Source # 
Instance details

Defined in Calamity.Types.Model.Channel.Reaction

Show Reaction Source # 
Instance details

Defined in Calamity.Types.Model.Channel.Reaction

Generic Reaction Source # 
Instance details

Defined in Calamity.Types.Model.Channel.Reaction

Associated Types

type Rep Reaction :: Type -> Type #

Methods

from :: Reaction -> Rep Reaction x #

to :: Rep Reaction x -> Reaction #

TextShow Reaction Source # 
Instance details

Defined in Calamity.Types.Model.Channel.Reaction

FromJSON Reaction Source # 
Instance details

Defined in Calamity.Types.Model.Channel.Reaction

Methods

parseJSON :: Value -> Parser Reaction

parseJSONList :: Value -> Parser [Reaction]

ToJSON Reaction Source # 
Instance details

Defined in Calamity.Types.Model.Channel.Reaction

Methods

toJSON :: Reaction -> Value

toEncoding :: Reaction -> Encoding

toJSONList :: [Reaction] -> Value

toEncodingList :: [Reaction] -> Encoding

HasID Channel Reaction Source # 
Instance details

Defined in Calamity.Types.Model.Channel.Reaction

HasID Message Reaction Source # 
Instance details

Defined in Calamity.Types.Model.Channel.Reaction

HasID User Reaction Source # 
Instance details

Defined in Calamity.Types.Model.Channel.Reaction

type Rep Reaction Source # 
Instance details

Defined in Calamity.Types.Model.Channel.Reaction