use super::super::types::ConnectionId;
use super::message::ChannelMessage;
use super::types::{ChannelId, ChannelPermissions};
#[derive(Debug, Clone)]
pub enum ChannelEvent {
ChannelCreated(ChannelId, String),
ChannelDeleted(ChannelId, String),
MemberJoined(ChannelId, ConnectionId, Option<String>),
MemberLeft(ChannelId, ConnectionId, Option<String>),
MessageSent(ChannelId, ChannelMessage),
PermissionsUpdated(ChannelId, ConnectionId, ChannelPermissions),
}