Interface MicrosoftTeamsV2NodeParameters

Source
interface MicrosoftTeamsV2NodeParameters {
    approvalOptions?: {
        values: {
            approvalType?: "single" | "double";
            approveLabel?: string;
            disapproveLabel?: string;
        };
    };
    bucketId?: { mode: "id"
    | "list"; value: string };
    channelId?: { mode: "id" | "list"; value: string };
    chatId?: { mode: "id" | "list"; value: string };
    contentType?: "text" | "html";
    defineForm?: "json" | "fields";
    formFields?: {
        values: {
            acceptFileTypes?: string;
            defaultValue?: string;
            elementName?: string;
            fieldLabel: string;
            fieldName: string;
            fieldOptions: { values: { option?: string }[] };
            fieldType:
                | "number"
                | "file"
                | "text"
                | "email"
                | "password"
                | "date"
                | "html"
                | "checkbox"
                | "dropdown"
                | "hiddenField"
                | "radio"
                | "textarea";
            fieldValue?: string;
            formatDate?: string;
            html?: string;
            limitSelection?: "exact"
            | "range"
            | "unlimited";
            maxSelections?: number;
            minSelections?: number;
            multipleFiles?: boolean;
            multiselect?: boolean;
            multiselectLegacyNotice?: string;
            numberOfSelections?: number;
            placeholder?: string;
            requiredField?: boolean;
        }[];
    };
    groupId?: { mode: "id"
    | "list"; value: string };
    jsonOutput?: string;
    limit?: number;
    message?: string;
    messageId?: string;
    name?: string;
    operation?:
        | "create"
        | "get"
        | "getAll"
        | "update"
        | "sendAndWait"
        | "deleteChannel"
        | "deleteTask";
    options?: | {
        description?: string;
        type?: "private"
        | "standard";
    }
    | { description?: string }
    | {
        includeLinkToWorkflow?: boolean;
        makeReply?: string;
    }
    | { includeLinkToWorkflow?: boolean }
    | {
        appendAttribution?: boolean;
        limitWaitTime?: {
            values: {
                limitType?:
                    | "afterTimeInterval"
                    | "atSpecifiedTime";
                maxDateAndTime?: string;
                resumeAmount?: number;
                resumeUnit?: "minutes"
                | "hours"
                | "days";
            };
        };
    }
    | {
        appendAttribution?: boolean;
        limitWaitTime?: {
            values: {
                limitType?: | "afterTimeInterval"
                | "atSpecifiedTime";
                maxDateAndTime?: string;
                resumeAmount?: number;
                resumeUnit?: "minutes"
                | "hours"
                | "days";
            };
        };
        messageButtonLabel?: string;
        responseFormButtonLabel?: string;
        responseFormCustomCss?: string;
        responseFormDescription?: string;
        responseFormTitle?: string;
    }
    | {
        assignedTo?: { mode: "id"
        | "list"; value: string };
        dueDateTime?: string;
        percentComplete?: number;
    };
    planId?: { mode: "id"
    | "list"; value: string };
    resource?:
        | "task"
        | "channel"
        | "channelMessage"
        | "chatMessage";
    responseType?: "approval"
    | "freeText"
    | "customForm";
    returnAll?: boolean;
    taskId?: string;
    tasksFor?: "member" | "plan";
    teamId?: { mode: "id" | "list" | "url"; value: string };
    title?: string;
    updateFields?: {
        assignedTo?: { mode: "id" | "list"; value: string };
        bucketId?: { mode: "id" | "list"; value: string };
        dueDateTime?: string;
        groupId?: { mode: "id" | "list"; value: string };
        percentComplete?: number;
        planId?: { mode: "id" | "list"; value: string };
        title?: string;
    };
}

Properties§

§readonly approvalOptions?: { ... }

Default: {}

§readonly bucketId?: { ... }

The bucket for the task to belong to Default: {"mode":"list","value":""} Type options: {"loadOptionsDependsOn":["planId.value"]}

§readonly channelId?: { ... }

Select the channel from the list, by URL, or by ID (the ID is the "threadId" in the URL) Default: {"mode":"list","value":""} Type options: {"loadOptionsDependsOn":["teamId.value"]}

§readonly chatId?: { ... }

Select the chat from the list, by URL, or by ID (find the chat ID after "conversations/" in the URL) Default: {"mode":"list","value":""}

§readonly contentType?: "text" | "html"

Whether the message is plain text or HTML Default: "text"

§readonly defineForm?: "json" | "fields"

Default: "fields"

§readonly formFields?: { ... }

