Rocket.Chat Extended icon

Rocket.Chat Extended

Extended Rocket.Chat operations: channels, messages, threads, reactions, file upload, and more

Message → Get Thread Messages

AI-generated

Summary

Fetch messages from a thread in a Rocket.Chat channel.

Inputs

  • tmidThread (required) — The ID of the parent message (thread root).
  • returnAll — Whether to return all results or only up to a given limit.
  • limit — Maximum number of results to return (1-500).

Output shape

An array of message objects from the thread.

Pagination may return fewer than requested items; limit defaults to 50.

Examples

Example 1: Retrieve the first 20 messages of a thread.

tmidThread = 12345, returnAll = false, limit = 20

Example 2: Retrieve all messages of a thread without a limit.

tmidThread = 12345, returnAll = true, limit omitted

Example 3: Retrieve up to 100 messages with default limit.

tmidThread = 12345, returnAll = false, limit = 100

Links

Discussion