createChannel

fun createChannel(name: String, memberIds: List<String>, displayPictureUrl: String?, visibility: ChatChannel.ChannelVisibility, isDirectMessage: Boolean, onResult: (channel: ChatChannel?, errorString: String?) -> Unit)

Creates a chat channel with specified name and userIds as members.