File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed
integrations/slack/src/actions Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -16,15 +16,32 @@ interface ActionBaseParams {
1616}
1717
1818interface IngestSlackConversationWithConversation extends ActionBaseParams {
19+ /**
20+ * Used when the ingestion originates from a Slack conversation shortcut.
21+ * The target conversation in this case is both the conversation to ingest
22+ * and the one where notifications are sent.
23+ * Identified by the `channelId` and `messageTs` values.
24+ */
1925 conversationToIngest : {
2026 channelId : string ;
2127 messageTs : string ;
2228 } ;
29+ /**
30+ * Not present when the ingestion is triggered directly from the conversation shortcut context.
31+ */
2332 text ?: never ;
2433}
2534
2635interface IngestSlackConversationWithText extends ActionBaseParams {
36+ /**
37+ * Used when the ingestion originates from outside the conversation to ingest,
38+ * for example from a slash command that includes a permalink in the command text.
39+ * The `text` field contains the permalink identifying the target conversation.
40+ */
2741 text : string ;
42+ /**
43+ * Not present when the ingestion is triggered using a text or link reference.
44+ */
2845 conversationToIngest ?: never ;
2946}
3047
You can’t perform that action at this time.
0 commit comments