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

Calamity.Types.Model.Presence.Presence

Description

User presences

Documentation

data Presence Source #

Instances

Instances details
FromJSON Presence Source # 
Instance details

Defined in Calamity.Types.Model.Presence.Presence

Show Presence Source # 
Instance details

Defined in Calamity.Types.Model.Presence.Presence

Eq 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

(k ~ A_Lens, a ~ [Activity], b ~ [Activity]) => LabelOptic "activities" k Presence Presence a b Source # 
Instance details

Defined in Calamity.Types.Model.Presence.Presence

(k ~ A_Lens, a ~ ClientStatus, b ~ ClientStatus) => LabelOptic "clientStatus" k Presence Presence a b Source # 
Instance details

Defined in Calamity.Types.Model.Presence.Presence

(k ~ A_Lens, a ~ Snowflake Guild, b ~ Snowflake Guild) => LabelOptic "guildID" k Presence Presence a b Source # 
Instance details

Defined in Calamity.Types.Model.Presence.Presence

(k ~ A_Lens, a ~ StatusType, b ~ StatusType) => LabelOptic "status" k Presence Presence a b Source # 
Instance details

Defined in Calamity.Types.Model.Presence.Presence

(k ~ A_Lens, a ~ Snowflake User, b ~ Snowflake User) => LabelOptic "user" k Presence Presence a b Source # 
Instance details

Defined in Calamity.Types.Model.Presence.Presence

data ClientStatus Source #

Constructors

ClientStatus 

Instances

Instances details
FromJSON ClientStatus Source # 
Instance details

Defined in Calamity.Types.Model.Presence.Presence

ToJSON ClientStatus Source # 
Instance details

Defined in Calamity.Types.Model.Presence.Presence

Show ClientStatus Source # 
Instance details

Defined in Calamity.Types.Model.Presence.Presence

CalamityToJSON' ClientStatus Source # 
Instance details

Defined in Calamity.Types.Model.Presence.Presence

Methods

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

Eq ClientStatus Source # 
Instance details

Defined in Calamity.Types.Model.Presence.Presence

TextShow ClientStatus Source # 
Instance details

Defined in Calamity.Types.Model.Presence.Presence

(k ~ A_Lens, a ~ Maybe Text, b ~ Maybe Text) => LabelOptic "desktop" k ClientStatus ClientStatus a b Source # 
Instance details

Defined in Calamity.Types.Model.Presence.Presence

(k ~ A_Lens, a ~ Maybe Text, b ~ Maybe Text) => LabelOptic "mobile" k ClientStatus ClientStatus a b Source # 
Instance details

Defined in Calamity.Types.Model.Presence.Presence

(k ~ A_Lens, a ~ Maybe Text, b ~ Maybe Text) => LabelOptic "web" k ClientStatus ClientStatus a b Source # 
Instance details

Defined in Calamity.Types.Model.Presence.Presence