> Aztec.nr API reference, v6.0.0 (mainnet and testnet). Index: https://docs.aztec.network/aztec-nr-api/v6.0.0/llms.txt

# Module msg_type

Module: `noir_aztec::messages::msg_type`

## Functions

- [custom_msg_type_id](/aztec-nr-api/v6.0.0/noir_aztec/messages/msg_type/fn.custom_msg_type_id.md): Creates a custom message type ID from a local index.

## Globals

- [MIN_CUSTOM_MSG_TYPE_ID](/aztec-nr-api/v6.0.0/noir_aztec/messages/msg_type/global.MIN_CUSTOM_MSG_TYPE_ID.md): The minimum message type ID that custom message handlers may use.
- [PARTIAL_NOTE_PRIVATE_MSG_TYPE_ID](/aztec-nr-api/v6.0.0/noir_aztec/messages/msg_type/global.PARTIAL_NOTE_PRIVATE_MSG_TYPE_ID.md): A message containing the private information of a partial note, i.e. one that has both private and public fields.
- [PRIVATE_EVENT_MSG_TYPE_ID](/aztec-nr-api/v6.0.0/noir_aztec/messages/msg_type/global.PRIVATE_EVENT_MSG_TYPE_ID.md): A message containing the information about a private event, i.e. one that has been emitted privately.
- [PRIVATE_NOTE_MSG_TYPE_ID](/aztec-nr-api/v6.0.0/noir_aztec/messages/msg_type/global.PRIVATE_NOTE_MSG_TYPE_ID.md): A message containing the information about a private note, i.e. one that has been created fully privately with no public fields.
