Skip to content

Commit

Permalink
add missing field for creating forum posts with webhooks
Browse files Browse the repository at this point in the history
  • Loading branch information
merlinfuchs committed Jul 26, 2023
1 parent a90485d commit 07838e8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion webhook.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ type WebhookParams struct {
AllowedMentions *MessageAllowedMentions `json:"allowed_mentions,omitempty"`
// Only MessageFlagsSuppressEmbeds and MessageFlagsEphemeral can be set.
// MessageFlagsEphemeral can only be set when using Followup Message Create endpoint.
Flags MessageFlags `json:"flags,omitempty"`
Flags MessageFlags `json:"flags,omitempty"`
ThreadName string `json:"thread_name,omitempty"`
}

// WebhookEdit stores data for editing of a webhook message.
Expand Down

0 comments on commit 07838e8

Please sign in to comment.