API SetActiveVoiceChannelBySessionID

Set the active voice channel. success = SetActiveVoiceChannelBySessionID(id)

Arguments

 * id : - Channel ID.

Returns

 * success: - Whether the channel changed to to the given ID.

Details

 * Triggers if the active channel switches.
 * This function is not applicable to "World" channels such as Trade and LookingForGroup.
 * IDs are not constant; they are assigned as the client joins each channel so they will change for users who have joined a variable number of channels. Refer to  and.

Examples
Simple usage:

Finding a channel's ID and then joining it: