createChannelRepository
abstract fun createChannelRepository(getUser: suspend (userId: String) -> User, getMessage: suspend (messageId: String) -> Message?): ChannelRepository
Creates ChannelRepository
Parameters
getUser
function that provides userId.
getMessage
function that provides messageId.