onCreateChannelError

abstract fun onCreateChannelError(originalCall: Call<Channel>, channelType: String, channelId: String, memberIds: List<String>, extraData: Map<String, Any>): ReturnOnErrorCall<Channel>

Returns a Result from this side effect when original request fails.

Return

result The replacement for the original result.

Parameters

originalCall

The original call.

channelType

The channel type. ie messaging.

channelId

The channel id. ie 123.

memberIds

The list of members' ids.

extraData

Map of key-value pairs that let you store extra data