MCPcopy Create free account
hub / github.com/coze-dev/coze-go / NewFileMessageObjectByURL

Function NewFileMessageObjectByURL

common.go:189–194  ·  view source on GitHub ↗
(fileURL string)

Source from the content-addressed store, hash-verified

187}
188
189func NewFileMessageObjectByURL(fileURL string) *MessageObjectString {
190 return &MessageObjectString{
191 Type: MessageObjectStringTypeFile,
192 FileURL: fileURL,
193 }
194}
195
196func NewAudioMessageObjectByID(fileID string) *MessageObjectString {
197 return &MessageObjectString{

Callers 2

TestConversationMessageFunction · 0.85
TestChatFunction · 0.85

Calls

no outgoing calls

Tested by 2

TestConversationMessageFunction · 0.68
TestChatFunction · 0.68