{"action":"created","issue":{"url":"https://api.github.com/repos/os/slacker/issues/75","repository_url":"https://api.github.com/repos/os/slacker","labels_url":"https://api.github.com/repos/os/slacker/issues/75/labels{/name}","comments_url":"https://api.github.com/repos/os/slacker/issues/75/comments","events_url":"https://api.github.com/repos/os/slacker/issues/75/events","html_url":"https://github.com/os/slacker/pull/75","id":172283524,"number":75,"title":"Fixes chat.post_message with attachments","user":{"login":"technicalpickles","id":159,"avatar_url":"https://avatars.githubusercontent.com/u/159?v=3","gravatar_id":"","url":"https://api.github.com/users/technicalpickles","html_url":"https://github.com/technicalpickles","followers_url":"https://api.github.com/users/technicalpickles/followers","following_url":"https://api.github.com/users/technicalpickles/following{/other_user}","gists_url":"https://api.github.com/users/technicalpickles/gists{/gist_id}","starred_url":"https://api.github.com/users/technicalpickles/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/technicalpickles/subscriptions","organizations_url":"https://api.github.com/users/technicalpickles/orgs","repos_url":"https://api.github.com/users/technicalpickles/repos","events_url":"https://api.github.com/users/technicalpickles/events{/privacy}","received_events_url":"https://api.github.com/users/technicalpickles/received_events","type":"User","site_admin":true},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-20T18:16:33Z","updated_at":"2016-08-20T18:16:59Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/os/slacker/pulls/75","html_url":"https://github.com/os/slacker/pull/75","diff_url":"https://github.com/os/slacker/pull/75.diff","patch_url":"https://github.com/os/slacker/pull/75.patch"},"body":"The chat.postMessage API expects things to be passed to it as params,\r\nnot data. Without this, attachments won't be posted.\r\n\r\nThis also removes any keys that are None so they aren't sent to Slack.\r\n\r\nIt also makes the text argument optional, since it the API specifies you\r\ntext is only required if you aren't specifying attachments. You'll get a\r\nslack.Error back from the API if you don't specify either.\r\n\r\ncc https://github.com/os/slacker/issues/67"},"comment":{"url":"https://api.github.com/repos/os/slacker/issues/comments/241215234","html_url":"https://github.com/os/slacker/pull/75#issuecomment-241215234","issue_url":"https://api.github.com/repos/os/slacker/issues/75","id":241215234,"user":{"login":"technicalpickles","id":159,"avatar_url":"https://avatars.githubusercontent.com/u/159?v=3","gravatar_id":"","url":"https://api.github.com/users/technicalpickles","html_url":"https://github.com/technicalpickles","followers_url":"https://api.github.com/users/technicalpickles/followers","following_url":"https://api.github.com/users/technicalpickles/following{/other_user}","gists_url":"https://api.github.com/users/technicalpickles/gists{/gist_id}","starred_url":"https://api.github.com/users/technicalpickles/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/technicalpickles/subscriptions","organizations_url":"https://api.github.com/users/technicalpickles/orgs","repos_url":"https://api.github.com/users/technicalpickles/repos","events_url":"https://api.github.com/users/technicalpickles/events{/privacy}","received_events_url":"https://api.github.com/users/technicalpickles/received_events","type":"User","site_admin":true},"created_at":"2016-08-20T18:16:59Z","updated_at":"2016-08-20T18:16:59Z","body":"This should also be applied to `chat.update`, but I'm not as familiar with that API call."}}
{"actor":{"display_login":"technicalpickles"}}