private fun observeChannel() { viewModelScope.launch {channelState.filterNotNull().flatMapLatest { state  >combine(state.channelData,state.membersCount,state.watcherCount,) { _, _, _ ->state.toChannel()}}.collect { channel  >chatClient.notifications.dismissChannelNotifications(channelType = channel.type,channelId = channel.id)setCurrentChannel(channel)}}}
Starts observing the current [Channel] created from [ChannelState]. It emits new data when either channel data, member count or online member count updates.