Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Calamity.HTTP.Interaction
Description
Interaction endpoints
Documentation
data InteractionRequest a where Source #
Constructors
Instances
Request (InteractionRequest a) Source # | |
Defined in Calamity.HTTP.Interaction Associated Types type Result (InteractionRequest a) Source # Methods 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 #
Constructors
InteractionCallbackMessageOptions | |
Fields
|
Instances
newtype InteractionCallbackAutocomplete Source #
Constructors
InteractionCallbackAutocomplete | |
Fields |
Instances
ToJSON InteractionCallbackAutocomplete Source # | |
Defined in Calamity.HTTP.Interaction | |
Show InteractionCallbackAutocomplete Source # | |
Defined in Calamity.HTTP.Interaction Methods showsPrec :: Int -> InteractionCallbackAutocomplete -> ShowS # | |
CalamityToJSON' InteractionCallbackAutocomplete Source # | |
Defined in Calamity.HTTP.Interaction | |
(k ~ An_Iso, a ~ [InteractionCallbackAutocompleteChoice], b ~ [InteractionCallbackAutocompleteChoice]) => LabelOptic "choices" k InteractionCallbackAutocomplete InteractionCallbackAutocomplete a b Source # | |
Defined in Calamity.HTTP.Interaction Methods labelOptic :: Optic k NoIx InteractionCallbackAutocomplete InteractionCallbackAutocomplete a b # |
data InteractionCallbackAutocompleteChoice Source #
Constructors
InteractionCallbackAutocompleteChoice | |
Instances
data InteractionCallbackModal Source #
Constructors
InteractionCallbackModal | |