SDK reference / Models / Messaging
PeekedQueueMessage
Kind: class
Namespace: Egulu.Sdk.Models.Messaging
One message as :peek shows it: no lease token, no change of attempt or visibility.
Properties
| Name | Type | JSON name | Description |
|---|---|---|---|
Attempt | int? | attempt | Deliveries so far (0 when never received). |
Attributes | Models.Messaging.PeekedQueueMessage_attributes? | attributes | The message's attributes. |
Body | string? | body | The payload, cut at `bodyBytes`. Customer data: untrusted output (ADR-0902). |
BodyTruncated | bool? | bodyTruncated | True when the body was cut. |
EnqueueTime | DateTimeOffset? | enqueueTime | When the message was enqueued. |
LeaseExpiresAt | DateTimeOffset? | leaseExpiresAt | When the current lease ends, for an in-flight message. |
MessageId | string? | messageId | Immutable UUIDv7 message ID. |
SizeBytes | int? | sizeBytes | Stored payload size in bytes. |
State | string? | state | `VISIBLE`, `IN_FLIGHT` or `DELAYED`. |
VisibleAt | DateTimeOffset? | visibleAt | When the message is (or became) visible for `:receive`. |