Click or drag to resize
ConnectionCreateChannel Method
Create a new Channel

Namespace:  TeamSpeak.Sdk.Client
Assembly:  TeamSpeak.Sdk (in TeamSpeak.Sdk.dll) Version: 0.1.6124.20226 (0.1.0.0)
Syntax
public Task<Channel> CreateChannel(
	string name,
	Channel parent,
	string topic = null,
	string description = null,
	string password = null,
	Channel order = null,
	Nullable<bool> isPermanent = null,
	Nullable<bool> isSemiPermanent = null,
	Nullable<CodecType> codec = null,
	Nullable<int> codecQuality = null,
	Nullable<bool> codecIsUnencrypted = null,
	Nullable<int> codecLatencyFactor = null
)

Parameters

name
Type: SystemString
Name of the channel
parent
Type: TeamSpeak.Sdk.ClientChannel
The parent channel
topic (Optional)
Type: SystemString
Single-line channel topic
description (Optional)
Type: SystemString
Channel description. Can have multiple lines.
password (Optional)
Type: SystemString
Password for password-protected channels.
order (Optional)
Type: TeamSpeak.Sdk.ClientChannel
the Channel after which the new Channel is sorted. meaning its going to be the first Channel under parent.
isPermanent (Optional)
Type: SystemNullableBoolean
Permanent channels will be restored when the server restarts.
isSemiPermanent (Optional)
Type: SystemNullableBoolean
Semi-permanent channels are not automatically deleted when the last user left but will not be restored when the server restarts.
codec (Optional)
Type: SystemNullableCodecType
Codec used for this channel
codecQuality (Optional)
Type: SystemNullableInt32
Quality of channel codec of this channel. Valid values range from 0 to 10, default is 7. Higher values result in better speech quality but more bandwidth usage
codecIsUnencrypted (Optional)
Type: SystemNullableBoolean
If true, this channel is not using encrypted voice data. If false, voice data is encrypted for this channel.
codecLatencyFactor (Optional)
Type: SystemNullableInt32
Latency of this channel.

Return Value

Type: TaskChannel
A task that represents the asynchronous creation of the channel.
See Also