use crate::model::channel::ChannelType;
use crate::model::id::{ChannelId, WebhookId};
use crate::model::Permissions;
#[derive(Clone, Debug, Serialize, Deserialize)]
#[non_exhaustive]
pub struct PartialChannel {
pub id: ChannelId,
pub name: Option<String>,
#[serde(rename = "type")]
pub kind: ChannelType,
pub permissions: Option<Permissions>,
}
#[derive(Clone, Debug, Serialize, Deserialize)]
#[non_exhaustive]
pub struct FollowedChannel {
channel_id: ChannelId,
webhook_id: WebhookId,
}