aboutsummaryrefslogtreecommitdiff
path: root/src/model/channel/guild_channel.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/model/channel/guild_channel.rs')
-rw-r--r--src/model/channel/guild_channel.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/model/channel/guild_channel.rs b/src/model/channel/guild_channel.rs
index d4e93f0..b713e18 100644
--- a/src/model/channel/guild_channel.rs
+++ b/src/model/channel/guild_channel.rs
@@ -24,6 +24,8 @@ pub struct GuildChannel {
///
/// The default channel Id shares the Id of the guild and the default role.
pub id: ChannelId,
+ /// Whether this guild channel belongs in a category.
+ pub parent_id: Option<ChannelId>,
/// The bitrate of the channel.
///
/// **Note**: This is only available for voice channels.