Struct ts3plugin::TsApi [] [src]

pub struct TsApi { /* fields omitted */ }

The main struct that contains all permanently save data.

Methods

impl TsApi
[src]

Please try to use the member method log_message instead of this static method.

Please try to use the member method log_or_print instead of this static method.

Please try to use the member method get_error_message instead of this static method.

Get the raw TeamSpeak api functions. These functions can be used to invoke actions that are not yet implemented by this library. You should file a bug report or make a pull request if you need to use this function.

Get the plugin id assigned by TeamSpeak.

Get all server ids to which this client is currently connected.

Log a message using the TeamSpeak logging API.

Log a message using the TeamSpeak logging API. If that fails, print the message to stdout.

Get the server that has the specified id, returns None if there is no such server.

Get the mutable server that has the specified id, returns None if there is no such server.

Print a message to the currently selected tab. This is only visible in the window of this client and will not be sent to the server.

Get the application path of the TeamSpeak executable.

Get the resource path of TeamSpeak.

Get the path, where configuration files are stored. This is e.g. ~/.ts3client on linux or %AppData%/TS3Client on Windows.

Get the path where TeamSpeak plugins are stored.