API GetVoiceSessionInfo

Returns name of the voice session of the given id.

sessionName, success = GetVoiceSessionInfo(id)

Arguments

 * id : Number - id of the voice session.

Returns

 * sessionName, success


 * sessionName : Name of the voice session (channel name).
 * success : Returns 1 if the function was successful.

Example
local sessionName, success = GetVoiceSessionInfo(1)

Result

sessionName = "Party" success = 1

Details

 * Does not return names of voice channels under the 'World' category (in the Voice Chat window). Use GetChannelDisplayInfo for that.