Skip to content

Commit

Permalink
Merge pull request #1068 from OnePunMan/reply-broadcast-webhook
Browse files Browse the repository at this point in the history
Support "reply_broadcast" parameter in webhook API
  • Loading branch information
kanata2 committed Jun 6, 2022
2 parents 43f6075 + a6124c0 commit 1010af8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions webhooks.go
Expand Up @@ -23,6 +23,7 @@ type WebhookMessage struct {
ResponseType string `json:"response_type,omitempty"`
ReplaceOriginal bool `json:"replace_original,omitempty"`
DeleteOriginal bool `json:"delete_original,omitempty"`
ReplyBroadcast bool `json:"reply_broadcast,omitempty"`
}

func PostWebhook(url string, msg *WebhookMessage) error {
Expand Down

0 comments on commit 1010af8

Please sign in to comment.