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§

§readonly attachments?: { ... }

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

§readonly attachmentsJson?: string

Type options: {"alwaysOpenEditWindow":true}

§readonly channel?: string

The channel name with the prefix in front of it

§readonly jsonParameters?: boolean
§readonly operation?: "postMessage"

Default: "postMessage"

§readonly options?: { ... }

Default: {}

§readonly resource?: "chat"

Default: "chat"

§readonly text?: string

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