WoW:API GetVoiceSessionInfo: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(initial submit)
 
m (Move page script moved page API GetVoiceSessionInfo to API GetVoiceSessionInfo without leaving a redirect)
 
(No difference)

Latest revision as of 04:46, 15 August 2023

WoW API < GetVoiceSessionInfo

Returns name of the voice session of the given id.

sessionName, success = GetVoiceSessionInfo(id)

Arguments[edit]

id
Number - id of the voice session.

Returns[edit]

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

Example[edit]

local sessionName, success = GetVoiceSessionInfo(1)

Result

sessionName = "Party"
success = 1

Details[edit]

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