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

Calamity.Types.Model.Interaction

Description

Discord Interactions

Documentation

data Interaction Source #

Instances

Instances details
Show Interaction Source # 
Instance details

Defined in Calamity.Types.Model.Interaction

Generic Interaction Source # 
Instance details

Defined in Calamity.Types.Model.Interaction

Associated Types

type Rep Interaction :: Type -> Type #

FromJSON Interaction Source # 
Instance details

Defined in Calamity.Types.Model.Interaction

TextShow Interaction Source # 
Instance details

Defined in Calamity.Types.Model.Interaction

type Rep Interaction Source # 
Instance details

Defined in Calamity.Types.Model.Interaction

data ApplicationCommandInteractionData Source #

Instances

Instances details
Show ApplicationCommandInteractionData Source # 
Instance details

Defined in Calamity.Types.Model.Interaction

Generic ApplicationCommandInteractionData Source # 
Instance details

Defined in Calamity.Types.Model.Interaction

Associated Types

type Rep ApplicationCommandInteractionData :: Type -> Type #

FromJSON ApplicationCommandInteractionData Source # 
Instance details

Defined in Calamity.Types.Model.Interaction

TextShow ApplicationCommandInteractionData Source # 
Instance details

Defined in Calamity.Types.Model.Interaction

type Rep ApplicationCommandInteractionData Source # 
Instance details

Defined in Calamity.Types.Model.Interaction

type Rep ApplicationCommandInteractionData = D1 ('MetaData "ApplicationCommandInteractionData" "Calamity.Types.Model.Interaction" "calamity-0.1.30.3-CSMRHBAQ8As2NAXCz4SxiW" 'False) (C1 ('MetaCons "ApplicationCommandInteractionData" 'PrefixI 'True) ((S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Snowflake ())) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "resolved") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ApplicationCommandInteractionDataResolved)) :*: (S1 ('MetaSel ('Just "customID") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "componentType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ComponentType)))))

data ApplicationCommandInteractionDataResolved Source #

Instances

Instances details
Show ApplicationCommandInteractionDataResolved Source # 
Instance details

Defined in Calamity.Types.Model.Interaction

Generic ApplicationCommandInteractionDataResolved Source # 
Instance details

Defined in Calamity.Types.Model.Interaction

FromJSON ApplicationCommandInteractionDataResolved Source # 
Instance details

Defined in Calamity.Types.Model.Interaction

TextShow ApplicationCommandInteractionDataResolved Source # 
Instance details

Defined in Calamity.Types.Model.Interaction

type Rep ApplicationCommandInteractionDataResolved Source # 
Instance details

Defined in Calamity.Types.Model.Interaction

type Rep ApplicationCommandInteractionDataResolved = D1 ('MetaData "ApplicationCommandInteractionDataResolved" "Calamity.Types.Model.Interaction" "calamity-0.1.30.3-CSMRHBAQ8As2NAXCz4SxiW" 'False) (C1 ('MetaCons "ApplicationCommandInteractionDataResolved" 'PrefixI 'True) ((S1 ('MetaSel ('Just "users") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (HashMap (Snowflake User) User)) :*: S1 ('MetaSel ('Just "members") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (HashMap (Snowflake Member) Member))) :*: (S1 ('MetaSel ('Just "roles") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (HashMap (Snowflake Role) Role)) :*: S1 ('MetaSel ('Just "channels") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (HashMap (Snowflake Channel) Channel)))))

data InteractionType Source #

Instances

Instances details
Show InteractionType Source # 
Instance details

Defined in Calamity.Types.Model.Interaction

Generic InteractionType Source # 
Instance details

Defined in Calamity.Types.Model.Interaction

Associated Types

type Rep InteractionType :: Type -> Type #

FromJSON InteractionType Source # 
Instance details

Defined in Calamity.Types.Model.Interaction

TextShow InteractionType Source # 
Instance details

Defined in Calamity.Types.Model.Interaction

type Rep InteractionType Source # 
Instance details

Defined in Calamity.Types.Model.Interaction

type Rep InteractionType = D1 ('MetaData "InteractionType" "Calamity.Types.Model.Interaction" "calamity-0.1.30.3-CSMRHBAQ8As2NAXCz4SxiW" 'False) (C1 ('MetaCons "PingType" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "ApplicationCommandType" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "MessageComponentType" 'PrefixI 'False) (U1 :: Type -> Type)))