DeleteChannelListener

Functions

Link copied to clipboard
abstract suspend fun onDeleteChannelPrecondition(currentUser: User?, channelType: String, channelId: String): Result<Unit>

Runs precondition check for ChatClient.deleteChannel. The request will be run if the method returns Result.Success and won't be made if it returns Result.Failure.

Link copied to clipboard
abstract suspend fun onDeleteChannelRequest(currentUser: User?, channelType: String, channelId: String)

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

Link copied to clipboard
abstract suspend fun onDeleteChannelResult(channelType: String, channelId: String, result: Result<Channel>)

A method called after receiving the response from the delete channel call.