/** * Line Node - Version 1 * Discriminator: resource=notification, operation=send */ interface Credentials { lineNotifyOAuth2Api: CredentialReference; } /** Sends notifications to users or groups */ export type LineV1NotificationSendParams = { resource: 'notification'; operation: 'send'; /** * Message */ message?: string | Expression | PlaceholderValue; /** * Additional Fields * @default {} */ additionalFields?: { /** Image * @default {} */ imageUi?: { /** Image */ imageValue?: { /** Binary File * @default false */ binaryData?: boolean | Expression; /** HTTP/HTTPS URL. Maximum size of 2048×2048px JPEG. * @displayOptions.show { binaryData: [false] } */ imageFullsize?: string | Expression | PlaceholderValue; /** HTTP/HTTPS URL. Maximum size of 240×240px JPEG. * @displayOptions.show { binaryData: [false] } */ imageThumbnail?: string | Expression | PlaceholderValue; /** Input Binary Field * @hint The name of the input binary field containing the file to be written * @displayOptions.show { binaryData: [true] } * @default data */ binaryProperty?: string | Expression | PlaceholderValue; }; }; /** <p>true: The user doesn't receive a push notification when the message is sent.</p><p>false: The user receives a push notification when the message is sent</p> * @default false */ notificationDisabled?: boolean | Expression; /** Sticker * @default {} */ stickerUi?: { /** Sticker */ stickerValue?: { /** Sticker ID */ stickerId?: number | Expression; /** Package ID */ stickerPackageId?: number | Expression; }; }; }; }; export type LineV1NotificationSendOutput = { message?: string; status?: number; }; export type LineV1NotificationSendNode = { type: 'n8n-nodes-base.line'; version: 1; credentials?: Credentials; config: NodeConfig; output?: Items; };