Chatlabs icon

Chatlabs

Interaja com a API do Chatlabs

Chat → Listar Mensagens

AI-generated

Summary

Retrieve a paginated list of messages from a specific chat by providing the chat's ID. Supports optional pagination through a cursor and specifying the number of messages per page.

Inputs

  • ID do Chat (required) — ID of the chat from which to list messages.
  • Por Página — Number of messages to return per page, with a minimum of 1 and maximum of 100. Defaults to 10.
  • Cursor — Optional pagination cursor to retrieve subsequent pages of messages.

Output shape

a JSON object containing an array of chat messages with pagination info

The operation returns a paginated list of messages in JSON format. Use the cursor input to navigate through pages if more messages exist beyond the number specified by 'Por Página'.

Links

Discussion