# otMessageQueueInfo Struct Reference

# otMessageQueueInfo


`#include <openthread/message.h>`

Represents information about a message queue.

## Summary

| ### Public attributes ||
|---|---|
| `https://openthread.io/reference/struct/ot-message-queue-info#structot_message_queue_info_1acbae950ce20e839a21c2bb9749390e7c` | `uint16_t` Number of data buffers used by messages in the queue. |
| `https://openthread.io/reference/struct/ot-message-queue-info#structot_message_queue_info_1a15e9da6868e41a01dd18ac026cd61aeb` | `uint16_t` Number of messages in the queue. |
| `https://openthread.io/reference/struct/ot-message-queue-info#structot_message_queue_info_1a55b5b5865e60df6f69fc664770d70ac2` | `uint32_t` Total number of bytes used by all messages in the queue. |

## Public attributes

### mNumBuffers

```
uint16_t otMessageQueueInfo::mNumBuffers
```
Number of data buffers used by messages in the queue.

### mNumMessages

```
uint16_t otMessageQueueInfo::mNumMessages
```
Number of messages in the queue.

### mTotalBytes

```
uint32_t otMessageQueueInfo::mTotalBytes
```
Total number of bytes used by all messages in the queue.

## Resources

OpenThread API Reference topics originate from the source code, available
on [GitHub](https://github.com/openthread/openthread/tree/main/include/openthread).
For more information, or to contribute to our documentation, refer to
[Resources](https://openthread.io/resources).