getChannel

fun FeedChannel.Companion.getChannel(channelUrl: String, handler: ResultHandler<FeedChannel>)

Gets a FeedChannel with given channel URL.

Parameters

channelUrl

The URL of the channel to get.


fun GroupChannel.Companion.getChannel(channelUrl: String, handler: ResultHandler<GroupChannel>?)

Gets a GroupChannel with given channel URL.

Since

4.15.0

Parameters

channelUrl

URL of channel. Refer to url.

handler

The handler to be invoked when the operation completes.


fun OpenChannel.Companion.getChannel(channelUrl: String, handler: ResultHandler<OpenChannel>)

Gets a OpenChannel with given channel URL.

Since

4.15.0

Parameters

channelUrl

The URL of the channel to get.

handler

The handler to be invoked when the operation completes.


suspend fun FeedChannel.Companion.getChannel(channelUrl: String): FeedChannel

Deprecated

As of 4.17.0, replaced with awaitGetChannel(channelUrl).

Replace with

awaitGetChannel(channelUrl)

Gets a FeedChannel with given channel URL.

Since

4.15.0

Parameters

channelUrl

The URL of the channel to get.


suspend fun GroupChannel.Companion.getChannel(channelUrl: String): GroupChannel

Deprecated

As of 4.17.0, replaced with awaitGetChannel(channelUrl).

Replace with

awaitGetChannel(channelUrl)

Gets a GroupChannel with given channel URL.

Return

The GroupChannel.

Since

4.15.0

Parameters

channelUrl

URL of channel. Refer to 'url'.


suspend fun OpenChannel.Companion.getChannel(channelUrl: String): OpenChannel

Deprecated

As of 4.17.0, replaced with awaitGetChannel(channelUrl).

Replace with

awaitGetChannel(channelUrl)

Gets a OpenChannel with given channel URL.

Return

The OpenChannel.

Since

4.15.0

Parameters

channelUrl

The URL of the channel to get.