calamity-0.1.0.0: A library for writing discord bots

Safe HaskellNone
LanguageHaskell2010

Calamity.Types.Model.Presence.Presence

Description

User presences

Documentation

data Presence Source #

Instances
Eq Presence Source # 
Instance details

Defined in Calamity.Types.Model.Presence.Presence

Show Presence Source # 
Instance details

Defined in Calamity.Types.Model.Presence.Presence

Generic Presence Source # 
Instance details

Defined in Calamity.Types.Model.Presence.Presence

Associated Types

type Rep Presence :: Type -> Type #

Methods

from :: Presence -> Rep Presence x #

to :: Rep Presence x -> Presence #

ToJSON Presence Source # 
Instance details

Defined in Calamity.Types.Model.Presence.Presence

FromJSON Presence Source # 
Instance details

Defined in Calamity.Types.Model.Presence.Presence

TextShow Presence Source # 
Instance details

Defined in Calamity.Types.Model.Presence.Presence

HasID Guild Presence Source # 
Instance details

Defined in Calamity.Types.Model.Presence.Presence

HasID User Presence Source # 
Instance details

Defined in Calamity.Types.Model.Presence.Presence

type Rep Presence Source # 
Instance details

Defined in Calamity.Types.Model.Presence.Presence

data ClientStatus Source #

Constructors

ClientStatus 
Instances
Eq ClientStatus Source # 
Instance details

Defined in Calamity.Types.Model.Presence.Presence

Show ClientStatus Source # 
Instance details

Defined in Calamity.Types.Model.Presence.Presence

Generic ClientStatus Source # 
Instance details

Defined in Calamity.Types.Model.Presence.Presence

Associated Types

type Rep ClientStatus :: Type -> Type #

ToJSON ClientStatus Source # 
Instance details

Defined in Calamity.Types.Model.Presence.Presence

FromJSON ClientStatus Source # 
Instance details

Defined in Calamity.Types.Model.Presence.Presence

TextShow ClientStatus Source # 
Instance details

Defined in Calamity.Types.Model.Presence.Presence

type Rep ClientStatus Source # 
Instance details

Defined in Calamity.Types.Model.Presence.Presence

type Rep ClientStatus = D1 (MetaData "ClientStatus" "Calamity.Types.Model.Presence.Presence" "calamity-0.1.0.0-inplace" False) (C1 (MetaCons "ClientStatus" PrefixI True) (S1 (MetaSel (Just "desktop") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "mobile") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "web") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text)))))