Default: {} Type options: {"multipleValues":true,"sortable":true,"fixedCollection":{"itemTitle":"={{ $collection.item.properties.find(p => p.name === "fieldType").options.find(o => o.value === $collection.item.value.fieldType).name }}"}}

§readonly groupId?: { ... }

Default: {"mode":"list","value":""} Type options: {"loadOptionsDependsOn":["groupSource"]}

§readonly jsonOutput?: string

Default: "[\n {\n "fieldLabel": "Name",\n "placeholder": "enter your name",\n "requiredField": true\n },\n {\n "fieldLabel": "Age",\n "fieldType": "number",\n "placeholder": "enter your age"\n },\n {\n "fieldLabel": "Email",\n "fieldType": "email",\n "requiredField": true\n },\n {\n "fieldLabel": "Textarea",\n "fieldType": "textarea"\n },\n {\n "fieldLabel": "Dropdown Options",\n "fieldType": "dropdown",\n "fieldOptions": {\n "values": [\n {\n "option": "option 1"\n },\n {\n "option": "option 2"\n }\n ]\n },\n "requiredField": true\n },\n {\n "fieldLabel": "Checkboxes",\n "fieldType": "checkbox",\n "fieldOptions": {\n "values": [\n {\n "option": "option 1"\n },\n {\n "option": "option 2"\n }\n ]\n }\n },\n {\n "fieldLabel": "Radio",\n "fieldType": "radio",\n "fieldOptions": {\n "values": [\n {\n "option": "option 1"\n },\n {\n "option": "option 2"\n }\n ]\n }\n },\n {\n "fieldLabel": "Email",\n "fieldType": "email",\n "placeholder": "me@mail.con"\n },\n {\n "fieldLabel": "File",\n "fieldType": "file",\n "multipleFiles": true,\n "acceptFileTypes": ".jpg, .png"\n },\n {\n "fieldLabel": "Number",\n "fieldType": "number"\n },\n {\n "fieldLabel": "Password",\n "fieldType": "password"\n }\n]\n" Type options: {"rows":5}

§readonly limit?: number

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

§readonly message?: string

The content of the message to be sent Type options: {"rows":2}

§readonly messageId?: string

The ID of the message to retrieve

§readonly name?: string

The name of the new channel you want to create

§readonly operation?:
    | "create"
    | "get"
    | "getAll"
    | "update"
    | "sendAndWait"
    | "deleteChannel"
    | "deleteTask"

Default: "create"

§readonly options?:
    | {
        description?: string;
        type?: "private"
        | "standard";
    }
    | { description?: string }
    | {
        includeLinkToWorkflow?: boolean;
        makeReply?: string;
    }
    | { includeLinkToWorkflow?: boolean }
    | {
        appendAttribution?: boolean;
        limitWaitTime?: {
            values: {
                limitType?:
                    | "afterTimeInterval"
                    | "atSpecifiedTime";
                maxDateAndTime?: string;
                resumeAmount?: number;
                resumeUnit?: "minutes"
                | "hours"
                | "days";
            };
        };
    }
    | {
        appendAttribution?: boolean;
        limitWaitTime?: {
            values: {
                limitType?: | "afterTimeInterval"
                | "atSpecifiedTime";
                maxDateAndTime?: string;
                resumeAmount?: number;
                resumeUnit?: "minutes"
                | "hours"
                | "days";
            };
        };
        messageButtonLabel?: string;
        responseFormButtonLabel?: string;
        responseFormCustomCss?: string;
        responseFormDescription?: string;
        responseFormTitle?: string;
    }
    | {
        assignedTo?: { mode: "id"
        | "list"; value: string };
        dueDateTime?: string;
        percentComplete?: number;
    }

Default: {}

§readonly planId?: { ... }

The plan for the task to belong to Default: {"mode":"list","value":""} Type options: {"loadOptionsDependsOn":["groupId.value"]}

§readonly resource?: "task" | "channel" | "channelMessage" | "chatMessage"

Default: "channel"

§readonly responseType?: "approval" | "freeText" | "customForm"

Default: "approval"

§readonly returnAll?: boolean

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

§readonly taskId?: string

The ID of the task to delete

§readonly tasksFor?: "member" | "plan"

Whether to retrieve the tasks for a user or for a plan Default: "member"

§readonly teamId?: { ... }

Select the team from the list, by URL, or by ID (the ID is the "groupId" parameter in the URL you get from "Get a link to the team") Default: {"mode":"list","value":""}

§readonly title?: string

Title of the task

§readonly updateFields?: { ... }

Default: {}