calamity-0.8.0.0: A library for writing discord bots in haskell
Safe HaskellSafe-Inferred
LanguageHaskell2010

Calamity.Types.Model.Channel.Reaction

Description

Message reactions

Documentation

data Reaction Source #

Constructors

Reaction 

Fields

Instances

Instances details
FromJSON Reaction Source # 
Instance details

Defined in Calamity.Types.Model.Channel.Reaction

ToJSON Reaction Source # 
Instance details

Defined in Calamity.Types.Model.Channel.Reaction

Show Reaction Source # 
Instance details

Defined in Calamity.Types.Model.Channel.Reaction

CalamityToJSON' Reaction Source # 
Instance details

Defined in Calamity.Types.Model.Channel.Reaction

Methods

toPairs :: KeyValue kv => Reaction -> [Maybe kv] Source #

Eq Reaction Source # 
Instance details

Defined in Calamity.Types.Model.Channel.Reaction

TextShow Reaction Source # 
Instance details

Defined in Calamity.Types.Model.Channel.Reaction

(k ~ A_Lens, a ~ Integer, b ~ Integer) => LabelOptic "count" k Reaction Reaction a b Source # 
Instance details

Defined in Calamity.Types.Model.Channel.Reaction

(k ~ A_Lens, a ~ RawEmoji, b ~ RawEmoji) => LabelOptic "emoji" k Reaction Reaction a b Source # 
Instance details

Defined in Calamity.Types.Model.Channel.Reaction

(k ~ A_Lens, a ~ Bool, b ~ Bool) => LabelOptic "me" k Reaction Reaction a b Source # 
Instance details

Defined in Calamity.Types.Model.Channel.Reaction