Skip to content

Commit

Permalink
add ReplyBroadcast field to WebhookMessage
Browse files Browse the repository at this point in the history
  • Loading branch information
jjaxu committed May 19, 2022
1 parent 34c7fd3 commit 377fc72
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 377fc72

Please sign in to comment.