Actions50
- Account Actions
- Group Actions
- Journal Actions
- Queue Actions
- Sending Actions
- Service Actions
- Status Actions
- Receiving Actions
Journal → getMessage
AI-generatedSummary
Retrieve a specific message from the chat journal using its unique identifier.
Inputs
- chatId (required) — The unique identifier of the chat, formatted as '79000000000@c.us'.
- idMessage (required) — The unique identifier of the message to retrieve, e.g., 'BAE01234567890ABC'.
Output shape
a single message record
Returns the message details if found; otherwise, appropriate error response will be generated.
Examples
Example 1: Fetch a message from a specific chat by its ID.
Set 'chatId' to '79000000000@c.us' and 'idMessage' to 'BAE01234567890ABC'.