scratch-api-unofficial-docs

Message Object

A message object looks like this:

{
    "id": /* Message ID */
    "datetime_created": /* The date of the notification */
    "actor_username": /* The username of whoever acted (e.g. who loved your project) */
    "actor_id": /* The ID of whoever acted */
    "type": /* A message type */
    /* ..And then type-specific properties; see below. */
}

Event Types