Anytype icon

Anytype

Interact with the Anytype API

Chat → Get Message

AI-generated

Summary

Retrieve a specific message from a chat within a specified space by providing the space ID, chat ID, and message ID.

Inputs

  • Space ID (required) — The identifier of the space containing the chat.
  • Chat ID (required) — The identifier of the chat containing the message.
  • Message ID (required) — The identifier of the message to retrieve.

Output shape

a single message object

The operation returns the JSON of the specified message, unwrapped from the API response. Optionally, the output can be simplified to a flat structure if the node's 'Simplify' option is enabled.

Examples

Example 1: Retrieve a message

Specify the Space, Chat, and Message IDs to get the exact message details, such as text content, sender, and timestamps.

Links

Discussion