[SDK reference](../../index.md) / [Models](../index.md) / [Messaging](index.md)

# PeekQueueMessagesRequest

**Kind:** class  
**Namespace:** `Egulu.Sdk.Models.Messaging`  

Request payload for `:peek` on a Queue: a look at what is stored, which leases nothing and changes no delivery (R4: it reads customer data).

## Properties

| Name | Type | JSON name | Description |
|---|---|---|---|
| `BodyBytes` | `int?` | `bodyBytes` | Most body bytes returned per message (0..4096, default 1024); the rest is cut and `bodyTruncated` says so. |
| `MaxMessages` | `int?` | `maxMessages` | Most messages to return (1..50, default 10). |
| `State` | `string?` | `state` | Which messages: `VISIBLE` (waiting), `IN_FLIGHT` (leased), `DELAYED` (not yet visible) or `ALL` (default). |
