Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Interaction endpoints
Documentation
data InteractionRequest a where Source #
Instances
Request (InteractionRequest a) Source # | |
Defined in Calamity.HTTP.Interaction type Result (InteractionRequest a) Source # route :: InteractionRequest a -> Route Source # action :: InteractionRequest a -> Url 'Https -> Option 'Https -> Req LbsResponse Source # modifyResponse :: InteractionRequest a -> Value -> Value Source # | |
type Result (InteractionRequest a) Source # | |
Defined in Calamity.HTTP.Interaction |
data InteractionCallbackMessageOptions Source #
InteractionCallbackMessageOptions | |
|
Instances
newtype InteractionCallbackAutocomplete Source #
Instances
data InteractionCallbackAutocompleteChoice Source #
Instances
ToJSON InteractionCallbackAutocompleteChoice Source # | |
Show InteractionCallbackAutocompleteChoice Source # | |
Defined in Calamity.HTTP.Interaction | |
CalamityToJSON' InteractionCallbackAutocompleteChoice Source # | |
Defined in Calamity.HTTP.Interaction | |
(k ~ A_Lens, a ~ Text, b ~ Text) => LabelOptic "name" k InteractionCallbackAutocompleteChoice InteractionCallbackAutocompleteChoice a b Source # | |
(k ~ A_Lens, a ~ HashMap Text Text, b ~ HashMap Text Text) => LabelOptic "nameLocalizations" k InteractionCallbackAutocompleteChoice InteractionCallbackAutocompleteChoice a b Source # | |
(k ~ A_Lens, a ~ Value, b ~ Value) => LabelOptic "value" k InteractionCallbackAutocompleteChoice InteractionCallbackAutocompleteChoice a b Source # | |
data InteractionCallbackModal Source #
Instances
ToJSON InteractionCallbackModal Source # | |
Defined in Calamity.HTTP.Interaction | |
Show InteractionCallbackModal Source # | |
Defined in Calamity.HTTP.Interaction showsPrec :: Int -> InteractionCallbackModal -> ShowS # show :: InteractionCallbackModal -> String # showList :: [InteractionCallbackModal] -> ShowS # | |
CalamityToJSON' InteractionCallbackModal Source # | |
Defined in Calamity.HTTP.Interaction | |
(k ~ A_Lens, a ~ [Component], b ~ [Component]) => LabelOptic "components" k InteractionCallbackModal InteractionCallbackModal a b Source # | |
Defined in Calamity.HTTP.Interaction | |
(k ~ A_Lens, a ~ CustomID, b ~ CustomID) => LabelOptic "customID" k InteractionCallbackModal InteractionCallbackModal a b Source # | |
Defined in Calamity.HTTP.Interaction | |
(k ~ A_Lens, a ~ Text, b ~ Text) => LabelOptic "title" k InteractionCallbackModal InteractionCallbackModal a b Source # | |
Defined in Calamity.HTTP.Interaction |