MCPcopy Create free account
hub / github.com/bytebase/bytebase / Post

Method Post

backend/plugin/webhook/feishu/feishu.go:119–126  ·  view source on GitHub ↗
(context webhook.Context)

Source from the content-addressed store, hash-verified

117}
118
119func (*feishuReceiver) Post(context webhook.Context) error {
120 if context.DirectMessage && len(context.MentionEndUsers) > 0 {
121 if postDirectMessage(context) {
122 return nil
123 }
124 }
125 return postMessage(context)
126}
127
128func postDirectMessage(webhookCtx webhook.Context) bool {
129 feishu := getFeishuConfig(webhookCtx.IMSetting)

Callers

nothing calls this directly

Calls 2

postDirectMessageFunction · 0.70
postMessageFunction · 0.70

Tested by

no test coverage detected