{"action":"opened","number":33,"pull_request":{"url":"https://api.github.com/repos/Ullink/simple-slack-api/pulls/33","id":48754498,"html_url":"https://github.com/Ullink/simple-slack-api/pull/33","diff_url":"https://github.com/Ullink/simple-slack-api/pull/33.diff","patch_url":"https://github.com/Ullink/simple-slack-api/pull/33.patch","issue_url":"https://api.github.com/repos/Ullink/simple-slack-api/issues/33","number":33,"state":"open","locked":false,"title":"File upload management into message management. Check session method","user":{"login":"ccomandini","id":4057923,"avatar_url":"https://avatars.githubusercontent.com/u/4057923?v=3","gravatar_id":"","url":"https://api.github.com/users/ccomandini","html_url":"https://github.com/ccomandini","followers_url":"https://api.github.com/users/ccomandini/followers","following_url":"https://api.github.com/users/ccomandini/following{/other_user}","gists_url":"https://api.github.com/users/ccomandini/gists{/gist_id}","starred_url":"https://api.github.com/users/ccomandini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ccomandini/subscriptions","organizations_url":"https://api.github.com/users/ccomandini/orgs","repos_url":"https://api.github.com/users/ccomandini/repos","events_url":"https://api.github.com/users/ccomandini/events{/privacy}","received_events_url":"https://api.github.com/users/ccomandini/received_events","type":"User","site_admin":false},"body":"With these changes users can now receive data about uploaded files.\r\nI.e. you can now do something like:\r\n\r\nif(event.getSlackFile() != null ){\r\n  String mediaUrl = event.getSlackFile().getUrl();\r\n  String comment = event.getSlackFile().getComment();\r\n}\r\n\r\n\r\nThere is a new method on session for checking if socket connection is still open\r\n","created_at":"2015-10-26T15:30:58Z","updated_at":"2015-10-26T15:30:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Ullink/simple-slack-api/pulls/33/commits","review_comments_url":"https://api.github.com/repos/Ullink/simple-slack-api/pulls/33/comments","review_comment_url":"https://api.github.com/repos/Ullink/simple-slack-api/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Ullink/simple-slack-api/issues/33/comments","statuses_url":"https://api.github.com/repos/Ullink/simple-slack-api/statuses/96c701b1c99bd157384324dd2e425a695f4a2e52","head":{"label":"assist:master","ref":"master","sha":"96c701b1c99bd157384324dd2e425a695f4a2e52","user":{"login":"assist","id":1879638,"avatar_url":"https://avatars.githubusercontent.com/u/1879638?v=3","gravatar_id":"","url":"https://api.github.com/users/assist","html_url":"https://github.com/assist","followers_url":"https://api.github.com/users/assist/followers","following_url":"https://api.github.com/users/assist/following{/other_user}","gists_url":"https://api.github.com/users/assist/gists{/gist_id}","starred_url":"https://api.github.com/users/assist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/assist/subscriptions","organizations_url":"https://api.github.com/users/assist/orgs","repos_url":"https://api.github.com/users/assist/repos","events_url":"https://api.github.com/users/assist/events{/privacy}","received_events_url":"https://api.github.com/users/assist/received_events","type":"Organization","site_admin":false},"repo":{"id":44824427,"name":"simple-slack-api","full_name":"assist/simple-slack-api","owner":{"login":"assist","id":1879638,"avatar_url":"https://avatars.githubusercontent.com/u/1879638?v=3","gravatar_id":"","url":"https://api.github.com/users/assist","html_url":"https://github.com/assist","followers_url":"https://api.github.com/users/assist/followers","following_url":"https://api.github.com/users/assist/following{/other_user}","gists_url":"https://api.github.com/users/assist/gists{/gist_id}","starred_url":"https://api.github.com/users/assist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/assist/subscriptions","organizations_url":"https://api.github.com/users/assist/orgs","repos_url":"https://api.github.com/users/assist/repos","events_url":"https://api.github.com/users/assist/events{/privacy}","received_events_url":"https://api.github.com/users/assist/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/assist/simple-slack-api","description":"","fork":true,"url":"https://api.github.com/repos/assist/simple-slack-api","forks_url":"https://api.github.com/repos/assist/simple-slack-api/forks","keys_url":"https://api.github.com/repos/assist/simple-slack-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/assist/simple-slack-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/assist/simple-slack-api/teams","hooks_url":"https://api.github.com/repos/assist/simple-slack-api/hooks","issue_events_url":"https://api.github.com/repos/assist/simple-slack-api/issues/events{/number}","events_url":"https://api.github.com/repos/assist/simple-slack-api/events","assignees_url":"https://api.github.com/repos/assist/simple-slack-api/assignees{/user}","branches_url":"https://api.github.com/repos/assist/simple-slack-api/branches{/branch}","tags_url":"https://api.github.com/repos/assist/simple-slack-api/tags","blobs_url":"https://api.github.com/repos/assist/simple-slack-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/assist/simple-slack-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/assist/simple-slack-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/assist/simple-slack-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/assist/simple-slack-api/statuses/{sha}","languages_url":"https://api.github.com/repos/assist/simple-slack-api/languages","stargazers_url":"https://api.github.com/repos/assist/simple-slack-api/stargazers","contributors_url":"https://api.github.com/repos/assist/simple-slack-api/contributors","subscribers_url":"https://api.github.com/repos/assist/simple-slack-api/subscribers","subscription_url":"https://api.github.com/repos/assist/simple-slack-api/subscription","commits_url":"https://api.github.com/repos/assist/simple-slack-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/assist/simple-slack-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/assist/simple-slack-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/assist/simple-slack-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/assist/simple-slack-api/contents/{+path}","compare_url":"https://api.github.com/repos/assist/simple-slack-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/assist/simple-slack-api/merges","archive_url":"https://api.github.com/repos/assist/simple-slack-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/assist/simple-slack-api/downloads","issues_url":"https://api.github.com/repos/assist/simple-slack-api/issues{/number}","pulls_url":"https://api.github.com/repos/assist/simple-slack-api/pulls{/number}","milestones_url":"https://api.github.com/repos/assist/simple-slack-api/milestones{/number}","notifications_url":"https://api.github.com/repos/assist/simple-slack-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/assist/simple-slack-api/labels{/name}","releases_url":"https://api.github.com/repos/assist/simple-slack-api/releases{/id}","created_at":"2015-10-23T16:19:24Z","updated_at":"2015-10-23T16:19:24Z","pushed_at":"2015-10-26T15:23:56Z","git_url":"git://github.com/assist/simple-slack-api.git","ssh_url":"git@github.com:assist/simple-slack-api.git","clone_url":"https://github.com/assist/simple-slack-api.git","svn_url":"https://github.com/assist/simple-slack-api","homepage":null,"size":514,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Ullink:master","ref":"master","sha":"14bc9f874105e7578f2bdb7e9995502073fed038","user":{"login":"Ullink","id":2707780,"avatar_url":"https://avatars.githubusercontent.com/u/2707780?v=3","gravatar_id":"","url":"https://api.github.com/users/Ullink","html_url":"https://github.com/Ullink","followers_url":"https://api.github.com/users/Ullink/followers","following_url":"https://api.github.com/users/Ullink/following{/other_user}","gists_url":"https://api.github.com/users/Ullink/gists{/gist_id}","starred_url":"https://api.github.com/users/Ullink/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ullink/subscriptions","organizations_url":"https://api.github.com/users/Ullink/orgs","repos_url":"https://api.github.com/users/Ullink/repos","events_url":"https://api.github.com/users/Ullink/events{/privacy}","received_events_url":"https://api.github.com/users/Ullink/received_events","type":"Organization","site_admin":false},"repo":{"id":24853559,"name":"simple-slack-api","full_name":"Ullink/simple-slack-api","owner":{"login":"Ullink","id":2707780,"avatar_url":"https://avatars.githubusercontent.com/u/2707780?v=3","gravatar_id":"","url":"https://api.github.com/users/Ullink","html_url":"https://github.com/Ullink","followers_url":"https://api.github.com/users/Ullink/followers","following_url":"https://api.github.com/users/Ullink/following{/other_user}","gists_url":"https://api.github.com/users/Ullink/gists{/gist_id}","starred_url":"https://api.github.com/users/Ullink/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ullink/subscriptions","organizations_url":"https://api.github.com/users/Ullink/orgs","repos_url":"https://api.github.com/users/Ullink/repos","events_url":"https://api.github.com/users/Ullink/events{/privacy}","received_events_url":"https://api.github.com/users/Ullink/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Ullink/simple-slack-api","description":"","fork":false,"url":"https://api.github.com/repos/Ullink/simple-slack-api","forks_url":"https://api.github.com/repos/Ullink/simple-slack-api/forks","keys_url":"https://api.github.com/repos/Ullink/simple-slack-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Ullink/simple-slack-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Ullink/simple-slack-api/teams","hooks_url":"https://api.github.com/repos/Ullink/simple-slack-api/hooks","issue_events_url":"https://api.github.com/repos/Ullink/simple-slack-api/issues/events{/number}","events_url":"https://api.github.com/repos/Ullink/simple-slack-api/events","assignees_url":"https://api.github.com/repos/Ullink/simple-slack-api/assignees{/user}","branches_url":"https://api.github.com/repos/Ullink/simple-slack-api/branches{/branch}","tags_url":"https://api.github.com/repos/Ullink/simple-slack-api/tags","blobs_url":"https://api.github.com/repos/Ullink/simple-slack-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Ullink/simple-slack-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Ullink/simple-slack-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/Ullink/simple-slack-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Ullink/simple-slack-api/statuses/{sha}","languages_url":"https://api.github.com/repos/Ullink/simple-slack-api/languages","stargazers_url":"https://api.github.com/repos/Ullink/simple-slack-api/stargazers","contributors_url":"https://api.github.com/repos/Ullink/simple-slack-api/contributors","subscribers_url":"https://api.github.com/repos/Ullink/simple-slack-api/subscribers","subscription_url":"https://api.github.com/repos/Ullink/simple-slack-api/subscription","commits_url":"https://api.github.com/repos/Ullink/simple-slack-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/Ullink/simple-slack-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/Ullink/simple-slack-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/Ullink/simple-slack-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/Ullink/simple-slack-api/contents/{+path}","compare_url":"https://api.github.com/repos/Ullink/simple-slack-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Ullink/simple-slack-api/merges","archive_url":"https://api.github.com/repos/Ullink/simple-slack-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Ullink/simple-slack-api/downloads","issues_url":"https://api.github.com/repos/Ullink/simple-slack-api/issues{/number}","pulls_url":"https://api.github.com/repos/Ullink/simple-slack-api/pulls{/number}","milestones_url":"https://api.github.com/repos/Ullink/simple-slack-api/milestones{/number}","notifications_url":"https://api.github.com/repos/Ullink/simple-slack-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Ullink/simple-slack-api/labels{/name}","releases_url":"https://api.github.com/repos/Ullink/simple-slack-api/releases{/id}","created_at":"2014-10-06T16:13:21Z","updated_at":"2015-10-22T12:24:29Z","pushed_at":"2015-10-11T19:15:07Z","git_url":"git://github.com/Ullink/simple-slack-api.git","ssh_url":"git@github.com:Ullink/simple-slack-api.git","clone_url":"https://github.com/Ullink/simple-slack-api.git","svn_url":"https://github.com/Ullink/simple-slack-api","homepage":null,"size":514,"stargazers_count":59,"watchers_count":59,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":39,"mirror_url":null,"open_issues_count":4,"forks":39,"open_issues":4,"watchers":59,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Ullink/simple-slack-api/pulls/33"},"html":{"href":"https://github.com/Ullink/simple-slack-api/pull/33"},"issue":{"href":"https://api.github.com/repos/Ullink/simple-slack-api/issues/33"},"comments":{"href":"https://api.github.com/repos/Ullink/simple-slack-api/issues/33/comments"},"review_comments":{"href":"https://api.github.com/repos/Ullink/simple-slack-api/pulls/33/comments"},"review_comment":{"href":"https://api.github.com/repos/Ullink/simple-slack-api/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Ullink/simple-slack-api/pulls/33/commits"},"statuses":{"href":"https://api.github.com/repos/Ullink/simple-slack-api/statuses/96c701b1c99bd157384324dd2e425a695f4a2e52"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":4,"additions":336,"deletions":17,"changed_files":11}}