onCreateChannelRequest
open suspend override fun onCreateChannelRequest(channelType: String, channelId: String, params: CreateChannelParams, 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.
params
The request holding the required data for creating a channel.
currentUser
The currently logged in user.
open suspend override fun onCreateChannelRequest(channelType: String, channelId: String, memberIds: List<String>, extraData: Map<String, Any>, currentUser: User)
Deprecated
Use CreateChannelListener.onCreateChannelRequest(channelType, channelId, request, currentUser) instead
Replace with
import io.getstream.chat.android.client.plugin.listeners.CreateChannelListener
Content copied to clipboard
onCreateChannelRequest(String, String, CreateChannelParams, User)
Content copied to clipboard
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.