Safe Haskell | None |
---|---|
Language | Haskell2010 |
Calamity.HTTP.Channel
Description
Channel endpoints
Documentation
data ChannelRequest a where Source #
Constructors
Instances
Request (ChannelRequest a) Source # | |
Defined in Calamity.HTTP.Channel Associated Types type Result (ChannelRequest a) Source # Methods route :: ChannelRequest a -> Route Source # action :: ChannelRequest a -> Options -> String -> IO (Response ByteString) Source # invoke :: forall (r :: [(Type -> Type) -> Type -> Type]). (BotC r, FromJSON (Result (ChannelRequest a))) => ChannelRequest a -> Sem r (Either RestError (Result (ChannelRequest a))) Source # | |
type Result (ChannelRequest a) Source # | |
Defined in Calamity.HTTP.Channel |
data CreateMessageOptions Source #
Constructors
CreateMessageOptions | |
Instances
data ChannelUpdate Source #
Constructors
ChannelUpdate | |
Instances
data AllowedMentionType Source #
Instances
data AllowedMentions Source #
Constructors
AllowedMentions | |
Instances
data ChannelMessagesQuery Source #
Instances
data GetReactionsOptions Source #
Constructors
GetReactionsOptions | |
Instances
data CreateChannelInviteOptions Source #
Constructors
CreateChannelInviteOptions | |
Instances
data GroupDMAddRecipientOptions Source #
Constructors
GroupDMAddRecipientOptions | |
Fields
|