Interface MattermostV1NodeParameters

Source
interface MattermostV1NodeParameters {
    additionalFields?:
        | {
            first_name?: string;
            last_name?: string;
            locale?: string;
            nickname?: string;
            notificationUi?: {
                notificationValues: {
                    channel?: boolean;
                    desktop?: "all"
                    | "none"
                    | "mention";
                    desktop_sound?: boolean;
                    email?: boolean;
                    first_name?: boolean;
                    mention_keys?: string;
                    push?: "all" | "none" | "mention";
                };
            };
        }
        | {
            inChannel?: string;
            inTeam?: string;
            notInChannel?: string;
            notInTeam?: string;
            sort?: | "status"
            | "username"
            | "createdAt"
            | "lastActivityAt";
        }
        | { since?: string };
    attachments?: {
        actions?: {
            item: {
                data_source?: "custom" | "users" | "channels";
                integration?: {
                    item: {
                        context?: { property: ... };
                        url?: string;
                    };
                };
                name?: string;
                options?: {
                    option: {
                        text?: (...)
                        | (...);
                        value?: (...) | (...);
                    }[];
                };
                type?: "select"
                | "button";
            }[];
        };
        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;
    };
    authData?: string;
    authService?: | "email"
    | "google"
    | "ldap"
    | "gitlab"
    | "office365"
    | "saml";
    channel?: string;
    channelId?: string;
    displayName?: string;
    email?: string;
    emails?: string;
    emojiName?: string;
    limit?: number;
    message?: string;
    operation?: | "create"
    | "getAll"
    | "delete"
    | "search"
    | "post"
    | "invite"
    | "addUser"
    | "members"
    | "restore"
    | "statistics"
    | "postEphemeral"
    | "deactive"
    | "getByEmail"
    | "getById";
    otherOptions?: { root_id?: string };
    password?: string;
    postId?: string;
    resolveData?: boolean;
    resource?: "message" | "user" | "channel" | "reaction";
    returnAll?: boolean;
    teamId?: string;
    term?: string;
    type?: "public" | "private";
    userId?: string;
    userIds?: string;
    username?: string;
}

Properties§

Source§

readonly additionalFields?:
    | {
        first_name?: string;
        last_name?: string;
        locale?: string;
        nickname?: string;
        notificationUi?: {
            notificationValues: {
                channel?: boolean;
                desktop?: "all"
                | "none"
                | "mention";
                desktop_sound?: boolean;
                email?: boolean;
                first_name?: boolean;
                mention_keys?: string;
                push?: "all" | "none" | "mention";
            };
        };
    }
    | {
        inChannel?: string;
        inTeam?: string;
        notInChannel?: string;
        notInTeam?: string;
        sort?: | "status"
        | "username"
        | "createdAt"
        | "lastActivityAt";
    }
    | { since?: string }

Default: {}

Source§

readonly attachments?: {
    actions?: {
        item: {
            data_source?: "custom" | "users" | "channels";
            integration?: {
                item: {
                    context?: { property: ... };
                    url?: string;
                };
            };
            name?: string;
            options?: {
                option: {
                    text?: (...)
                    | (...);
                    value?: (...) | (...);
                }[];
            };
            type?: "select"
            | "button";
        }[];
    };
    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;
}

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

Source§

readonly authData?: string

Source§

readonly authService?:
    | "email"
    | "google"
    | "ldap"
    | "gitlab"
    | "office365"
    | "saml"

Source§

readonly channel?: string

The unique handle for the channel, will be present in the channel URL

Source§

readonly channelId?: string

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

Source§

readonly displayName?: string

The non-unique UI name for the channel

Source§

readonly email?: string

Source§

readonly emails?: string

User's email. Multiple emails can be set separated by comma.

Source§

readonly emojiName?: string

Emoji to use for this reaction

Source§

readonly limit?: number

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

Source§

readonly message?: string

The text to send

Source§

readonly operation?:
    | "create"
    | "getAll"
    | "delete"
    | "search"
    | "post"
    | "invite"
    | "addUser"
    | "members"
    | "restore"
    | "statistics"
    | "postEphemeral"
    | "deactive"
    | "getByEmail"
    | "getById"

Default: "create"

Source§

readonly otherOptions?: { root_id?: string }

Other options to set Default: {}

Source§

readonly password?: string

The password used for email authentication Type options: {"password":true}

Source§

readonly postId?: string

ID of the post to delete

Source§

readonly resolveData?: boolean

By default the response only contain the ID of the user. If this option gets activated, it will resolve the user automatically. Default: true

Source§

readonly resource?: "message" | "user" | "channel" | "reaction"

Default: "message"

Source§

readonly returnAll?: boolean

Whether to return all results or only up to a given limit Default: true

Source§

readonly teamId?: string

The Mattermost Team. Choose from the list, or specify an ID using an expression. Type options: {"loadOptionsMethod":"getTeams"}

Source§

readonly term?: string

The search term for Channels in a Team

Source§

readonly type?: "public" | "private"

The type of channel to create Default: "public"

Source§

readonly userId?: string

The ID of the user to invite into channel. Choose from the list, or specify an ID using an expression. Type options: {"loadOptionsMethod":"getUsers"}

Source§

readonly userIds?: string

User's ID

Source§

readonly username?: string