GREEN-API for WhatsApp icon

GREEN-API for WhatsApp

Send and receive WhatsApp messages using Green-API.

Journal → lastIncomingMessages

AI-generated

Summary

Retrieve the latest incoming messages from WhatsApp within a specified time frame.

Inputs

  • minutes — Specify the time frame in minutes for which to fetch incoming messages (default is 1440 minutes if not provided).

Output shape

a list of incoming messages

Retrieves messages received within the specified minutes. Returns an empty array if no messages are found.

Discussion