WoW API: GetVoiceSessionInfo

From AddOn Studio
Jump to navigation Jump to search

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.