Retrieve information about an accessID


See also Chat functions.

Signature:

chatType, chatTarget = ChatHistory_GetChatType(accessID)

Arguments:

  • accessID - accessID for which information should be retrieved. (number, accessID)

Returns:

  • chatType - The associated chatMsgType for the accessID. (string, chatMsgType)
  • chatTarget - Chat target included in the accessID if available. Nil otherwise. (string)
This function is not a C API but a Lua function declared in Blizzard's default user interface. Its implementation can be viewed by extracting the addon data using the Addon Kit provided by Blizzard.
This function is defined by the default user interface in Lua. You can find the definition by examining the FrameXML code for the default UI,