Interface MatrixNodeParameters

Source
interface MatrixNodeParameters {
    additionalFields?: { fileName?: string };
    binaryPropertyName?: string;
    eventId?: string;
    fallbackText?: string;
    filters?: {
        membership?:
            | ""
            | "invite"
            | "join"
            | "leave"
            | "ban";
        notMembership?: | ""
        | "invite"
        | "join"
        | "leave"
        | "ban";
    };
    limit?: number;
    mediaType?: "file"
    | "video"
    | "image"
    | "audio";
    messageFormat?: "plain" | "org.matrix.custom.html";
    messageType?: "m.emote" | "m.notice" | "m.text";
    operation?:
        | "create"
        | "get"
        | "getAll"
        | "upload"
        | "invite"
        | "me"
        | "join"
        | "kick"
        | "leave";
    otherOptions?: { filter?: string };
    preset?: "private_chat" | "public_chat";
    reason?: string;
    resource?:
        | "event"
        | "account"
        | "message"
        | "room"
        | "media"
        | "roomMember";
    returnAll?: boolean;
    roomAlias?: string;
    roomId?: string;
    roomIdOrAlias?: string;
    roomName?: string;
    text?: string;
    userId?: string;
}

Properties§

Source§

readonly additionalFields?: { fileName?: string }

Default: {}

Source§

readonly binaryPropertyName?: string

Default: "data"

Source§

readonly eventId?: string

The room related to the event

Source§

readonly fallbackText?: string

A plain text message to display in case the HTML cannot be rendered by the Matrix client

Source§

readonly filters?: {
    membership?:
        | ""
        | "invite"
        | "join"
        | "leave"
        | "ban";
    notMembership?: | ""
    | "invite"
    | "join"
    | "leave"
    | "ban";
}

Filtering options Default: {}

Source§

readonly limit?: number

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

Source§

readonly mediaType?: "file" | "video" | "image" | "audio"

Type of file being uploaded Default: "image"

Source§

readonly messageFormat?: "plain" | "org.matrix.custom.html"

The format of the message's body Default: "plain"

Source§

readonly messageType?: "m.emote" | "m.notice" | "m.text"

The type of message to send Default: "m.text"

Source§

readonly operation?:
    | "create"
    | "get"
    | "getAll"
    | "upload"
    | "invite"
    | "me"
    | "join"
    | "kick"
    | "leave"

Default: "me"

Source§

readonly otherOptions?: { filter?: string }

Default: {}

Source§

readonly preset?: "private_chat" | "public_chat"

Default: "public_chat"

Source§

readonly reason?: string

Reason for kick

Source§

readonly resource?:
    | "event"
    | "account"
    | "message"
    | "room"
    | "media"
    | "roomMember"

Default: "message"

Source§

readonly returnAll?: boolean

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

Source§

readonly roomAlias?: string

Source§

readonly roomId?: string

The room related to the event

Source§

readonly roomIdOrAlias?: string

Source§

readonly roomName?: string

Source§

readonly text?: string

The text to send

Source§

readonly userId?: string

The fully qualified user ID of the invitee