LINE Messaging API icon

LINE Messaging API

Interact with the LINE Messaging API

Overview

This node interacts with the LINE Messaging API to perform various messaging operations. Specifically, the 'Get Message Content' operation retrieves the content of a message such as images, audio, or other media types from LINE's servers. This is useful in scenarios where you need to access the raw content of a message sent in a chat, for example, to save media files or process message attachments.

Use Case Examples

  1. Retrieve an image sent in a LINE chat by providing the message ID to download and store the image.
  2. Access audio content from a LINE message to transcribe or analyze it.
  3. Fetch video or other media content from a message for further processing or archival.

Properties

Name Meaning
Message ID The unique identifier of the message whose content you want to retrieve.

Output

Binary

The binary output contains the raw content of the message (e.g., image, audio) with the key 'data'. The content type is preserved in the binary data metadata.

JSON

  • json - Empty JSON object as the main data is returned in binary form.

Dependencies

  • Requires an API key credential for LINE Messaging API authentication, specifically a channel access token.

Troubleshooting

  • Ensure the 'Message ID' is valid and corresponds to a message that contains retrievable content; otherwise, the API call may fail.
  • Check that the channel access token is correctly configured and has the necessary permissions to access message content.
  • If the binary data is not properly handled downstream, verify that the binary property key 'data' is correctly referenced.

Links

Discussion