WoW API: GetVoiceSessionInfo

From AddOn Studio
Revision as of 08:30, 11 October 2007 by WoWWiki>SolE (initial submit)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

WoW 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.