[android-components](../../index.md) / [mozilla.components.feature.push](../index.md) / [PushType](index.md) / [toChannelId](./to-channel-id.md)

# toChannelId

`fun toChannelId(): `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/feature/push/src/main/java/mozilla/components/feature/push/AutoPushFeature.kt#L301)

Retrieve a channel ID from the PushType.

This is a reproducible UUID that is used for mapping a push message type with the push manager.

