{"action":"created","issue":{"url":"https://api.github.com/repos/owntracks/android/issues/96","labels_url":"https://api.github.com/repos/owntracks/android/issues/96/labels{/name}","comments_url":"https://api.github.com/repos/owntracks/android/issues/96/comments","events_url":"https://api.github.com/repos/owntracks/android/issues/96/events","html_url":"https://github.com/owntracks/android/pull/96","id":58526072,"number":96,"title":"Added support for User Messages.","user":{"login":"jpbarraca","id":497717,"avatar_url":"https://avatars.githubusercontent.com/u/497717?v=3","gravatar_id":"","url":"https://api.github.com/users/jpbarraca","html_url":"https://github.com/jpbarraca","followers_url":"https://api.github.com/users/jpbarraca/followers","following_url":"https://api.github.com/users/jpbarraca/following{/other_user}","gists_url":"https://api.github.com/users/jpbarraca/gists{/gist_id}","starred_url":"https://api.github.com/users/jpbarraca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpbarraca/subscriptions","organizations_url":"https://api.github.com/users/jpbarraca/orgs","repos_url":"https://api.github.com/users/jpbarraca/repos","events_url":"https://api.github.com/users/jpbarraca/events{/privacy}","received_events_url":"https://api.github.com/users/jpbarraca/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-02-22T23:09:06Z","updated_at":"2015-06-23T04:54:01Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/owntracks/android/pulls/96","html_url":"https://github.com/owntracks/android/pull/96","diff_url":"https://github.com/owntracks/android/pull/96.diff","patch_url":"https://github.com/owntracks/android/pull/96.patch"},"body":"User Messages are sent to each client topic and are shown in the notification bar.\r\nThis is useful as it allows to send simple notifications for users. In my case, I'm using it for custom messages for some event (ex, Friend X is nearby)\r\n\r\nThe format of each message is the following:\r\n`{\"tst\": timestamp, \"_type\": \"user\", \"title\": \"Message title\", \"sender\": \"Message sender\", \"body\": \"Message body\"}`\r\n\r\nIf the `\"tst\"` field is not present, the receiving time will be used.\r\nThe `\"_type\"` field must always be \"user\" for User Messages."},"comment":{"url":"https://api.github.com/repos/owntracks/android/issues/comments/114355895","html_url":"https://github.com/owntracks/android/pull/96#issuecomment-114355895","issue_url":"https://api.github.com/repos/owntracks/android/issues/96","id":114355895,"user":{"login":"jpmens","id":60706,"avatar_url":"https://avatars.githubusercontent.com/u/60706?v=3","gravatar_id":"","url":"https://api.github.com/users/jpmens","html_url":"https://github.com/jpmens","followers_url":"https://api.github.com/users/jpmens/followers","following_url":"https://api.github.com/users/jpmens/following{/other_user}","gists_url":"https://api.github.com/users/jpmens/gists{/gist_id}","starred_url":"https://api.github.com/users/jpmens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpmens/subscriptions","organizations_url":"https://api.github.com/users/jpmens/orgs","repos_url":"https://api.github.com/users/jpmens/repos","events_url":"https://api.github.com/users/jpmens/events{/privacy}","received_events_url":"https://api.github.com/users/jpmens/received_events","type":"User","site_admin":false},"created_at":"2015-06-23T04:54:01Z","updated_at":"2015-06-23T04:54:01Z","body":"tst in JSON\n\n> On 23.06.2015, at 00:32, João Paulo Barraca <notifications@github.com> wrote:\n> \n> Hurray! :)\n> No timestamp in the message structure?\n> \n> —\n> Reply to this email directly or view it on GitHub.\n> \n"}}