calamity-0.8.0.0: A library for writing discord bots in haskell
Safe HaskellSafe-Inferred
LanguageHaskell2010

Calamity.HTTP.Webhook

Description

Webhook endpoints

Documentation

data CreateWebhookData Source #

Constructors

CreateWebhookData 

Fields

data ModifyWebhookData Source #

Constructors

ModifyWebhookData 

Fields

Instances

Instances details
ToJSON ModifyWebhookData Source # 
Instance details

Defined in Calamity.HTTP.Webhook

Show ModifyWebhookData Source # 
Instance details

Defined in Calamity.HTTP.Webhook

CalamityToJSON' ModifyWebhookData Source # 
Instance details

Defined in Calamity.HTTP.Webhook

Default ModifyWebhookData Source # 
Instance details

Defined in Calamity.HTTP.Webhook

(k ~ A_Lens, a ~ Maybe Text, b ~ Maybe Text) => LabelOptic "avatar" k ModifyWebhookData ModifyWebhookData a b Source # 
Instance details

Defined in Calamity.HTTP.Webhook

(k ~ A_Lens, a ~ Maybe (Snowflake Channel), b ~ Maybe (Snowflake Channel)) => LabelOptic "channelID" k ModifyWebhookData ModifyWebhookData a b Source # 
Instance details

Defined in Calamity.HTTP.Webhook

(k ~ A_Lens, a ~ Maybe Text, b ~ Maybe Text) => LabelOptic "username" k ModifyWebhookData ModifyWebhookData a b Source # 
Instance details

Defined in Calamity.HTTP.Webhook

data ExecuteWebhookOptions Source #

Instances

Instances details
Show ExecuteWebhookOptions Source # 
Instance details

Defined in Calamity.HTTP.Webhook

Default ExecuteWebhookOptions Source # 
Instance details

Defined in Calamity.HTTP.Webhook

(k ~ A_Lens, a ~ Maybe AllowedMentions, b ~ Maybe AllowedMentions) => LabelOptic "allowedMentions" k ExecuteWebhookOptions ExecuteWebhookOptions a b Source # 
Instance details

Defined in Calamity.HTTP.Webhook

(k ~ A_Lens, a ~ [CreateMessageAttachment], b ~ [CreateMessageAttachment]) => LabelOptic "attachments" k ExecuteWebhookOptions ExecuteWebhookOptions a b Source # 
Instance details

Defined in Calamity.HTTP.Webhook

(k ~ A_Lens, a ~ Maybe Text, b ~ Maybe Text) => LabelOptic "avatarUrl" k ExecuteWebhookOptions ExecuteWebhookOptions a b Source # 
Instance details

Defined in Calamity.HTTP.Webhook

(k ~ A_Lens, a ~ [Component], b ~ [Component]) => LabelOptic "components" k ExecuteWebhookOptions ExecuteWebhookOptions a b Source # 
Instance details

Defined in Calamity.HTTP.Webhook

(k ~ A_Lens, a ~ Maybe Text, b ~ Maybe Text) => LabelOptic "content" k ExecuteWebhookOptions ExecuteWebhookOptions a b Source # 
Instance details

Defined in Calamity.HTTP.Webhook

(k ~ A_Lens, a ~ Maybe [Embed], b ~ Maybe [Embed]) => LabelOptic "embeds" k ExecuteWebhookOptions ExecuteWebhookOptions a b Source # 
Instance details

Defined in Calamity.HTTP.Webhook

(k ~ A_Lens, a ~ Maybe Bool, b ~ Maybe Bool) => LabelOptic "tts" k ExecuteWebhookOptions ExecuteWebhookOptions a b Source # 
Instance details

Defined in Calamity.HTTP.Webhook

(k ~ A_Lens, a ~ Maybe Text, b ~ Maybe Text) => LabelOptic "username" k ExecuteWebhookOptions ExecuteWebhookOptions a b Source # 
Instance details

Defined in Calamity.HTTP.Webhook

(k ~ A_Lens, a ~ Maybe Bool, b ~ Maybe Bool) => LabelOptic "wait" k ExecuteWebhookOptions ExecuteWebhookOptions a b Source # 
Instance details

Defined in Calamity.HTTP.Webhook