Interface: IncomingChannelWebhookRequest
@kortexya/reasoninglayer / IncomingChannelWebhookRequest
Interface: IncomingChannelWebhookRequest
Section titled “Interface: IncomingChannelWebhookRequest”Defined in: src/types/channels.ts:86
Body of POST /api/v1/channels/webhook — an inbound message from a messaging platform.
Properties
Section titled “Properties”channelId
Section titled “channelId”channelId:
string
Defined in: src/types/channels.ts:90
Channel id where the message was received.
content
Section titled “content”content:
string
Defined in: src/types/channels.ts:96
Message content.
isDirect
Section titled “isDirect”isDirect:
boolean
Defined in: src/types/channels.ts:100
Whether this is a direct message. A direct message is checked against the tenant’s DM policy.
platform
Section titled “platform”platform:
string
Defined in: src/types/channels.ts:88
Platform the message came from: slack, discord, telegram, email or webhook.
senderId
Section titled “senderId”senderId:
string
Defined in: src/types/channels.ts:92
Sender id on the platform.
senderName?
Section titled “senderName?”
optionalsenderName?:string|null
Defined in: src/types/channels.ts:94
Optional display name of the sender.
threadId?
Section titled “threadId?”
optionalthreadId?:string|null
Defined in: src/types/channels.ts:98
Optional thread id.