Skip to content

Commit 1010af8

Browse files
authored
Merge pull request #1068 from OnePunMan/reply-broadcast-webhook
Support "reply_broadcast" parameter in webhook API
2 parents 43f6075 + a6124c0 commit 1010af8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

webhooks.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ type WebhookMessage struct {
2323
ResponseType string `json:"response_type,omitempty"`
2424
ReplaceOriginal bool `json:"replace_original,omitempty"`
2525
DeleteOriginal bool `json:"delete_original,omitempty"`
26+
ReplyBroadcast bool `json:"reply_broadcast,omitempty"`
2627
}
2728

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

0 commit comments

Comments
 (0)