{"action":"created","comment":{"url":"https://api.github.com/repos/cleentfaar/slack/pulls/comments/39931543","id":39931543,"diff_hunk":"@@ -0,0 +1,49 @@\n+<?php\n+\n+/*\n+ * This user is part of the Slack API library.\n+ *\n+ * (c) Cas Leentfaar <info@casleentfaar.com>\n+ *\n+ * For the full copyright and license information, please view the LICENSE\n+ * user that was distributed with this source code.\n+ */\n+\n+namespace CL\\Slack\\Payload;\n+\n+/**\n+ * @author Cas Leentfaar <info@casleentfaar.com>\n+ *\n+ * @link Official documentation at https://api.slack.com/methods/users.info","path":"src/CL/Slack/Payload/UsersGetPresencePayload.php","position":17,"original_position":17,"commit_id":"8fb86920ea6fd94db0e296843d430b2225786d9a","original_commit_id":"8fb86920ea6fd94db0e296843d430b2225786d9a","user":{"login":"cleentfaar","id":795661,"avatar_url":"https://avatars.githubusercontent.com/u/795661?v=3","gravatar_id":"","url":"https://api.github.com/users/cleentfaar","html_url":"https://github.com/cleentfaar","followers_url":"https://api.github.com/users/cleentfaar/followers","following_url":"https://api.github.com/users/cleentfaar/following{/other_user}","gists_url":"https://api.github.com/users/cleentfaar/gists{/gist_id}","starred_url":"https://api.github.com/users/cleentfaar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cleentfaar/subscriptions","organizations_url":"https://api.github.com/users/cleentfaar/orgs","repos_url":"https://api.github.com/users/cleentfaar/repos","events_url":"https://api.github.com/users/cleentfaar/events{/privacy}","received_events_url":"https://api.github.com/users/cleentfaar/received_events","type":"User","site_admin":false},"body":"users.getPresence","created_at":"2015-09-20T16:21:55Z","updated_at":"2015-09-20T16:21:55Z","html_url":"https://github.com/cleentfaar/slack/pull/32#discussion_r39931543","pull_request_url":"https://api.github.com/repos/cleentfaar/slack/pulls/32","_links":{"self":{"href":"https://api.github.com/repos/cleentfaar/slack/pulls/comments/39931543"},"html":{"href":"https://github.com/cleentfaar/slack/pull/32#discussion_r39931543"},"pull_request":{"href":"https://api.github.com/repos/cleentfaar/slack/pulls/32"}}},"pull_request":{"url":"https://api.github.com/repos/cleentfaar/slack/pulls/32","id":41372169,"html_url":"https://github.com/cleentfaar/slack/pull/32","diff_url":"https://github.com/cleentfaar/slack/pull/32.diff","patch_url":"https://github.com/cleentfaar/slack/pull/32.patch","issue_url":"https://api.github.com/repos/cleentfaar/slack/issues/32","number":32,"state":"open","locked":false,"title":"Send as authenticated user ","user":{"login":"raupie","id":3287581,"avatar_url":"https://avatars.githubusercontent.com/u/3287581?v=3","gravatar_id":"","url":"https://api.github.com/users/raupie","html_url":"https://github.com/raupie","followers_url":"https://api.github.com/users/raupie/followers","following_url":"https://api.github.com/users/raupie/following{/other_user}","gists_url":"https://api.github.com/users/raupie/gists{/gist_id}","starred_url":"https://api.github.com/users/raupie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raupie/subscriptions","organizations_url":"https://api.github.com/users/raupie/orgs","repos_url":"https://api.github.com/users/raupie/repos","events_url":"https://api.github.com/users/raupie/events{/privacy}","received_events_url":"https://api.github.com/users/raupie/received_events","type":"User","site_admin":false},"body":"I added a new argument to the ChatPostMessagePayload class in order to send the as_user boolean argument to slack. ","created_at":"2015-07-31T19:21:48Z","updated_at":"2015-09-20T16:21:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"83af1ee217e8bd98f13ea100de0695728e14c8ae","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/cleentfaar/slack/pulls/32/commits","review_comments_url":"https://api.github.com/repos/cleentfaar/slack/pulls/32/comments","review_comment_url":"https://api.github.com/repos/cleentfaar/slack/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cleentfaar/slack/issues/32/comments","statuses_url":"https://api.github.com/repos/cleentfaar/slack/statuses/8fb86920ea6fd94db0e296843d430b2225786d9a","head":{"label":"raupie:master","ref":"master","sha":"8fb86920ea6fd94db0e296843d430b2225786d9a","user":{"login":"raupie","id":3287581,"avatar_url":"https://avatars.githubusercontent.com/u/3287581?v=3","gravatar_id":"","url":"https://api.github.com/users/raupie","html_url":"https://github.com/raupie","followers_url":"https://api.github.com/users/raupie/followers","following_url":"https://api.github.com/users/raupie/following{/other_user}","gists_url":"https://api.github.com/users/raupie/gists{/gist_id}","starred_url":"https://api.github.com/users/raupie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raupie/subscriptions","organizations_url":"https://api.github.com/users/raupie/orgs","repos_url":"https://api.github.com/users/raupie/repos","events_url":"https://api.github.com/users/raupie/events{/privacy}","received_events_url":"https://api.github.com/users/raupie/received_events","type":"User","site_admin":false},"repo":{"id":40021095,"name":"slack","full_name":"raupie/slack","owner":{"login":"raupie","id":3287581,"avatar_url":"https://avatars.githubusercontent.com/u/3287581?v=3","gravatar_id":"","url":"https://api.github.com/users/raupie","html_url":"https://github.com/raupie","followers_url":"https://api.github.com/users/raupie/followers","following_url":"https://api.github.com/users/raupie/following{/other_user}","gists_url":"https://api.github.com/users/raupie/gists{/gist_id}","starred_url":"https://api.github.com/users/raupie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raupie/subscriptions","organizations_url":"https://api.github.com/users/raupie/orgs","repos_url":"https://api.github.com/users/raupie/repos","events_url":"https://api.github.com/users/raupie/events{/privacy}","received_events_url":"https://api.github.com/users/raupie/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/raupie/slack","description":"Access your Slack Team's API through PHP objects.","fork":true,"url":"https://api.github.com/repos/raupie/slack","forks_url":"https://api.github.com/repos/raupie/slack/forks","keys_url":"https://api.github.com/repos/raupie/slack/keys{/key_id}","collaborators_url":"https://api.github.com/repos/raupie/slack/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/raupie/slack/teams","hooks_url":"https://api.github.com/repos/raupie/slack/hooks","issue_events_url":"https://api.github.com/repos/raupie/slack/issues/events{/number}","events_url":"https://api.github.com/repos/raupie/slack/events","assignees_url":"https://api.github.com/repos/raupie/slack/assignees{/user}","branches_url":"https://api.github.com/repos/raupie/slack/branches{/branch}","tags_url":"https://api.github.com/repos/raupie/slack/tags","blobs_url":"https://api.github.com/repos/raupie/slack/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/raupie/slack/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/raupie/slack/git/refs{/sha}","trees_url":"https://api.github.com/repos/raupie/slack/git/trees{/sha}","statuses_url":"https://api.github.com/repos/raupie/slack/statuses/{sha}","languages_url":"https://api.github.com/repos/raupie/slack/languages","stargazers_url":"https://api.github.com/repos/raupie/slack/stargazers","contributors_url":"https://api.github.com/repos/raupie/slack/contributors","subscribers_url":"https://api.github.com/repos/raupie/slack/subscribers","subscription_url":"https://api.github.com/repos/raupie/slack/subscription","commits_url":"https://api.github.com/repos/raupie/slack/commits{/sha}","git_commits_url":"https://api.github.com/repos/raupie/slack/git/commits{/sha}","comments_url":"https://api.github.com/repos/raupie/slack/comments{/number}","issue_comment_url":"https://api.github.com/repos/raupie/slack/issues/comments{/number}","contents_url":"https://api.github.com/repos/raupie/slack/contents/{+path}","compare_url":"https://api.github.com/repos/raupie/slack/compare/{base}...{head}","merges_url":"https://api.github.com/repos/raupie/slack/merges","archive_url":"https://api.github.com/repos/raupie/slack/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/raupie/slack/downloads","issues_url":"https://api.github.com/repos/raupie/slack/issues{/number}","pulls_url":"https://api.github.com/repos/raupie/slack/pulls{/number}","milestones_url":"https://api.github.com/repos/raupie/slack/milestones{/number}","notifications_url":"https://api.github.com/repos/raupie/slack/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/raupie/slack/labels{/name}","releases_url":"https://api.github.com/repos/raupie/slack/releases{/id}","created_at":"2015-07-31T19:17:20Z","updated_at":"2015-07-31T19:17:21Z","pushed_at":"2015-08-14T13:09:36Z","git_url":"git://github.com/raupie/slack.git","ssh_url":"git@github.com:raupie/slack.git","clone_url":"https://github.com/raupie/slack.git","svn_url":"https://github.com/raupie/slack","homepage":"http://cleentfaar.github.io/slack","size":3584,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"cleentfaar:master","ref":"master","sha":"4c9582e112535ba03055ca5b8119223570c3645c","user":{"login":"cleentfaar","id":795661,"avatar_url":"https://avatars.githubusercontent.com/u/795661?v=3","gravatar_id":"","url":"https://api.github.com/users/cleentfaar","html_url":"https://github.com/cleentfaar","followers_url":"https://api.github.com/users/cleentfaar/followers","following_url":"https://api.github.com/users/cleentfaar/following{/other_user}","gists_url":"https://api.github.com/users/cleentfaar/gists{/gist_id}","starred_url":"https://api.github.com/users/cleentfaar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cleentfaar/subscriptions","organizations_url":"https://api.github.com/users/cleentfaar/orgs","repos_url":"https://api.github.com/users/cleentfaar/repos","events_url":"https://api.github.com/users/cleentfaar/events{/privacy}","received_events_url":"https://api.github.com/users/cleentfaar/received_events","type":"User","site_admin":false},"repo":{"id":21401953,"name":"slack","full_name":"cleentfaar/slack","owner":{"login":"cleentfaar","id":795661,"avatar_url":"https://avatars.githubusercontent.com/u/795661?v=3","gravatar_id":"","url":"https://api.github.com/users/cleentfaar","html_url":"https://github.com/cleentfaar","followers_url":"https://api.github.com/users/cleentfaar/followers","following_url":"https://api.github.com/users/cleentfaar/following{/other_user}","gists_url":"https://api.github.com/users/cleentfaar/gists{/gist_id}","starred_url":"https://api.github.com/users/cleentfaar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cleentfaar/subscriptions","organizations_url":"https://api.github.com/users/cleentfaar/orgs","repos_url":"https://api.github.com/users/cleentfaar/repos","events_url":"https://api.github.com/users/cleentfaar/events{/privacy}","received_events_url":"https://api.github.com/users/cleentfaar/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cleentfaar/slack","description":"Access your Slack Team's API through PHP objects.","fork":false,"url":"https://api.github.com/repos/cleentfaar/slack","forks_url":"https://api.github.com/repos/cleentfaar/slack/forks","keys_url":"https://api.github.com/repos/cleentfaar/slack/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cleentfaar/slack/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cleentfaar/slack/teams","hooks_url":"https://api.github.com/repos/cleentfaar/slack/hooks","issue_events_url":"https://api.github.com/repos/cleentfaar/slack/issues/events{/number}","events_url":"https://api.github.com/repos/cleentfaar/slack/events","assignees_url":"https://api.github.com/repos/cleentfaar/slack/assignees{/user}","branches_url":"https://api.github.com/repos/cleentfaar/slack/branches{/branch}","tags_url":"https://api.github.com/repos/cleentfaar/slack/tags","blobs_url":"https://api.github.com/repos/cleentfaar/slack/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cleentfaar/slack/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cleentfaar/slack/git/refs{/sha}","trees_url":"https://api.github.com/repos/cleentfaar/slack/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cleentfaar/slack/statuses/{sha}","languages_url":"https://api.github.com/repos/cleentfaar/slack/languages","stargazers_url":"https://api.github.com/repos/cleentfaar/slack/stargazers","contributors_url":"https://api.github.com/repos/cleentfaar/slack/contributors","subscribers_url":"https://api.github.com/repos/cleentfaar/slack/subscribers","subscription_url":"https://api.github.com/repos/cleentfaar/slack/subscription","commits_url":"https://api.github.com/repos/cleentfaar/slack/commits{/sha}","git_commits_url":"https://api.github.com/repos/cleentfaar/slack/git/commits{/sha}","comments_url":"https://api.github.com/repos/cleentfaar/slack/comments{/number}","issue_comment_url":"https://api.github.com/repos/cleentfaar/slack/issues/comments{/number}","contents_url":"https://api.github.com/repos/cleentfaar/slack/contents/{+path}","compare_url":"https://api.github.com/repos/cleentfaar/slack/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cleentfaar/slack/merges","archive_url":"https://api.github.com/repos/cleentfaar/slack/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cleentfaar/slack/downloads","issues_url":"https://api.github.com/repos/cleentfaar/slack/issues{/number}","pulls_url":"https://api.github.com/repos/cleentfaar/slack/pulls{/number}","milestones_url":"https://api.github.com/repos/cleentfaar/slack/milestones{/number}","notifications_url":"https://api.github.com/repos/cleentfaar/slack/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cleentfaar/slack/labels{/name}","releases_url":"https://api.github.com/repos/cleentfaar/slack/releases{/id}","created_at":"2014-07-01T20:45:35Z","updated_at":"2015-08-10T14:55:09Z","pushed_at":"2015-09-20T15:26:24Z","git_url":"git://github.com/cleentfaar/slack.git","ssh_url":"git@github.com:cleentfaar/slack.git","clone_url":"https://github.com/cleentfaar/slack.git","svn_url":"https://github.com/cleentfaar/slack","homepage":"http://cleentfaar.github.io/slack","size":4393,"stargazers_count":19,"watchers_count":19,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":26,"mirror_url":null,"open_issues_count":13,"forks":26,"open_issues":13,"watchers":19,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cleentfaar/slack/pulls/32"},"html":{"href":"https://github.com/cleentfaar/slack/pull/32"},"issue":{"href":"https://api.github.com/repos/cleentfaar/slack/issues/32"},"comments":{"href":"https://api.github.com/repos/cleentfaar/slack/issues/32/comments"},"review_comments":{"href":"https://api.github.com/repos/cleentfaar/slack/pulls/32/comments"},"review_comment":{"href":"https://api.github.com/repos/cleentfaar/slack/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cleentfaar/slack/pulls/32/commits"},"statuses":{"href":"https://api.github.com/repos/cleentfaar/slack/statuses/8fb86920ea6fd94db0e296843d430b2225786d9a"}}}}