MCPcopy
hub / github.com/the-open-agent/openagent / GetMessage

Function GetMessage

object/message.go:212–218  ·  view source on GitHub ↗
(id string)

Source from the content-addressed store, hash-verified

210}
211
212func GetMessage(id string) (*Message, error) {
213 owner, name, err := util.GetOwnerAndNameFromIdWithError(id)
214 if err != nil {
215 return nil, err
216 }
217 return getMessage(owner, name)
218}
219
220func UpdateMessage(id string, message *Message, isHitOnly bool) (bool, error) {
221 owner, name, err := util.GetOwnerAndNameFromIdWithError(id)

Callers 15

sendPipeAnswerFunction · 0.92
GetMessageMethod · 0.92
UpdateMessageMethod · 0.92
AddMessageMethod · 0.92
DeleteMessageMethod · 0.92
DeleteWelcomeMessageMethod · 0.92
GetMessageAnswerMethod · 0.92
CancelMessageAnswerMethod · 0.92
generateMessageAnswerFunction · 0.92
getOrStartMethod · 0.92
TestSendErrorEmailFunction · 0.92

Calls 2

getMessageFunction · 0.70

Tested by 2

TestSendErrorEmailFunction · 0.74
TestUpdateMessagePricesFunction · 0.68