Safe Haskell | None |
---|---|
Language | Haskell2010 |
Channel endpoints
Documentation
data ChannelUpdate Source #
Instances
data ChannelMessagesQuery Source #
Instances
data ChannelRequest a where Source #
Instances
Request (ChannelRequest a) a Source # | |
Defined in Calamity.HTTP.Channel toRoute :: ChannelRequest a -> Route Source # url :: ChannelRequest a -> String Source # toAction :: ChannelRequest a -> Options -> String -> IO (Response ByteString) Source # invokeRequest :: (BotC reffs, FromJSON a) => ChannelRequest a -> Sem reffs (Either RestError a) Source # |
data GetReactionsOptions Source #
Instances
Show GetReactionsOptions Source # | |
Defined in Calamity.HTTP.Channel showsPrec :: Int -> GetReactionsOptions -> ShowS # show :: GetReactionsOptions -> String # showList :: [GetReactionsOptions] -> ShowS # |
data CreateChannelInviteOptions Source #
Instances
data GroupDMAddRecipientOptions Source #
Instances
Show GroupDMAddRecipientOptions Source # | |
Defined in Calamity.HTTP.Channel showsPrec :: Int -> GroupDMAddRecipientOptions -> ShowS # show :: GroupDMAddRecipientOptions -> String # showList :: [GroupDMAddRecipientOptions] -> ShowS # | |
Generic GroupDMAddRecipientOptions Source # | |
Defined in Calamity.HTTP.Channel type Rep GroupDMAddRecipientOptions :: Type -> Type # | |
ToJSON GroupDMAddRecipientOptions Source # | |
Defined in Calamity.HTTP.Channel | |
type Rep GroupDMAddRecipientOptions Source # | |
Defined in Calamity.HTTP.Channel type Rep GroupDMAddRecipientOptions = D1 (MetaData "GroupDMAddRecipientOptions" "Calamity.HTTP.Channel" "calamity-0.1.0.0-inplace" False) (C1 (MetaCons "GroupDMAddRecipientOptions" PrefixI True) (S1 (MetaSel (Just "accessToken") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text) :*: S1 (MetaSel (Just "nick") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text))) |