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§
§§§§§§§§§§§§§§§§§
readonly additional Fields?: { ... }§
readonly binary Property Name?: stringDefault: "data"
readonly event Id?: stringThe room related to the event
readonly fallback Text?: stringA plain text message to display in case the HTML cannot be rendered by the Matrix client
readonly filters?: { ... }Filtering options Default: {}
readonly limit?: numberMax number of results to return Default: 100 Type options: {"minValue":1,"maxValue":500}
readonly media Type?: "file" | "video" | "image" | "audio"Type of file being uploaded Default: "image"
readonly message Format?: "plain" | "org.matrix.custom.html"The format of the message's body Default: "plain"
readonly message Type?: "m.emote" | "m.notice" | "m.text"The type of message to send Default: "m.text"
readonly operation?:
| "create"
| "get"
| "getAll"
| "upload"
| "invite"
| "me"
| "join"
| "kick"
| "leave"Default: "me"
readonly other Options?: { ... }Default: {}
readonly preset?: "private_chat" | "public_chat"Default: "public_chat"
readonly reason?: stringReason for kick
readonly resource?:
| "event"
| "account"
| "message"
| "room"
| "media"
| "roomMember"Default: "message"
readonly return All?: booleanWhether to return all results or only up to a given limit
readonly room Alias?: string§readonly room Id?: stringThe room related to the event
readonly room Id Or Alias?: string§readonly room Name?: string§readonly text?: stringThe text to send
readonly user Id?: stringThe fully qualified user ID of the invitee
Default: {}