/** * Twist Node - Version 1 * Discriminator: resource=comment, operation=update */ interface Credentials { twistOAuth2Api: CredentialReference; } /** Update a channel */ export type TwistV1CommentUpdateParams = { resource: 'comment'; operation: 'update'; /** * The ID of the comment */ commentId?: string | Expression | PlaceholderValue; /** * Update Fields * @default {} */ updateFields?: { /** Actions * @default {} */ actionsUi?: { /** Action */ actionValues?: Array<{ /** The action of the button */ action?: 'open_url' | 'prefill_message' | 'send_reply' | Expression; /** The text for the action button */ button_text?: string | Expression | PlaceholderValue; /** The text for the action button * @displayOptions.show { action: ["send_reply", "prefill_message"] } */ message?: string | Expression | PlaceholderValue; /** The type of the button. (Currently only <code>action</code> is available). */ type?: 'action' | Expression; /** URL to redirect * @displayOptions.show { action: ["open_url"] } */ url?: string | Expression | PlaceholderValue; }>; }; /** Name of the property that holds the binary data. Multiple can be defined separated by comma. * @default data */ binaryProperties?: string | Expression | PlaceholderValue; /** The content of the comment */ content?: string | Expression | PlaceholderValue; /** The users that are directly mentioned. Choose from the list, or specify IDs using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. * @default [] */ direct_mentions?: string[]; }; }; export type TwistV1CommentUpdateNode = { type: 'n8n-nodes-base.twist'; version: 1; credentials?: Credentials; config: NodeConfig; };