calamity-0.3.0.0: A library for writing discord bots in haskell
Safe HaskellNone
LanguageHaskell2010

Calamity.Types.Model.Channel.Reaction

Description

Message reactions

Documentation

data Reaction Source #

Constructors

Reaction 

Fields

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 #

ToJSON Reaction Source # 
Instance details

Defined in Calamity.Types.Model.Channel.Reaction

FromJSON Reaction Source # 
Instance details

Defined in Calamity.Types.Model.Channel.Reaction

TextShow Reaction Source # 
Instance details

Defined in Calamity.Types.Model.Channel.Reaction

type Rep Reaction Source # 
Instance details

Defined in Calamity.Types.Model.Channel.Reaction

type Rep Reaction = D1 ('MetaData "Reaction" "Calamity.Types.Model.Channel.Reaction" "calamity-0.3.0.0-inplace" 'False) (C1 ('MetaCons "Reaction" 'PrefixI 'True) (S1 ('MetaSel ('Just "count") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Integer) :*: (S1 ('MetaSel ('Just "me") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool) :*: S1 ('MetaSel ('Just "emoji") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 RawEmoji))))