Safe Haskell | None |
---|---|
Language | Haskell2010 |
Channel endpoints
Documentation
data ChannelRequest a where Source #
Instances
Request (ChannelRequest a) Source # | |
Defined in Calamity.HTTP.Channel type Result (ChannelRequest a) Source # route :: ChannelRequest a -> Route Source # action :: ChannelRequest a -> Options -> Session -> 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 #
Instances
data ChannelUpdate Source #
Instances
data AllowedMentionType Source #
Instances
data AllowedMentions Source #
Instances
data ChannelMessagesQuery Source #
Instances
data GetReactionsOptions Source #
Instances
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.22.0-4zM6qVK1iz18TG5yi1QxTe" 'False) (C1 ('MetaCons "GroupDMAddRecipientOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "accessToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "nick") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) |