library / io.getstream.chat.android.livedata.usecase / CreateChannelImpl / invoke

invoke

operator fun invoke(channel: Channel): Call2<Channel>

Creates a new channel. Will retry according to the retry policy if it fails

Parameters

channel - the channel object

See Also

io.getstream.chat.android.livedata.utils.RetryPolicy

Return
A call object with Channel as the return type