Crate tsclientlib[][src]

Expand description

tsclientlib is a library which makes it simple to create TeamSpeak clients and bots.

For a full client application, you might want to have a look at Qint.

If more power over the internals of a connection is needed, the unstable feature can be enabled. Beware that functionality behind this feature may change on any minor release.

The base class of this library is the Connection. One instance of this struct manages a single connection to a server.

Modules

audio

Handle receiving audio.

data
events
messages
prelude
resolver

Resolve TeamSpeak server addresses of any kind.

sync

The sync module contains an easier to use interface for a connection.

Structs

ChannelGroupId

Identifies a channel group on a server.

ChannelId

Identifies a channel on a server.

ChannelPermissionHint

Hints if the client has the permission to make specific actions.

ClientDbId

The database id of a client.

ClientId

A ClientId identifies a client which is connected to a server.

ClientPermissionHint

Hints if the client has the permission to make specific actions.

CommandError
ConnectOptions

The configuration to create a new connection.

ConnectOptions

The configuration for creating a new connection.

Connection

The Connection is the main interaction point with this library.

ConnectionStats

Network statistics of a connection.

DisconnectOptions
FileDownloadResult

The result of a download request.

FileUploadResult

The result of an upload request.

FiletransferHandle
IconId
Identity
Invoker
InvokerRef
MessageHandle
Permission
ServerGroupId

Identifies a server group on a server.

TalkPowerRequest
Uid
UidBuf

Describes a client or server uid which is a base64 encoded hash or a special reserved name.

Enums

AudioEvent

Signals audio related changes.

ChannelType
ClientType
Codec
CodecEncryptionMode
Error
Error
GroupNamingMode
GroupType
HostBannerMode
HostMessageMode
InMessage
LicenseType
LogLevel
MaxClients
MessageTarget

All possible targets to send messages.

PacketStat

Enum for different collected packet statistics.

PermissionType
PluginTargetMode
Reason
ServerAddress
StreamItem

An event that gets returned by the connection.

TemporaryDisconnectReason

The reason for a temporary disconnect.

TextMessageTargetMode
TokenType
TsError
Version

Traits

OutCommandExt