Safe Haskell | None |
---|---|
Language | Haskell2010 |
Calamity.HTTP.Channel
Description
Channel endpoints
Documentation
data ChannelUpdate Source #
Constructors
ChannelUpdate | |
Instances
data ChannelMessagesQuery Source #
Instances
data ChannelRequest a where Source #
Constructors
Instances
Request (ChannelRequest a) a Source # | |
Defined in Calamity.HTTP.Channel Methods 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 #
Constructors
GetReactionsOptions | |
Instances
Show GetReactionsOptions Source # | |
Defined in Calamity.HTTP.Channel Methods showsPrec :: Int -> GetReactionsOptions -> ShowS # show :: GetReactionsOptions -> String # showList :: [GetReactionsOptions] -> ShowS # |
data CreateChannelInviteOptions Source #
Constructors
CreateChannelInviteOptions | |
Instances
data GroupDMAddRecipientOptions Source #
Constructors
GroupDMAddRecipientOptions | |
Fields
|