---
title: "subscribeAttributeActiveMessageIDs(with:subscriptionEstablished:reportHandler:)"
framework: matter
role: symbol
role_heading: Instance Method
path: "matter/mtrbaseclustermessages/subscribeattributeactivemessageids(with:subscriptionestablished:reporthandler:)"
---

# subscribeAttributeActiveMessageIDs(with:subscriptionEstablished:reportHandler:)

## Declaration

```swift
func subscribeAttributeActiveMessageIDs(with params: MTRSubscribeParams, subscriptionEstablished: MTRSubscriptionEstablishedHandler?, reportHandler: @escaping ([Any]?, (any Error)?) -> Void)
```
