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"
| "disable"
| "enable"
| "post"
| "rename"
| "invite"
| "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§
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 attachments?: { ... }The attachment to add Default: {} Type options: {"multipleValues":true,"multipleValueButtonText":"Add attachment"}
readonly attachments Json?: stringThe attachments to add Type options: {"alwaysOpenEditWindow":true}
readonly authentication?: "oAuth2" | "accessToken"Default: "accessToken"
readonly binary Data?: booleanWhether the data to upload should be taken from binary field
readonly binary Property Name?: stringDefault: "data"
readonly blocks Json?: stringThe blocks to add Type options: {"alwaysOpenEditWindow":true}
readonly blocks Ui?: { ... }The blocks to add Default: {} Type options: {"multipleValues":true,"multipleValueButtonText":"Add Block"}
readonly channel?: stringThe channel to send the message to
readonly channel Id?: stringThe name of the channel to archive. Choose from the list, or specify an ID using an expression. Type options: {"loadOptionsMethod":"getChannels"}
readonly file Content?: stringThe text content of the file to upload
readonly file Id?: 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: {}
readonly json Parameters?: boolean§readonly limit?: numberMax number of results to return Default: 50 Type options: {"minValue":1,"maxValue":100}
readonly name?: stringNew name for conversation
readonly operation?:
| "create"
| "get"
| "getAll"
| "update"
| "add"
| "remove"
| "delete"
| "close"
| "upload"
| "member"
| "open"
| "history"
| "disable"
| "enable"
| "post"
| "rename"
| "invite"
| "join"
| "kick"
| "leave"
| "postEphemeral"
| "archive"
| "info"
| "replies"
| "setPurpose"
| "setTopic"
| "unarchive"
| "getPermalink"
| "getPresence"Default: "create"
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: {}
readonly other Options?: { ... }Other options to set Default: {}
readonly purpose?: stringA new, specialer purpose
readonly resolve Data?: booleanWhether to resolve the data automatically. By default the response only contain the ID to resource.
readonly resource?:
| "file"
| "message"
| "user"
| "channel"
| "userGroup"
| "star"
| "reaction"
| "userProfile"Default: "message"
readonly return All?: booleanWhether to return all results or only up to a given limit
readonly text?: stringThe text to send
readonly timestamp?: stringTimestamp of the message to get permanent link
readonly topic?: stringThe new topic string. Does not support formatting or linkification.
readonly ts?: stringUnique identifier of a thread's parent message
readonly update Fields?:
| {
link_names?: boolean;
parse?: "none"
| "client"
| "full";
}
| {
channels?: unknown[];
description?: string;
handle?: string;
include_count?: boolean;
name?: string;
}Default: {}
readonly user?: stringThe user ID to send the message to
readonly user Group Id?: stringThe encoded ID of the User Group to update
readonly user Id?: stringChoose from the list, or specify an ID using an expression Type options: {"loadOptionsMethod":"getUsers"}
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: {}