getMessages

getMessages([number entity]) → array<array> messages
Lists all messages addressed to given entity.

Returns the array of messages of the entity entity.

Parameters
Return

A message is itself represented as an array of the form: [author, type, parameters]

The different message types are represented by the constants:

Additional information