Interface: ChannelContext
Defined in: .source/wunderland/src/channels/chat/types.ts:15
Channel context passed through the tool execution pipeline.
Properties
chatId
chatId:
string
Defined in: .source/wunderland/src/channels/chat/types.ts:19
Chat/conversation ID on the platform.
platform
platform:
string
Defined in: .source/wunderland/src/channels/chat/types.ts:17
Platform identifier (telegram, whatsapp, discord, slack, etc).
replyFn
replyFn: (
text) =>Promise<void>
Defined in: .source/wunderland/src/channels/chat/types.ts:25
Send a text reply to the current chat.
Parameters
text
string
Returns
Promise<void>
sendFileFn
sendFileFn: (
filePath,caption?) =>Promise<void>
Defined in: .source/wunderland/src/channels/chat/types.ts:23
Send a file to the current chat.
Parameters
filePath
string
caption?
string
Returns
Promise<void>
userId
userId:
string
Defined in: .source/wunderland/src/channels/chat/types.ts:21
Sender user ID on the platform.