Safe Haskell | None |
---|---|
Language | Haskell2010 |
Provides actions for Channel API interactions
Synopsis
- data InviteRequest a where
- GetInvite :: Text -> InviteRequest Invite
- DeleteInvite :: Text -> InviteRequest Invite
Documentation
data InviteRequest a where Source #
Data constructor for requests. See API
GetInvite :: Text -> InviteRequest Invite | Get invite for given code |
DeleteInvite :: Text -> InviteRequest Invite | Delete invite by code |
Instances
Request (InviteRequest a) Source # | |
Defined in Discord.Rest.Invite majorRoute :: InviteRequest a -> String Source # jsonRequest :: InviteRequest a -> JsonRequest Source # |