Hi here,
I have some questions about channel creation, I saw :

Code:
/* Set data of new channel. Use channelID of 0 for creating channels. */
CHECK_ERROR(ts3server_setChannelVariableAsString(serverID, 0, CHANNEL_NAME, name));
CHECK_ERROR(ts3server_setChannelVariableAsString(serverID, 0, CHANNEL_TOPIC, "Test channel topic"));
CHECK_ERROR(ts3server_setChannelVariableAsString(serverID, 0, CHANNEL_DESCRIPTION, "Test channel description"));
CHECK_ERROR(ts3server_setChannelVariableAsInt(serverID, 0, CHANNEL_FLAG_PERMANENT, 1));
CHECK_ERROR(ts3server_setChannelVariableAsInt(serverID, 0, CHANNEL_FLAG_SEMI_PERMANENT, 0));
The first question is for CHANNEL_FLAG_PERMANENT and CHANNEL_FLAG_SEMI_PERMANENT, the last int in the function can only be 0 or 1 like on/off token ?
Is it necessary to write the two lines with one at 1 and the other at 0 ? For instance if I want a permanent channel, why I can't only write
Code:
CHECK_ERROR(ts3server_setChannelVariableAsInt(serverID, 0, CHANNEL_FLAG_PERMANENT, 1));
?
And last, but not least : if we don't set CHANNEL properties, are there some default value defined somewhere ?

Thanks in advance for your help