[android-components](../../index.md) / [mozilla.components.feature.customtabs](../index.md) / [AbstractCustomTabsService](index.md) / [requestPostMessageChannel](./request-post-message-channel.md)

# requestPostMessageChannel

`protected open fun requestPostMessageChannel(sessionToken: CustomTabsSessionToken, postMessageOrigin: <ERROR CLASS>): `[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/feature/customtabs/src/main/java/mozilla/components/feature/customtabs/AbstractCustomTabsService.kt#L63)