Accessing chat information

Do we have some documentation for this or is it detective funtimes?