calamity-0.2.0.2: 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 #

TextShow Interaction Source # 
Instance details

Defined in Calamity.Types.Model.Interaction

FromJSON Interaction Source # 
Instance details

Defined in Calamity.Types.Model.Interaction

Methods

parseJSON :: Value -> Parser Interaction

parseJSONList :: Value -> Parser [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 #

TextShow ApplicationCommandInteractionData Source # 
Instance details

Defined in Calamity.Types.Model.Interaction

FromJSON ApplicationCommandInteractionData Source # 
Instance details

Defined in Calamity.Types.Model.Interaction

type Rep ApplicationCommandInteractionData Source # 
Instance details

Defined in Calamity.Types.Model.Interaction

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

TextShow ApplicationCommandInteractionDataResolved Source # 
Instance details

Defined in Calamity.Types.Model.Interaction

FromJSON 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.2.0.2-inplace" '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 #

TextShow InteractionType Source # 
Instance details

Defined in Calamity.Types.Model.Interaction

FromJSON InteractionType Source # 
Instance details

Defined in Calamity.Types.Model.Interaction

Methods

parseJSON :: Value -> Parser InteractionType

parseJSONList :: Value -> Parser [InteractionType]

type Rep InteractionType Source # 
Instance details

Defined in Calamity.Types.Model.Interaction

type Rep InteractionType = D1 ('MetaData "InteractionType" "Calamity.Types.Model.Interaction" "calamity-0.2.0.2-inplace" '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)))