interface SlackV1NodeParameters {
additionalFields?:
| { isPrivate?: boolean }
| { includeNumMembers?: boolean }
| {
channelIds?: unknown[];
description?: string;
handle?: string;
include_count?: boolean;
}
| { include_count?: boolean }
| {
include_count?: boolean;
include_disabled?: boolean;
include_users?: boolean;
}
| {
customFieldUi?: {
customFieldValues: {
alt?: string;
id?: string;
value?: string;
}[];
};
email?: string;
first_name?: string;
last_name?: string;
status_emoji?: string;
status_expiration?: string;
status_text?: string;
user?: string;
}
| { include_labels?: boolean; user?: string };
attachments?: {
author_icon?: string;
author_link?: string;
author_name?: string;
color?: string;
fallback?: string;
fields?: {
item: {
short?: boolean;
title?: string;
value?: string;
}[];
};
footer?: string;
footer_icon?: string;
image_url?: string;
pretext?: string;
text?: string;
thumb_url?: string;
title?: string;
title_link?: string;
ts?: string;
};
attachmentsJson?: string;
authentication?: "oAuth2"
| "accessToken";
binaryData?: boolean;
binaryPropertyName?: string;
blocksJson?: string;
blocksUi?: {
blocksValues: {
accessoryUi?: {
accessoriesValues: {
actionId?: string;
confirmUi?: {
confirmValue: {
confirmTextUi?: (...) | (...);
denyUi?: (...) | (...);
style?: (...) | (...) | (...) | (...);
textUi?: (...) | (...);
titleUi?: (...) | (...);
};
};
emoji?: boolean;
style?: "default"
| "primary"
| "danger";
text?: string;
type?: "button";
url?: string;
value?: string;
};
};
blockId?: string;
elementsUi?: {
elementsValues: {
actionId?: string;
confirmUi?: {
confirmValue: {
confirmTextUi?: ...;
denyUi?: ...;
style?: ...;
textUi?: ...;
titleUi?: ...;
};
};
emoji?: boolean;
style?: "default"
| "primary"
| "danger";
text?: string;
type?: "button";
url?: string;
value?: string;
}[];
};
fieldsUi?: {
fieldsValues: {
emoji?: boolean;
text?: string;
type?: "mrkwdn"
| "plainText";
verbatim?: boolean;
}[];
};
textUi?: {
textValue: {
emoji?: boolean;
text?: string;
type?: "mrkwdn"
| "plainText";
verbatim?: boolean;
};
};
type?: "actions"
| "section";
}[];
};
channel?: string;
channelId?: string;
fileContent?: string;
fileId?: string;
filters?: | {
excludeArchived?: boolean;
types?: (
| "public_channel"
| "private_channel"
| "mpim"
| "im"
)[];
}
| {
inclusive?: boolean;
latest?: string;
oldest?: string;
}
| {
channelId?: string;
showFilesHidden?: boolean;
tsFrom?: string;
tsTo?: string;
types?: (
| "all"
| "spaces"
| "gdocs"
| "images"
| "pdfs"
| "snippets"
| "zips"
)[];
userId?: string;
};
jsonParameters?: boolean;
limit?: number;
name?: string;
operation?: | "create"
| "get"
| "getAll"
| "update"
| "add"
| "remove"
| "delete"
| "close"
| "upload"
| "member"
| "open"
| "history"
| "post"
| "rename"
| "disable"
| "invite"
| "enable"
| "join"
| "kick"
| "leave"
| "postEphemeral"
| "archive"
| "info"
| "replies"
| "setPurpose"
| "setTopic"
| "unarchive"
| "getPermalink"
| "getPresence";
options?: | {
channelId?: string;
returnIm?: boolean;
users?: unknown[];
}
| {
channelId?: string;
fileComment?: string;
fileId?: string;
timestamp?: string;
}
| {
channelId?: string;
fileComment?: string;
fileId?: string;
timestamp?: string;
}
| {
channelIds?: unknown[];
fileName?: string;
initialComment?: string;
threadTs?: string;
title?: string;
};
otherOptions?: {
icon_emoji?: string;
icon_url?: string;
link_names?: boolean;
mrkdwn?: boolean;
reply_broadcast?: boolean;
sendAsUser?: string;
thread_ts?: string;
unfurl_links?: boolean;
unfurl_media?: boolean;
};
purpose?: string;
resolveData?: boolean;
resource?: | "file"
| "message"
| "user"
| "channel"
| "userGroup"
| "star"
| "reaction"
| "userProfile";
returnAll?: boolean;
text?: string;
timestamp?: string;
topic?: string;
ts?: string;
updateFields?: | {
link_names?: boolean;
parse?: "none"
| "client"
| "full";
}
| {
channels?: unknown[];
description?: string;
handle?: string;
include_count?: boolean;
name?: string;
};
user?: string;
userGroupId?: string;
userId?: string;
userIds?: unknown[];
}
Properties§
Source§readonly additional Fields?:
| { isPrivate?: boolean }
| { includeNumMembers?: boolean }
| {
channelIds?: unknown[];
description?: string;
handle?: string;
include_count?: boolean;
}
| { include_count?: boolean }
| {
include_count?: boolean;
include_disabled?: boolean;
include_users?: boolean;
}
| {
customFieldUi?: {
customFieldValues: {
alt?: string;
id?: string;
value?: string;
}[];
};
email?: string;
first_name?: string;
last_name?: string;
status_emoji?: string;
status_expiration?: string;
status_text?: string;
user?: string;
}
| { include_labels?: boolean; user?: string }
readonly additional Fields?:
| { isPrivate?: boolean }
| { includeNumMembers?: boolean }
| {
channelIds?: unknown[];
description?: string;
handle?: string;
include_count?: boolean;
}
| { include_count?: boolean }
| {
include_count?: boolean;
include_disabled?: boolean;
include_users?: boolean;
}
| {
customFieldUi?: {
customFieldValues: {
alt?: string;
id?: string;
value?: string;
}[];
};
email?: string;
first_name?: string;
last_name?: string;
status_emoji?: string;
status_expiration?: string;
status_text?: string;
user?: string;
}
| { include_labels?: boolean; user?: string }
Source§readonly attachments?: {
author_icon?: string;
author_link?: string;
author_name?: string;
color?: string;
fallback?: string;
fields?: {
item: {
short?: boolean;
title?: string;
value?: string;
}[];
};
footer?: string;
footer_icon?: string;
image_url?: string;
pretext?: string;
text?: string;
thumb_url?: string;
title?: string;
title_link?: string;
ts?: string;
}
readonly attachments?: {
author_icon?: string;
author_link?: string;
author_name?: string;
color?: string;
fallback?: string;
fields?: {
item: {
short?: boolean;
title?: string;
value?: string;
}[];
};
footer?: string;
footer_icon?: string;
image_url?: string;
pretext?: string;
text?: string;
thumb_url?: string;
title?: string;
title_link?: string;
ts?: string;
}
The attachment to add Default: {} Type options: {"multipleValues":true,"multipleValueButtonText":"Add attachment"}
Source§readonly attachments Json?: string
readonly attachments Json?: string
The attachments to add Type options: {"alwaysOpenEditWindow":true}
Source§readonly blocks Ui?: {
blocksValues: {
accessoryUi?: {
accessoriesValues: {
actionId?: string;
confirmUi?: {
confirmValue: {
confirmTextUi?: (...) | (...);
denyUi?: (...) | (...);
style?: (...) | (...) | (...) | (...);
textUi?: (...) | (...);
titleUi?: (...) | (...);
};
};
emoji?: boolean;
style?: "default"
| "primary"
| "danger";
text?: string;
type?: "button";
url?: string;
value?: string;
};
};
blockId?: string;
elementsUi?: {
elementsValues: {
actionId?: string;
confirmUi?: {
confirmValue: {
confirmTextUi?: ...;
denyUi?: ...;
style?: ...;
textUi?: ...;
titleUi?: ...;
};
};
emoji?: boolean;
style?: "default"
| "primary"
| "danger";
text?: string;
type?: "button";
url?: string;
value?: string;
}[];
};
fieldsUi?: {
fieldsValues: {
emoji?: boolean;
text?: string;
type?: "mrkwdn"
| "plainText";
verbatim?: boolean;
}[];
};
textUi?: {
textValue: {
emoji?: boolean;
text?: string;
type?: "mrkwdn"
| "plainText";
verbatim?: boolean;
};
};
type?: "actions"
| "section";
}[];
}
readonly blocks Ui?: {
blocksValues: {
accessoryUi?: {
accessoriesValues: {
actionId?: string;
confirmUi?: {
confirmValue: {
confirmTextUi?: (...) | (...);
denyUi?: (...) | (...);
style?: (...) | (...) | (...) | (...);
textUi?: (...) | (...);
titleUi?: (...) | (...);
};
};
emoji?: boolean;
style?: "default"
| "primary"
| "danger";
text?: string;
type?: "button";
url?: string;
value?: string;
};
};
blockId?: string;
elementsUi?: {
elementsValues: {
actionId?: string;
confirmUi?: {
confirmValue: {
confirmTextUi?: ...;
denyUi?: ...;
style?: ...;
textUi?: ...;
titleUi?: ...;
};
};
emoji?: boolean;
style?: "default"
| "primary"
| "danger";
text?: string;
type?: "button";
url?: string;
value?: string;
}[];
};
fieldsUi?: {
fieldsValues: {
emoji?: boolean;
text?: string;
type?: "mrkwdn"
| "plainText";
verbatim?: boolean;
}[];
};
textUi?: {
textValue: {
emoji?: boolean;
text?: string;
type?: "mrkwdn"
| "plainText";
verbatim?: boolean;
};
};
type?: "actions"
| "section";
}[];
}
The blocks to add Default: {} Type options: {"multipleValues":true,"multipleValueButtonText":"Add Block"}
Source§readonly channel Id?: string
readonly channel Id?: string
The name of the channel to archive. Choose from the list, or specify an ID using an expression. Type options: {"loadOptionsMethod":"getChannels"}
Source§readonly filters?:
| {
excludeArchived?: boolean;
types?: (
| "public_channel"
| "private_channel"
| "mpim"
| "im"
)[];
}
| {
inclusive?: boolean;
latest?: string;
oldest?: string;
}
| {
channelId?: string;
showFilesHidden?: boolean;
tsFrom?: string;
tsTo?: string;
types?: (
| "all"
| "spaces"
| "gdocs"
| "images"
| "pdfs"
| "snippets"
| "zips"
)[];
userId?: string;
}
readonly filters?:
| {
excludeArchived?: boolean;
types?: (
| "public_channel"
| "private_channel"
| "mpim"
| "im"
)[];
}
| {
inclusive?: boolean;
latest?: string;
oldest?: string;
}
| {
channelId?: string;
showFilesHidden?: boolean;
tsFrom?: string;
tsTo?: string;
types?: (
| "all"
| "spaces"
| "gdocs"
| "images"
| "pdfs"
| "snippets"
| "zips"
)[];
userId?: string;
}
Default: {}
Source§readonly limit?: number
readonly limit?: number
Max number of results to return Default: 50 Type options: {"minValue":1,"maxValue":100}
Source§readonly operation?:
| "create"
| "get"
| "getAll"
| "update"
| "add"
| "remove"
| "delete"
| "close"
| "upload"
| "member"
| "open"
| "history"
| "post"
| "rename"
| "disable"
| "invite"
| "enable"
| "join"
| "kick"
| "leave"
| "postEphemeral"
| "archive"
| "info"
| "replies"
| "setPurpose"
| "setTopic"
| "unarchive"
| "getPermalink"
| "getPresence"
readonly operation?:
| "create"
| "get"
| "getAll"
| "update"
| "add"
| "remove"
| "delete"
| "close"
| "upload"
| "member"
| "open"
| "history"
| "post"
| "rename"
| "disable"
| "invite"
| "enable"
| "join"
| "kick"
| "leave"
| "postEphemeral"
| "archive"
| "info"
| "replies"
| "setPurpose"
| "setTopic"
| "unarchive"
| "getPermalink"
| "getPresence"
Default: "create"
Source§readonly options?:
| {
channelId?: string;
returnIm?: boolean;
users?: unknown[];
}
| {
channelId?: string;
fileComment?: string;
fileId?: string;
timestamp?: string;
}
| {
channelId?: string;
fileComment?: string;
fileId?: string;
timestamp?: string;
}
| {
channelIds?: unknown[];
fileName?: string;
initialComment?: string;
threadTs?: string;
title?: string;
}
readonly options?:
| {
channelId?: string;
returnIm?: boolean;
users?: unknown[];
}
| {
channelId?: string;
fileComment?: string;
fileId?: string;
timestamp?: string;
}
| {
channelId?: string;
fileComment?: string;
fileId?: string;
timestamp?: string;
}
| {
channelIds?: unknown[];
fileName?: string;
initialComment?: string;
threadTs?: string;
title?: string;
}
Default: {}
Source§readonly other Options?: {
icon_emoji?: string;
icon_url?: string;
link_names?: boolean;
mrkdwn?: boolean;
reply_broadcast?: boolean;
sendAsUser?: string;
thread_ts?: string;
unfurl_links?: boolean;
unfurl_media?: boolean;
}
readonly other Options?: {
icon_emoji?: string;
icon_url?: string;
link_names?: boolean;
mrkdwn?: boolean;
reply_broadcast?: boolean;
sendAsUser?: string;
thread_ts?: string;
unfurl_links?: boolean;
unfurl_media?: boolean;
}
Other options to set Default: {}
Source§readonly resolve Data?: boolean
readonly resolve Data?: boolean
Whether to resolve the data automatically. By default the response only contain the ID to resource.
Source§readonly resource?:
| "file"
| "message"
| "user"
| "channel"
| "userGroup"
| "star"
| "reaction"
| "userProfile"
readonly resource?:
| "file"
| "message"
| "user"
| "channel"
| "userGroup"
| "star"
| "reaction"
| "userProfile"
Default: "message"
Source§readonly update Fields?:
| {
link_names?: boolean;
parse?: "none"
| "client"
| "full";
}
| {
channels?: unknown[];
description?: string;
handle?: string;
include_count?: boolean;
name?: string;
}
readonly update Fields?:
| {
link_names?: boolean;
parse?: "none"
| "client"
| "full";
}
| {
channels?: unknown[];
description?: string;
handle?: string;
include_count?: boolean;
name?: string;
}
Default: {}
Source§readonly user Id?: string
readonly user Id?: string
Choose from the list, or specify an ID using an expression Type options: {"loadOptionsMethod":"getUsers"}
Source§readonly user Ids?: unknown[]
readonly user Ids?: unknown[]
The ID of the user to invite into channel. Choose from the list, or specify IDs using an expression. Default: [] Type options: {"loadOptionsMethod":"getUsers"}
Default: {}