Interface RocketchatNodeParameters

Source
interface RocketchatNodeParameters {
    attachments?: {
        audioUrl?: string;
        authorIcon?: string;
        authorLink?: string;
        authorName?: string;
        collapsed?: boolean;
        color?: string;
        fields?: {
            fieldsValues: {
                short?: boolean;
                title?: string;
                value?: string;
            }[];
        };
        imageUrl?: string;
        messageLink?: string;
        text?: string;
        thumbUrl?: string;
        title?: string;
        titleLink?: string;
        titleLinkDownload?: boolean;
        ts?: string;
        videoUrl?: string;
    };
    attachmentsJson?: string;
    channel?: string;
    jsonParameters?: boolean;
    operation?: "postMessage";
    options?: {
        alias?: string;
        avatar?: string;
        emoji?: string;
    };
    resource?: "chat";
    text?: string;
}

Properties§

Source§

readonly attachments?: {
    audioUrl?: string;
    authorIcon?: string;
    authorLink?: string;
    authorName?: string;
    collapsed?: boolean;
    color?: string;
    fields?: {
        fieldsValues: {
            short?: boolean;
            title?: string;
            value?: string;
        }[];
    };
    imageUrl?: string;
    messageLink?: string;
    text?: string;
    thumbUrl?: string;
    title?: string;
    titleLink?: string;
    titleLinkDownload?: boolean;
    ts?: string;
    videoUrl?: string;
}

Default: {} Type options: {"multipleValues":true,"multipleValueButtonText":"Add Attachment"}

Source§

readonly attachmentsJson?: string

Type options: {"alwaysOpenEditWindow":true}

Source§

readonly channel?: string

The channel name with the prefix in front of it

Source§

readonly jsonParameters?: boolean

Source§

readonly operation?: "postMessage"

Default: "postMessage"

Source§

readonly options?: { alias?: string; avatar?: string; emoji?: string }

Default: {}

Source§

readonly resource?: "chat"

Default: "chat"

Source§

readonly text?: string

The text of the message to send, is optional because of attachments