MCPcopy
hub / github.com/ConnectAI-E/feishu-openai / withNote

Function withNote

code/handlers/msg.go:148–155  ·  view source on GitHub ↗

withNote 用于生成纯文本脚注

(note string)

Source from the content-addressed store, hash-verified

146
147// withNote 用于生成纯文本脚注
148func withNote(note string) larkcard.MessageCardElement {
149 noteElement := larkcard.NewMessageCardNote().
150 Elements([]larkcard.MessageCardNoteElement{larkcard.NewMessageCardPlainText().
151 Content(note).
152 Build()}).
153 Build()
154 return noteElement
155}
156
157// withMainMd 用于生成markdown消息体
158func withMainMd(msg string) larkcard.MessageCardElement {

Callers 15

CommonProcessClearCacheFunction · 0.85
sendClearCacheCheckCardFunction · 0.85
sendPicModeCheckCardFunction · 0.85
sendVisionModeCheckCardFunction · 0.85
sendNewTopicCardFunction · 0.85
sendOldTopicCardFunction · 0.85
sendVisionTopicCardFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected