calamity-0.3.0.0: A library for writing discord bots in haskell
Safe HaskellNone
LanguageHaskell2010

Calamity.HTTP.Webhook

Description

Webhook endpoints

Documentation

data CreateWebhookData Source #

Constructors

CreateWebhookData 

Fields

data ModifyWebhookData Source #

Constructors

ModifyWebhookData 

Fields

Instances

Instances details
Show ModifyWebhookData Source # 
Instance details

Defined in Calamity.HTTP.Webhook

Generic ModifyWebhookData Source # 
Instance details

Defined in Calamity.HTTP.Webhook

Associated Types

type Rep ModifyWebhookData :: Type -> Type #

ToJSON ModifyWebhookData Source # 
Instance details

Defined in Calamity.HTTP.Webhook

Default ModifyWebhookData Source # 
Instance details

Defined in Calamity.HTTP.Webhook

type Rep ModifyWebhookData Source # 
Instance details

Defined in Calamity.HTTP.Webhook

type Rep ModifyWebhookData = D1 ('MetaData "ModifyWebhookData" "Calamity.HTTP.Webhook" "calamity-0.3.0.0-inplace" 'False) (C1 ('MetaCons "ModifyWebhookData" 'PrefixI 'True) (S1 ('MetaSel ('Just "username") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "avatar") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "channelID") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Snowflake Channel))))))

data ExecuteWebhookOptions Source #

Instances

Instances details
Show ExecuteWebhookOptions Source # 
Instance details

Defined in Calamity.HTTP.Webhook

Generic ExecuteWebhookOptions Source # 
Instance details

Defined in Calamity.HTTP.Webhook

Associated Types

type Rep ExecuteWebhookOptions :: Type -> Type #

Default ExecuteWebhookOptions Source # 
Instance details

Defined in Calamity.HTTP.Webhook

type Rep ExecuteWebhookOptions Source # 
Instance details

Defined in Calamity.HTTP.Webhook