WoW API: GetVoiceSessionInfo

From AddOn Studio
Revision as of 04:46, 15 August 2023 by Move page script (talk | contribs) (Move page script moved page API GetVoiceSessionInfo to API GetVoiceSessionInfo without leaving a redirect)
(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.