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;
    limit?: number;
    operation?: "get"
    | "read"
    | "postMessage"
    | "messages";
    options?: {
        alias?: string;
        avatar?: string;
        emoji?: string;
    };
    resource?: "chat"
    | "subscriptions"
    | "dm";
    returnAll?: boolean;
    roomId?: string;
    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 limit?: number

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

§readonly operation?: "get" | "read" | "postMessage" | "messages"

Default: "postMessage"

§readonly options?: { ... }

Default: {}

§readonly resource?: "chat" | "subscriptions" | "dm"

Default: "chat"

§readonly returnAll?: boolean

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

§readonly roomId?: string

The room identifier

§readonly text?: string

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