Interface: IncomingChannelWebhookRequest
@kortexya/reasoninglayer / IncomingChannelWebhookRequest
Interface: IncomingChannelWebhookRequest
Section titled “Interface: IncomingChannelWebhookRequest”Defined in: src/types/channels.ts:91
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:95
Channel id where the message was received.
content
Section titled “content”content:
string
Defined in: src/types/channels.ts:101
Message content.
isDirect
Section titled “isDirect”isDirect:
boolean
Defined in: src/types/channels.ts:105
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:93
Platform the message came from: slack, discord, telegram, email or webhook.
senderId
Section titled “senderId”senderId:
string
Defined in: src/types/channels.ts:97
Sender id on the platform.
senderName?
Section titled “senderName?”
optionalsenderName?:string|null
Defined in: src/types/channels.ts:99
Optional display name of the sender.
threadId?
Section titled “threadId?”
optionalthreadId?:string|null
Defined in: src/types/channels.ts:103
Optional thread id.