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

Interface Pipe

pipe/pipe.go:35–39  ·  view source on GitHub ↗

Pipe is the core interface every pipe platform must implement.

Source from the content-addressed store, hash-verified

33
34// Pipe is the core interface every pipe platform must implement.
35type Pipe interface {
36 SendMessage(chatId string, text string) error
37 ParseWebhookRequest(body []byte) (*IncomingMessage, error)
38 SetWebhook(webhookUrl string) error
39}
40
41type PipeMessageWriter interface {
42 WriteMessage(text string) error

Callers 7

sendPipeAnswerFunction · 0.65
CloseMessageMethod · 0.65
ChatTestMethod · 0.65
ChatWebhookMethod · 0.65
SetPipeWebhookMethod · 0.65
DeleteBeegoSessionFunction · 0.45
UpdatePipeFunction · 0.80

Implementers 9

TelegramPipepipe/telegram.go
SnapchatPipepipe/snapchat.go
XDMPipepipe/x_dm.go
DiscordPipepipe/discord.go
ThreadsPipepipe/threads.go
FacebookMessengerPipepipe/facebook_messenger.go
SlackPipepipe/slack.go
WhatsAppPipepipe/whatsapp.go
WeChatPipepipe/wechat.go

Calls

no outgoing calls

Tested by

no test coverage detected