Skip to content

Commit

Permalink
feat: 发送dootask消息加key字段
Browse files Browse the repository at this point in the history
  • Loading branch information
曾振华 committed Oct 25, 2024
1 parent 99ae2fb commit b44f36a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions hi.go
Original file line number Diff line number Diff line change
Expand Up @@ -729,6 +729,7 @@ func hiPushMsg(msg string) {
"dialog_id": config.BotDialogId,
"text": msg,
"silence": config.BotSilence,
"key": "", // search term (auto-generated if left blank)
}).Post(config.BotUrl)
}

Expand All @@ -744,6 +745,7 @@ func hiPushLineMsg(msg string) {
"dialog_id": config.LineBotDialogId,
"text": msg,
"silence": config.LineBotSilence,
"key": "", // search term (auto-generated if left blank)
}).Post(config.LineBotUrl)
}

Expand Down

0 comments on commit b44f36a

Please sign in to comment.