onCreateChannelRequest

open suspend override fun onCreateChannelRequest(channelType: String, channelId: String, memberIds: List<String>, extraData: Map<String, Any>, currentUser: User)

A method called before making an API call to create a channel.

Parameters

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

currentUser

The currently logged in user.