# MumbleServer::Channel

## Overview

### struct Channel

A channel.

#### Used By

ChannelList
ChannelMap
Server::getChannelState
Server::setChannelState
ServerCallback::channelCreated
ServerCallback::channelRemoved
ServerCallback::channelStateChanged
Tree::c

## Data Member Index

id
  Channel ID.
name
  Name of the channel.
parent
  ID of parent channel, or -1 if this is the root channel.
links
  List of id of linked channels.
description
  Description of channel.
temporary
  Channel is temporary, and will be removed when the last user leaves it.
position
  Position of the channel which is used in Client for sorting.

## Data Members

int id;

  Channel ID. This is unique per channel, and the root channel is always id 0.

string name;

  Name of the channel. There can not be two channels with the same parent that has the same name.

int parent;

  ID of parent channel, or -1 if this is the root channel.

IntList links;

  List of id of linked channels.

string description;

  Description of channel. Shown as tooltip for this channel.

bool temporary;

  Channel is temporary, and will be removed when the last user leaves it.

int position;

  Position of the channel which is used in Client for sorting.