> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blinkops.com/llms.txt
> Use this file to discover all available pages before exploring further.

# List Messages

Lists messages in space or chat that the caller is a member of, including messages from blocked members and spaces.

> [!NOTE]
>
> External Documentation
>
> To learn more, visit the [Google Chat documentation](https://developers.google.com/chat/api/reference/rest/v1/spaces.messages/list).

## Basic Parameters

| Parameter | Description |
| - | - |
| Chat | The resource name of the chat. Format: spaces/{space}. |
| Filter | A query filter. You can filter messages by date (createTime) and thread (thread.name). |
| Page Size | The maximum number of messages returned. The service might return fewer messages than this value. If unspecified, at most 25 are returned. The maximum value is 1,000. If you use a value more than 1,000, it's automatically changed to 1,000. |
| Read From | Choose from which space type to read messages. |
| Space | The resource name of the space. Format: spaces/{space}. |

## Advanced Parameters

| Parameter | Description |
| - | - |
| Delegated User Override | Perform the action on behalf of another user, overriding the delegated user defined in the connection. If not specified, the delegated user is the one provided in the connection. Has no effect when using an OAuth connection. NOTE: the connection details are not edited by this input. |
| Order By | How the list of messages is ordered. Specify a value to order by an ordering operation. Valid ordering operation values are as follows: ASC for ascending. DESC for descending. The default ordering is `createTime ASC`. |

## Example Output

```json theme={"dark"}
{
	"messages": [
		{
			"name": "spaces/AAAbnh123/messages/DGLE231_dsa2.DAuNixz5M_U",
			"sender": {
				"name": "users/23427349871239123",
				"type": "HUMAN"
			},
			"createTime": "2023-08-23T10:48:02.634495Z",
			"text": "hellooo",
			"thread": {
				"name": "spaces/AAAbnh123/threads/DGLE231_dsa2"
			},
			"space": {
				"name": "spaces/AAAbnh123"
			},
			"argumentText": "test",
			"emojiReactionSummaries": [
				{
					"emoji": {
						"unicode": "😅"
					},
					"reactionCount": 1
				}
			]
		}
	]
}
```

## Workflow Library Example

[List Messages with Google Chat and Send Results Via Email](https://library.blinkops.com/workflows/list-messages-with-google-chat-and-send-results-via-email)

![Workflow Library](https://mintcdn.com/blinkops-2/ojHYuDeYX5FWuN8a/img/Icons/play-box.svg?fit=max\&auto=format\&n=ojHYuDeYX5FWuN8a\&q=85\&s=b8af968e71438a9499c3223c9bd29fb2)

Preview this Workflow on desktop

[https://library.blinkops.com/workflows/list-messages-with-google-chat-and-send-results-via-email/canvas](https://library.blinkops.com/workflows/list-messages-with-google-chat-and-send-results-via-email/canvas)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.