---
title: "ChannelMessageCounts"
---
<!-- DO NOT EDIT! This file was auto-generated by crates/build/re_types_builder/src/codegen/docs/website.rs -->

⚠️ **This type is _unstable_ and may change significantly in a way that the data won't be backwards compatible.**
A mapping of channel IDs to their respective message counts.

Used in MCAP statistics to track how many messages were recorded per channel.


## Arrow datatype
```
List(non-null Struct(
        "channel_id": non-null UInt16
        "message_count": non-null UInt64
    ))
```

## API reference links
 * 🌊 [C++ API docs for `ChannelMessageCounts`](https://ref.rerun.io/docs/cpp/stable/structrerun_1_1components_1_1ChannelMessageCounts.html)
 * 🐍 [Python API docs for `ChannelMessageCounts`](https://ref.rerun.io/docs/python/stable/common/components#rerun.components.ChannelMessageCounts)
 * 🦀 [Rust API docs for `ChannelMessageCounts`](https://docs.rs/rerun/latest/rerun/components/struct.ChannelMessageCounts.html)


## Used by

* [`McapStatistics`](../archetypes/mcap_statistics.md)
