Interface SlackV1NodeParameters

Source
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 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 }

Default: {}

§readonly attachments?: { ... }

The attachment to add Default: {} Type options: {"multipleValues":true,"multipleValueButtonText":"Add attachment"}

§readonly attachmentsJson?: string

The attachments to add Type options: {"alwaysOpenEditWindow":true}

§readonly authentication?: "oAuth2" | "accessToken"

Default: "accessToken"

§readonly binaryData?: boolean

Whether the data to upload should be taken from binary field

§readonly binaryPropertyName?: string

Default: "data"

§readonly blocksJson?: string

The blocks to add Type options: {"alwaysOpenEditWindow":true}

§readonly blocksUi?: { ... }

The blocks to add Default: {} Type options: {"multipleValues":true,"multipleValueButtonText":"Add Block"}

§readonly channel?: string

The channel to send the message to

§readonly channelId?: string

The name of the channel to archive. Choose from the list, or specify an ID using an expression. Type options: {"loadOptionsMethod":"getChannels"}

§readonly fileContent?: string

The text content of the file to upload

§readonly fileId?: 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 jsonParameters?: boolean
§readonly limit?: number

Max number of results to return Default: 50 Type options: {"minValue":1,"maxValue":100}

§readonly name?: string

New 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 otherOptions?: { ... }

Other options to set Default: {}

§readonly purpose?: string

A new, specialer purpose

§readonly resolveData?: boolean

Whether 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 returnAll?: boolean

Whether to return all results or only up to a given limit

§readonly text?: string

The text to send

§readonly timestamp?: string

Timestamp of the message to get permanent link

§readonly topic?: string

The new topic string. Does not support formatting or linkification.

§readonly ts?: string

Unique identifier of a thread's parent message

§readonly updateFields?:
    | {
        link_names?: boolean;
        parse?: "none"
        | "client"
        | "full";
    }
    | {
        channels?: unknown[];
        description?: string;
        handle?: string;
        include_count?: boolean;
        name?: string;
    }

Default: {}

§readonly user?: string

The user ID to send the message to

§readonly userGroupId?: string

The encoded ID of the User Group to update

§readonly userId?: string

Choose from the list, or specify an ID using an expression Type options: {"loadOptionsMethod":"getUsers"}

§readonly userIds?: 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"}