Retrieve an accessID for a combination of chatType and chatTarget. This accessID can be used to filter chat frame messages.


See also Chat functions.

Signature:

accessID = ChatHistory_GetAccessID("chatType" [, "chatTarget"])

Arguments:

  • chatType - chatMsgType for which to retrieve the accessID. (string)
  • chatTarget - chatTarget to include in the accessID. Only messages with this chatTarget will be matched by the accessID. (string)

Returns:

  • accessID - accessID for the combination specified. (number)
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,
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,